DeskTop.js 501 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302
  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. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  20. { "Name": "AI Chat+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  21. // { "Name": "Teacher Management", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  22. // { "Name": "Teacher Center", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  23. ];
  24. //极简模式
  25. U.MD.D.I.easyDeskIcon = [
  26. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  27. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  28. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  29. { "Name": "Students Management", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  30. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  31. ];
  32. //获取教师测试英语组织图标
  33. U.MD.D.I.hkTeacherEnglishDeskIcon = [
  34. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  35. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  36. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  37. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  38. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  39. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  40. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  41. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  42. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  43. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  44. ];
  45. //获取学生测试英语组织图标
  46. U.MD.D.I.hkStudentEnglishDeskIcon = [
  47. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  48. ];
  49. //教师桌面图标的全局变量
  50. U.MD.D.I.teacherDeskIcon2 = [
  51. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  52. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  53. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  54. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  55. // { "Name": "Project Planning", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  56. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  57. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  58. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  59. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  60. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  61. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  62. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  63. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  64. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  65. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  66. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  67. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  68. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  69. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  70. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  71. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  72. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  73. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  74. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  75. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  76. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  77. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  78. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  79. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  80. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  81. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  82. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  83. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  84. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  85. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  86. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  87. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  88. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  89. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  90. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  91. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  92. ];
  93. U.MD.D.I.studentDeskIcon = [
  94. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  95. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  96. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  97. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  98. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  99. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  100. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  101. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  102. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  103. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  104. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  105. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  106. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  107. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  108. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  109. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  110. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  111. // { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  112. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  113. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  114. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  115. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  116. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  117. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  118. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  119. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  120. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  121. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  122. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  123. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  124. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  125. ];
  126. U.MD.D.I.studentDeskIcon2 = [
  127. // { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  128. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  129. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  130. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  131. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  132. ]
  133. U.MD.D.I.studentDeskIcon3 = [
  134. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  135. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  136. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  137. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  138. ]
  139. U.MD.D.I.schoolDeskIcon = [
  140. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  141. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  142. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  143. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  144. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  145. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  146. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  147. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  148. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  149. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  150. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  151. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  152. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  153. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  154. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  155. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  156. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  157. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  158. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  159. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  160. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  161. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  162. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  163. ];
  164. U.MD.D.I.orgDeskIcon = [
  165. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  166. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  167. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  168. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  169. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  170. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  171. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  172. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  173. ];
  174. U.MD.D.I.orgStemDeskIcon = [
  175. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  176. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  177. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  178. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  179. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  180. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  181. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  182. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  183. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  184. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  185. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  186. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  187. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  188. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  189. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  190. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  191. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  192. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  193. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  194. ];
  195. U.MD.D.I.szulsDeskIcon = [
  196. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  197. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  198. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  199. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  200. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  201. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  202. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  203. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  204. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  205. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  206. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  207. ];
  208. U.MD.D.I.hanDeskIcon = [
  209. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  210. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  211. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  212. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  213. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  214. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  215. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  216. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  217. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  218. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  219. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  220. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  221. ];
  222. U.MD.D.I.GMteacherDeskIcon = [
  223. { "Name": "Course Planning", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  224. { "Name": "Course Library", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  225. { "Name": "Students Management", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  226. { "Name": "Course Assessment", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  227. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  228. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  229. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  230. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  231. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  232. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  233. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  234. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  235. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  236. ];
  237. U.MD.D.I.GMstudentDeskIcon = [
  238. { "Name": "Course Library", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  239. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  240. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  241. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  242. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  243. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  244. ];
  245. //北师大
  246. U.MD.D.I.BSDNSteacherDeskIcon = [
  247. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  248. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  249. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  250. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  251. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  252. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  253. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  254. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  255. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  256. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  257. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  258. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  259. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  260. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  261. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  262. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  263. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  264. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  265. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  266. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  267. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  268. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  269. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  270. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  271. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  272. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  273. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  274. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  275. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  276. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  277. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  278. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  279. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  280. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  281. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  282. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  283. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  284. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  285. ];
  286. //松山湖
  287. U.MD.D.I.SONGteacherDeskIcon = [
  288. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  289. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  290. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  291. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  292. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  293. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  294. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  295. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  296. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  297. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  298. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  299. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  300. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  301. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  302. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  303. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  304. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  305. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  306. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  307. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  308. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  309. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  310. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  311. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  312. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  313. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  314. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  315. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  316. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  317. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  318. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  319. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  320. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  321. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  322. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  323. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  324. ];
  325. U.MD.D.I.tcStudentDeskIcon = [
  326. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  327. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  328. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  329. // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  330. ];
  331. U.MD.D.I.tcTeacherDeskIcon = [
  332. // { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  333. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  334. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  335. // { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  336. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  337. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  338. { "Name": "Students Management", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  339. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  340. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  341. // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  342. ];
  343. U.MD.D.I.tcOrganizerDeskIcon = [
  344. // { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  345. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  346. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  347. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  348. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  349. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  350. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  351. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  352. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  353. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  354. // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  355. ];
  356. U.MD.D.I.szscStudentDeskIcon = [
  357. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  358. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  359. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  360. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  361. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  362. ];
  363. U.MD.D.I.szscTeacherDeskIcon = [
  364. // { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  365. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  366. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  367. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  368. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  369. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  370. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  371. { "Name": "Students Management", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  372. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  373. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  374. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  375. ];
  376. U.MD.D.I.szscOrganizerDeskIcon = [
  377. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  378. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  379. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  380. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  381. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  382. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  383. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  384. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  385. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  386. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  387. ];
  388. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  389. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  390. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  391. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  392. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  393. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  394. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  395. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  396. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  397. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  398. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  399. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  400. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  401. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  402. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  403. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  404. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  405. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  406. ];
  407. U.MD.D.I.wankeAdminDeskIcon = [
  408. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  409. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  410. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  411. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  412. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  413. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  414. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  415. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  416. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  417. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  418. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  419. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  420. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  421. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  422. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  423. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  424. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  425. ];
  426. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  427. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  428. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  429. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  430. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  431. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  432. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  433. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  434. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  435. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  436. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  437. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  438. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  439. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  440. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  441. ];
  442. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  443. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  444. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  445. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  446. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  447. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  448. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  449. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  450. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  451. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  452. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  453. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  454. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  455. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  456. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  457. ];
  458. //明德教师桌面图标的全局变量
  459. U.MD.D.I.MingdeTeacherDeskIcon = [
  460. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  461. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  462. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  463. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  464. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  465. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  466. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  467. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  468. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  469. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  470. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  471. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  472. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  473. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  474. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  475. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  476. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  477. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  478. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  479. // { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  480. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  481. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  482. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  483. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  484. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  485. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  486. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  487. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  488. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  489. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  490. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  491. ];
  492. //97c4ee8b-d010-4042-986d-e9d3c217264f
  493. //教师桌面图标的全局变量
  494. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  495. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  496. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  497. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  498. // { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  499. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  500. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  501. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  502. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  503. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  504. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  505. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  506. ];
  507. //福田
  508. U.MD.D.I.futianTeacherDeskIcon = [
  509. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  510. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  511. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  512. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  513. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  514. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  515. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  516. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  517. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  518. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  519. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  520. ];
  521. //福田
  522. U.MD.D.I.futianAdminDeskIcon = [
  523. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  524. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  525. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  526. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  527. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  528. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  529. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  530. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  531. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  532. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  533. ];
  534. //lotech
  535. U.MD.D.I.lotechTeacherDeskIcon = [
  536. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  537. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  538. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  539. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  540. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  541. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  542. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  543. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  544. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  545. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  546. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  547. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  548. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  549. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  550. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  551. ];
  552. //龙华中心小学教师桌面图标的全局变量
  553. U.MD.D.I.longhuateacherDeskIcon = [
  554. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  555. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  556. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  557. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  558. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  559. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  560. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  561. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  562. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  563. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  564. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  565. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  566. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  567. ];
  568. //教科院实小教师桌面图标的全局变量
  569. U.MD.D.I.siesteacherDeskIcon = [
  570. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  571. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  572. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  573. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  574. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  575. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  576. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  577. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  578. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  579. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  580. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  581. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  582. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  583. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  584. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  585. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  586. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  587. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  588. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  589. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  590. ];
  591. //教科院实小教师桌面图标的全局变量
  592. U.MD.D.I.siesStudentDeskIcon = [
  593. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  594. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  595. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  596. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  597. ];
  598. //福田
  599. U.MD.D.I.gdjgTeacherDeskIcon = [
  600. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  601. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  602. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  603. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  604. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  605. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  606. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  607. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  608. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  609. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  610. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  611. ];
  612. //gdjg
  613. U.MD.D.I.gdjgAdminDeskIcon = [
  614. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  615. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  616. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  617. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  618. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  619. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  620. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  621. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  622. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  623. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  624. ];
  625. //hk
  626. U.MD.D.I.hkteacherDeskIcon = [
  627. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  628. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  629. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  630. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  631. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  632. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  633. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  634. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  635. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  636. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  637. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  638. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  639. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  640. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  641. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  642. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  643. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  644. ];
  645. //hk
  646. U.MD.D.I.hkStudentDeskIcon = [
  647. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  648. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  649. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  650. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  651. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  652. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  653. ];
  654. //香海正覺蓮社佛教正覺中學
  655. U.MD.D.I.hkZJLSteacherDeskIcon = [
  656. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  657. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  658. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  659. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  660. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  661. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  662. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  663. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  664. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  665. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  666. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  667. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  668. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  669. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  670. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  671. ];
  672. //香海正覺蓮社佛教正覺中學
  673. U.MD.D.I.hkZJLSStudentDeskIcon = [
  674. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  675. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  676. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  677. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  678. ];
  679. //云海
  680. U.MD.D.I.yunhaiTeacherDeskIcon = [
  681. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  682. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  683. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  684. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  685. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  686. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  687. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  688. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  689. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  690. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  691. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  692. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  693. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  694. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  695. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  696. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  697. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  698. ];
  699. //福田
  700. U.MD.D.I.heyuanTeacherDeskIcon = [
  701. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  702. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  703. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  704. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  705. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  706. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  707. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  708. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  709. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  710. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  711. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  712. ];
  713. //福田
  714. U.MD.D.I.heyuanAdminDeskIcon = [
  715. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  716. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  717. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  718. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  719. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  720. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  721. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  722. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  723. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  724. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  725. ];
  726. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  727. U.MD.D.I.szherTeacherDeskIcon = [
  728. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  729. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  730. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  731. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  732. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  733. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  734. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  735. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  736. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  737. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  738. ];
  739. //dsei
  740. U.MD.D.I.dseiTeacherDeskIcon = [
  741. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  742. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  743. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  744. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  745. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  746. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  747. // { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  748. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  749. // { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  750. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  751. { "Name": "AI Chat+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  752. // { "Name": "Teacher Management", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  753. // { "Name": "Teacher Center", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  754. // { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  755. // { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  756. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  757. // { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  758. // { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  759. // { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  760. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  761. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  762. // { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  763. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  764. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  765. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  766. // { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  767. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  768. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  769. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  770. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  771. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  772. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  773. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  774. // { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  775. // { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  776. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  777. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  778. // { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  779. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  780. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  781. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  782. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  783. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  784. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  785. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  786. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  787. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  788. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  789. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  790. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  791. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  792. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  793. // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  794. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  795. ];
  796. //dsei
  797. U.MD.D.I.dseiAdminDeskIcon = [
  798. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  799. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  800. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  801. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  802. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  803. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  804. // { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  805. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  806. // { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  807. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  808. { "Name": "AI Chat+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  809. // { "Name": "Teacher Management", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  810. // { "Name": "Teacher Center", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  811. // { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  812. // { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  813. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  814. // { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  815. // { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  816. // { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  817. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  818. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  819. // { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  820. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  821. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  822. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  823. // { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  824. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  825. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  826. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  827. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  828. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  829. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  830. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  831. // { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  832. // { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  833. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  834. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  835. // { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  836. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  837. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  838. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  839. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  840. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  841. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  842. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  843. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  844. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  845. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  846. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  847. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  848. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  849. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  850. // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  851. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  852. ];
  853. //dsei
  854. U.MD.D.I.dseiStudentDeskIcon = [
  855. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  856. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  857. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  858. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  859. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  860. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  861. ];
  862. //未来教育基地
  863. U.MD.D.I.szjkyTeacherDeskIcon = [
  864. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  865. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  866. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  867. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  868. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  869. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  870. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  871. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  872. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  873. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  874. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  875. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  876. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  877. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  878. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  879. ];
  880. //未来教育基地
  881. U.MD.D.I.szjkyAdminDeskIcon = [
  882. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  883. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  884. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  885. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  886. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  887. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  888. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  889. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  890. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  891. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  892. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  893. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  894. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  895. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  896. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  897. ];
  898. //未来教育基地
  899. U.MD.D.I.szjkyStudentDeskIcon = [
  900. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  901. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  902. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  903. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  904. ];
  905. //成华教育局
  906. U.MD.D.I.chjyjTeacherDeskIcon = [
  907. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  908. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  909. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  910. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  911. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  912. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  913. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  914. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  915. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  916. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  917. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  918. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  919. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  920. ];
  921. //成华教育局chjyj
  922. U.MD.D.I.chjyjAdminDeskIcon = [
  923. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  924. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  925. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  926. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  927. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  928. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  929. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  930. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  931. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  932. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  933. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  934. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  935. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  936. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  937. ];
  938. //成华教育局chjyj
  939. U.MD.D.I.chjyjStudentDeskIcon = [
  940. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  941. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  942. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  943. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  944. ];
  945. //tpc
  946. U.MD.D.I.tpcStudentDeskIcon = [
  947. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  948. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  949. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  950. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  951. ];
  952. //tpc
  953. U.MD.D.I.tpcTeacherDeskIcon = [
  954. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  955. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  956. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  957. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  958. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  959. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  960. ];
  961. //tpc
  962. U.MD.D.I.tpcAdminDeskIcon = [
  963. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  964. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  965. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  966. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  967. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  968. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  969. ];
  970. //THU-IOE
  971. U.MD.D.I.thuioeTeacherDeskIcon = [
  972. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  973. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  974. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  975. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  976. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  977. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  978. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  979. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  980. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  981. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  982. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  983. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  984. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  985. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  986. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  987. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  988. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  989. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  990. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  991. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  992. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  993. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  994. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  995. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  996. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  997. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  998. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  999. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1000. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1001. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1002. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1003. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1004. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1005. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1006. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1007. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1008. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1009. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1010. ];
  1011. //THU-IOE
  1012. U.MD.D.I.thuioeStudentDeskIcon = [
  1013. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1014. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1015. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1016. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1017. ];
  1018. //jccssyl
  1019. U.MD.D.I.jccssylTeacherDeskIcon = [
  1020. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1021. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1022. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1023. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1024. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1025. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1026. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1027. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1028. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1029. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1030. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1031. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1032. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1033. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1034. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1035. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1036. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1037. ];
  1038. //jccssyl
  1039. U.MD.D.I.jccssylStudentDeskIcon = [
  1040. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1041. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1042. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1043. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1044. ];
  1045. //#region 桌面初始化a
  1046. /**
  1047. * 初始化桌面的起始函数
  1048. *
  1049. */
  1050. U.MD.D.I.init = function() {
  1051. if ($("#U_MD_D_K")[0]) {
  1052. //初始化桌面图标
  1053. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1054. // var clickUrl = ':12588/requestIp.php';
  1055. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1056. // U.MD.D.I.Ip = data;
  1057. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1058. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1059. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1060. // })
  1061. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1062. // })
  1063. }
  1064. }
  1065. /**
  1066. * 模式切换
  1067. *
  1068. */
  1069. U.MD.D.I.ModeCheck = function(type) {
  1070. if (US.Config.type == type) {
  1071. return
  1072. }
  1073. US.Config.type = type
  1074. $('.U_PBL_Check .active')[0].className = ''
  1075. if (type == 1) {
  1076. $('.U_PBL_Check div')[0].className = 'active'
  1077. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1078. } else {
  1079. $('.U_PBL_Check div')[1].className = 'active'
  1080. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1081. }
  1082. //初始化桌面图标
  1083. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1084. if (type == 2) {
  1085. U.MD.D.I.openApplication("project")
  1086. }
  1087. }
  1088. /**
  1089. * 隐藏任务栏
  1090. *
  1091. * @param {element} 桌面元素
  1092. */
  1093. U.MD.D.I.hiddenTaskbar = function(el) {
  1094. //任务栏位置变小
  1095. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1096. //桌面的位置变大
  1097. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1098. }
  1099. /**
  1100. * 隐藏任务栏
  1101. *
  1102. * @param {element} 桌面元素
  1103. */
  1104. U.MD.D.I.hiddenTaskbarout = function(el) {
  1105. //任务栏位置变小
  1106. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1107. //任务栏位置变化
  1108. U.selectEl(el).css({ "bottom": "-60px" });
  1109. //桌面的位置变大
  1110. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1111. }
  1112. }
  1113. /**
  1114. * 初始化打印桌面图标
  1115. *
  1116. * @param {element} 桌面元素
  1117. */
  1118. U.MD.D.I.initDesktopIcons = function(el, type) {
  1119. var i, //用于循环
  1120. _content, //桌面图标元素
  1121. _iconcontent, //桌面图标元素
  1122. _frag = $$("frag"), //定义一个碎片元素
  1123. _type = US.userInfo.type,
  1124. _org = US.userInfo.org,
  1125. _oid = US.userInfo.organizeid,
  1126. _role = US.userInfo.role,
  1127. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1128. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1129. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1130. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1131. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1132. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1133. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1134. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1135. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1136. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1137. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1138. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1139. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1140. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1141. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1142. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1143. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1144. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1145. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1146. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1147. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1148. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1149. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1150. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1151. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1152. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1153. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1154. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1155. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1156. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1157. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1158. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1159. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1160. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1161. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1162. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1163. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1164. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1165. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1166. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1167. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1168. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1169. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1170. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1171. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1172. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1173. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1174. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1175. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1176. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1177. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1178. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1179. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1180. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1181. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1182. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1183. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1184. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1185. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon, //网络夏令营
  1186. _hkTeacherEnglishDeskIcon = U.MD.D.I.hkTeacherEnglishDeskIcon, //教师测试英语组织
  1187. _hkStudentEnglishDeskIcon = U.MD.D.I.hkStudentEnglishDeskIcon; //学生测试英语组织
  1188. 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'];
  1189. 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'];
  1190. //清楚桌面图标
  1191. el.innerHTML = "";
  1192. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1193. _teacherDesktopIconInfo.push(
  1194. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1195. { "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)" } },
  1196. )
  1197. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1198. }
  1199. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1200. _teacherDesktopIconInfo.push(
  1201. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1202. // { "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)" } },
  1203. )
  1204. }
  1205. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1206. _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)" } }, )
  1207. }
  1208. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1209. _teacherDesktopIconInfo.push()
  1210. }
  1211. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1212. _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)" } }, )
  1213. _studentDesktopIconInfo.push()
  1214. }
  1215. //麒麟二中 和 民新小学
  1216. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1217. _teacherDesktopIconInfo.push()
  1218. }
  1219. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1220. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1221. _teacherDesktopIconInfo.push({ "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, )
  1222. }
  1223. //麒麟二中
  1224. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1225. _studentDesktopIconInfo.push({ "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, )
  1226. }
  1227. //万科双语
  1228. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1229. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1230. if (el.Name == 'Project Planning') {
  1231. el.Name = 'PBL项目'
  1232. }
  1233. return el
  1234. })
  1235. _studentDesktopIconInfo3.push({ "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, )
  1236. }
  1237. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1238. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1239. return el.Name != '魔盒识字' && el.Name != '24点'
  1240. })
  1241. }
  1242. 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) {
  1243. _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)" } }, )
  1244. }
  1245. //循环创建桌面图标
  1246. if (type == 1) {
  1247. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1248. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1249. _content = $$("div", {
  1250. className: "U_MD_D_KO",
  1251. "onmousedown": U.UF.C.closure(function(obj) {
  1252. //防止拖动图标即打开了桌面应用
  1253. U.MD.D.click(this, obj);
  1254. }, [_studentDesktopIconInfo[i]]),
  1255. "onclick": U.UF.C.closure(function(obj) {
  1256. //防止拖动图标即打开了桌面应用
  1257. U.MD.D.click(this, obj);
  1258. }, [_studentDesktopIconInfo[i]])
  1259. }, _frag); //
  1260. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1261. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1262. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1263. }
  1264. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1265. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1266. _content = $$("div", {
  1267. className: "U_MD_D_KO",
  1268. "onmousedown": U.UF.C.closure(function(obj) {
  1269. //防止拖动图标即打开了桌面应用
  1270. U.MD.D.click(this, obj);
  1271. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1272. "onclick": U.UF.C.closure(function(obj) {
  1273. //防止拖动图标即打开了桌面应用
  1274. U.MD.D.click(this, obj);
  1275. }, [_hkZJLSStudentDeskIconInfo[i]])
  1276. }, _frag); //
  1277. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1278. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1279. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1280. } //
  1281. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1282. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1283. _content = $$("div", {
  1284. className: "U_MD_D_KO",
  1285. "onmousedown": U.UF.C.closure(function(obj) {
  1286. //防止拖动图标即打开了桌面应用
  1287. U.MD.D.click(this, obj);
  1288. }, [_jccssylStudentDeskIconInfo[i]]),
  1289. "onclick": U.UF.C.closure(function(obj) {
  1290. //防止拖动图标即打开了桌面应用
  1291. U.MD.D.click(this, obj);
  1292. }, [_jccssylStudentDeskIconInfo[i]])
  1293. }, _frag); //
  1294. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1295. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1296. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1297. }
  1298. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1299. for (i = 0; i < _hkStudentEnglishDeskIcon.length; i++) {
  1300. _content = $$("div", {
  1301. className: "U_MD_D_KO",
  1302. "onmousedown": U.UF.C.closure(function(obj) {
  1303. //防止拖动图标即打开了桌面应用
  1304. U.MD.D.click(this, obj);
  1305. }, [_hkStudentEnglishDeskIcon[i]]),
  1306. "onclick": U.UF.C.closure(function(obj) {
  1307. //防止拖动图标即打开了桌面应用
  1308. U.MD.D.click(this, obj);
  1309. }, [_hkStudentEnglishDeskIcon[i]])
  1310. }, _frag); //
  1311. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1312. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentEnglishDeskIcon[i].style }, _iconcontent);
  1313. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentEnglishDeskIcon[i].Name }, _iconcontent);
  1314. }
  1315. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1316. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1317. _content = $$("div", {
  1318. className: "U_MD_D_KO",
  1319. "onmousedown": U.UF.C.closure(function(obj) {
  1320. //防止拖动图标即打开了桌面应用
  1321. U.MD.D.click(this, obj);
  1322. }, [_thuioeStudentDeskIconInfo[i]]),
  1323. "onclick": U.UF.C.closure(function(obj) {
  1324. //防止拖动图标即打开了桌面应用
  1325. U.MD.D.click(this, obj);
  1326. }, [_thuioeStudentDeskIconInfo[i]])
  1327. }, _frag); //
  1328. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1329. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1330. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1331. }
  1332. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1333. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1334. _content = $$("div", {
  1335. className: "U_MD_D_KO",
  1336. "onmousedown": U.UF.C.closure(function(obj) {
  1337. //防止拖动图标即打开了桌面应用
  1338. U.MD.D.click(this, obj);
  1339. }, [_tpcStudentDeskIconInfo[i]]),
  1340. "onclick": U.UF.C.closure(function(obj) {
  1341. //防止拖动图标即打开了桌面应用
  1342. U.MD.D.click(this, obj);
  1343. }, [_tpcStudentDeskIconInfo[i]])
  1344. }, _frag); //
  1345. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1346. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1347. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1348. } //
  1349. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1350. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1351. _content = $$("div", {
  1352. className: "U_MD_D_KO",
  1353. "onmousedown": U.UF.C.closure(function(obj) {
  1354. //防止拖动图标即打开了桌面应用
  1355. U.MD.D.click(this, obj);
  1356. }, [_chjyjStudentDeskIconInfo[i]]),
  1357. "onclick": U.UF.C.closure(function(obj) {
  1358. //防止拖动图标即打开了桌面应用
  1359. U.MD.D.click(this, obj);
  1360. }, [_chjyjStudentDeskIconInfo[i]])
  1361. }, _frag); //
  1362. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1363. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1364. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1365. }
  1366. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1367. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1368. _content = $$("div", {
  1369. className: "U_MD_D_KO",
  1370. "onmousedown": U.UF.C.closure(function(obj) {
  1371. //防止拖动图标即打开了桌面应用
  1372. U.MD.D.click(this, obj);
  1373. }, [_szjkyStudentDeskIconInfo[i]]),
  1374. "onclick": U.UF.C.closure(function(obj) {
  1375. //防止拖动图标即打开了桌面应用
  1376. U.MD.D.click(this, obj);
  1377. }, [_szjkyStudentDeskIconInfo[i]])
  1378. }, _frag); //
  1379. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1380. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1381. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1382. }
  1383. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1384. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1385. _content = $$("div", {
  1386. className: "U_MD_D_KO",
  1387. "onmousedown": U.UF.C.closure(function(obj) {
  1388. //防止拖动图标即打开了桌面应用
  1389. U.MD.D.click(this, obj);
  1390. }, [_dseiStudentDeskIconInfo[i]]),
  1391. "onclick": U.UF.C.closure(function(obj) {
  1392. //防止拖动图标即打开了桌面应用
  1393. U.MD.D.click(this, obj);
  1394. }, [_dseiStudentDeskIconInfo[i]])
  1395. }, _frag); //
  1396. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1397. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1398. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1399. }
  1400. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1401. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1402. _content = $$("div", {
  1403. className: "U_MD_D_KO",
  1404. "onmousedown": U.UF.C.closure(function(obj) {
  1405. //防止拖动图标即打开了桌面应用
  1406. U.MD.D.click(this, obj);
  1407. }, [_siesStudentDeskIconInfo[i]]),
  1408. "onclick": U.UF.C.closure(function(obj) {
  1409. //防止拖动图标即打开了桌面应用
  1410. U.MD.D.click(this, obj);
  1411. }, [_siesStudentDeskIconInfo[i]])
  1412. }, _frag); //
  1413. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1414. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1415. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1416. }
  1417. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1418. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1419. _content = $$("div", {
  1420. className: "U_MD_D_KO",
  1421. "onmousedown": U.UF.C.closure(function(obj) {
  1422. //防止拖动图标即打开了桌面应用
  1423. U.MD.D.click(this, obj);
  1424. }, [_hkStudentDeskIconInfo[i]]),
  1425. "onclick": U.UF.C.closure(function(obj) {
  1426. //防止拖动图标即打开了桌面应用
  1427. U.MD.D.click(this, obj);
  1428. }, [_hkStudentDeskIconInfo[i]])
  1429. }, _frag); //
  1430. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1431. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1432. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1433. }
  1434. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1435. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1436. _content = $$("div", {
  1437. className: "U_MD_D_KO",
  1438. "onmousedown": U.UF.C.closure(function(obj) {
  1439. //防止拖动图标即打开了桌面应用
  1440. U.MD.D.click(this, obj);
  1441. }, [_studentDesktopIconInfo[i]]),
  1442. "onclick": U.UF.C.closure(function(obj) {
  1443. //防止拖动图标即打开了桌面应用
  1444. U.MD.D.click(this, obj);
  1445. }, [_studentDesktopIconInfo[i]])
  1446. }, _frag); //
  1447. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1448. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1449. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1450. }
  1451. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1452. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1453. _content = $$("div", {
  1454. className: "U_MD_D_KO",
  1455. "onmousedown": U.UF.C.closure(function(obj) {
  1456. //防止拖动图标即打开了桌面应用
  1457. U.MD.D.click(this, obj);
  1458. }, [_tcStudentDeskIconInfo[i]]),
  1459. "onclick": U.UF.C.closure(function(obj) {
  1460. //防止拖动图标即打开了桌面应用
  1461. U.MD.D.click(this, obj);
  1462. }, [_tcStudentDeskIconInfo[i]])
  1463. }, _frag); //
  1464. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1465. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1466. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1467. }
  1468. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1469. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1470. _content = $$("div", {
  1471. className: "U_MD_D_KO",
  1472. "onmousedown": U.UF.C.closure(function(obj) {
  1473. //防止拖动图标即打开了桌面应用
  1474. U.MD.D.click(this, obj);
  1475. }, [_szscStudentDeskIconInfo[i]]),
  1476. "onclick": U.UF.C.closure(function(obj) {
  1477. //防止拖动图标即打开了桌面应用
  1478. U.MD.D.click(this, obj);
  1479. }, [_szscStudentDeskIconInfo[i]])
  1480. }, _frag); //
  1481. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1482. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1483. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1484. }
  1485. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1486. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1487. _content = $$("div", {
  1488. className: "U_MD_D_KO",
  1489. "onmousedown": U.UF.C.closure(function(obj) {
  1490. //防止拖动图标即打开了桌面应用
  1491. U.MD.D.click(this, obj);
  1492. }, [_studentDesktopIconInfo3[i]]),
  1493. "onclick": U.UF.C.closure(function(obj) {
  1494. //防止拖动图标即打开了桌面应用
  1495. U.MD.D.click(this, obj);
  1496. }, [_studentDesktopIconInfo3[i]])
  1497. }, _frag); //
  1498. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1499. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1500. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1501. }
  1502. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1503. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1504. _content = $$("div", {
  1505. className: "U_MD_D_KO",
  1506. "onmousedown": U.UF.C.closure(function(obj) {
  1507. //防止拖动图标即打开了桌面应用
  1508. U.MD.D.click(this, obj);
  1509. }, [_studentDesktopIconInfo2[i]]),
  1510. "onclick": U.UF.C.closure(function(obj) {
  1511. //防止拖动图标即打开了桌面应用
  1512. U.MD.D.click(this, obj);
  1513. }, [_studentDesktopIconInfo2[i]])
  1514. }, _frag); //
  1515. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1516. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1517. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1518. }
  1519. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1520. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1521. _content = $$("div", {
  1522. className: "U_MD_D_KO",
  1523. "onmousedown": U.UF.C.closure(function(obj) {
  1524. //防止拖动图标即打开了桌面应用
  1525. U.MD.D.click(this, obj);
  1526. }, [_wanketeacherDesktopIconInfo[i]]),
  1527. "onclick": U.UF.C.closure(function(obj) {
  1528. //防止拖动图标即打开了桌面应用
  1529. U.MD.D.click(this, obj);
  1530. }, [_wanketeacherDesktopIconInfo[i]])
  1531. }, _frag); //
  1532. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1533. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1534. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1535. }
  1536. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1537. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1538. _content = $$("div", {
  1539. className: "U_MD_D_KO",
  1540. "onmousedown": U.UF.C.closure(function(obj) {
  1541. //防止拖动图标即打开了桌面应用
  1542. U.MD.D.click(this, obj);
  1543. }, [_wankeAdminDesktopIconInfo[i]]),
  1544. "onclick": U.UF.C.closure(function(obj) {
  1545. //防止拖动图标即打开了桌面应用
  1546. U.MD.D.click(this, obj);
  1547. }, [_wankeAdminDesktopIconInfo[i]])
  1548. }, _frag); //
  1549. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1550. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1551. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1552. }
  1553. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1554. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1555. _content = $$("div", {
  1556. className: "U_MD_D_KO",
  1557. "onmousedown": U.UF.C.closure(function(obj) {
  1558. //防止拖动图标即打开了桌面应用
  1559. U.MD.D.click(this, obj);
  1560. }, [_jccssylTeacherDeskIconInfo[i]]),
  1561. "onclick": U.UF.C.closure(function(obj) {
  1562. //防止拖动图标即打开了桌面应用
  1563. U.MD.D.click(this, obj);
  1564. }, [_jccssylTeacherDeskIconInfo[i]])
  1565. }, _frag); //
  1566. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1567. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1568. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1569. }
  1570. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1571. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1572. _content = $$("div", {
  1573. className: "U_MD_D_KO",
  1574. "onmousedown": U.UF.C.closure(function(obj) {
  1575. //防止拖动图标即打开了桌面应用
  1576. U.MD.D.click(this, obj);
  1577. }, [_tpcOrganizerDeskIconInfo[i]]),
  1578. "onclick": U.UF.C.closure(function(obj) {
  1579. //防止拖动图标即打开了桌面应用
  1580. U.MD.D.click(this, obj);
  1581. }, [_tpcOrganizerDeskIconInfo[i]])
  1582. }, _frag); //
  1583. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1584. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1585. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1586. }
  1587. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1588. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1589. _content = $$("div", {
  1590. className: "U_MD_D_KO",
  1591. "onmousedown": U.UF.C.closure(function(obj) {
  1592. //防止拖动图标即打开了桌面应用
  1593. U.MD.D.click(this, obj);
  1594. }, [_tpcTeacherDeskIconInfo[i]]),
  1595. "onclick": U.UF.C.closure(function(obj) {
  1596. //防止拖动图标即打开了桌面应用
  1597. U.MD.D.click(this, obj);
  1598. }, [_tpcTeacherDeskIconInfo[i]])
  1599. }, _frag); //
  1600. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1601. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1602. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1603. }
  1604. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1605. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1606. _content = $$("div", {
  1607. className: "U_MD_D_KO",
  1608. "onmousedown": U.UF.C.closure(function(obj) {
  1609. //防止拖动图标即打开了桌面应用
  1610. U.MD.D.click(this, obj);
  1611. }, [_teacherDesktopIconInfo2[i]]),
  1612. "onclick": U.UF.C.closure(function(obj) {
  1613. //防止拖动图标即打开了桌面应用
  1614. U.MD.D.click(this, obj);
  1615. }, [_teacherDesktopIconInfo2[i]])
  1616. }, _frag); //
  1617. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1618. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1619. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1620. }
  1621. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1622. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1623. _content = $$("div", {
  1624. className: "U_MD_D_KO",
  1625. "onmousedown": U.UF.C.closure(function(obj) {
  1626. //防止拖动图标即打开了桌面应用
  1627. U.MD.D.click(this, obj);
  1628. }, [_thuioeTeacherDeskIconInfo[i]]),
  1629. "onclick": U.UF.C.closure(function(obj) {
  1630. //防止拖动图标即打开了桌面应用
  1631. U.MD.D.click(this, obj);
  1632. }, [_thuioeTeacherDeskIconInfo[i]])
  1633. }, _frag); //
  1634. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1635. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1636. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1637. }
  1638. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1639. for (i = 0; i < _hkTeacherEnglishDeskIcon.length; i++) {
  1640. _content = $$("div", {
  1641. className: "U_MD_D_KO",
  1642. "onmousedown": U.UF.C.closure(function(obj) {
  1643. //防止拖动图标即打开了桌面应用
  1644. U.MD.D.click(this, obj);
  1645. }, [_hkTeacherEnglishDeskIcon[i]]),
  1646. "onclick": U.UF.C.closure(function(obj) {
  1647. //防止拖动图标即打开了桌面应用
  1648. U.MD.D.click(this, obj);
  1649. }, [_hkTeacherEnglishDeskIcon[i]])
  1650. }, _frag); //
  1651. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1652. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherEnglishDeskIcon[i].style }, _iconcontent);
  1653. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherEnglishDeskIcon[i].Name }, _iconcontent);
  1654. }
  1655. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1656. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1657. _content = $$("div", {
  1658. className: "U_MD_D_KO",
  1659. "onmousedown": U.UF.C.closure(function(obj) {
  1660. //防止拖动图标即打开了桌面应用
  1661. U.MD.D.click(this, obj);
  1662. }, [_lotechTeacherDeskIconInfo[i]]),
  1663. "onclick": U.UF.C.closure(function(obj) {
  1664. //防止拖动图标即打开了桌面应用
  1665. U.MD.D.click(this, obj);
  1666. }, [_lotechTeacherDeskIconInfo[i]])
  1667. }, _frag); //
  1668. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1669. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1670. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1671. } //
  1672. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1673. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1674. _content = $$("div", {
  1675. className: "U_MD_D_KO",
  1676. "onmousedown": U.UF.C.closure(function(obj) {
  1677. //防止拖动图标即打开了桌面应用
  1678. U.MD.D.click(this, obj);
  1679. }, [_siesTeacherDeskIconInfo[i]]),
  1680. "onclick": U.UF.C.closure(function(obj) {
  1681. //防止拖动图标即打开了桌面应用
  1682. U.MD.D.click(this, obj);
  1683. }, [_siesTeacherDeskIconInfo[i]])
  1684. }, _frag); //
  1685. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1686. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1687. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1688. }
  1689. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1690. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1691. _content = $$("div", {
  1692. className: "U_MD_D_KO",
  1693. "onmousedown": U.UF.C.closure(function(obj) {
  1694. //防止拖动图标即打开了桌面应用
  1695. U.MD.D.click(this, obj);
  1696. }, [_longhuaTeacherDeskIconInfo[i]]),
  1697. "onclick": U.UF.C.closure(function(obj) {
  1698. //防止拖动图标即打开了桌面应用
  1699. U.MD.D.click(this, obj);
  1700. }, [_longhuaTeacherDeskIconInfo[i]])
  1701. }, _frag); //
  1702. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1703. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1704. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1705. }
  1706. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1707. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1708. _content = $$("div", {
  1709. className: "U_MD_D_KO",
  1710. "onmousedown": U.UF.C.closure(function(obj) {
  1711. //防止拖动图标即打开了桌面应用
  1712. U.MD.D.click(this, obj);
  1713. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1714. "onclick": U.UF.C.closure(function(obj) {
  1715. //防止拖动图标即打开了桌面应用
  1716. U.MD.D.click(this, obj);
  1717. }, [_yunhaiTeacherDeskIconInfo[i]])
  1718. }, _frag); //
  1719. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1720. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1721. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1722. } //_hkStudentDeskIconInfo
  1723. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1724. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1725. _content = $$("div", {
  1726. className: "U_MD_D_KO",
  1727. "onmousedown": U.UF.C.closure(function(obj) {
  1728. //防止拖动图标即打开了桌面应用
  1729. U.MD.D.click(this, obj);
  1730. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1731. "onclick": U.UF.C.closure(function(obj) {
  1732. //防止拖动图标即打开了桌面应用
  1733. U.MD.D.click(this, obj);
  1734. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1735. }, _frag); //
  1736. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1737. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1738. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1739. }
  1740. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1741. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1742. _content = $$("div", {
  1743. className: "U_MD_D_KO",
  1744. "onmousedown": U.UF.C.closure(function(obj) {
  1745. //防止拖动图标即打开了桌面应用
  1746. U.MD.D.click(this, obj);
  1747. }, [_hkTeacherDeskIconInfo[i]]),
  1748. "onclick": U.UF.C.closure(function(obj) {
  1749. //防止拖动图标即打开了桌面应用
  1750. U.MD.D.click(this, obj);
  1751. }, [_hkTeacherDeskIconInfo[i]])
  1752. }, _frag); //
  1753. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1754. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1755. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1756. }
  1757. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1758. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1759. _content = $$("div", {
  1760. className: "U_MD_D_KO",
  1761. "onmousedown": U.UF.C.closure(function(obj) {
  1762. //防止拖动图标即打开了桌面应用
  1763. U.MD.D.click(this, obj);
  1764. }, [_gdjgAdminDeskIconInfo[i]]),
  1765. "onclick": U.UF.C.closure(function(obj) {
  1766. //防止拖动图标即打开了桌面应用
  1767. U.MD.D.click(this, obj);
  1768. }, [_gdjgAdminDeskIconInfo[i]])
  1769. }, _frag); //
  1770. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1771. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1772. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1773. }
  1774. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1775. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1776. _content = $$("div", {
  1777. className: "U_MD_D_KO",
  1778. "onmousedown": U.UF.C.closure(function(obj) {
  1779. //防止拖动图标即打开了桌面应用
  1780. U.MD.D.click(this, obj);
  1781. }, [_gdjgTeacherDeskIconInfo[i]]),
  1782. "onclick": U.UF.C.closure(function(obj) {
  1783. //防止拖动图标即打开了桌面应用
  1784. U.MD.D.click(this, obj);
  1785. }, [_gdjgTeacherDeskIconInfo[i]])
  1786. }, _frag); //
  1787. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1788. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1789. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1790. }
  1791. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1792. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1793. _content = $$("div", {
  1794. className: "U_MD_D_KO",
  1795. "onmousedown": U.UF.C.closure(function(obj) {
  1796. //防止拖动图标即打开了桌面应用
  1797. U.MD.D.click(this, obj);
  1798. }, [_szherTeacherDeskIconInfo[i]]),
  1799. "onclick": U.UF.C.closure(function(obj) {
  1800. //防止拖动图标即打开了桌面应用
  1801. U.MD.D.click(this, obj);
  1802. }, [_szherTeacherDeskIconInfo[i]])
  1803. }, _frag); //
  1804. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1805. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1806. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1807. }
  1808. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1809. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1810. _content = $$("div", {
  1811. className: "U_MD_D_KO",
  1812. "onmousedown": U.UF.C.closure(function(obj) {
  1813. //防止拖动图标即打开了桌面应用
  1814. U.MD.D.click(this, obj);
  1815. }, [_heyuannAdminDeskIconInfo[i]]),
  1816. "onclick": U.UF.C.closure(function(obj) {
  1817. //防止拖动图标即打开了桌面应用
  1818. U.MD.D.click(this, obj);
  1819. }, [_heyuannAdminDeskIconInfo[i]])
  1820. }, _frag); //
  1821. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1822. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1823. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1824. }
  1825. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1826. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1827. _content = $$("div", {
  1828. className: "U_MD_D_KO",
  1829. "onmousedown": U.UF.C.closure(function(obj) {
  1830. //防止拖动图标即打开了桌面应用
  1831. U.MD.D.click(this, obj);
  1832. }, [_heyuanTeacherDeskIconInfo[i]]),
  1833. "onclick": U.UF.C.closure(function(obj) {
  1834. //防止拖动图标即打开了桌面应用
  1835. U.MD.D.click(this, obj);
  1836. }, [_heyuanTeacherDeskIconInfo[i]])
  1837. }, _frag); //
  1838. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1839. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1840. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1841. } //
  1842. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1843. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1844. _content = $$("div", {
  1845. className: "U_MD_D_KO",
  1846. "onmousedown": U.UF.C.closure(function(obj) {
  1847. //防止拖动图标即打开了桌面应用
  1848. U.MD.D.click(this, obj);
  1849. }, [_dseiAdminDeskIconInfo[i]]),
  1850. "onclick": U.UF.C.closure(function(obj) {
  1851. //防止拖动图标即打开了桌面应用
  1852. U.MD.D.click(this, obj);
  1853. }, [_dseiAdminDeskIconInfo[i]])
  1854. }, _frag); //
  1855. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1856. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1857. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1858. }
  1859. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1860. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1861. _content = $$("div", {
  1862. className: "U_MD_D_KO",
  1863. "onmousedown": U.UF.C.closure(function(obj) {
  1864. //防止拖动图标即打开了桌面应用
  1865. U.MD.D.click(this, obj);
  1866. }, [_dseiTeacherDeskIconInfo[i]]),
  1867. "onclick": U.UF.C.closure(function(obj) {
  1868. //防止拖动图标即打开了桌面应用
  1869. U.MD.D.click(this, obj);
  1870. }, [_dseiTeacherDeskIconInfo[i]])
  1871. }, _frag); //
  1872. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1873. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1874. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1875. } //
  1876. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1877. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1878. _content = $$("div", {
  1879. className: "U_MD_D_KO",
  1880. "onmousedown": U.UF.C.closure(function(obj) {
  1881. //防止拖动图标即打开了桌面应用
  1882. U.MD.D.click(this, obj);
  1883. }, [_chjyjAdminDeskIconInfo[i]]),
  1884. "onclick": U.UF.C.closure(function(obj) {
  1885. //防止拖动图标即打开了桌面应用
  1886. U.MD.D.click(this, obj);
  1887. }, [_chjyjAdminDeskIconInfo[i]])
  1888. }, _frag); //
  1889. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1890. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1891. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1892. } //
  1893. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1894. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1895. _content = $$("div", {
  1896. className: "U_MD_D_KO",
  1897. "onmousedown": U.UF.C.closure(function(obj) {
  1898. //防止拖动图标即打开了桌面应用
  1899. U.MD.D.click(this, obj);
  1900. }, [_chjyjTeacherDeskIconInfo[i]]),
  1901. "onclick": U.UF.C.closure(function(obj) {
  1902. //防止拖动图标即打开了桌面应用
  1903. U.MD.D.click(this, obj);
  1904. }, [_chjyjTeacherDeskIconInfo[i]])
  1905. }, _frag); //
  1906. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1907. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1908. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1909. }
  1910. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1911. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1912. _content = $$("div", {
  1913. className: "U_MD_D_KO",
  1914. "onmousedown": U.UF.C.closure(function(obj) {
  1915. //防止拖动图标即打开了桌面应用
  1916. U.MD.D.click(this, obj);
  1917. }, [_szjkyAdminDeskIconInfo[i]]),
  1918. "onclick": U.UF.C.closure(function(obj) {
  1919. //防止拖动图标即打开了桌面应用
  1920. U.MD.D.click(this, obj);
  1921. }, [_szjkyAdminDeskIconInfo[i]])
  1922. }, _frag); //
  1923. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1924. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1925. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1926. } //
  1927. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1928. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1929. _content = $$("div", {
  1930. className: "U_MD_D_KO",
  1931. "onmousedown": U.UF.C.closure(function(obj) {
  1932. //防止拖动图标即打开了桌面应用
  1933. U.MD.D.click(this, obj);
  1934. }, [_szjkyTeacherDeskIconInfo[i]]),
  1935. "onclick": U.UF.C.closure(function(obj) {
  1936. //防止拖动图标即打开了桌面应用
  1937. U.MD.D.click(this, obj);
  1938. }, [_szjkyTeacherDeskIconInfo[i]])
  1939. }, _frag); //
  1940. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1941. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1942. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1943. }
  1944. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1945. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1946. _content = $$("div", {
  1947. className: "U_MD_D_KO",
  1948. "onmousedown": U.UF.C.closure(function(obj) {
  1949. //防止拖动图标即打开了桌面应用
  1950. U.MD.D.click(this, obj);
  1951. }, [_futianAdminDeskIconInfo[i]]),
  1952. "onclick": U.UF.C.closure(function(obj) {
  1953. //防止拖动图标即打开了桌面应用
  1954. U.MD.D.click(this, obj);
  1955. }, [_futianAdminDeskIconInfo[i]])
  1956. }, _frag); //
  1957. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1958. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1959. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1960. }
  1961. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1962. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1963. _content = $$("div", {
  1964. className: "U_MD_D_KO",
  1965. "onmousedown": U.UF.C.closure(function(obj) {
  1966. //防止拖动图标即打开了桌面应用
  1967. U.MD.D.click(this, obj);
  1968. }, [_futianTeacherDeskIconInfo[i]]),
  1969. "onclick": U.UF.C.closure(function(obj) {
  1970. //防止拖动图标即打开了桌面应用
  1971. U.MD.D.click(this, obj);
  1972. }, [_futianTeacherDeskIconInfo[i]])
  1973. }, _frag); //
  1974. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1975. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1976. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1977. }
  1978. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1979. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1980. _content = $$("div", {
  1981. className: "U_MD_D_KO",
  1982. "onmousedown": U.UF.C.closure(function(obj) {
  1983. //防止拖动图标即打开了桌面应用
  1984. U.MD.D.click(this, obj);
  1985. }, [_MingdeTeacherDeskIcon[i]]),
  1986. "onclick": U.UF.C.closure(function(obj) {
  1987. //防止拖动图标即打开了桌面应用
  1988. U.MD.D.click(this, obj);
  1989. }, [_MingdeTeacherDeskIcon[i]])
  1990. }, _frag); //
  1991. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1992. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1993. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1994. }
  1995. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1996. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1997. _content = $$("div", {
  1998. className: "U_MD_D_KO",
  1999. "onmousedown": U.UF.C.closure(function(obj) {
  2000. //防止拖动图标即打开了桌面应用
  2001. U.MD.D.click(this, obj);
  2002. }, [_lhsAdminDesktopIconInfo[i]]),
  2003. "onclick": U.UF.C.closure(function(obj) {
  2004. //防止拖动图标即打开了桌面应用
  2005. U.MD.D.click(this, obj);
  2006. }, [_lhsAdminDesktopIconInfo[i]])
  2007. }, _frag); //
  2008. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2009. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2010. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2011. }
  2012. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2013. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2014. _content = $$("div", {
  2015. className: "U_MD_D_KO",
  2016. "onmousedown": U.UF.C.closure(function(obj) {
  2017. //防止拖动图标即打开了桌面应用
  2018. U.MD.D.click(this, obj);
  2019. }, [_lhsteacherDesktopIconInfo[i]]),
  2020. "onclick": U.UF.C.closure(function(obj) {
  2021. //防止拖动图标即打开了桌面应用
  2022. U.MD.D.click(this, obj);
  2023. }, [_lhsteacherDesktopIconInfo[i]])
  2024. }, _frag); //
  2025. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2026. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2027. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2028. }
  2029. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2030. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2031. _content = $$("div", {
  2032. className: "U_MD_D_KO",
  2033. "onmousedown": U.UF.C.closure(function(obj) {
  2034. //防止拖动图标即打开了桌面应用
  2035. U.MD.D.click(this, obj);
  2036. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2037. "onclick": U.UF.C.closure(function(obj) {
  2038. //防止拖动图标即打开了桌面应用
  2039. U.MD.D.click(this, obj);
  2040. }, [_zhoujiateacherDesktopIconInfo[i]])
  2041. }, _frag); //
  2042. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2043. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2044. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2045. }
  2046. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2047. for (i = 0; i < _hanDeskIcon.length; i++) {
  2048. _content = $$("div", {
  2049. className: "U_MD_D_KO",
  2050. "onmousedown": U.UF.C.closure(function(obj) {
  2051. //防止拖动图标即打开了桌面应用
  2052. U.MD.D.click(this, obj);
  2053. }, [_hanDeskIcon[i]]),
  2054. "onclick": U.UF.C.closure(function(obj) {
  2055. //防止拖动图标即打开了桌面应用
  2056. U.MD.D.click(this, obj);
  2057. }, [_hanDeskIcon[i]])
  2058. }, _frag); //
  2059. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2060. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2061. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2062. }
  2063. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2064. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2065. _content = $$("div", {
  2066. className: "U_MD_D_KO",
  2067. "onmousedown": U.UF.C.closure(function(obj) {
  2068. //防止拖动图标即打开了桌面应用
  2069. U.MD.D.click(this, obj);
  2070. }, [_orgStemDeskIcon[i]]),
  2071. "onclick": U.UF.C.closure(function(obj) {
  2072. //防止拖动图标即打开了桌面应用
  2073. U.MD.D.click(this, obj);
  2074. }, [_orgStemDeskIcon[i]])
  2075. }, _frag); //
  2076. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2077. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2078. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2079. }
  2080. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2081. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2082. _content = $$("div", {
  2083. className: "U_MD_D_KO",
  2084. "onmousedown": U.UF.C.closure(function(obj) {
  2085. //防止拖动图标即打开了桌面应用
  2086. U.MD.D.click(this, obj);
  2087. }, [_szulsDeskIcon[i]]),
  2088. "onclick": U.UF.C.closure(function(obj) {
  2089. //防止拖动图标即打开了桌面应用
  2090. U.MD.D.click(this, obj);
  2091. }, [_szulsDeskIcon[i]])
  2092. }, _frag); //
  2093. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2094. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2095. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2096. }
  2097. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2098. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2099. _content = $$("div", {
  2100. className: "U_MD_D_KO",
  2101. "onmousedown": U.UF.C.closure(function(obj) {
  2102. //防止拖动图标即打开了桌面应用
  2103. U.MD.D.click(this, obj);
  2104. }, [_orgDesktopIconInfo[i]]),
  2105. "onclick": U.UF.C.closure(function(obj) {
  2106. //防止拖动图标即打开了桌面应用
  2107. U.MD.D.click(this, obj);
  2108. }, [_orgDesktopIconInfo[i]])
  2109. }, _frag); //
  2110. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2111. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2112. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2113. }
  2114. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2115. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2116. _content = $$("div", {
  2117. className: "U_MD_D_KO",
  2118. "onmousedown": U.UF.C.closure(function(obj) {
  2119. //防止拖动图标即打开了桌面应用
  2120. U.MD.D.click(this, obj);
  2121. }, [_schoolDesktopIconInfo[i]]),
  2122. "onclick": U.UF.C.closure(function(obj) {
  2123. //防止拖动图标即打开了桌面应用
  2124. U.MD.D.click(this, obj);
  2125. }, [_schoolDesktopIconInfo[i]])
  2126. }, _frag); //
  2127. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2128. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2129. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2130. }
  2131. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2132. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2133. _content = $$("div", {
  2134. className: "U_MD_D_KO",
  2135. "onmousedown": U.UF.C.closure(function(obj) {
  2136. //防止拖动图标即打开了桌面应用
  2137. U.MD.D.click(this, obj);
  2138. }, [_GMteacherDesktopIconInfo[i]]),
  2139. "onclick": U.UF.C.closure(function(obj) {
  2140. //防止拖动图标即打开了桌面应用
  2141. U.MD.D.click(this, obj);
  2142. }, [_GMteacherDesktopIconInfo[i]])
  2143. }, _frag); //
  2144. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2145. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2146. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2147. }
  2148. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2149. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2150. _content = $$("div", {
  2151. className: "U_MD_D_KO",
  2152. "onmousedown": U.UF.C.closure(function(obj) {
  2153. //防止拖动图标即打开了桌面应用
  2154. U.MD.D.click(this, obj);
  2155. }, [_SONGteacherDesktopIconInfo[i]]),
  2156. "onclick": U.UF.C.closure(function(obj) {
  2157. //防止拖动图标即打开了桌面应用
  2158. U.MD.D.click(this, obj);
  2159. }, [_SONGteacherDesktopIconInfo[i]])
  2160. }, _frag); //
  2161. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2162. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2163. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2164. }
  2165. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2166. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2167. _content = $$("div", {
  2168. className: "U_MD_D_KO",
  2169. "onmousedown": U.UF.C.closure(function(obj) {
  2170. //防止拖动图标即打开了桌面应用
  2171. U.MD.D.click(this, obj);
  2172. }, [_GMstudentDesktopIconInfo[i]]),
  2173. "onclick": U.UF.C.closure(function(obj) {
  2174. //防止拖动图标即打开了桌面应用
  2175. U.MD.D.click(this, obj);
  2176. }, [_GMstudentDesktopIconInfo[i]])
  2177. }, _frag); //
  2178. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2179. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2180. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2181. }
  2182. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2183. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2184. _content = $$("div", {
  2185. className: "U_MD_D_KO",
  2186. "onmousedown": U.UF.C.closure(function(obj) {
  2187. //防止拖动图标即打开了桌面应用
  2188. U.MD.D.click(this, obj);
  2189. }, [_tcTeacherDeskIconInfo[i]]),
  2190. "onclick": U.UF.C.closure(function(obj) {
  2191. //防止拖动图标即打开了桌面应用
  2192. U.MD.D.click(this, obj);
  2193. }, [_tcTeacherDeskIconInfo[i]])
  2194. }, _frag); //
  2195. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2196. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2197. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2198. }
  2199. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2200. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2201. _content = $$("div", {
  2202. className: "U_MD_D_KO",
  2203. "onmousedown": U.UF.C.closure(function(obj) {
  2204. //防止拖动图标即打开了桌面应用
  2205. U.MD.D.click(this, obj);
  2206. }, [_tcOrganizerDeskIconInfo[i]]),
  2207. "onclick": U.UF.C.closure(function(obj) {
  2208. //防止拖动图标即打开了桌面应用
  2209. U.MD.D.click(this, obj);
  2210. }, [_tcOrganizerDeskIconInfo[i]])
  2211. }, _frag); //
  2212. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2213. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2214. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2215. }
  2216. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2217. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2218. _content = $$("div", {
  2219. className: "U_MD_D_KO",
  2220. "onmousedown": U.UF.C.closure(function(obj) {
  2221. //防止拖动图标即打开了桌面应用
  2222. U.MD.D.click(this, obj);
  2223. }, [_szscTeacherDeskIconInfo[i]]),
  2224. "onclick": U.UF.C.closure(function(obj) {
  2225. //防止拖动图标即打开了桌面应用
  2226. U.MD.D.click(this, obj);
  2227. }, [_szscTeacherDeskIconInfo[i]])
  2228. }, _frag); //
  2229. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2230. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2231. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2232. }
  2233. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2234. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2235. _content = $$("div", {
  2236. className: "U_MD_D_KO",
  2237. "onmousedown": U.UF.C.closure(function(obj) {
  2238. //防止拖动图标即打开了桌面应用
  2239. U.MD.D.click(this, obj);
  2240. }, [_szscOrganizerDeskIconInfo[i]]),
  2241. "onclick": U.UF.C.closure(function(obj) {
  2242. //防止拖动图标即打开了桌面应用
  2243. U.MD.D.click(this, obj);
  2244. }, [_szscOrganizerDeskIconInfo[i]])
  2245. }, _frag); //
  2246. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2247. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2248. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2249. }
  2250. } else {
  2251. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2252. _content = $$("div", {
  2253. className: "U_MD_D_KO",
  2254. "onmousedown": U.UF.C.closure(function(obj) {
  2255. //防止拖动图标即打开了桌面应用
  2256. U.MD.D.click(this, obj);
  2257. }, [_teacherDesktopIconInfo[i]]),
  2258. "onclick": U.UF.C.closure(function(obj) {
  2259. //防止拖动图标即打开了桌面应用
  2260. U.MD.D.click(this, obj);
  2261. }, [_teacherDesktopIconInfo[i]])
  2262. }, _frag); //
  2263. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2264. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2265. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2266. }
  2267. }
  2268. } else {
  2269. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2270. _content = $$("div", {
  2271. className: "U_MD_D_KO",
  2272. style: { 'width': '124px', 'height': '145px' },
  2273. "onmousedown": U.UF.C.closure(function(obj) {
  2274. //防止拖动图标即打开了桌面应用
  2275. U.MD.D.click(this, obj);
  2276. }, [_easyDesktopIconInfo[i]]),
  2277. "onclick": U.UF.C.closure(function(obj) {
  2278. //防止拖动图标即打开了桌面应用
  2279. U.MD.D.click(this, obj);
  2280. }, [_easyDesktopIconInfo[i]])
  2281. }, _frag); //
  2282. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2283. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2284. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2285. }
  2286. }
  2287. if (type == 1) {
  2288. //加载好后给图标定位
  2289. U.MD.D.iconPostion($(_frag).Child());
  2290. } else {
  2291. //加载好后给图标定位
  2292. U.MD.D.iconPostion2($(_frag).Child());
  2293. }
  2294. //把图标加载到页面
  2295. el.appendChild(_frag);
  2296. }
  2297. /**
  2298. * 显示任务栏
  2299. *
  2300. * @param {element} 桌面元素
  2301. */
  2302. U.MD.D.I.displayTaskbar = function(el) {
  2303. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2304. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2305. //任务栏位置变化
  2306. U.selectEl(el).css({ "bottom": "0px" });
  2307. //桌面位置变话
  2308. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2309. }
  2310. }
  2311. //#region 桌面图标拖动逻辑
  2312. /**
  2313. * 桌面排列图标
  2314. *
  2315. * @param {element} 桌面元素
  2316. * @param {object} 上下相距的距离
  2317. * @param {object} 左右相距的距离
  2318. * @return {object} 命名空间
  2319. */
  2320. U.MD.D.iconPostion = function(childs, top, left) {
  2321. var i; //用于循环处理
  2322. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2323. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2324. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2325. for (i = 0; i < childs.length; i++) {
  2326. //如果竖排top超过了范围处理
  2327. if (top + 95 > US.height - 10) {
  2328. //left超过了页面范围处理,则向上重叠打印处理
  2329. if ((left + 180) > US.width) {
  2330. top -= 110;
  2331. left -= 90;
  2332. }
  2333. //没有超过范围,那么left+90添加到下一个竖排打印
  2334. else {
  2335. left += 90;
  2336. top = 15;
  2337. };
  2338. }
  2339. //给图标的位置赋值
  2340. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2341. if (i < childs.length - 1) {
  2342. //页面图标每次向下加95
  2343. top += 95;
  2344. }
  2345. }
  2346. //返回最后调用的图标的位置
  2347. return [top, left];
  2348. }
  2349. /**
  2350. * 桌面排列图标
  2351. *
  2352. * @param {element} 桌面元素
  2353. * @param {object} 上下相距的距离
  2354. * @param {object} 左右相距的距离
  2355. * @return {object} 命名空间
  2356. */
  2357. U.MD.D.iconPostion2 = function(childs, top, left) {
  2358. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2359. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2360. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2361. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2362. for (i = 0; i < childs.length; i++) {
  2363. //如果竖排top超过了范围处理
  2364. if (left + 150 > US.width - 10) {
  2365. //left超过了页面范围处理,则向上重叠打印处理
  2366. if ((top + 180) > US.Height) {
  2367. top -= 150;
  2368. left -= 150;
  2369. }
  2370. //没有超过范围,那么left+90添加到下一个竖排打印
  2371. else {
  2372. top += 150;
  2373. left = ol;
  2374. };
  2375. }
  2376. //给图标的位置赋值
  2377. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2378. if (i < childs.length - 1) {
  2379. //页面图标每次向下加95
  2380. left += 150;
  2381. }
  2382. }
  2383. //返回最后调用的图标的位置
  2384. return [top, left];
  2385. }
  2386. /**
  2387. * 桌面点击事件逻辑
  2388. *
  2389. * @param {element} 桌面元素
  2390. * @param {object} 上下相距的距离
  2391. * @param {object} 左右相距的距离
  2392. * @return {object} 命名空间
  2393. */
  2394. U.MD.D.click = function(el, obj) {
  2395. var _buttonnumber = event.button; //点击的按钮的事件值
  2396. var _userinfo = US.userInfo;
  2397. U.UF.EV.stopBubble(); //阻止向上冒泡
  2398. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2399. if (_buttonnumber < 2) {
  2400. //如果是click事件的处理
  2401. if (event.type == "click") {
  2402. //如果元素在mousemove事件中没有移动则出发click事件
  2403. if (!U.MD.D.I.IsDrag) {
  2404. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2405. U.alert("请先登录您的账号!");
  2406. setTimeout(() => {
  2407. U.MD.U.L.login();
  2408. }, 2000);
  2409. } else {
  2410. //打开应用处理
  2411. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2412. }
  2413. }
  2414. }
  2415. //如果是mouse事件的处理
  2416. else {
  2417. if (US.Config.type == '1') {
  2418. //拖动处理,添加拖动和拖动结束事件
  2419. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2420. }
  2421. }
  2422. U.MD.D.I.IsDrag = false;
  2423. }
  2424. }
  2425. /**
  2426. * 拖动的处理
  2427. *
  2428. */
  2429. U.MD.D.iconMove = function() {
  2430. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2431. U.MD.D.I.IsDrag = true;
  2432. }
  2433. /**
  2434. * 拖动结束后,这里是定位处理,以网状的形式定位
  2435. *
  2436. * @param {element} 拖动的元素
  2437. * @return {object} 命名空间
  2438. */
  2439. U.MD.D.iconUp = function(el) {
  2440. var _top = 15,
  2441. _left = 20,
  2442. _margin,
  2443. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2444. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2445. if (_positioninfo["OT"] > 15) {
  2446. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2447. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2448. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2449. }
  2450. if (_positioninfo["OL"] > 20) {
  2451. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2452. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2453. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2454. }
  2455. //while循环判断么一个重叠的元素
  2456. do {
  2457. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2458. _top = _positioninfo[0] + 95; //得到定位后的top
  2459. _left = _positioninfo[1]; //得到定位后的left
  2460. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2461. }
  2462. /**
  2463. * 判断拖动后图标是否重叠
  2464. *
  2465. * @param {element} 拖动的元素
  2466. * @param {element} 桌面所有的元素
  2467. * @param {array} 拖动元素的位置
  2468. ----------[0] 上 top
  2469. ----------[1] 左 left
  2470. * @return {object} 命名空间
  2471. */
  2472. U.MD.D.isOverlap = function(el, childs, postionarray) {
  2473. //循环所有的图标
  2474. for (var i = 0; i < childs.length; i++) {
  2475. //判断有没有和该图标诶子重叠的元素
  2476. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2477. return childs[i]; //如果有返回
  2478. }
  2479. }
  2480. }
  2481. //#endregion
  2482. //#endregion
  2483. //#region 桌面应用
  2484. /**
  2485. * 打开应用
  2486. *
  2487. * @param {string} 类型
  2488. -----------------Disk 网盘系统
  2489. -----------------PDisk 学习系统网盘
  2490. -----------------Poto 图片
  2491. -----------------Video 视频
  2492. -----------------Music 音乐
  2493. -----------------Word word
  2494. -----------------Excel excel
  2495. -----------------Txt 记事本
  2496. -----------------PB 学习系统
  2497. -----------------Blog 朋友圈系统
  2498. -----------------FTP ftp系统
  2499. -----------------Group 好友群
  2500. -----------------SY 首页系统
  2501. -----------------Set 个人设置
  2502. -----------------XSet 系统设置
  2503. -----------------App 我们所有的app
  2504. -----------------BC c.1473.cn 平台
  2505. -----------------CWeb d.1473.cn 变成平台
  2506. -----------------其他的外联系统 我们统一用iframe打开
  2507. * @param {array} 类型
  2508. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2509. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2510. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2511. 如果第一个参数为其他,则无第二个参数
  2512. * @returns {array}
  2513. */
  2514. window.addEventListener('message', function(e) { // 监听 message 事件
  2515. // alert(e.data.type);
  2516. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2517. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2518. //3是展示全部阶段 2学生 1老师 4专家
  2519. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2520. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2521. //3是展示全部阶段 2学生 1老师 4专家
  2522. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2523. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2524. //3是展示全部阶段 2学生 1老师 4专家
  2525. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2526. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2527. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2528. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2529. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2530. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2531. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2532. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2533. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2534. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2535. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2536. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2537. //3是展示全部阶段 2学生 1老师 4专家
  2538. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2539. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2540. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2541. U.MD.D.I.selectUser();
  2542. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2543. var _formel = document.getElementById("study");
  2544. U.UF.F.windowZooming(_formel);
  2545. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2546. var _formel = document.getElementById("studyDetail");
  2547. U.UF.F.windowZooming(_formel);
  2548. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2549. var _formel = document.getElementById("studyDetail");
  2550. U.UF.F.windowZooming(_formel);
  2551. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2552. var _formel = document.getElementById("studentStudy");
  2553. U.UF.F.windowZooming(_formel);
  2554. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2555. // var _formel = document.getElementById("study");
  2556. //如果最大化了,那么就把他缩小
  2557. // if (_formel.ismaximize) {
  2558. // return;
  2559. // }
  2560. // U.UF.F.windowZooming(_formel);
  2561. // U.UF.F.topWindow(_formel);
  2562. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2563. // var _formel = document.getElementById("studyDetail");
  2564. //如果最大化了,那么就把他缩小
  2565. // if (_formel.ismaximize) {
  2566. // return;
  2567. // }
  2568. // U.UF.F.windowZooming(_formel);
  2569. // U.UF.F.topWindow(_formel);
  2570. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2571. // var _formel = document.getElementById("studentStudy");
  2572. // if (_formel.ismaximize) {
  2573. // return;
  2574. // }
  2575. // U.UF.F.windowZooming(_formel);
  2576. // U.UF.F.topWindow(_formel);
  2577. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2578. var _formel = document.getElementById("study");
  2579. // if (_formel.ismaximize) {
  2580. // return;
  2581. // }
  2582. // U.UF.F.windowZooming(_formel);
  2583. U.UF.F.topWindow(_formel);
  2584. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2585. var _formel = document.getElementById("studentIndex");
  2586. U.UF.F.windowZooming(_formel);
  2587. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2588. var _formel = document.getElementById("studyDetailS");
  2589. U.UF.F.windowZooming(_formel);
  2590. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2591. var _formel = document.getElementById("studioIndex");
  2592. U.UF.F.windowZooming(_formel);
  2593. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2594. var _formel = document.getElementById("studyDetailStudio");
  2595. U.UF.F.windowZooming(_formel);
  2596. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2597. var _formel = document.getElementById("studyDetailStudio");
  2598. U.UF.F.windowZooming(_formel);
  2599. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2600. var _formel = document.getElementById("studyDetailNT");
  2601. U.UF.F.windowZooming(_formel);
  2602. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2603. var _formel = document.getElementById("studyDetailS");
  2604. U.UF.F.windowZooming(_formel);
  2605. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2606. var _formel = document.getElementById("studyDetailS");
  2607. U.UF.F.topWindow(_formel);
  2608. } else if (e.data.tools && e.data.tools == "1") {
  2609. // U.MD.D.I.openApplication("whiteboard")
  2610. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2611. } else if (e.data.tools && e.data.tools == "2") {
  2612. U.MD.D.I.openApplication("note")
  2613. } else if (e.data.tools && e.data.tools == "3") {
  2614. // U.MD.D.I.openApplication("mind")
  2615. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2616. } else if (e.data.tools && e.data.tools == "4") {
  2617. U.MD.D.I.openApplication("investigation")
  2618. } else if (e.data.tools && e.data.tools == "6") {
  2619. // U.MD.D.I.openApplication("doc")
  2620. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2621. } else if (e.data.tools && e.data.tools == "7") {
  2622. // U.MD.D.I.openApplication("mindNetwork")
  2623. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2624. } else if (e.data.tools && e.data.tools == "8") {
  2625. U.MD.D.I.openApplication("library")
  2626. } else if (e.data.tools && e.data.tools == "17") {
  2627. U.MD.D.I.openApplication("stuLibrary")
  2628. } else if (e.data.tools && e.data.tools == "18") {
  2629. U.MD.D.I.openApplication("train")
  2630. } else if (e.data.tools && e.data.tools == "21") {
  2631. U.MD.D.I.openApplication("program")
  2632. } else if (e.data.tools && e.data.tools == "22") {
  2633. U.MD.D.I.openApplication("AIprogram2")
  2634. } else if (e.data.tools && e.data.tools == "23") {
  2635. U.MD.D.I.openApplication("Pythonprogram")
  2636. } else if (e.data.tools && e.data.tools == "24") {
  2637. U.MD.D.I.openApplication("AIprogram")
  2638. } else if (e.data.tools && e.data.tools == "25") {
  2639. U.MD.D.I.openApplication("sys")
  2640. } else if (e.data.tools && e.data.tools == "26") {
  2641. // U.MD.D.I.openApplication("courseDesign")
  2642. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2643. } else if (e.data.tools && e.data.tools == "31") {
  2644. U.MD.D.I.openApplication("netWorkPanel")
  2645. } else if (e.data.tools && e.data.tools == "32") {
  2646. U.MD.D.I.openApplication("codeEdit")
  2647. } else if (e.data.tools && e.data.tools == "57") {
  2648. U.MD.D.I.openApplication("CocoPi")
  2649. } else if (e.data.tools && e.data.tools == "63") {
  2650. U.MD.D.I.openApplication("Wood")
  2651. } else if (e.data.tools && e.data.tools == "58") {
  2652. U.MD.D.I.openApplication("car")
  2653. } else if (e.data.tools && e.data.tools == "59") {
  2654. U.MD.D.I.openApplication("lineSearch")
  2655. } else if (e.data.tools && e.data.tools == "60") {
  2656. U.MD.D.I.openApplication("deepLearning")
  2657. } else if (e.data.tools && e.data.tools == "61") {
  2658. U.MD.D.I.openApplication("allHistory")
  2659. } else if (e.data.tools && e.data.tools == "28") {
  2660. U.MD.D.I.openApplication("translation")
  2661. } else if (e.data.tools && e.data.tools == "37") {
  2662. U.MD.D.I.openApplication("mohe")
  2663. } else if (e.data.tools && e.data.tools == "38") {
  2664. U.MD.D.I.openApplication("24game")
  2665. } else if (e.data.tools && e.data.tools == "39") {
  2666. U.MD.D.I.openApplication("GeoGebra")
  2667. } else if (e.data.tools && e.data.tools == "43") {
  2668. U.MD.D.I.openApplication("studentEvaluate")
  2669. } else if (e.data.tools && e.data.tools == "44") {
  2670. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2671. } else if (e.data.tools && e.data.tools == "46") {
  2672. U.MD.D.I.openApplication("project")
  2673. } else if (e.data.tools && e.data.tools == "1s") {
  2674. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2675. } else if (e.data.tools && e.data.tools == "3s") {
  2676. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2677. } else if (e.data.tools && e.data.tools == "6s") {
  2678. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2679. } else if (e.data.tools && e.data.tools == "1studio") {
  2680. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2681. } else if (e.data.tools && e.data.tools == "3studio") {
  2682. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2683. } else if (e.data.tools && e.data.tools == "6studio") {
  2684. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2685. } else if (e.data.tools && e.data.tools == "3y") {
  2686. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2687. } else if (e.data.tools && e.data.tools == "1y") {
  2688. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2689. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2690. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2691. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2692. U.MD.D.I.openApplication("AIAnalyse")
  2693. } else if (e.data.tools && e.data.tools == "1teacher") {
  2694. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2695. } else if (e.data.tools && e.data.tools == "3teacher") {
  2696. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2697. } else if (e.data.tools && e.data.tools == "7teacher") {
  2698. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2699. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2700. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2701. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2702. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2703. } else if (e.data.tools && e.data.tools == "1E") {
  2704. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2705. } else if (e.data.tools && e.data.tools == "3E") {
  2706. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2707. } else if (e.data.tools && e.data.tools == "57y") {
  2708. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2709. } else if (e.data.tools && e.data.tools == "57u") {
  2710. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2711. } else if (e.data.tools && e.data.tools == "57teacher") {
  2712. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2713. } else if (e.data.tools && e.data.tools == "64") {
  2714. U.MD.D.I.openApplication("AIChat")
  2715. } else if (e.data.tools && e.data.tools == "66") {
  2716. U.MD.D.I.openApplication("formulaEdi")
  2717. } else if (e.data.tools && e.data.tools == "67") {
  2718. U.MD.D.I.openApplication("molStr")
  2719. } else if (e.data.tools && e.data.tools == "68") {
  2720. U.MD.D.I.openApplication("timeAxis")
  2721. } else if (e.data.tools && e.data.tools == "openCourse") {
  2722. let _data = {
  2723. typea: e.data.typea || '',
  2724. typeb: e.data.typeb || '',
  2725. typed: e.data.typed || '',
  2726. }
  2727. U.MD.D.I.openInApplication("index", _data)
  2728. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2729. let _data = {
  2730. classid: e.data.classid || '',
  2731. }
  2732. U.MD.D.I.openInApplication("dataClass", _data)
  2733. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2734. let _data = {
  2735. cid: e.data.cid || '',
  2736. gid: e.data.gid || '',
  2737. }
  2738. U.MD.D.I.openInApplication("opencCscl", _data)
  2739. }
  2740. });
  2741. U.MD.D.I.selectUser = function() {
  2742. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid
  2743. if (res.value[0].length > 0) {
  2744. US.userInfo = res.value[0][0];
  2745. $(".userName")[0].innerHTML = US.userInfo.username;
  2746. }
  2747. }, [], { "type": "GET", "withCredentials": true });
  2748. }
  2749. U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
  2750. var _userinfo = US.userInfo, //登录用户信息
  2751. _userid = US.userInfo.userid, //登录用户id
  2752. _oid = _userinfo.organizeid,
  2753. _type = US.userInfo.type,
  2754. _org = US.userInfo.org,
  2755. _role = US.userInfo.role,
  2756. _classId = US.userInfo.classid;
  2757. if (_type == 4) {
  2758. tType = 4
  2759. }
  2760. switch (str) {
  2761. case "studyDetailNT": //无终端模式
  2762. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2763. setTimeout(() => {
  2764. U.MD.U.L.login();
  2765. }, 2000);
  2766. } else {
  2767. _formdiv = new U.UF.UI.form(
  2768. "课程详情",
  2769. $$("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 }), {
  2770. "id": "studyDetailNT",
  2771. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2772. "onresize": function() {}
  2773. }, {
  2774. closecallback: function() {}
  2775. }, { "style": { "height": "36px" } }).form; //创建窗体
  2776. _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); } }
  2777. break;
  2778. }
  2779. case "studyDetail":
  2780. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2781. setTimeout(() => {
  2782. U.MD.U.L.login();
  2783. }, 2000);
  2784. } else {
  2785. _formdiv = new U.UF.UI.form(
  2786. "课程详情",
  2787. $$("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 }), {
  2788. "id": "studyDetail",
  2789. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2790. "onresize": function() {}
  2791. }, {
  2792. closecallback: function() {}
  2793. }, { "style": { "height": "36px" } }).form; //创建窗体
  2794. _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); } }
  2795. break;
  2796. }
  2797. case "studyDetailS":
  2798. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2799. setTimeout(() => {
  2800. U.MD.U.L.login();
  2801. }, 2000);
  2802. } else {
  2803. _formdiv = new U.UF.UI.form(
  2804. "项目详情",
  2805. $$("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 }), {
  2806. "id": "studyDetailS",
  2807. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2808. "onresize": function() {}
  2809. }, {
  2810. closecallback: function() {}
  2811. }, { "style": { "height": "36px" } }).form; //创建窗体
  2812. _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); } }
  2813. break;
  2814. }
  2815. case "studyDetailStudio":
  2816. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2817. setTimeout(() => {
  2818. U.MD.U.L.login();
  2819. }, 2000);
  2820. } else {
  2821. _formdiv = new U.UF.UI.form(
  2822. "工作详情",
  2823. $$("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 }), {
  2824. "id": "studyDetailStudio",
  2825. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2826. "onresize": function() {}
  2827. }, {
  2828. closecallback: function() {}
  2829. }, { "style": { "height": "36px" } }).form; //创建窗体
  2830. _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); } }
  2831. break;
  2832. }
  2833. case "studyDetailS5":
  2834. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2835. setTimeout(() => {
  2836. U.MD.U.L.login();
  2837. }, 2000);
  2838. } else {
  2839. _formdiv = new U.UF.UI.form(
  2840. "项目详情",
  2841. $$("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 }), {
  2842. "id": "studyDetailS",
  2843. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2844. "onresize": function() {}
  2845. }, {
  2846. closecallback: function() {}
  2847. }, { "style": { "height": "36px" } }).form; //创建窗体
  2848. _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); } }
  2849. break;
  2850. }
  2851. case "studyDetailGM":
  2852. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2853. setTimeout(() => {
  2854. U.MD.U.L.login();
  2855. }, 2000);
  2856. } else {
  2857. _formdiv = new U.UF.UI.form(
  2858. "课程详情",
  2859. $$("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 }), {
  2860. "id": "studyDetail",
  2861. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2862. "onresize": function() {}
  2863. }, {
  2864. closecallback: function() {}
  2865. }, { "style": { "height": "36px" } }).form; //创建窗体
  2866. _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); } }
  2867. break;
  2868. }
  2869. case "hanUrl":
  2870. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2871. setTimeout(() => {
  2872. U.MD.U.L.login();
  2873. }, 2000);
  2874. } else {
  2875. _formdiv = new U.UF.UI.form(
  2876. "汉字宫",
  2877. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//school.hanzigon.cn/?appid=734714090237947#/material/video?grade_id=62&lesson_code=621&id=2432" }), {
  2878. "id": "hanUrl",
  2879. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2880. "onresize": function() {}
  2881. }, {
  2882. closecallback: function() {}
  2883. }, { "style": { "height": "36px" } }).form; //创建窗体
  2884. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2885. break;
  2886. }
  2887. case "index":
  2888. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2889. setTimeout(() => {
  2890. U.MD.U.L.login();
  2891. }, 2000);
  2892. } else {
  2893. _formdiv = new U.UF.UI.form(
  2894. "Course Library",
  2895. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=2" + "&typea=" + data.typea + "&typeb=" + data.typeb + "&typed=" + data.typed }), {
  2896. "id": "study",
  2897. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2898. "onresize": function() {}
  2899. }, {
  2900. closecallback: function() {}
  2901. }, { "style": { "height": "36px" } }).form; //创建窗体
  2902. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2903. break;
  2904. }
  2905. case "dataClass":
  2906. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2907. setTimeout(() => {
  2908. U.MD.U.L.login();
  2909. }, 2000);
  2910. } else {
  2911. _formdiv = new U.UF.UI.form(
  2912. "数据报告",
  2913. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&cid=" + _classId + "&checkid=" + data.classid }), {
  2914. "id": "dataClass",
  2915. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2916. "onresize": function() {}
  2917. }, {
  2918. closecallback: function() {}
  2919. }, { "style": { "height": "36px" } }).form; //创建窗体
  2920. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "数据报告", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2921. break;
  2922. }
  2923. case "opencCscl":
  2924. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2925. setTimeout(() => {
  2926. U.MD.U.L.login();
  2927. }, 2000);
  2928. } else {
  2929. _formdiv = new U.UF.UI.form(
  2930. "CocoNote",
  2931. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.com?cid=" + data.cid + "&gid=" + data.gid }), {
  2932. "id": "futureClass",
  2933. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2934. "onresize": function() {}
  2935. }, {
  2936. closecallback: function() { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  2937. }, { "style": { "height": "36px" } }).form; //创建窗体
  2938. _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); } }
  2939. break;
  2940. }
  2941. }
  2942. }
  2943. U.MD.D.I.openApplication = function(str, obj, info) {
  2944. obj = obj || {};
  2945. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2946. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2947. _userinfo = US.userInfo, //登录用户信息
  2948. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2949. _oid = obj.organizeid || _userinfo.organizeid,
  2950. _type = US.userInfo.type,
  2951. _org = US.userInfo.org,
  2952. _role = US.userInfo.role,
  2953. _classId = US.userInfo.classid,
  2954. _TscreenType = 1
  2955. _screenType = 2,
  2956. _SscreenType = 3;
  2957. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2958. return;
  2959. }
  2960. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2961. switch (str) {
  2962. case "studnetProject": //好友打开
  2963. _formdiv = new U.UF.UI.form(
  2964. "我的项目",
  2965. $$("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 }), {
  2966. "id": "studnetProject",
  2967. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2968. "onresize": function() {}
  2969. }, {
  2970. closecallback: function() {}
  2971. }, { "style": { "height": "36px" } }).form; //创建窗体
  2972. _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); } }
  2973. break;
  2974. case "studentEvaluate": //好友打开
  2975. _formdiv = new U.UF.UI.form(
  2976. "我的评价",
  2977. $$("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 }), {
  2978. "id": "studentEvaluate",
  2979. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2980. "onresize": function() {}
  2981. }, {
  2982. closecallback: function() {}
  2983. }, { "style": { "height": "36px" } }).form; //创建窗体
  2984. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2985. break;
  2986. case "my":
  2987. _formdiv = new U.UF.UI.form(
  2988. "我的资料",
  2989. $$("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 }), {
  2990. "id": "my",
  2991. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2992. "onresize": function() {}
  2993. }, {
  2994. closecallback: function() {}
  2995. }, { "style": { "height": "36px" } }).form; //创建窗体
  2996. _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); } }
  2997. break;
  2998. case "program":
  2999. _formdiv = new U.UF.UI.form(
  3000. "编程平台",
  3001. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3002. "id": "program",
  3003. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3004. "onresize": function() {}
  3005. }, {
  3006. closecallback: function() {}
  3007. }, { "style": { "height": "36px" } }).form; //创建窗体
  3008. _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); } }
  3009. break;
  3010. case "library":
  3011. _formdiv = new U.UF.UI.form(
  3012. "素材库",
  3013. $$("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 }), {
  3014. "id": "library",
  3015. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3016. "onresize": function() {}
  3017. }, {
  3018. closecallback: function() {}
  3019. }, { "style": { "height": "36px" } }).form; //创建窗体
  3020. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3021. break;
  3022. case "whiteboard":
  3023. _formdiv = new U.UF.UI.form(
  3024. "电子白板",
  3025. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3026. "id": "whiteboard",
  3027. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3028. "onresize": function() {}
  3029. }, {
  3030. closecallback: function() {}
  3031. }, { "style": { "height": "36px" } }).form; //创建窗体
  3032. _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); } }
  3033. break;
  3034. case "investigation":
  3035. _formdiv = new U.UF.UI.form(
  3036. "问卷调查",
  3037. $$("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 }), {
  3038. "id": "investigation",
  3039. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3040. "onresize": function() {}
  3041. }, {
  3042. closecallback: function() {}
  3043. }, { "style": { "height": "36px" } }).form; //创建窗体
  3044. _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); } }
  3045. break;
  3046. case "note":
  3047. _formdiv = new U.UF.UI.form(
  3048. "便签分类",
  3049. $$("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 }), {
  3050. "id": "note",
  3051. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3052. "onresize": function() {}
  3053. }, {
  3054. closecallback: function() {}
  3055. }, { "style": { "height": "36px" } }).form; //创建窗体
  3056. _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); } }
  3057. break;
  3058. // case "score":
  3059. // _formdiv = new U.UF.UI.form(
  3060. // "量规评分",
  3061. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3062. // "id": "score",
  3063. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3064. // "onresize": function() {}
  3065. // }, {
  3066. // closecallback: function() {}
  3067. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3068. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3069. // break;
  3070. case "mind":
  3071. _formdiv = new U.UF.UI.form(
  3072. "思维导图",
  3073. $$("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"
  3074. "id": "mind",
  3075. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3076. "onresize": function() {}
  3077. }, {
  3078. closecallback: function() {}
  3079. }, { "style": { "height": "36px" } }).form; //创建窗体
  3080. _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); } }
  3081. break;
  3082. case "doc":
  3083. // U.MD.D.I.isRoom();
  3084. _formdiv = new U.UF.UI.form(
  3085. "协同文档",
  3086. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3087. "id": "doc",
  3088. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3089. "onresize": function() {}
  3090. }, {
  3091. closecallback: function() {}
  3092. }, { "style": { "height": "36px" } }).form; //创建窗体
  3093. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3094. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3095. // })
  3096. _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); } }
  3097. break;
  3098. case "studentStudy":
  3099. _formdiv = new U.UF.UI.form(
  3100. "Course Library",
  3101. $$("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
  3102. "id": "studentStudy",
  3103. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3104. "onresize": function() {}
  3105. }, {
  3106. closecallback: function() {}
  3107. }, { "style": { "height": "36px" } }).form; //创建窗体
  3108. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3109. break;
  3110. case "train": //好友打开
  3111. _formdiv = new U.UF.UI.form(
  3112. "训练平台",
  3113. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3114. "id": "train",
  3115. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3116. "onresize": function() {}
  3117. }, {
  3118. closecallback: function() {}
  3119. }, { "style": { "height": "36px" } }).form; //创建窗体
  3120. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3121. break;
  3122. case "mindNetwork": //好友打开
  3123. _formdiv = new U.UF.UI.form(
  3124. "思维网格",
  3125. $$("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 }), {
  3126. "id": "mindNetwork",
  3127. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3128. "onresize": function() {}
  3129. }, {
  3130. closecallback: function() {}
  3131. }, { "style": { "height": "36px" } }).form; //创建窗体
  3132. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3133. break;
  3134. case "studentClassRoom": //好友打开
  3135. _formdiv = new U.UF.UI.form(
  3136. "实时课堂",
  3137. $$("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 }), {
  3138. "id": "studentClassRoom",
  3139. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3140. "onresize": function() {}
  3141. }, {
  3142. closecallback: function() {}
  3143. }, { "style": { "height": "36px" } }).form; //创建窗体
  3144. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3145. setTimeout(() => {
  3146. U.UF.F.windowZooming(_formdiv)
  3147. }, 0);
  3148. break;
  3149. }
  3150. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3151. switch (str) {
  3152. case "studnetProject": //好友打开
  3153. _formdiv = new U.UF.UI.form(
  3154. "我的项目",
  3155. $$("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 }), {
  3156. "id": "studnetProject",
  3157. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3158. "onresize": function() {}
  3159. }, {
  3160. closecallback: function() {}
  3161. }, { "style": { "height": "36px" } }).form; //创建窗体
  3162. _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); } }
  3163. break;
  3164. case "studentEvaluate": //好友打开
  3165. _formdiv = new U.UF.UI.form(
  3166. "我的评价",
  3167. $$("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 }), {
  3168. "id": "studentEvaluate",
  3169. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3170. "onresize": function() {}
  3171. }, {
  3172. closecallback: function() {}
  3173. }, { "style": { "height": "36px" } }).form; //创建窗体
  3174. _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); } }
  3175. break;
  3176. case "my":
  3177. _formdiv = new U.UF.UI.form(
  3178. "我的资料",
  3179. $$("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 }), {
  3180. "id": "my",
  3181. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3182. "onresize": function() {}
  3183. }, {
  3184. closecallback: function() {}
  3185. }, { "style": { "height": "36px" } }).form; //创建窗体
  3186. _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); } }
  3187. break;
  3188. case "program":
  3189. _formdiv = new U.UF.UI.form(
  3190. "编程平台",
  3191. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3192. "id": "program",
  3193. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3194. "onresize": function() {}
  3195. }, {
  3196. closecallback: function() {}
  3197. }, { "style": { "height": "36px" } }).form; //创建窗体
  3198. _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); } }
  3199. break;
  3200. case "library":
  3201. _formdiv = new U.UF.UI.form(
  3202. "素材库",
  3203. $$("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 }), {
  3204. "id": "library",
  3205. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3206. "onresize": function() {}
  3207. }, {
  3208. closecallback: function() {}
  3209. }, { "style": { "height": "36px" } }).form; //创建窗体
  3210. _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); } }
  3211. break;
  3212. case "whiteboard":
  3213. _formdiv = new U.UF.UI.form(
  3214. "电子白板",
  3215. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3216. "id": "whiteboard",
  3217. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3218. "onresize": function() {}
  3219. }, {
  3220. closecallback: function() {}
  3221. }, { "style": { "height": "36px" } }).form; //创建窗体
  3222. _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); } }
  3223. break;
  3224. case "investigation":
  3225. _formdiv = new U.UF.UI.form(
  3226. "问卷调查",
  3227. $$("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 }), {
  3228. "id": "investigation",
  3229. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3230. "onresize": function() {}
  3231. }, {
  3232. closecallback: function() {}
  3233. }, { "style": { "height": "36px" } }).form; //创建窗体
  3234. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3235. break;
  3236. case "note":
  3237. _formdiv = new U.UF.UI.form(
  3238. "便签分类",
  3239. $$("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 }), {
  3240. "id": "note",
  3241. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3242. "onresize": function() {}
  3243. }, {
  3244. closecallback: function() {}
  3245. }, { "style": { "height": "36px" } }).form; //创建窗体
  3246. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3247. break;
  3248. // case "score":
  3249. // _formdiv = new U.UF.UI.form(
  3250. // "量规评分",
  3251. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3252. // "id": "score",
  3253. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3254. // "onresize": function() {}
  3255. // }, {
  3256. // closecallback: function() {}
  3257. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3258. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3259. // break;
  3260. case "mind":
  3261. _formdiv = new U.UF.UI.form(
  3262. "思维导图",
  3263. $$("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"
  3264. "id": "mind",
  3265. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3266. "onresize": function() {}
  3267. }, {
  3268. closecallback: function() {}
  3269. }, { "style": { "height": "36px" } }).form; //创建窗体
  3270. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3271. break;
  3272. case "doc":
  3273. // U.MD.D.I.isRoom();
  3274. _formdiv = new U.UF.UI.form(
  3275. "协同文档",
  3276. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3277. "id": "doc",
  3278. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3279. "onresize": function() {}
  3280. }, {
  3281. closecallback: function() {}
  3282. }, { "style": { "height": "36px" } }).form; //创建窗体
  3283. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3284. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3285. })
  3286. _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); } }
  3287. break;
  3288. case "train": //好友打开
  3289. _formdiv = new U.UF.UI.form(
  3290. "训练平台",
  3291. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3292. "id": "train",
  3293. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3294. "onresize": function() {}
  3295. }, {
  3296. closecallback: function() {}
  3297. }, { "style": { "height": "36px" } }).form; //创建窗体
  3298. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3299. break;
  3300. case "studentStudy":
  3301. _formdiv = new U.UF.UI.form(
  3302. "Course Library",
  3303. $$("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
  3304. "id": "studentStudy",
  3305. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3306. "onresize": function() {}
  3307. }, {
  3308. closecallback: function() {}
  3309. }, { "style": { "height": "36px" } }).form; //创建窗体
  3310. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3311. break;
  3312. case "mindNetwork": //好友打开
  3313. _formdiv = new U.UF.UI.form(
  3314. "思维网格",
  3315. $$("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 }), {
  3316. "id": "mindNetwork",
  3317. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3318. "onresize": function() {}
  3319. }, {
  3320. closecallback: function() {}
  3321. }, { "style": { "height": "36px" } }).form; //创建窗体
  3322. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3323. break;
  3324. case "studentClassRoom": //好友打开
  3325. _formdiv = new U.UF.UI.form(
  3326. "实时课堂",
  3327. $$("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 }), {
  3328. "id": "studentClassRoom",
  3329. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3330. "onresize": function() {}
  3331. }, {
  3332. closecallback: function() {}
  3333. }, { "style": { "height": "36px" } }).form; //创建窗体
  3334. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3335. setTimeout(() => {
  3336. U.UF.F.windowZooming(_formdiv)
  3337. }, 0);
  3338. break;
  3339. }
  3340. } else if (_type == 2 && _org == "777559d2-7239-11ee-b98c-005056b86db5") {
  3341. switch (str) {
  3342. case "studentStudy":
  3343. _formdiv = new U.UF.UI.form(
  3344. "Course Library",
  3345. $$("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
  3346. "id": "studentStudy",
  3347. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3348. "onresize": function() {}
  3349. }, {
  3350. closecallback: function() {}
  3351. }, { "style": { "height": "36px" } }).form; //创建窗体
  3352. _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); } }
  3353. break;
  3354. }
  3355. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3356. //选择应用处理
  3357. switch (str) {
  3358. case "project": //好友打开
  3359. _formdiv = new U.UF.UI.form(
  3360. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "Course Planning",
  3361. $$("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 }), {
  3362. "id": "project",
  3363. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3364. "onresize": function() {}
  3365. }, {
  3366. closecallback: function() {}
  3367. }, { "style": { "height": "36px" } }).form; //创建窗体
  3368. _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); } }
  3369. break;
  3370. case "student":
  3371. _formdiv = new U.UF.UI.form(
  3372. "Students Management",
  3373. $$("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 }), {
  3374. "id": "student",
  3375. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3376. "onresize": function() {}
  3377. }, {
  3378. closecallback: function() {}
  3379. }, { "style": { "height": "36px" } }).form; //创建窗体
  3380. _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); } }
  3381. break;
  3382. case "evaluate":
  3383. _formdiv = new U.UF.UI.form(
  3384. "Course Assessment",
  3385. $$("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 }), {
  3386. "id": "evaluate",
  3387. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3388. "onresize": function() {}
  3389. }, {
  3390. closecallback: function() {}
  3391. }, { "style": { "height": "36px" } }).form; //创建窗体
  3392. _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); } }
  3393. break;
  3394. case "sys":
  3395. _formdiv = new U.UF.UI.form(
  3396. "目标管理",
  3397. $$("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 }), {
  3398. "id": "sys",
  3399. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3400. "onresize": function() {}
  3401. }, {
  3402. closecallback: function() {}
  3403. }, { "style": { "height": "36px" } }).form; //创建窗体
  3404. _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); } }
  3405. break;
  3406. case "courseDesign":
  3407. _formdiv = new U.UF.UI.form(
  3408. "项目设计",
  3409. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3410. "id": "courseDesign",
  3411. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3412. "onresize": function() {}
  3413. }, {
  3414. closecallback: function() {}
  3415. }, { "style": { "height": "36px" } }).form; //创建窗体
  3416. _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); } }
  3417. break;
  3418. case "program":
  3419. _formdiv = new U.UF.UI.form(
  3420. "编程平台",
  3421. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3422. "id": "program",
  3423. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3424. "onresize": function() {}
  3425. }, {
  3426. closecallback: function() {}
  3427. }, { "style": { "height": "36px" } }).form; //创建窗体
  3428. _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); } }
  3429. break;
  3430. case "class":
  3431. _formdiv = new U.UF.UI.form(
  3432. "班级管理",
  3433. $$("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 }), {
  3434. "id": "class",
  3435. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3436. "onresize": function() {}
  3437. }, {
  3438. closecallback: function() {}
  3439. }, { "style": { "height": "36px" } }).form; //创建窗体
  3440. _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); } }
  3441. break;
  3442. case "Grade":
  3443. _formdiv = new U.UF.UI.form(
  3444. "年级管理",
  3445. $$("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 }), {
  3446. "id": "Grade",
  3447. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3448. "onresize": function() {}
  3449. }, {
  3450. closecallback: function() {}
  3451. }, { "style": { "height": "36px" } }).form; //创建窗体
  3452. _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); } }
  3453. break;
  3454. case "teacherOffice":
  3455. _formdiv = new U.UF.UI.form(
  3456. "Teachers Management",
  3457. $$("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 }), {
  3458. "id": "teacherOffice",
  3459. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3460. "onresize": function() {}
  3461. }, {
  3462. closecallback: function() {}
  3463. }, { "style": { "height": "36px" } }).form; //创建窗体
  3464. _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); } }
  3465. break;
  3466. case "my":
  3467. _formdiv = new U.UF.UI.form(
  3468. "我的资料",
  3469. $$("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 }), {
  3470. "id": "my",
  3471. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3472. "onresize": function() {}
  3473. }, {
  3474. closecallback: function() {}
  3475. }, { "style": { "height": "36px" } }).form; //创建窗体
  3476. _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); } }
  3477. break;
  3478. case "notice":
  3479. _formdiv = new U.UF.UI.form(
  3480. "通知公告",
  3481. $$("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 }), {
  3482. "id": "notice",
  3483. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3484. "onresize": function() {}
  3485. }, {
  3486. closecallback: function() {}
  3487. }, { "style": { "height": "36px" } }).form; //创建窗体
  3488. _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); } }
  3489. break;
  3490. case "library":
  3491. _formdiv = new U.UF.UI.form(
  3492. "素材库",
  3493. $$("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 }), {
  3494. "id": "library",
  3495. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3496. "onresize": function() {}
  3497. }, {
  3498. closecallback: function() {}
  3499. }, { "style": { "height": "36px" } }).form; //创建窗体
  3500. _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); } }
  3501. break;
  3502. case "whiteboard":
  3503. _formdiv = new U.UF.UI.form(
  3504. "电子白板",
  3505. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3506. "id": "whiteboard",
  3507. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3508. "onresize": function() {}
  3509. }, {
  3510. closecallback: function() {}
  3511. }, { "style": { "height": "36px" } }).form; //创建窗体
  3512. _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); } }
  3513. break;
  3514. case "investigation":
  3515. _formdiv = new U.UF.UI.form(
  3516. "问卷调查",
  3517. $$("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 }), {
  3518. "id": "investigation",
  3519. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3520. "onresize": function() {}
  3521. }, {
  3522. closecallback: function() {}
  3523. }, { "style": { "height": "36px" } }).form; //创建窗体
  3524. _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); } }
  3525. break;
  3526. case "note":
  3527. _formdiv = new U.UF.UI.form(
  3528. "便签分类",
  3529. $$("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 }), {
  3530. "id": "note",
  3531. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3532. "onresize": function() {}
  3533. }, {
  3534. closecallback: function() {}
  3535. }, { "style": { "height": "36px" } }).form; //创建窗体
  3536. _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); } }
  3537. break;
  3538. // case "score":
  3539. // _formdiv = new U.UF.UI.form(
  3540. // "量规评分",
  3541. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3542. // "id": "score",
  3543. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3544. // "onresize": function() {}
  3545. // }, {
  3546. // closecallback: function() {}
  3547. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3548. // _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); } }
  3549. // break;
  3550. case "mind":
  3551. _formdiv = new U.UF.UI.form(
  3552. "思维导图",
  3553. $$("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"
  3554. "id": "mind",
  3555. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3556. "onresize": function() {}
  3557. }, {
  3558. closecallback: function() {}
  3559. }, { "style": { "height": "36px" } }).form; //创建窗体
  3560. _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); } }
  3561. break;
  3562. case "doc":
  3563. // U.MD.D.I.isRoom();
  3564. _formdiv = new U.UF.UI.form(
  3565. "协同文档",
  3566. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3567. "id": "doc",
  3568. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3569. "onresize": function() {}
  3570. }, {
  3571. closecallback: function() {}
  3572. }, { "style": { "height": "36px" } }).form; //创建窗体
  3573. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3574. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3575. })
  3576. _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); } }
  3577. break;
  3578. case "study":
  3579. _formdiv = new U.UF.UI.form(
  3580. "Course Library",
  3581. $$("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
  3582. "id": "study",
  3583. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3584. "onresize": function() {}
  3585. }, {
  3586. closecallback: function() {}
  3587. }, { "style": { "height": "36px" } }).form; //创建窗体
  3588. _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); } }
  3589. break;
  3590. case "mindNetwork": //好友打开
  3591. _formdiv = new U.UF.UI.form(
  3592. "思维网格",
  3593. $$("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 }), {
  3594. "id": "mindNetwork",
  3595. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3596. "onresize": function() {}
  3597. }, {
  3598. closecallback: function() {}
  3599. }, { "style": { "height": "36px" } }).form; //创建窗体
  3600. _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); } }
  3601. break;
  3602. case "train": //好友打开
  3603. _formdiv = new U.UF.UI.form(
  3604. "训练平台",
  3605. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3606. "id": "mindNetwork",
  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/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3613. break;
  3614. case "teacherClassRoom": //好友打开
  3615. _formdiv = new U.UF.UI.form(
  3616. "实时课堂",
  3617. $$("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 }), {
  3618. "id": "teacherClassRoom",
  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/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3625. setTimeout(() => {
  3626. U.UF.F.windowZooming(_formdiv)
  3627. }, 0);
  3628. break;
  3629. }
  3630. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3631. switch (str) {
  3632. case "project": //好友打开
  3633. _formdiv = new U.UF.UI.form(
  3634. "Course Planning",
  3635. $$("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 }), {
  3636. "id": "project",
  3637. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3638. "onresize": function() {}
  3639. }, {
  3640. closecallback: function() {}
  3641. }, { "style": { "height": "36px" } }).form; //创建窗体
  3642. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "Course Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3643. break;
  3644. case "evaluate":
  3645. _formdiv = new U.UF.UI.form(
  3646. "Course Assessment",
  3647. $$("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 }), {
  3648. "id": "evaluate",
  3649. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3650. "onresize": function() {}
  3651. }, {
  3652. closecallback: function() {}
  3653. }, { "style": { "height": "36px" } }).form; //创建窗体
  3654. _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); } }
  3655. break;
  3656. case "notice":
  3657. _formdiv = new U.UF.UI.form(
  3658. "通知公告",
  3659. $$("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 }), {
  3660. "id": "notice",
  3661. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3662. "onresize": function() {}
  3663. }, {
  3664. closecallback: function() {}
  3665. }, { "style": { "height": "36px" } }).form; //创建窗体
  3666. _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); } }
  3667. break;
  3668. case "stuLibrary":
  3669. _formdiv = new U.UF.UI.form(
  3670. "学习资料",
  3671. $$("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 }), {
  3672. "id": "stuLibrary",
  3673. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3674. "onresize": function() {}
  3675. }, {
  3676. closecallback: function() {}
  3677. }, { "style": { "height": "36px" } }).form; //创建窗体
  3678. _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); } }
  3679. break;
  3680. case "program":
  3681. _formdiv = new U.UF.UI.form(
  3682. "编程平台",
  3683. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3684. "id": "program",
  3685. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3686. "onresize": function() {}
  3687. }, {
  3688. closecallback: function() {}
  3689. }, { "style": { "height": "36px" } }).form; //创建窗体
  3690. _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); } }
  3691. break;
  3692. case "whiteboard":
  3693. _formdiv = new U.UF.UI.form(
  3694. "电子白板",
  3695. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3696. "id": "whiteboard",
  3697. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3698. "onresize": function() {}
  3699. }, {
  3700. closecallback: function() {}
  3701. }, { "style": { "height": "36px" } }).form; //创建窗体
  3702. _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); } }
  3703. break;
  3704. case "investigation":
  3705. _formdiv = new U.UF.UI.form(
  3706. "问卷调查",
  3707. $$("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 }), {
  3708. "id": "investigation",
  3709. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3710. "onresize": function() {}
  3711. }, {
  3712. closecallback: function() {}
  3713. }, { "style": { "height": "36px" } }).form; //创建窗体
  3714. _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); } }
  3715. break;
  3716. case "mind":
  3717. _formdiv = new U.UF.UI.form(
  3718. "思维导图",
  3719. $$("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"
  3720. "id": "mind",
  3721. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3722. "onresize": function() {}
  3723. }, {
  3724. closecallback: function() {}
  3725. }, { "style": { "height": "36px" } }).form; //创建窗体
  3726. _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); } }
  3727. break;
  3728. case "doc":
  3729. // U.MD.D.I.isRoom();
  3730. _formdiv = new U.UF.UI.form(
  3731. "协同文档",
  3732. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3733. "id": "doc",
  3734. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3735. "onresize": function() {}
  3736. }, {
  3737. closecallback: function() {}
  3738. }, { "style": { "height": "36px" } }).form; //创建窗体
  3739. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3740. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3741. })
  3742. _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); } }
  3743. break;
  3744. case "study":
  3745. _formdiv = new U.UF.UI.form(
  3746. "Course Library",
  3747. $$("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
  3748. "id": "study",
  3749. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3750. "onresize": function() {}
  3751. }, {
  3752. closecallback: function() {}
  3753. }, { "style": { "height": "36px" } }).form; //创建窗体
  3754. _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); } }
  3755. break;
  3756. case "mindNetwork": //好友打开
  3757. _formdiv = new U.UF.UI.form(
  3758. "思维网格",
  3759. $$("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 }), {
  3760. "id": "mindNetwork",
  3761. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3762. "onresize": function() {}
  3763. }, {
  3764. closecallback: function() {}
  3765. }, { "style": { "height": "36px" } }).form; //创建窗体
  3766. _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); } }
  3767. break;
  3768. case "train": //好友打开
  3769. _formdiv = new U.UF.UI.form(
  3770. "训练平台",
  3771. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3772. "id": "train",
  3773. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3774. "onresize": function() {}
  3775. }, {
  3776. closecallback: function() {}
  3777. }, { "style": { "height": "36px" } }).form; //创建窗体
  3778. _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); } }
  3779. break;
  3780. case "sys":
  3781. _formdiv = new U.UF.UI.form(
  3782. "目标管理",
  3783. $$("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 }), {
  3784. "id": "sys",
  3785. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3786. "onresize": function() {}
  3787. }, {
  3788. closecallback: function() {}
  3789. }, { "style": { "height": "36px" } }).form; //创建窗体
  3790. _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); } }
  3791. break;
  3792. case "courseDesign":
  3793. _formdiv = new U.UF.UI.form(
  3794. "项目设计",
  3795. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3796. "id": "courseDesign",
  3797. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3798. "onresize": function() {}
  3799. }, {
  3800. closecallback: function() {}
  3801. }, { "style": { "height": "36px" } }).form; //创建窗体
  3802. _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); } }
  3803. break;
  3804. }
  3805. } else if ((_type == 1 || _type == 4) && _org == "777559d2-7239-11ee-b98c-005056b86db5") {
  3806. switch (str) {
  3807. case "project": //好友打开
  3808. _formdiv = new U.UF.UI.form(
  3809. "Course Planning",
  3810. $$("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 }), {
  3811. "id": "project",
  3812. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3813. "onresize": function() {}
  3814. }, {
  3815. closecallback: function() {}
  3816. }, { "style": { "height": "36px" } }).form; //创建窗体
  3817. _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); } }
  3818. break;
  3819. case "study":
  3820. _formdiv = new U.UF.UI.form(
  3821. "Course Library",
  3822. $$("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
  3823. "id": "study",
  3824. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3825. "onresize": function() {}
  3826. }, {
  3827. closecallback: function() {}
  3828. }, { "style": { "height": "36px" } }).form; //创建窗体
  3829. _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); } }
  3830. break;
  3831. case "student":
  3832. _formdiv = new U.UF.UI.form(
  3833. "Students Management",
  3834. $$("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 }), {
  3835. "id": "student",
  3836. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3837. "onresize": function() {}
  3838. }, {
  3839. closecallback: function() {}
  3840. }, { "style": { "height": "36px" } }).form; //创建窗体
  3841. _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); } }
  3842. break;
  3843. case "evaluate":
  3844. _formdiv = new U.UF.UI.form(
  3845. "Course Assessment",
  3846. $$("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 }), {
  3847. "id": "evaluate",
  3848. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3849. "onresize": function() {}
  3850. }, {
  3851. closecallback: function() {}
  3852. }, { "style": { "height": "36px" } }).form; //创建窗体
  3853. _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); } }
  3854. break;
  3855. case "studentCourseS": //Project Planning 老师
  3856. _formdiv = new U.UF.UI.form(
  3857. "Project Planning",
  3858. $$("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 }), {
  3859. "id": "studentCourseS",
  3860. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3861. "onresize": function() {}
  3862. }, {
  3863. closecallback: function() {}
  3864. }, { "style": { "height": "36px" } }).form; //创建窗体
  3865. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3866. break;
  3867. case "studentIndex": //Project Library
  3868. _formdiv = new U.UF.UI.form(
  3869. "Project Library",
  3870. $$("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 }), {
  3871. "id": "studentIndex",
  3872. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3873. "onresize": function() {}
  3874. }, {
  3875. closecallback: function() {}
  3876. }, { "style": { "height": "36px" } }).form; //创建窗体
  3877. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "Project Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3878. break;
  3879. case "teacherOffice":
  3880. _formdiv = new U.UF.UI.form(
  3881. "Teachers Management",
  3882. $$("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 }), {
  3883. "id": "teacherOffice",
  3884. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3885. "onresize": function() {}
  3886. }, {
  3887. closecallback: function() {}
  3888. }, { "style": { "height": "36px" } }).form; //创建窗体
  3889. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "Teachers Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3890. break;
  3891. case "learnAna": //好友打开
  3892. _formdiv = new U.UF.UI.form(
  3893. "Learning Analytics",
  3894. $$("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 }), {
  3895. "id": "learnAna",
  3896. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3897. "onresize": function() {}
  3898. }, {
  3899. closecallback: function() {}
  3900. }, { "style": { "height": "36px" } }).form; //创建窗体
  3901. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "Learning Analytics", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3902. break;
  3903. case "AIprogram2": //AI Chat
  3904. _formdiv = new U.UF.UI.form(
  3905. "AI Chat",
  3906. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3907. "id": "AIprogram2",
  3908. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3909. "onresize": function() {}
  3910. }, {
  3911. closecallback: function() {}
  3912. }, { "style": { "height": "36px" } }).form; //创建窗体
  3913. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Chat", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3914. break;
  3915. }
  3916. } else if (!_type) {
  3917. switch (str) {
  3918. case "my":
  3919. _formdiv = new U.UF.UI.form(
  3920. "我的资料",
  3921. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3922. "id": "my",
  3923. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3924. "onresize": function() {}
  3925. }, {
  3926. closecallback: function() {}
  3927. }, { "style": { "height": "36px" } }).form; //创建窗体
  3928. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3929. break;
  3930. }
  3931. }
  3932. switch (str) {
  3933. // AIprogram2 AI Chat aihub.cocorobo.cn
  3934. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3935. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3936. case "formulaEdi": //公式编辑
  3937. _formdiv = new U.UF.UI.form(
  3938. "公式编辑",
  3939. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3940. "id": "formulaEdi",
  3941. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3942. "onresize": function() {}
  3943. }, {
  3944. closecallback: function() {}
  3945. }, { "style": { "height": "36px" } }).form; //创建窗体
  3946. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3947. break;
  3948. case "molStr": //分子结构
  3949. _formdiv = new U.UF.UI.form(
  3950. "分子结构",
  3951. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3952. "id": "molStr",
  3953. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3954. "onresize": function() {}
  3955. }, {
  3956. closecallback: function() {}
  3957. }, { "style": { "height": "36px" } }).form; //创建窗体
  3958. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3959. break;
  3960. case "timeAxis": //时间轴
  3961. _formdiv = new U.UF.UI.form(
  3962. "时间轴",
  3963. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3964. "id": "timeAxis",
  3965. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3966. "onresize": function() {}
  3967. }, {
  3968. closecallback: function() {}
  3969. }, { "style": { "height": "36px" } }).form; //创建窗体
  3970. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3971. break;
  3972. case "AIprogram2": //AI Chat
  3973. _formdiv = new U.UF.UI.form(
  3974. "AI Chat",
  3975. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3976. "id": "AIprogram2",
  3977. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3978. "onresize": function() {}
  3979. }, {
  3980. closecallback: function() {}
  3981. }, { "style": { "height": "36px" } }).form; //创建窗体
  3982. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Chat", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3983. break;
  3984. case "Pythonprogram": //python编程
  3985. _formdiv = new U.UF.UI.form(
  3986. "Python编程",
  3987. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3988. "id": "Pythonprogram",
  3989. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3990. "onresize": function() {}
  3991. }, {
  3992. closecallback: function() {}
  3993. }, { "style": { "height": "36px" } }).form; //创建窗体
  3994. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Pythonprogram.png)" }, "name": "Python编程", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3995. break;
  3996. case "AIprogram": //ai编程
  3997. _formdiv = new U.UF.UI.form(
  3998. "AI编程平台",
  3999. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4000. "id": "AIprogram",
  4001. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4002. "onresize": function() {}
  4003. }, {
  4004. closecallback: function() {}
  4005. }, { "style": { "height": "36px" } }).form; //创建窗体
  4006. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram.png)" }, "name": "AI编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4007. break;
  4008. case "CocoPi": //CocoPi
  4009. _formdiv = new U.UF.UI.form(
  4010. "CocoPi",
  4011. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pi.cocorobo.cn" }), {
  4012. "id": "CocoPi",
  4013. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4014. "onresize": function() {}
  4015. }, {
  4016. closecallback: function() {}
  4017. }, { "style": { "height": "36px" } }).form; //创建窗体
  4018. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4019. break;
  4020. case "Wood": //Wood
  4021. _formdiv = new U.UF.UI.form(
  4022. "海龟编程",
  4023. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://wood.codemao.cn/" }), {
  4024. "id": "Wood",
  4025. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4026. "onresize": function() {}
  4027. }, {
  4028. closecallback: function() {}
  4029. }, { "style": { "height": "36px" } }).form; //创建窗体
  4030. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Wood.png)" }, "name": "海龟编程", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4031. break;
  4032. case "car": //模拟驾驶
  4033. _formdiv = new U.UF.UI.form(
  4034. "模拟驾驶",
  4035. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://slowroads.io/" }), {
  4036. "id": "car",
  4037. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4038. "onresize": function() {}
  4039. }, {
  4040. closecallback: function() {}
  4041. }, { "style": { "height": "36px" } }).form; //创建窗体
  4042. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/car.png)" }, "name": "模拟驾驶", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4043. break;
  4044. case "lineSearch": //路径搜索
  4045. _formdiv = new U.UF.UI.form(
  4046. "路径搜索",
  4047. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://qiao.github.io/PathFinding.js/visual/" }), {
  4048. "id": "lineSearch",
  4049. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4050. "onresize": function() {}
  4051. }, {
  4052. closecallback: function() {}
  4053. }, { "style": { "height": "36px" } }).form; //创建窗体
  4054. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/lineSearch.png)" }, "name": "路径搜索", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4055. break;
  4056. case "deepLearning": //深度学习
  4057. _formdiv = new U.UF.UI.form(
  4058. "深度学习",
  4059. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-demos.cocorobo.cn/teachable-machine/public/#" }), {
  4060. "id": "deepLearning",
  4061. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4062. "onresize": function() {}
  4063. }, {
  4064. closecallback: function() {}
  4065. }, { "style": { "height": "36px" } }).form; //创建窗体
  4066. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/deepLearning.png)" }, "name": "深度学习", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4067. break;
  4068. case "allHistory": //深度学习
  4069. _formdiv = new U.UF.UI.form(
  4070. "全历史",
  4071. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.allhistory.com/" }), {
  4072. "id": "allHistory",
  4073. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4074. "onresize": function() {}
  4075. }, {
  4076. closecallback: function() {}
  4077. }, { "style": { "height": "36px" } }).form; //创建窗体
  4078. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/allHistory.png)" }, "name": "全历史", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4079. break;
  4080. case "chatPDF": //ai编程
  4081. _formdiv = new U.UF.UI.form(
  4082. "chatPDF",
  4083. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4084. "id": "chatPDF",
  4085. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4086. "onresize": function() {}
  4087. }, {
  4088. closecallback: function() {}
  4089. }, { "style": { "height": "36px" } }).form; //创建窗体
  4090. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4091. break;
  4092. case "resources": //国家教育
  4093. _formdiv = new U.UF.UI.form(
  4094. "国家教育",
  4095. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4096. "id": "resources",
  4097. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4098. "onresize": function() {}
  4099. }, {
  4100. closecallback: function() {}
  4101. }, { "style": { "height": "36px" } }).form; //创建窗体
  4102. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/resources.png)" }, "name": "国家教育", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4103. break;
  4104. case "codeEdit": //源码编辑
  4105. _formdiv = new U.UF.UI.form(
  4106. "源码编辑",
  4107. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4108. "id": "codeEdit",
  4109. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4110. "onresize": function() {}
  4111. }, {
  4112. closecallback: function() {}
  4113. }, { "style": { "height": "36px" } }).form; //创建窗体
  4114. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/code.png)" }, "name": "源码编辑", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4115. break; //
  4116. case "MindMap": //MindMap
  4117. _formdiv = new U.UF.UI.form(
  4118. "MindMap",
  4119. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4120. "id": "MindMap",
  4121. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4122. "onresize": function() {}
  4123. }, {
  4124. closecallback: function() {}
  4125. }, { "style": { "height": "36px" } }).form; //创建窗体
  4126. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/MIndMap.png)" }, "name": "MindMap", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4127. break;
  4128. case "netWorkPanel": //netWorkPanel
  4129. _formdiv = new U.UF.UI.form(
  4130. "netWorkPanel",
  4131. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4132. "id": "netWorkPanel",
  4133. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4134. "onresize": function() {}
  4135. }, {
  4136. closecallback: function() {}
  4137. }, { "style": { "height": "36px" } }).form; //创建窗体
  4138. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4139. break;
  4140. case "GeoGebra": //GeoGebra
  4141. _formdiv = new U.UF.UI.form(
  4142. "GeoGebra",
  4143. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.geogebra.org/calculator" }), {
  4144. "id": "GeoGebra",
  4145. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4146. "onresize": function() {}
  4147. }, {
  4148. closecallback: function() {}
  4149. }, { "style": { "height": "36px" } }).form; //创建窗体
  4150. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4151. break;
  4152. case "translation": //翻译
  4153. _formdiv = new U.UF.UI.form(
  4154. "翻译",
  4155. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4156. "id": "translation",
  4157. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4158. "onresize": function() {}
  4159. }, {
  4160. closecallback: function() {}
  4161. }, { "style": { "height": "36px" } }).form; //创建窗体
  4162. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4163. break;
  4164. case "mohe": //魔盒
  4165. _formdiv = new U.UF.UI.form(
  4166. "魔盒识字",
  4167. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4168. "id": "mohe",
  4169. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4170. "onresize": function() {}
  4171. }, {
  4172. closecallback: function() {}
  4173. }, { "style": { "height": "36px" } }).form; //创建窗体
  4174. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4175. break;
  4176. case "24game": //24点
  4177. _formdiv = new U.UF.UI.form(
  4178. "24点",
  4179. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4180. "id": "24game",
  4181. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4182. "onresize": function() {}
  4183. }, {
  4184. closecallback: function() {}
  4185. }, { "style": { "height": "36px" } }).form; //创建窗体
  4186. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4187. break;
  4188. case "case":
  4189. _formdiv = new U.UF.UI.form(
  4190. "课程进展",
  4191. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesign?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4192. "id": "case",
  4193. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4194. "onresize": function() {}
  4195. }, {
  4196. closecallback: function() {}
  4197. }, { "style": { "height": "36px" } }).form; //创建窗体
  4198. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4199. break;
  4200. case "snf":
  4201. _formdiv = new U.UF.UI.form(
  4202. "赛诺梵",
  4203. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//try.cynovan.com/standard/?trial=true&data=%7B%22username%22%3A%22cynovanDemo%22%2C%22password%22%3A%22cynovanDemo%22%7D&redirect_uri=http://janus.cynovan.com/#/app/workflow/menu/1/r/6343ce2ac00fa32609d1f91b" }), {
  4204. "id": "snf",
  4205. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4206. "onresize": function() {}
  4207. }, {
  4208. closecallback: function() {}
  4209. }, { "style": { "height": "36px" } }).form; //创建窗体
  4210. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4211. break;
  4212. case "hanFamily":
  4213. _formdiv = new U.UF.UI.form(
  4214. "汉字家族",
  4215. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4216. "id": "hanFamily",
  4217. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4218. "onresize": function() {}
  4219. }, {
  4220. closecallback: function() {}
  4221. }, { "style": { "height": "36px" } }).form; //创建窗体
  4222. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4223. break;
  4224. case "hanClassics":
  4225. _formdiv = new U.UF.UI.form(
  4226. "国学经典",
  4227. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4228. "id": "hanClassics",
  4229. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4230. "onresize": function() {}
  4231. }, {
  4232. closecallback: function() {}
  4233. }, { "style": { "height": "36px" } }).form; //创建窗体
  4234. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4235. break;
  4236. case "hanTraining":
  4237. _formdiv = new U.UF.UI.form(
  4238. "笔画训练",
  4239. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4240. "id": "hanTraining",
  4241. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4242. "onresize": function() {}
  4243. }, {
  4244. closecallback: function() {}
  4245. }, { "style": { "height": "36px" } }).form; //创建窗体
  4246. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4247. break;
  4248. case "hanClass":
  4249. _formdiv = new U.UF.UI.form(
  4250. "书法课堂",
  4251. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4252. "id": "hanClass",
  4253. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4254. "onresize": function() {}
  4255. }, {
  4256. closecallback: function() {}
  4257. }, { "style": { "height": "36px" } }).form; //创建窗体
  4258. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4259. break;
  4260. case "han":
  4261. _formdiv = new U.UF.UI.form(
  4262. "汉字宫",
  4263. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4264. "id": "han",
  4265. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4266. "onresize": function() {}
  4267. }, {
  4268. closecallback: function() {}
  4269. }, { "style": { "height": "36px" } }).form; //创建窗体
  4270. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4271. break;
  4272. case "projectGM": //Course Planning
  4273. _formdiv = new U.UF.UI.form(
  4274. "Course Planning",
  4275. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/courseGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4276. "id": "projectGM",
  4277. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4278. "onresize": function() {}
  4279. }, {
  4280. closecallback: function() {}
  4281. }, { "style": { "height": "36px" } }).form; //创建窗体
  4282. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "Course Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4283. break;
  4284. case "studyGM": //Course Library
  4285. _formdiv = new U.UF.UI.form(
  4286. "Course Library",
  4287. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/indexGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
  4288. "id": "study",
  4289. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4290. "onresize": function() {}
  4291. }, {
  4292. closecallback: function() {}
  4293. }, { "style": { "height": "36px" } }).form; //创建窗体
  4294. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4295. break;
  4296. // studentGM
  4297. case "studentGM": //Students Management
  4298. _formdiv = new U.UF.UI.form(
  4299. "Students Management",
  4300. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentGM?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org }), {
  4301. "id": "studentGM",
  4302. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4303. "onresize": function() {}
  4304. }, {
  4305. closecallback: function() {}
  4306. }, { "style": { "height": "36px" } }).form; //创建窗体
  4307. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/student.png)" }, "name": "Students Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4308. break;
  4309. case "evaluateGM": //Course Assessment
  4310. _formdiv = new U.UF.UI.form(
  4311. "Course Assessment",
  4312. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4313. "id": "evaluateGM",
  4314. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4315. "onresize": function() {}
  4316. }, {
  4317. closecallback: function() {}
  4318. }, { "style": { "height": "36px" } }).form; //创建窗体
  4319. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "Course Assessment", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4320. break;
  4321. // classGM
  4322. case "classGM": //班级管理
  4323. _formdiv = new U.UF.UI.form(
  4324. "班级管理",
  4325. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/classGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4326. "id": "classGM",
  4327. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4328. "onresize": function() {}
  4329. }, {
  4330. closecallback: function() {}
  4331. }, { "style": { "height": "36px" } }).form; //创建窗体
  4332. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4333. break;
  4334. // dataGM
  4335. case "dataGM":
  4336. _formdiv = new U.UF.UI.form(
  4337. "我的资料",
  4338. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataGM?userid=" + _userid + "&org=" + _org }), {
  4339. "id": "dataGM",
  4340. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4341. "onresize": function() {}
  4342. }, {
  4343. closecallback: function() {}
  4344. }, { "style": { "height": "36px" } }).form; //创建窗体
  4345. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/data.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4346. break;
  4347. // caseGM
  4348. case "caseGM": //课程进展
  4349. _formdiv = new U.UF.UI.form(
  4350. "课程进展",
  4351. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4352. "id": "caseGM",
  4353. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4354. "onresize": function() {}
  4355. }, {
  4356. closecallback: function() {}
  4357. }, { "style": { "height": "36px" } }).form; //创建窗体
  4358. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4359. break;
  4360. // meterialGM
  4361. case "meterialGM": //素材库
  4362. _formdiv = new U.UF.UI.form(
  4363. "素材库",
  4364. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/libraryGM?userid=" + _userid + "&org=" + _org }), {
  4365. "id": "meterialGM",
  4366. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4367. "onresize": function() {}
  4368. }, {
  4369. closecallback: function() {}
  4370. }, { "style": { "height": "36px" } }).form; //创建窗体
  4371. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/material.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4372. break;
  4373. // evaluateSGM
  4374. case "evaluateSGM": //我的评价
  4375. _formdiv = new U.UF.UI.form(
  4376. "我的评价",
  4377. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4378. "id": "evaluateSGM",
  4379. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4380. "onresize": function() {}
  4381. }, {
  4382. closecallback: function() {}
  4383. }, { "style": { "height": "36px" } }).form; //创建窗体
  4384. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4385. break;
  4386. case "jupyter": //jupyter
  4387. _formdiv = new U.UF.UI.form(
  4388. "jupyter",
  4389. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4390. "id": "jupyter",
  4391. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4392. "onresize": function() {}
  4393. }, {
  4394. closecallback: function() {}
  4395. }, { "style": { "height": "36px" } }).form; //创建窗体
  4396. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/jupyter.png)" }, "name": "jupyter", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4397. break;
  4398. case "number": //数字实验室
  4399. _formdiv = new U.UF.UI.form(
  4400. "数字实验室",
  4401. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4402. "id": "number",
  4403. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4404. "onresize": function() {}
  4405. }, {
  4406. closecallback: function() {}
  4407. }, { "style": { "height": "36px" } }).form; //创建窗体
  4408. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/number.png)" }, "name": "数字实验室", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4409. break;
  4410. case "studentCourse": //Project Planning 学生
  4411. _formdiv = new U.UF.UI.form(
  4412. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "Project Planning",
  4413. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4414. "id": "studentCourse",
  4415. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4416. "onresize": function() {}
  4417. }, {
  4418. closecallback: function() {}
  4419. }, { "style": { "height": "36px" } }).form; //创建窗体
  4420. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4421. break;
  4422. case "studentCourseS": //Project Planning 老师
  4423. _formdiv = new U.UF.UI.form(
  4424. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "Project Planning",
  4425. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/scourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4426. "id": "studentCourseS",
  4427. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4428. "onresize": function() {}
  4429. }, {
  4430. closecallback: function() {}
  4431. }, { "style": { "height": "36px" } }).form; //创建窗体
  4432. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4433. break;
  4434. case "studentIndex": //Project Library
  4435. _formdiv = new U.UF.UI.form(
  4436. "Project Library",
  4437. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studentIndex?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType + "&role=" + _role }), {
  4438. "id": "studentIndex",
  4439. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4440. "onresize": function() {}
  4441. }, {
  4442. closecallback: function() {}
  4443. }, { "style": { "height": "36px" } }).form; //创建窗体
  4444. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4445. break;
  4446. case "CaseDesignS":
  4447. _formdiv = new U.UF.UI.form(
  4448. "项目进展",
  4449. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4450. "id": "case",
  4451. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4452. "onresize": function() {}
  4453. }, {
  4454. closecallback: function() {}
  4455. }, { "style": { "height": "36px" } }).form; //创建窗体
  4456. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/CaseDesignS.png)" }, "name": "项目进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4457. break;
  4458. case "tcStudent": //腾讯学生管理
  4459. _formdiv = new U.UF.UI.form(
  4460. "Students Management",
  4461. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4462. "id": "tcStudent",
  4463. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4464. "onresize": function() {}
  4465. }, {
  4466. closecallback: function() {}
  4467. }, { "style": { "height": "36px" } }).form; //创建窗体
  4468. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "Students Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4469. break;
  4470. case "tcSchool": //腾讯学校管理
  4471. _formdiv = new U.UF.UI.form(
  4472. "学校管理",
  4473. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcSchool?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4474. "id": "tcSchool",
  4475. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4476. "onresize": function() {}
  4477. }, {
  4478. closecallback: function() {}
  4479. }, { "style": { "height": "36px" } }).form; //创建窗体
  4480. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/school.png)" }, "name": "学校管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4481. break;
  4482. case "tcTeacher": //腾讯学校管理
  4483. _formdiv = new U.UF.UI.form(
  4484. "教师管理",
  4485. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcTeacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4486. "id": "tcTeacher",
  4487. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4488. "onresize": function() {}
  4489. }, {
  4490. closecallback: function() {}
  4491. }, { "style": { "height": "36px" } }).form; //创建窗体
  4492. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacher.png)" }, "name": "教师管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4493. break;
  4494. case "tcData": //腾讯我的资料
  4495. _formdiv = new U.UF.UI.form(
  4496. "我的资料",
  4497. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcData?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4498. "id": "tcData",
  4499. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4500. "onresize": function() {}
  4501. }, {
  4502. closecallback: function() {}
  4503. }, { "style": { "height": "36px" } }).form; //创建窗体
  4504. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4505. break;
  4506. case "tcNotice": //腾讯消息通知
  4507. _formdiv = new U.UF.UI.form(
  4508. "消息通知",
  4509. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcNotice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4510. "id": "tcNotice",
  4511. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4512. "onresize": function() {}
  4513. }, {
  4514. closecallback: function() {}
  4515. }, { "style": { "height": "36px" } }).form; //创建窗体
  4516. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "消息通知", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4517. break;
  4518. case "myReport": //好友打开
  4519. _formdiv = new U.UF.UI.form(
  4520. "我的评价",
  4521. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/myReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId }), {
  4522. "id": "myReport",
  4523. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4524. "onresize": function() {}
  4525. }, {
  4526. closecallback: function() {}
  4527. }, { "style": { "height": "36px" } }).form; //创建窗体
  4528. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4529. break;
  4530. case "learnAna": //好友打开
  4531. _formdiv = new U.UF.UI.form(
  4532. "Learning Analytics",
  4533. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/learnAna?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4534. "id": "learnAna",
  4535. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4536. "onresize": function() {}
  4537. }, {
  4538. closecallback: function() {}
  4539. }, { "style": { "height": "36px" } }).form; //创建窗体
  4540. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "Learning Analytics", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4541. break;
  4542. case "AIChat": //AI共创
  4543. _formdiv = new U.UF.UI.form(
  4544. "AI共创",
  4545. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4546. "id": "AIChat",
  4547. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4548. "onresize": function() {}
  4549. }, {
  4550. istop: true,
  4551. closecallback: function() { $("#aichat_icon").remove(); },
  4552. narrowcallback: function() {
  4553. if (!$("#aichat_icon")[0]) {
  4554. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function() { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4555. }
  4556. },
  4557. }, { "style": { "height": "36px" } }).form; //创建窗体
  4558. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI共创", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4559. break;
  4560. case "ainew": //AI共创
  4561. _formdiv = new U.UF.UI.form(
  4562. "AI协同",
  4563. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4564. "id": "ainew",
  4565. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4566. "onresize": function() {}
  4567. }, {
  4568. closecallback: function() {}
  4569. }, { "style": { "height": "36px" } }).form; //创建窗体
  4570. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI协同", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4571. break;
  4572. case "futureClass": //AI共创
  4573. _formdiv = new U.UF.UI.form(
  4574. "CocoNote",
  4575. $$("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.com
  4576. "id": "synergyCourse",
  4577. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4578. "onresize": function() {}
  4579. }, {
  4580. closecallback: function() {
  4581. $("iframe", _formdiv)[0].contentWindow.loginout();
  4582. }
  4583. }, { "style": { "height": "36px" } }).form; //创建窗体
  4584. _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); } }
  4585. break;
  4586. case "aiagent": //ai agent
  4587. _formdiv = new U.UF.UI.form(
  4588. "AI Agent",
  4589. $$("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" }), {
  4590. "id": "AIAgent",
  4591. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4592. "onresize": function() {}
  4593. }, {
  4594. closecallback: function() {}
  4595. }, { "style": { "height": "36px" } }).form; //创建窗体
  4596. _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); } }
  4597. break;
  4598. case "aigpt": //gpt4
  4599. _formdiv = new U.UF.UI.form(
  4600. "AI Chat+",
  4601. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.com/aigpt/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4602. "id": "aigpt",
  4603. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4604. "onresize": function () { }
  4605. }, {
  4606. closecallback: function () {
  4607. $("iframe", _formdiv)[0].contentWindow.app.log_out();
  4608. }
  4609. }, { "style": { "height": "36px" } }).form; //创建窗体
  4610. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigpt.png)" }, "name": "AI Chat+", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4611. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4612. $("iframe", _formdiv)[0].contentWindow.app.log_in();
  4613. })
  4614. break;
  4615. case "dataBoard": //数据看板
  4616. _formdiv = new U.UF.UI.form(
  4617. "数据看板",
  4618. $$("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 }), {
  4619. "id": "dataBoard",
  4620. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4621. "onresize": function() {}
  4622. }, {
  4623. closecallback: function() {}
  4624. }, { "style": { "height": "36px" } }).form; //创建窗体
  4625. _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); } }
  4626. break;
  4627. case "dataBoardSies": //数据融合
  4628. _formdiv = new U.UF.UI.form(
  4629. "数据融合",
  4630. $$("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 }), {
  4631. "id": "dataBoardSies",
  4632. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4633. "onresize": function() {}
  4634. }, {
  4635. closecallback: function() {}
  4636. }, { "style": { "height": "36px" } }).form; //创建窗体
  4637. _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); } }
  4638. break;
  4639. case "dataBoardNew": //数据看板
  4640. _formdiv = new U.UF.UI.form(
  4641. "综合看板",
  4642. $$("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 }), {
  4643. "id": "dataBoardNew",
  4644. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4645. "onresize": function() {}
  4646. }, {
  4647. closecallback: function() {}
  4648. }, { "style": { "height": "36px" } }).form; //创建窗体
  4649. _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); } }
  4650. break;
  4651. case "AIAnalyse": //AI共创
  4652. _formdiv = new U.UF.UI.form(
  4653. "AI分析",
  4654. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4655. "id": "AIAnalyse",
  4656. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4657. "onresize": function() {}
  4658. }, {
  4659. closecallback: function() {}
  4660. }, { "style": { "height": "36px" } }).form; //创建窗体
  4661. _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); } }
  4662. break;
  4663. case "studioCourse": //AI共创
  4664. _formdiv = new U.UF.UI.form(
  4665. "工作管理",
  4666. $$("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 }), {
  4667. "id": "studioCourse",
  4668. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4669. "onresize": function() {}
  4670. }, {
  4671. closecallback: function() {}
  4672. }, { "style": { "height": "36px" } }).form; //创建窗体
  4673. _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); } }
  4674. break;
  4675. case "studioIndex": //AI共创
  4676. _formdiv = new U.UF.UI.form(
  4677. "工作中心",
  4678. $$("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 }), {
  4679. "id": "studioIndex",
  4680. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4681. "onresize": function() {}
  4682. }, {
  4683. closecallback: function() {}
  4684. }, { "style": { "height": "36px" } }).form; //创建窗体
  4685. _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); } }
  4686. break;
  4687. case "source":
  4688. _formdiv = new U.UF.UI.form(
  4689. "教学资源",
  4690. $$("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 }), {
  4691. "id": "source",
  4692. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4693. "onresize": function() {}
  4694. }, {
  4695. closecallback: function() {}
  4696. }, { "style": { "height": "36px" } }).form; //创建窗体
  4697. _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); } }
  4698. break;
  4699. case "testTeacher":
  4700. _formdiv = new U.UF.UI.form(
  4701. "评测管理",
  4702. $$("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 }), {
  4703. "id": "testTeacher",
  4704. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4705. "onresize": function() {}
  4706. }, {
  4707. closecallback: function() {}
  4708. }, { "style": { "height": "36px" } }).form; //创建窗体
  4709. _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); } }
  4710. break;
  4711. case "testStudent":
  4712. _formdiv = new U.UF.UI.form(
  4713. "评测中心",
  4714. $$("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 }), {
  4715. "id": "testStudent",
  4716. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4717. "onresize": function() {}
  4718. }, {
  4719. closecallback: function() {}
  4720. }, { "style": { "height": "36px" } }).form; //创建窗体
  4721. _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); } }
  4722. break;
  4723. case "testTeacherSies":
  4724. _formdiv = new U.UF.UI.form(
  4725. "Teacher Management",
  4726. $$("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/#/test?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4727. "id": "testTeacherSies",
  4728. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4729. "onresize": function () { }
  4730. }, {
  4731. closecallback: function () { }
  4732. }, { "style": { "height": "36px" } }).form; //创建窗体
  4733. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "Teacher Management", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4734. break;
  4735. case "testStudentSies":
  4736. _formdiv = new U.UF.UI.form(
  4737. "Teacher Center",
  4738. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testPerson?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  4739. "id": "testStudentSies",
  4740. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4741. "onresize": function () { }
  4742. }, {
  4743. closecallback: function () { }
  4744. }, { "style": { "height": "36px" } }).form; //创建窗体
  4745. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "Teacher Center", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4746. break;
  4747. }
  4748. //U.MD.D.I.openClick(str);
  4749. //如果有任务栏信息
  4750. if (_taskbar) {
  4751. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4752. }
  4753. }
  4754. // U.MD.D.I.openClick = function(str){
  4755. // var click = '';
  4756. // switch(str){
  4757. // case 'friend':
  4758. // click = '我的好友';
  4759. // break;
  4760. // case 'domain':
  4761. // click = '域名管理';
  4762. // break;
  4763. // case 'disk':
  4764. // click = '我的云盘';
  4765. // break;
  4766. // case 'word':
  4767. // click = 'Word';
  4768. // break;
  4769. // case 'excel':
  4770. // click = 'Execl';
  4771. // break;
  4772. // case 'txt':
  4773. // click = '文本文件';
  4774. // break;
  4775. // case 'lookupFriend':
  4776. // click = '查找好友';
  4777. // break;
  4778. // case 'ftp':
  4779. // click = 'FTP';
  4780. // break;
  4781. // case 'group':
  4782. // click = '群组';
  4783. // break;
  4784. // case 'set':
  4785. // click = '我的设置';
  4786. // break;
  4787. // case 'systemSet':
  4788. // click = '系统设置';
  4789. // break;
  4790. // case 'boomYun':
  4791. // click = '互联办公';
  4792. // break;
  4793. // case 'xz':
  4794. // click = '云端下载';
  4795. // break;
  4796. // case 'client':
  4797. // click = '有思浏览器';
  4798. // break;
  4799. // case 'backEndProgramming':
  4800. // click = '在线后台编程';
  4801. // break;
  4802. // case 'frontEndProgramming':
  4803. // click = '在线前端编程';
  4804. // break;
  4805. // default: break;
  4806. // }
  4807. // if(U.MD.D.I.Ip && click){
  4808. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4809. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4810. // })
  4811. // }
  4812. // }
  4813. /**
  4814. *函数作用:ajax简易函数,使用post格式
  4815. *@param url {data} 后台地址
  4816. *@param data {data} 参数json
  4817. *@param fn {data} 回调函数
  4818. *
  4819. */
  4820. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4821. // var xhr = new XMLHttpRequest();
  4822. // xhr.open("GET",url,true);
  4823. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4824. // xhr.onreadystatechange = function(){
  4825. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4826. // fn.call(this,xhr.responseText);
  4827. // }
  4828. // };
  4829. // xhr.send();
  4830. // }
  4831. /*判断是否是内网IP*/
  4832. // U.MD.D.I.isInnerIPFn = function(str){
  4833. // var curPageUrl = str;
  4834. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4835. // curPageUrl =curPageUrl.replace(reg1,'');
  4836. // // console.log('curPageUrl-1 '+curPageUrl);
  4837. // var reg2 = /\:+/g;//替换冒号为一点
  4838. // curPageUrl =curPageUrl.replace(reg2,'.');
  4839. // // console.log('curPageUrl-2 '+curPageUrl);
  4840. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4841. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4842. // if(curPageUrl[2] != '16'){
  4843. // return ipAddress;
  4844. // }else{
  4845. // return false;
  4846. // }
  4847. // }
  4848. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4849. // //compatibility for firefox and chrome
  4850. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4851. // var pc = new myPeerConnection({
  4852. // iceServers: []
  4853. // }),
  4854. // noop = function() {},
  4855. // localIPs = {},
  4856. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4857. // key;
  4858. // function iterateIP(ip) {
  4859. // if (!localIPs[ip]) onNewIP(ip);
  4860. // localIPs[ip] = true;
  4861. // }
  4862. // //create a bogus data channel
  4863. // pc.createDataChannel("");
  4864. // // create offer and set local description
  4865. // pc.createOffer().then(function(sdp) {
  4866. // sdp.sdp.split('\n').forEach(function(line) {
  4867. // if (line.indexOf('candidate') < 0) return;
  4868. // line.match(ipRegex).forEach(iterateIP);
  4869. // });
  4870. // pc.setLocalDescription(sdp, noop, noop);
  4871. // }).catch(function(reason) {
  4872. // // An error occurred, so handle the failure to connect
  4873. // });
  4874. // //sten for candidate events
  4875. // pc.onicecandidate = function(ice) {
  4876. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4877. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4878. // };
  4879. // }
  4880. // U.MD.D.I.getUserIpBool = function(callback){
  4881. // U.MD.D.I.getUserIP(function(ip){
  4882. // alert("Got IP! :" + ip);
  4883. // });
  4884. //}
  4885. //#endregion
  4886. U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
  4887. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4888. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4889. _userinfo = US.userInfo, //登录用户信息
  4890. _userid = US.userInfo.userid //登录用户id
  4891. let _iframe;
  4892. let _cid = cid,
  4893. _stage = stage,
  4894. _task = task,
  4895. _tool = tool;
  4896. var _jie = $$("div", {
  4897. "style": {
  4898. "position": "absolute",
  4899. "bottom": "50px",
  4900. "right": "50px",
  4901. "zIndex": "9999",
  4902. "backgroundColor": "#2268bc",
  4903. "color": "#fff",
  4904. "padding": "12px 20px",
  4905. "cursor": "pointer",
  4906. "borderRadius": "4px",
  4907. },
  4908. "innerHTML": "提交作业"
  4909. })
  4910. let aTool = ''
  4911. let _loading = document.createElement('div')
  4912. _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;"
  4913. // _loading.id = "";
  4914. let _lchild = document.createElement('div')
  4915. let _limg = document.createElement('img')
  4916. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4917. _limg.style = "width: 26px;margin-right: 10px;"
  4918. _lchild.appendChild(_limg)
  4919. let _lspan = document.createElement('span')
  4920. _lspan.innerHTML = "上传中..."
  4921. _lchild.appendChild(_lspan)
  4922. _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%);"
  4923. _loading.appendChild(_lchild)
  4924. var _box = $$('div', {
  4925. "style": {
  4926. "position": "relative",
  4927. "width": "100%",
  4928. "height": "100%",
  4929. },
  4930. })
  4931. _box.appendChild(_loading)
  4932. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4933. switch (str) {
  4934. case "whiteboard":
  4935. aTool = 1;
  4936. _iframe = $$("iframe", {
  4937. "frameborder": "no",
  4938. "border": "0",
  4939. "scrolling ": "no",
  4940. "style": {
  4941. "cssText": "border:0;width:100%;height:100%"
  4942. },
  4943. "src": "https://iwb.cocorobo.cn/"
  4944. })
  4945. _box.appendChild(_iframe);
  4946. _box.appendChild(_jie);
  4947. _formdiv = new U.UF.UI.form(
  4948. "电子白板",
  4949. _box, {
  4950. "id": "whiteboard" + cid + stage + task + tool,
  4951. "style": {
  4952. "width": "90%",
  4953. "height": "90%",
  4954. "overflow": 'hidden'
  4955. },
  4956. "onresize": function() {}
  4957. }, {
  4958. closecallback: function() {}
  4959. }, {
  4960. "style": {
  4961. "height": "36px"
  4962. }
  4963. }).form; //创建窗体
  4964. _taskbar = {
  4965. "id": str + _formdiv.id,
  4966. "style": {
  4967. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4968. },
  4969. "name": "电子白板",
  4970. "forms": _formdiv,
  4971. "click": function() {
  4972. U.MD.D.I.openApplication(str, obj, info);
  4973. }
  4974. }
  4975. break;
  4976. case "mind":
  4977. aTool = 3;
  4978. _iframe = $$("iframe", {
  4979. "frameborder": "no",
  4980. "border": "0",
  4981. "scrolling ": "no",
  4982. "style": {
  4983. "cssText": "border:0;width:100%;height:100%"
  4984. },
  4985. "src": "/kityminder-editor/dist/index.html"
  4986. })
  4987. _box.appendChild(_iframe);
  4988. _box.appendChild(_jie);
  4989. _formdiv = new U.UF.UI.form(
  4990. "思维导图",
  4991. _box, { //"/jsmind/example/demo.html"
  4992. "id": "mind" + cid + stage + task + tool,
  4993. "style": {
  4994. "width": "90%",
  4995. "height": "90%",
  4996. "overflow": 'hidden'
  4997. },
  4998. "onresize": function() {}
  4999. }, {
  5000. closecallback: function() {}
  5001. }, {
  5002. "style": {
  5003. "height": "36px"
  5004. }
  5005. }).form; //创建窗体
  5006. _taskbar = {
  5007. "id": str + _formdiv.id,
  5008. "style": {
  5009. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5010. },
  5011. "name": "思维导图",
  5012. "forms": _formdiv,
  5013. "click": function() {
  5014. U.MD.D.I.openApplication(str, obj, info);
  5015. }
  5016. }
  5017. break;
  5018. case "MindMap":
  5019. aTool = 3;
  5020. _iframe = $$("iframe", {
  5021. "frameborder": "no",
  5022. "border": "0",
  5023. "scrolling ": "no",
  5024. "style": {
  5025. "cssText": "border:0;width:100%;height:100%"
  5026. },
  5027. "src": "//cloud.cocorobo.cn/mind/"
  5028. })
  5029. _box.appendChild(_iframe);
  5030. _box.appendChild(_jie);
  5031. _formdiv = new U.UF.UI.form(
  5032. "思维导图",
  5033. _box, { //"/jsmind/example/demo.html"
  5034. "id": "mind" + cid + stage + task + tool,
  5035. "style": {
  5036. "width": "90%",
  5037. "height": "90%",
  5038. "overflow": 'hidden'
  5039. },
  5040. "onresize": function() {}
  5041. }, {
  5042. closecallback: function() {}
  5043. }, {
  5044. "style": {
  5045. "height": "36px"
  5046. }
  5047. }).form; //创建窗体
  5048. _taskbar = {
  5049. "id": str + _formdiv.id,
  5050. "style": {
  5051. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5052. },
  5053. "name": "思维导图",
  5054. "forms": _formdiv,
  5055. "click": function() {
  5056. U.MD.D.I.openApplication(str, obj, info);
  5057. }
  5058. }
  5059. break;
  5060. case "doc":
  5061. aTool = 6;
  5062. _iframe = $$("iframe", {
  5063. "frameborder": "no",
  5064. "border": "0",
  5065. "scrolling ": "no",
  5066. "style": {
  5067. "cssText": "border:0;width:100%;height:100%"
  5068. },
  5069. "src": "/Office/Word/WordEditArea.htm"
  5070. })
  5071. _box.appendChild(_iframe);
  5072. _box.appendChild(_jie);
  5073. _formdiv = new U.UF.UI.form(
  5074. "协同文档",
  5075. _box, {
  5076. "id": "doc" + cid + stage + task + tool,
  5077. "style": {
  5078. "width": "90%",
  5079. "height": "90%",
  5080. "overflow": 'hidden'
  5081. },
  5082. "onresize": function() {}
  5083. }, {
  5084. closecallback: function() {}
  5085. }, {
  5086. "style": {
  5087. "height": "36px"
  5088. }
  5089. }).form; //创建窗体
  5090. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5091. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5092. })
  5093. _taskbar = {
  5094. "id": str + _formdiv.id,
  5095. "style": {
  5096. "backgroundImage": "url(/img/icon/doc.png)"
  5097. },
  5098. "name": "协同文档",
  5099. "forms": _formdiv,
  5100. "click": function() {
  5101. U.MD.D.I.openApplication(str, obj, info);
  5102. }
  5103. }
  5104. break;
  5105. case "mindNetwork": //好友打开
  5106. aTool = 7;
  5107. _iframe = $$("iframe", {
  5108. "webkitallowfullscreen": "",
  5109. "mozallowfullscreen": "",
  5110. "allowfullscreen": "",
  5111. "frameborder": "no",
  5112. "border": "0",
  5113. "scrolling ": "no",
  5114. "style": {
  5115. "cssText": "border:0; width:100%; height:100%;"
  5116. },
  5117. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5118. })
  5119. _box.appendChild(_iframe);
  5120. _box.appendChild(_jie);
  5121. _formdiv = new U.UF.UI.form(
  5122. "思维网格",
  5123. _box, {
  5124. "id": "mindNetwork" + cid + stage + task + tool,
  5125. "style": {
  5126. "width": "90%",
  5127. "height": "90%",
  5128. "overflow": 'hidden'
  5129. },
  5130. "onresize": function() {}
  5131. }, {
  5132. closecallback: function() {}
  5133. }, {
  5134. "style": {
  5135. "height": "36px"
  5136. }
  5137. }).form; //创建窗体
  5138. _taskbar = {
  5139. "id": str + _formdiv.id,
  5140. "style": {
  5141. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5142. },
  5143. "name": "思维网格",
  5144. "forms": _formdiv,
  5145. "click": function() {
  5146. U.MD.D.I.openApplication(str, obj, info);
  5147. }
  5148. }
  5149. break;
  5150. case "courseDesign":
  5151. _iframe = $$("iframe", {
  5152. "webkitallowfullscreen": "",
  5153. "mozallowfullscreen": "",
  5154. "allowfullscreen": "",
  5155. "frameborder": "no",
  5156. "border": "0",
  5157. "scrolling ": "no",
  5158. "style": {
  5159. "cssText": "border:0; width:100%; height:100%;"
  5160. },
  5161. "src": "/course-design-vue"
  5162. })
  5163. _box.appendChild(_iframe);
  5164. _box.appendChild(_jie);
  5165. _formdiv = new U.UF.UI.form(
  5166. "项目设计",
  5167. _box, {
  5168. "id": "courseDesign" + cid + stage + task + tool,
  5169. "style": {
  5170. "width": "90%",
  5171. "height": "90%",
  5172. "overflow": 'hidden'
  5173. },
  5174. "onresize": function() {}
  5175. }, {
  5176. closecallback: function() {}
  5177. }, {
  5178. "style": {
  5179. "height": "36px"
  5180. }
  5181. }).form; //创建窗体
  5182. _taskbar = {
  5183. "id": str + _formdiv.id,
  5184. "style": {
  5185. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5186. },
  5187. "name": "项目设计",
  5188. "forms": _formdiv,
  5189. "click": function() {
  5190. U.MD.D.I.openApplication(str, obj, info);
  5191. }
  5192. }
  5193. break;
  5194. }
  5195. const script1 = document.createElement("script");
  5196. script1.type = "text/javascript";
  5197. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5198. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5199. const script2 = document.createElement("script");
  5200. script2.type = "text/javascript";
  5201. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5202. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5203. const script3 = document.createElement("script");
  5204. script3.type = "text/javascript";
  5205. script3.charset = "UTF-8";
  5206. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5207. const script4 = document.createElement("script");
  5208. script4.type = "text/javascript";
  5209. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5210. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5211. if (_iframe) {
  5212. if (str == 'doc') {
  5213. _iframe = _formdiv.querySelector('iframe')
  5214. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5215. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5216. _iframe.contentWindow.document.body.appendChild(script1);
  5217. _iframe.contentWindow.document.body.appendChild(script2);
  5218. // _iframe.contentWindow.document.body.appendChild(script3);
  5219. _iframe.contentWindow.document.body.appendChild(script4);
  5220. })
  5221. if (onloadListener) {
  5222. _iframe.contentDocument.location.reload()
  5223. } else {
  5224. _iframe.contentDocument.location.reload()
  5225. }
  5226. } else if (str == 'courseDesign') {
  5227. U.UF.DL.iframeLoad(_iframe, function() {
  5228. // _iframe.contentWindow.U.MD.O.W.load();
  5229. // _iframe.contentWindow.document.body.appendChild(script1);
  5230. _iframe.contentWindow.document.body.appendChild(script2);
  5231. _iframe.contentWindow.document.body.appendChild(script4);
  5232. })
  5233. } else if (str == 'mind') {
  5234. _iframe = _formdiv.querySelector('iframe')
  5235. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5236. //
  5237. _iframe.contentWindow.document.body.appendChild(script1);
  5238. _iframe.contentWindow.document.body.appendChild(script2);
  5239. _iframe.contentWindow.document.body.appendChild(script4);
  5240. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5241. })
  5242. if (onloadListener) {
  5243. _iframe.contentDocument.location.reload()
  5244. } else {
  5245. _iframe.contentDocument.location.reload()
  5246. }
  5247. } else if (str == 'whiteboard') {
  5248. _iframe = _formdiv.querySelector('iframe')
  5249. let onloadListener = _iframe.onload = () => {
  5250. _iframe.contentWindow.document.body.appendChild(script1);
  5251. _iframe.contentWindow.document.body.appendChild(script2);
  5252. _iframe.contentWindow.document.body.appendChild(script4);
  5253. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5254. };
  5255. if (onloadListener) {
  5256. _iframe.contentDocument.location.reload()
  5257. } else {
  5258. _iframe.contentDocument.location.reload()
  5259. }
  5260. } else {
  5261. _iframe.onload = () => {
  5262. _iframe.contentWindow.document.body.appendChild(script1);
  5263. _iframe.contentWindow.document.body.appendChild(script2);
  5264. // _iframe.contentWindow.document.body.appendChild(script3);
  5265. _iframe.contentWindow.document.body.appendChild(script4);
  5266. };
  5267. }
  5268. _jie.onclick = async() => {
  5269. let text = ''
  5270. if (aTool == 1) {
  5271. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5272. } else if (aTool == 6) {
  5273. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5274. } else if (aTool == 3) {
  5275. text = await U.MD.D.I.getEditorContent(_iframe);
  5276. }
  5277. _loading.style.display = 'flex'
  5278. console.log(_loading);
  5279. var _ajs = _iframe.contentWindow.document.createElement("script");
  5280. _ajs.type = "text/javascript";
  5281. _ajs.innerHTML =
  5282. // 'console.log(' + _loading + ');\n' +
  5283. 'var _js = document.createElement("script");\n' +
  5284. '_js.type="text/javascript";\n' +
  5285. '_js.charset="UTF-8";\n' +
  5286. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5287. "_js.onload = function(){\n" +
  5288. ' var a = document.getElementsByTagName("img")\n' +
  5289. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5290. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5291. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5292. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5293. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5294. "beforeUpload_shishi(file," +
  5295. "'" +
  5296. _userid +
  5297. "'" +
  5298. ", " +
  5299. "'" +
  5300. _cid +
  5301. "'" +
  5302. ", " +
  5303. "'" +
  5304. _stage +
  5305. "'" +
  5306. ", " +
  5307. "'" +
  5308. _task +
  5309. "'" +
  5310. ", " +
  5311. "'" +
  5312. _tool +
  5313. "'" +
  5314. ", " +
  5315. "'" +
  5316. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5317. "'" +
  5318. ", " +
  5319. "'" +
  5320. aTool +
  5321. "'" +
  5322. ", " +
  5323. "`" +
  5324. text +
  5325. "`" +
  5326. ")\n" +
  5327. " });\n" +
  5328. "}\n" +
  5329. "document.head.appendChild(_js);\n";
  5330. _iframe.contentWindow.document.head.appendChild(_ajs);
  5331. }
  5332. }
  5333. //U.MD.D.I.openClick(str);
  5334. //如果有任务栏信息
  5335. // if (_taskbar) {
  5336. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5337. // }
  5338. }
  5339. U.MD.D.I.openApplicationJieE = function(str, cid, stage, task, tool) {
  5340. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5341. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5342. _userinfo = US.userInfo, //登录用户信息
  5343. _userid = US.userInfo.userid //登录用户id
  5344. let _iframe;
  5345. let _cid = cid,
  5346. _stage = stage,
  5347. _task = task,
  5348. _tool = tool;
  5349. var _jie = $$("div", {
  5350. "style": {
  5351. "position": "absolute",
  5352. "bottom": "50px",
  5353. "right": "50px",
  5354. "zIndex": "9999",
  5355. "backgroundColor": "#2268bc",
  5356. "color": "#fff",
  5357. "padding": "12px 20px",
  5358. "cursor": "pointer",
  5359. "borderRadius": "4px",
  5360. },
  5361. "innerHTML": "提交作业"
  5362. })
  5363. let aTool = ''
  5364. let _loading = document.createElement('div')
  5365. _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;"
  5366. // _loading.id = "";
  5367. let _lchild = document.createElement('div')
  5368. let _limg = document.createElement('img')
  5369. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5370. _limg.style = "width: 26px;margin-right: 10px;"
  5371. _lchild.appendChild(_limg)
  5372. let _lspan = document.createElement('span')
  5373. _lspan.innerHTML = "上传中..."
  5374. _lchild.appendChild(_lspan)
  5375. _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%);"
  5376. _loading.appendChild(_lchild)
  5377. var _box = $$('div', {
  5378. "style": {
  5379. "position": "relative",
  5380. "width": "100%",
  5381. "height": "100%",
  5382. },
  5383. })
  5384. _box.appendChild(_loading)
  5385. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5386. switch (str) {
  5387. case "whiteboard":
  5388. aTool = 1;
  5389. _iframe = $$("iframe", {
  5390. "frameborder": "no",
  5391. "border": "0",
  5392. "scrolling ": "no",
  5393. "style": {
  5394. "cssText": "border:0;width:100%;height:100%"
  5395. },
  5396. "src": "https://iwb.cocorobo.cn/"
  5397. })
  5398. _box.appendChild(_iframe);
  5399. _box.appendChild(_jie);
  5400. _formdiv = new U.UF.UI.form(
  5401. "电子白板",
  5402. _box, {
  5403. "id": "whiteboard" + cid + stage + task + tool,
  5404. "style": {
  5405. "width": "90%",
  5406. "height": "90%",
  5407. "overflow": 'hidden'
  5408. },
  5409. "onresize": function() {}
  5410. }, {
  5411. closecallback: function() {}
  5412. }, {
  5413. "style": {
  5414. "height": "36px"
  5415. }
  5416. }).form; //创建窗体
  5417. _taskbar = {
  5418. "id": str + _formdiv.id,
  5419. "style": {
  5420. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5421. },
  5422. "name": "电子白板",
  5423. "forms": _formdiv,
  5424. "click": function() {
  5425. U.MD.D.I.openApplication(str, obj, info);
  5426. }
  5427. }
  5428. break;
  5429. case "mind":
  5430. aTool = 3;
  5431. _iframe = $$("iframe", {
  5432. "frameborder": "no",
  5433. "border": "0",
  5434. "scrolling ": "no",
  5435. "style": {
  5436. "cssText": "border:0;width:100%;height:100%"
  5437. },
  5438. "src": "/kityminder-editor/dist/index.html"
  5439. })
  5440. _box.appendChild(_iframe);
  5441. _box.appendChild(_jie);
  5442. _formdiv = new U.UF.UI.form(
  5443. "思维导图",
  5444. _box, { //"/jsmind/example/demo.html"
  5445. "id": "mind" + cid + stage + task + tool,
  5446. "style": {
  5447. "width": "90%",
  5448. "height": "90%",
  5449. "overflow": 'hidden'
  5450. },
  5451. "onresize": function() {}
  5452. }, {
  5453. closecallback: function() {}
  5454. }, {
  5455. "style": {
  5456. "height": "36px"
  5457. }
  5458. }).form; //创建窗体
  5459. _taskbar = {
  5460. "id": str + _formdiv.id,
  5461. "style": {
  5462. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5463. },
  5464. "name": "思维导图",
  5465. "forms": _formdiv,
  5466. "click": function() {
  5467. U.MD.D.I.openApplication(str, obj, info);
  5468. }
  5469. }
  5470. break;
  5471. case "MindMap":
  5472. aTool = 3;
  5473. _iframe = $$("iframe", {
  5474. "frameborder": "no",
  5475. "border": "0",
  5476. "scrolling ": "no",
  5477. "style": {
  5478. "cssText": "border:0;width:100%;height:100%"
  5479. },
  5480. "src": "//cloud.cocorobo.cn/mind/"
  5481. })
  5482. _box.appendChild(_iframe);
  5483. _box.appendChild(_jie);
  5484. _formdiv = new U.UF.UI.form(
  5485. "思维导图",
  5486. _box, { //"/jsmind/example/demo.html"
  5487. "id": "mind" + cid + stage + task + tool,
  5488. "style": {
  5489. "width": "90%",
  5490. "height": "90%",
  5491. "overflow": 'hidden'
  5492. },
  5493. "onresize": function() {}
  5494. }, {
  5495. closecallback: function() {}
  5496. }, {
  5497. "style": {
  5498. "height": "36px"
  5499. }
  5500. }).form; //创建窗体
  5501. _taskbar = {
  5502. "id": str + _formdiv.id,
  5503. "style": {
  5504. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5505. },
  5506. "name": "思维导图",
  5507. "forms": _formdiv,
  5508. "click": function() {
  5509. U.MD.D.I.openApplication(str, obj, info);
  5510. }
  5511. }
  5512. break;
  5513. case "doc":
  5514. aTool = 6;
  5515. _iframe = $$("iframe", {
  5516. "frameborder": "no",
  5517. "border": "0",
  5518. "scrolling ": "no",
  5519. "style": {
  5520. "cssText": "border:0;width:100%;height:100%"
  5521. },
  5522. "src": "/Office/Word/WordEditArea.htm"
  5523. })
  5524. _box.appendChild(_iframe);
  5525. _box.appendChild(_jie);
  5526. _formdiv = new U.UF.UI.form(
  5527. "协同文档",
  5528. _box, {
  5529. "id": "doc" + cid + stage + task + tool,
  5530. "style": {
  5531. "width": "90%",
  5532. "height": "90%",
  5533. "overflow": 'hidden'
  5534. },
  5535. "onresize": function() {}
  5536. }, {
  5537. closecallback: function() {}
  5538. }, {
  5539. "style": {
  5540. "height": "36px"
  5541. }
  5542. }).form; //创建窗体
  5543. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5544. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5545. })
  5546. _taskbar = {
  5547. "id": str + _formdiv.id,
  5548. "style": {
  5549. "backgroundImage": "url(/img/icon/doc.png)"
  5550. },
  5551. "name": "协同文档",
  5552. "forms": _formdiv,
  5553. "click": function() {
  5554. U.MD.D.I.openApplication(str, obj, info);
  5555. }
  5556. }
  5557. break;
  5558. case "mindNetwork": //好友打开
  5559. aTool = 7;
  5560. _iframe = $$("iframe", {
  5561. "webkitallowfullscreen": "",
  5562. "mozallowfullscreen": "",
  5563. "allowfullscreen": "",
  5564. "frameborder": "no",
  5565. "border": "0",
  5566. "scrolling ": "no",
  5567. "style": {
  5568. "cssText": "border:0; width:100%; height:100%;"
  5569. },
  5570. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5571. })
  5572. _box.appendChild(_iframe);
  5573. _box.appendChild(_jie);
  5574. _formdiv = new U.UF.UI.form(
  5575. "思维网格",
  5576. _box, {
  5577. "id": "mindNetwork" + cid + stage + task + tool,
  5578. "style": {
  5579. "width": "90%",
  5580. "height": "90%",
  5581. "overflow": 'hidden'
  5582. },
  5583. "onresize": function() {}
  5584. }, {
  5585. closecallback: function() {}
  5586. }, {
  5587. "style": {
  5588. "height": "36px"
  5589. }
  5590. }).form; //创建窗体
  5591. _taskbar = {
  5592. "id": str + _formdiv.id,
  5593. "style": {
  5594. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5595. },
  5596. "name": "思维网格",
  5597. "forms": _formdiv,
  5598. "click": function() {
  5599. U.MD.D.I.openApplication(str, obj, info);
  5600. }
  5601. }
  5602. break;
  5603. case "courseDesign":
  5604. _iframe = $$("iframe", {
  5605. "webkitallowfullscreen": "",
  5606. "mozallowfullscreen": "",
  5607. "allowfullscreen": "",
  5608. "frameborder": "no",
  5609. "border": "0",
  5610. "scrolling ": "no",
  5611. "style": {
  5612. "cssText": "border:0; width:100%; height:100%;"
  5613. },
  5614. "src": "/course-design-vue"
  5615. })
  5616. _box.appendChild(_iframe);
  5617. _box.appendChild(_jie);
  5618. _formdiv = new U.UF.UI.form(
  5619. "项目设计",
  5620. _box, {
  5621. "id": "courseDesign" + cid + stage + task + tool,
  5622. "style": {
  5623. "width": "90%",
  5624. "height": "90%",
  5625. "overflow": 'hidden'
  5626. },
  5627. "onresize": function() {}
  5628. }, {
  5629. closecallback: function() {}
  5630. }, {
  5631. "style": {
  5632. "height": "36px"
  5633. }
  5634. }).form; //创建窗体
  5635. _taskbar = {
  5636. "id": str + _formdiv.id,
  5637. "style": {
  5638. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5639. },
  5640. "name": "项目设计",
  5641. "forms": _formdiv,
  5642. "click": function() {
  5643. U.MD.D.I.openApplication(str, obj, info);
  5644. }
  5645. }
  5646. break;
  5647. }
  5648. const script1 = document.createElement("script");
  5649. script1.type = "text/javascript";
  5650. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5651. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5652. const script2 = document.createElement("script");
  5653. script2.type = "text/javascript";
  5654. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5655. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5656. const script3 = document.createElement("script");
  5657. script3.type = "text/javascript";
  5658. script3.charset = "UTF-8";
  5659. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5660. const script4 = document.createElement("script");
  5661. script4.type = "text/javascript";
  5662. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5663. script4.src = window.origin + "/js/Common/jietu2E.js";
  5664. if (_iframe) {
  5665. if (str == 'doc') {
  5666. _iframe = _formdiv.querySelector('iframe')
  5667. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5668. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5669. _iframe.contentWindow.document.body.appendChild(script1);
  5670. _iframe.contentWindow.document.body.appendChild(script2);
  5671. // _iframe.contentWindow.document.body.appendChild(script3);
  5672. _iframe.contentWindow.document.body.appendChild(script4);
  5673. })
  5674. if (onloadListener) {
  5675. _iframe.contentDocument.location.reload()
  5676. } else {
  5677. _iframe.contentDocument.location.reload()
  5678. }
  5679. } else if (str == 'courseDesign') {
  5680. U.UF.DL.iframeLoad(_iframe, function() {
  5681. // _iframe.contentWindow.U.MD.O.W.load();
  5682. // _iframe.contentWindow.document.body.appendChild(script1);
  5683. _iframe.contentWindow.document.body.appendChild(script2);
  5684. _iframe.contentWindow.document.body.appendChild(script4);
  5685. })
  5686. } else if (str == 'mind') {
  5687. _iframe = _formdiv.querySelector('iframe')
  5688. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5689. //
  5690. _iframe.contentWindow.document.body.appendChild(script1);
  5691. _iframe.contentWindow.document.body.appendChild(script2);
  5692. _iframe.contentWindow.document.body.appendChild(script4);
  5693. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5694. })
  5695. if (onloadListener) {
  5696. _iframe.contentDocument.location.reload()
  5697. } else {
  5698. _iframe.contentDocument.location.reload()
  5699. }
  5700. } else if (str == 'whiteboard') {
  5701. _iframe = _formdiv.querySelector('iframe')
  5702. let onloadListener = _iframe.onload = () => {
  5703. _iframe.contentWindow.document.body.appendChild(script1);
  5704. _iframe.contentWindow.document.body.appendChild(script2);
  5705. _iframe.contentWindow.document.body.appendChild(script4);
  5706. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5707. };
  5708. if (onloadListener) {
  5709. _iframe.contentDocument.location.reload()
  5710. } else {
  5711. _iframe.contentDocument.location.reload()
  5712. }
  5713. } else {
  5714. _iframe.onload = () => {
  5715. _iframe.contentWindow.document.body.appendChild(script1);
  5716. _iframe.contentWindow.document.body.appendChild(script2);
  5717. // _iframe.contentWindow.document.body.appendChild(script3);
  5718. _iframe.contentWindow.document.body.appendChild(script4);
  5719. };
  5720. }
  5721. _jie.onclick = async() => {
  5722. let text = ''
  5723. if (aTool == 1) {
  5724. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5725. } else if (aTool == 6) {
  5726. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5727. } else if (aTool == 3) {
  5728. text = await U.MD.D.I.getEditorContent(_iframe);
  5729. }
  5730. _loading.style.display = 'flex'
  5731. console.log(_loading);
  5732. var _ajs = _iframe.contentWindow.document.createElement("script");
  5733. _ajs.type = "text/javascript";
  5734. _ajs.innerHTML =
  5735. // 'console.log(' + _loading + ');\n' +
  5736. 'var _js = document.createElement("script");\n' +
  5737. '_js.type="text/javascript";\n' +
  5738. '_js.charset="UTF-8";\n' +
  5739. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5740. "_js.onload = function(){\n" +
  5741. ' var a = document.getElementsByTagName("img")\n' +
  5742. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5743. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5744. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5745. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5746. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5747. "beforeUpload_shishi(file," +
  5748. "'" +
  5749. _userid +
  5750. "'" +
  5751. ", " +
  5752. "'" +
  5753. _cid +
  5754. "'" +
  5755. ", " +
  5756. "'" +
  5757. _stage +
  5758. "'" +
  5759. ", " +
  5760. "'" +
  5761. _task +
  5762. "'" +
  5763. ", " +
  5764. "'" +
  5765. _tool +
  5766. "'" +
  5767. ", " +
  5768. "'" +
  5769. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5770. "'" +
  5771. ", " +
  5772. "'" +
  5773. aTool +
  5774. "'" +
  5775. ", " +
  5776. "`" +
  5777. text +
  5778. "`" +
  5779. ")\n" +
  5780. " });\n" +
  5781. "}\n" +
  5782. "document.head.appendChild(_js);\n";
  5783. _iframe.contentWindow.document.head.appendChild(_ajs);
  5784. }
  5785. }
  5786. //U.MD.D.I.openClick(str);
  5787. //如果有任务栏信息
  5788. // if (_taskbar) {
  5789. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5790. // }
  5791. }
  5792. U.MD.D.I.openApplicationJieTeacher = function(str, cid, stage, task, tool, student) {
  5793. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5794. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5795. _userid = student.userid, //登录用户id
  5796. _username = student.student //用户名字
  5797. let _iframe;
  5798. let _cid = cid,
  5799. _stage = stage,
  5800. _task = task,
  5801. _tool = tool;
  5802. var _jie = $$("div", {
  5803. "style": {
  5804. "position": "absolute",
  5805. "bottom": "50px",
  5806. "right": "50px",
  5807. "zIndex": "9999",
  5808. "backgroundColor": "#2268bc",
  5809. "color": "#fff",
  5810. "padding": "12px 20px",
  5811. "cursor": "pointer",
  5812. "borderRadius": "4px",
  5813. },
  5814. "innerHTML": "提交作业"
  5815. })
  5816. let aTool = ''
  5817. let _loading = document.createElement('div')
  5818. _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;"
  5819. // _loading.id = "";
  5820. let _lchild = document.createElement('div')
  5821. let _limg = document.createElement('img')
  5822. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5823. _limg.style = "width: 26px;margin-right: 10px;"
  5824. _lchild.appendChild(_limg)
  5825. let _lspan = document.createElement('span')
  5826. _lspan.innerHTML = "上传中..."
  5827. _lchild.appendChild(_lspan)
  5828. _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%);"
  5829. _loading.appendChild(_lchild)
  5830. var _box = $$('div', {
  5831. "style": {
  5832. "position": "relative",
  5833. "width": "100%",
  5834. "height": "100%",
  5835. },
  5836. })
  5837. _box.appendChild(_loading)
  5838. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5839. switch (str) {
  5840. case "whiteboard":
  5841. aTool = 1;
  5842. _iframe = $$("iframe", {
  5843. "frameborder": "no",
  5844. "border": "0",
  5845. "scrolling ": "no",
  5846. "style": {
  5847. "cssText": "border:0;width:100%;height:100%"
  5848. },
  5849. "src": "https://iwb.cocorobo.cn/"
  5850. })
  5851. _box.appendChild(_iframe);
  5852. _box.appendChild(_jie);
  5853. _formdiv = new U.UF.UI.form(
  5854. "电子白板-" + _username,
  5855. _box, {
  5856. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5857. "style": {
  5858. "width": "90%",
  5859. "height": "90%",
  5860. "overflow": 'hidden'
  5861. },
  5862. "onresize": function() {}
  5863. }, {
  5864. closecallback: function() {}
  5865. }, {
  5866. "style": {
  5867. "height": "36px"
  5868. }
  5869. }).form; //创建窗体
  5870. _taskbar = {
  5871. "id": str + _formdiv.id,
  5872. "style": {
  5873. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5874. },
  5875. "name": "电子白板",
  5876. "forms": _formdiv,
  5877. "click": function() {
  5878. U.MD.D.I.openApplication(str, obj, info);
  5879. }
  5880. }
  5881. break;
  5882. case "mind":
  5883. aTool = 3;
  5884. _iframe = $$("iframe", {
  5885. "frameborder": "no",
  5886. "border": "0",
  5887. "scrolling ": "no",
  5888. "style": {
  5889. "cssText": "border:0;width:100%;height:100%"
  5890. },
  5891. "src": "/kityminder-editor/dist/index.html"
  5892. })
  5893. _box.appendChild(_iframe);
  5894. _box.appendChild(_jie);
  5895. _formdiv = new U.UF.UI.form(
  5896. "思维导图-" + _username,
  5897. _box, { //"/jsmind/example/demo.html"
  5898. "id": "mind" + cid + stage + task + tool + _userid,
  5899. "style": {
  5900. "width": "90%",
  5901. "height": "90%",
  5902. "overflow": 'hidden'
  5903. },
  5904. "onresize": function() {}
  5905. }, {
  5906. closecallback: function() {}
  5907. }, {
  5908. "style": {
  5909. "height": "36px"
  5910. }
  5911. }).form; //创建窗体
  5912. _taskbar = {
  5913. "id": str + _formdiv.id,
  5914. "style": {
  5915. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5916. },
  5917. "name": "思维导图",
  5918. "forms": _formdiv,
  5919. "click": function() {
  5920. U.MD.D.I.openApplication(str, obj, info);
  5921. }
  5922. }
  5923. break;
  5924. case "MindMap":
  5925. aTool = 3;
  5926. _iframe = $$("iframe", {
  5927. "frameborder": "no",
  5928. "border": "0",
  5929. "scrolling ": "no",
  5930. "style": {
  5931. "cssText": "border:0;width:100%;height:100%"
  5932. },
  5933. "src": "//cloud.cocorobo.cn/mind/"
  5934. })
  5935. _box.appendChild(_iframe);
  5936. _box.appendChild(_jie);
  5937. _formdiv = new U.UF.UI.form(
  5938. "思维导图-" + _username,
  5939. _box, { //"/jsmind/example/demo.html"
  5940. "id": "mind" + cid + stage + task + tool + _userid,
  5941. "style": {
  5942. "width": "90%",
  5943. "height": "90%",
  5944. "overflow": 'hidden'
  5945. },
  5946. "onresize": function() {}
  5947. }, {
  5948. closecallback: function() {}
  5949. }, {
  5950. "style": {
  5951. "height": "36px"
  5952. }
  5953. }).form; //创建窗体
  5954. _taskbar = {
  5955. "id": str + _formdiv.id,
  5956. "style": {
  5957. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5958. },
  5959. "name": "思维导图",
  5960. "forms": _formdiv,
  5961. "click": function() {
  5962. U.MD.D.I.openApplication(str, obj, info);
  5963. }
  5964. }
  5965. break;
  5966. case "doc":
  5967. aTool = 6;
  5968. _iframe = $$("iframe", {
  5969. "frameborder": "no",
  5970. "border": "0",
  5971. "scrolling ": "no",
  5972. "style": {
  5973. "cssText": "border:0;width:100%;height:100%"
  5974. },
  5975. "src": "/Office/Word/WordEditArea.htm"
  5976. })
  5977. _box.appendChild(_iframe);
  5978. _box.appendChild(_jie);
  5979. _formdiv = new U.UF.UI.form(
  5980. "协同文档-" + _username,
  5981. _box, {
  5982. "id": "doc" + cid + stage + task + tool + _userid,
  5983. "style": {
  5984. "width": "90%",
  5985. "height": "90%",
  5986. "overflow": 'hidden'
  5987. },
  5988. "onresize": function() {}
  5989. }, {
  5990. closecallback: function() {}
  5991. }, {
  5992. "style": {
  5993. "height": "36px"
  5994. }
  5995. }).form; //创建窗体
  5996. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5997. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5998. })
  5999. _taskbar = {
  6000. "id": str + _formdiv.id,
  6001. "style": {
  6002. "backgroundImage": "url(/img/icon/doc.png)"
  6003. },
  6004. "name": "协同文档",
  6005. "forms": _formdiv,
  6006. "click": function() {
  6007. U.MD.D.I.openApplication(str, obj, info);
  6008. }
  6009. }
  6010. break;
  6011. case "mindNetwork": //好友打开
  6012. aTool = 7;
  6013. _iframe = $$("iframe", {
  6014. "webkitallowfullscreen": "",
  6015. "mozallowfullscreen": "",
  6016. "allowfullscreen": "",
  6017. "frameborder": "no",
  6018. "border": "0",
  6019. "scrolling ": "no",
  6020. "style": {
  6021. "cssText": "border:0; width:100%; height:100%;"
  6022. },
  6023. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6024. })
  6025. _box.appendChild(_iframe);
  6026. _box.appendChild(_jie);
  6027. _formdiv = new U.UF.UI.form(
  6028. "思维网格-" + _username,
  6029. _box, {
  6030. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6031. "style": {
  6032. "width": "90%",
  6033. "height": "90%",
  6034. "overflow": 'hidden'
  6035. },
  6036. "onresize": function() {}
  6037. }, {
  6038. closecallback: function() {}
  6039. }, {
  6040. "style": {
  6041. "height": "36px"
  6042. }
  6043. }).form; //创建窗体
  6044. _taskbar = {
  6045. "id": str + _formdiv.id,
  6046. "style": {
  6047. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6048. },
  6049. "name": "思维网格",
  6050. "forms": _formdiv,
  6051. "click": function() {
  6052. U.MD.D.I.openApplication(str, obj, info);
  6053. }
  6054. }
  6055. break;
  6056. case "courseDesign":
  6057. _iframe = $$("iframe", {
  6058. "webkitallowfullscreen": "",
  6059. "mozallowfullscreen": "",
  6060. "allowfullscreen": "",
  6061. "frameborder": "no",
  6062. "border": "0",
  6063. "scrolling ": "no",
  6064. "style": {
  6065. "cssText": "border:0; width:100%; height:100%;"
  6066. },
  6067. "src": "/course-design-vue"
  6068. })
  6069. _box.appendChild(_iframe);
  6070. _box.appendChild(_jie);
  6071. _formdiv = new U.UF.UI.form(
  6072. "项目设计-" + _username,
  6073. _box, {
  6074. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6075. "style": {
  6076. "width": "90%",
  6077. "height": "90%",
  6078. "overflow": 'hidden'
  6079. },
  6080. "onresize": function() {}
  6081. }, {
  6082. closecallback: function() {}
  6083. }, {
  6084. "style": {
  6085. "height": "36px"
  6086. }
  6087. }).form; //创建窗体
  6088. _taskbar = {
  6089. "id": str + _formdiv.id,
  6090. "style": {
  6091. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6092. },
  6093. "name": "项目设计",
  6094. "forms": _formdiv,
  6095. "click": function() {
  6096. U.MD.D.I.openApplication(str, obj, info);
  6097. }
  6098. }
  6099. break;
  6100. }
  6101. const script1 = document.createElement("script");
  6102. script1.type = "text/javascript";
  6103. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6104. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6105. const script2 = document.createElement("script");
  6106. script2.type = "text/javascript";
  6107. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6108. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6109. const script3 = document.createElement("script");
  6110. script3.type = "text/javascript";
  6111. script3.charset = "UTF-8";
  6112. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6113. const script4 = document.createElement("script");
  6114. script4.type = "text/javascript";
  6115. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6116. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6117. if (_iframe) {
  6118. if (str == 'doc') {
  6119. _iframe = _formdiv.querySelector('iframe')
  6120. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6121. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6122. _iframe.contentWindow.document.body.appendChild(script1);
  6123. _iframe.contentWindow.document.body.appendChild(script2);
  6124. // _iframe.contentWindow.document.body.appendChild(script3);
  6125. _iframe.contentWindow.document.body.appendChild(script4);
  6126. })
  6127. if (onloadListener) {
  6128. _iframe.contentDocument.location.reload()
  6129. } else {
  6130. _iframe.contentDocument.location.reload()
  6131. }
  6132. } else if (str == 'courseDesign') {
  6133. U.UF.DL.iframeLoad(_iframe, function() {
  6134. // _iframe.contentWindow.U.MD.O.W.load();
  6135. // _iframe.contentWindow.document.body.appendChild(script1);
  6136. _iframe.contentWindow.document.body.appendChild(script2);
  6137. _iframe.contentWindow.document.body.appendChild(script4);
  6138. })
  6139. } else if (str == 'mind') {
  6140. _iframe = _formdiv.querySelector('iframe')
  6141. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6142. //
  6143. _iframe.contentWindow.document.body.appendChild(script1);
  6144. _iframe.contentWindow.document.body.appendChild(script2);
  6145. _iframe.contentWindow.document.body.appendChild(script4);
  6146. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6147. })
  6148. if (onloadListener) {
  6149. _iframe.contentDocument.location.reload()
  6150. } else {
  6151. _iframe.contentDocument.location.reload()
  6152. }
  6153. } else if (str == 'whiteboard') {
  6154. _iframe = _formdiv.querySelector('iframe')
  6155. let onloadListener = _iframe.onload = () => {
  6156. _iframe.contentWindow.document.body.appendChild(script1);
  6157. _iframe.contentWindow.document.body.appendChild(script2);
  6158. _iframe.contentWindow.document.body.appendChild(script4);
  6159. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6160. };
  6161. if (onloadListener) {
  6162. _iframe.contentDocument.location.reload()
  6163. } else {
  6164. _iframe.contentDocument.location.reload()
  6165. }
  6166. } else {
  6167. _iframe.onload = () => {
  6168. _iframe.contentWindow.document.body.appendChild(script1);
  6169. _iframe.contentWindow.document.body.appendChild(script2);
  6170. // _iframe.contentWindow.document.body.appendChild(script3);
  6171. _iframe.contentWindow.document.body.appendChild(script4);
  6172. };
  6173. }
  6174. _jie.onclick = async() => {
  6175. let text = ''
  6176. if (aTool == 1) {
  6177. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6178. } else if (aTool == 6) {
  6179. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6180. } else if (aTool == 3) {
  6181. text = await U.MD.D.I.getEditorContent(_iframe);
  6182. }
  6183. _loading.style.display = 'flex'
  6184. console.log(_loading);
  6185. var _ajs = _iframe.contentWindow.document.createElement("script");
  6186. _ajs.type = "text/javascript";
  6187. _ajs.innerHTML =
  6188. // 'console.log(' + _loading + ');\n' +
  6189. 'var _js = document.createElement("script");\n' +
  6190. '_js.type="text/javascript";\n' +
  6191. '_js.charset="UTF-8";\n' +
  6192. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6193. "_js.onload = function(){\n" +
  6194. ' var a = document.getElementsByTagName("img")\n' +
  6195. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6196. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6197. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6198. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6199. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6200. "beforeUpload_shishi(file," +
  6201. "'" +
  6202. _userid +
  6203. "'" +
  6204. ", " +
  6205. "'" +
  6206. _cid +
  6207. "'" +
  6208. ", " +
  6209. "'" +
  6210. _stage +
  6211. "'" +
  6212. ", " +
  6213. "'" +
  6214. _task +
  6215. "'" +
  6216. ", " +
  6217. "'" +
  6218. _tool +
  6219. "'" +
  6220. ", " +
  6221. "'" +
  6222. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6223. "'" +
  6224. ", " +
  6225. "'" +
  6226. aTool +
  6227. "'" +
  6228. ", " +
  6229. "`" +
  6230. text +
  6231. "`" +
  6232. ")\n" +
  6233. " });\n" +
  6234. "}\n" +
  6235. "document.head.appendChild(_js);\n";
  6236. _iframe.contentWindow.document.head.appendChild(_ajs);
  6237. }
  6238. }
  6239. }
  6240. U.MD.D.I.openApplicationJieTeacherE = function(str, cid, stage, task, tool, student) {
  6241. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6242. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6243. _userid = student.userid, //登录用户id
  6244. _username = student.student //用户名字
  6245. let _iframe;
  6246. let _cid = cid,
  6247. _stage = stage,
  6248. _task = task,
  6249. _tool = tool;
  6250. var _jie = $$("div", {
  6251. "style": {
  6252. "position": "absolute",
  6253. "bottom": "50px",
  6254. "right": "50px",
  6255. "zIndex": "9999",
  6256. "backgroundColor": "#2268bc",
  6257. "color": "#fff",
  6258. "padding": "12px 20px",
  6259. "cursor": "pointer",
  6260. "borderRadius": "4px",
  6261. },
  6262. "innerHTML": "提交作业"
  6263. })
  6264. let aTool = ''
  6265. let _loading = document.createElement('div')
  6266. _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;"
  6267. // _loading.id = "";
  6268. let _lchild = document.createElement('div')
  6269. let _limg = document.createElement('img')
  6270. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6271. _limg.style = "width: 26px;margin-right: 10px;"
  6272. _lchild.appendChild(_limg)
  6273. let _lspan = document.createElement('span')
  6274. _lspan.innerHTML = "上传中..."
  6275. _lchild.appendChild(_lspan)
  6276. _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%);"
  6277. _loading.appendChild(_lchild)
  6278. var _box = $$('div', {
  6279. "style": {
  6280. "position": "relative",
  6281. "width": "100%",
  6282. "height": "100%",
  6283. },
  6284. })
  6285. _box.appendChild(_loading)
  6286. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6287. switch (str) {
  6288. case "whiteboard":
  6289. aTool = 1;
  6290. _iframe = $$("iframe", {
  6291. "frameborder": "no",
  6292. "border": "0",
  6293. "scrolling ": "no",
  6294. "style": {
  6295. "cssText": "border:0;width:100%;height:100%"
  6296. },
  6297. "src": "https://iwb.cocorobo.cn/"
  6298. })
  6299. _box.appendChild(_iframe);
  6300. _box.appendChild(_jie);
  6301. _formdiv = new U.UF.UI.form(
  6302. "电子白板-" + _username,
  6303. _box, {
  6304. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6305. "style": {
  6306. "width": "90%",
  6307. "height": "90%",
  6308. "overflow": 'hidden'
  6309. },
  6310. "onresize": function() {}
  6311. }, {
  6312. closecallback: function() {}
  6313. }, {
  6314. "style": {
  6315. "height": "36px"
  6316. }
  6317. }).form; //创建窗体
  6318. _taskbar = {
  6319. "id": str + _formdiv.id,
  6320. "style": {
  6321. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6322. },
  6323. "name": "电子白板",
  6324. "forms": _formdiv,
  6325. "click": function() {
  6326. U.MD.D.I.openApplication(str, obj, info);
  6327. }
  6328. }
  6329. break;
  6330. case "mind":
  6331. aTool = 3;
  6332. _iframe = $$("iframe", {
  6333. "frameborder": "no",
  6334. "border": "0",
  6335. "scrolling ": "no",
  6336. "style": {
  6337. "cssText": "border:0;width:100%;height:100%"
  6338. },
  6339. "src": "/kityminder-editor/dist/index.html"
  6340. })
  6341. _box.appendChild(_iframe);
  6342. _box.appendChild(_jie);
  6343. _formdiv = new U.UF.UI.form(
  6344. "思维导图-" + _username,
  6345. _box, { //"/jsmind/example/demo.html"
  6346. "id": "mind" + cid + stage + task + tool + _userid,
  6347. "style": {
  6348. "width": "90%",
  6349. "height": "90%",
  6350. "overflow": 'hidden'
  6351. },
  6352. "onresize": function() {}
  6353. }, {
  6354. closecallback: function() {}
  6355. }, {
  6356. "style": {
  6357. "height": "36px"
  6358. }
  6359. }).form; //创建窗体
  6360. _taskbar = {
  6361. "id": str + _formdiv.id,
  6362. "style": {
  6363. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6364. },
  6365. "name": "思维导图",
  6366. "forms": _formdiv,
  6367. "click": function() {
  6368. U.MD.D.I.openApplication(str, obj, info);
  6369. }
  6370. }
  6371. break;
  6372. case "MindMap":
  6373. aTool = 3;
  6374. _iframe = $$("iframe", {
  6375. "frameborder": "no",
  6376. "border": "0",
  6377. "scrolling ": "no",
  6378. "style": {
  6379. "cssText": "border:0;width:100%;height:100%"
  6380. },
  6381. "src": "//cloud.cocorobo.cn/mind/"
  6382. })
  6383. _box.appendChild(_iframe);
  6384. _box.appendChild(_jie);
  6385. _formdiv = new U.UF.UI.form(
  6386. "思维导图-" + _username,
  6387. _box, { //"/jsmind/example/demo.html"
  6388. "id": "mind" + cid + stage + task + tool + _userid,
  6389. "style": {
  6390. "width": "90%",
  6391. "height": "90%",
  6392. "overflow": 'hidden'
  6393. },
  6394. "onresize": function() {}
  6395. }, {
  6396. closecallback: function() {}
  6397. }, {
  6398. "style": {
  6399. "height": "36px"
  6400. }
  6401. }).form; //创建窗体
  6402. _taskbar = {
  6403. "id": str + _formdiv.id,
  6404. "style": {
  6405. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6406. },
  6407. "name": "思维导图",
  6408. "forms": _formdiv,
  6409. "click": function() {
  6410. U.MD.D.I.openApplication(str, obj, info);
  6411. }
  6412. }
  6413. break;
  6414. case "doc":
  6415. aTool = 6;
  6416. _iframe = $$("iframe", {
  6417. "frameborder": "no",
  6418. "border": "0",
  6419. "scrolling ": "no",
  6420. "style": {
  6421. "cssText": "border:0;width:100%;height:100%"
  6422. },
  6423. "src": "/Office/Word/WordEditArea.htm"
  6424. })
  6425. _box.appendChild(_iframe);
  6426. _box.appendChild(_jie);
  6427. _formdiv = new U.UF.UI.form(
  6428. "协同文档-" + _username,
  6429. _box, {
  6430. "id": "doc" + cid + stage + task + tool + _userid,
  6431. "style": {
  6432. "width": "90%",
  6433. "height": "90%",
  6434. "overflow": 'hidden'
  6435. },
  6436. "onresize": function() {}
  6437. }, {
  6438. closecallback: function() {}
  6439. }, {
  6440. "style": {
  6441. "height": "36px"
  6442. }
  6443. }).form; //创建窗体
  6444. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6445. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6446. })
  6447. _taskbar = {
  6448. "id": str + _formdiv.id,
  6449. "style": {
  6450. "backgroundImage": "url(/img/icon/doc.png)"
  6451. },
  6452. "name": "协同文档",
  6453. "forms": _formdiv,
  6454. "click": function() {
  6455. U.MD.D.I.openApplication(str, obj, info);
  6456. }
  6457. }
  6458. break;
  6459. case "mindNetwork": //好友打开
  6460. aTool = 7;
  6461. _iframe = $$("iframe", {
  6462. "webkitallowfullscreen": "",
  6463. "mozallowfullscreen": "",
  6464. "allowfullscreen": "",
  6465. "frameborder": "no",
  6466. "border": "0",
  6467. "scrolling ": "no",
  6468. "style": {
  6469. "cssText": "border:0; width:100%; height:100%;"
  6470. },
  6471. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6472. })
  6473. _box.appendChild(_iframe);
  6474. _box.appendChild(_jie);
  6475. _formdiv = new U.UF.UI.form(
  6476. "思维网格-" + _username,
  6477. _box, {
  6478. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6479. "style": {
  6480. "width": "90%",
  6481. "height": "90%",
  6482. "overflow": 'hidden'
  6483. },
  6484. "onresize": function() {}
  6485. }, {
  6486. closecallback: function() {}
  6487. }, {
  6488. "style": {
  6489. "height": "36px"
  6490. }
  6491. }).form; //创建窗体
  6492. _taskbar = {
  6493. "id": str + _formdiv.id,
  6494. "style": {
  6495. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6496. },
  6497. "name": "思维网格",
  6498. "forms": _formdiv,
  6499. "click": function() {
  6500. U.MD.D.I.openApplication(str, obj, info);
  6501. }
  6502. }
  6503. break;
  6504. case "courseDesign":
  6505. _iframe = $$("iframe", {
  6506. "webkitallowfullscreen": "",
  6507. "mozallowfullscreen": "",
  6508. "allowfullscreen": "",
  6509. "frameborder": "no",
  6510. "border": "0",
  6511. "scrolling ": "no",
  6512. "style": {
  6513. "cssText": "border:0; width:100%; height:100%;"
  6514. },
  6515. "src": "/course-design-vue"
  6516. })
  6517. _box.appendChild(_iframe);
  6518. _box.appendChild(_jie);
  6519. _formdiv = new U.UF.UI.form(
  6520. "项目设计-" + _username,
  6521. _box, {
  6522. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6523. "style": {
  6524. "width": "90%",
  6525. "height": "90%",
  6526. "overflow": 'hidden'
  6527. },
  6528. "onresize": function() {}
  6529. }, {
  6530. closecallback: function() {}
  6531. }, {
  6532. "style": {
  6533. "height": "36px"
  6534. }
  6535. }).form; //创建窗体
  6536. _taskbar = {
  6537. "id": str + _formdiv.id,
  6538. "style": {
  6539. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6540. },
  6541. "name": "项目设计",
  6542. "forms": _formdiv,
  6543. "click": function() {
  6544. U.MD.D.I.openApplication(str, obj, info);
  6545. }
  6546. }
  6547. break;
  6548. }
  6549. const script1 = document.createElement("script");
  6550. script1.type = "text/javascript";
  6551. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6552. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6553. const script2 = document.createElement("script");
  6554. script2.type = "text/javascript";
  6555. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6556. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6557. const script3 = document.createElement("script");
  6558. script3.type = "text/javascript";
  6559. script3.charset = "UTF-8";
  6560. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6561. const script4 = document.createElement("script");
  6562. script4.type = "text/javascript";
  6563. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6564. script4.src = window.origin + "/js/Common/jietu2E.js";
  6565. if (_iframe) {
  6566. if (str == 'doc') {
  6567. _iframe = _formdiv.querySelector('iframe')
  6568. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6569. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6570. _iframe.contentWindow.document.body.appendChild(script1);
  6571. _iframe.contentWindow.document.body.appendChild(script2);
  6572. // _iframe.contentWindow.document.body.appendChild(script3);
  6573. _iframe.contentWindow.document.body.appendChild(script4);
  6574. })
  6575. if (onloadListener) {
  6576. _iframe.contentDocument.location.reload()
  6577. } else {
  6578. _iframe.contentDocument.location.reload()
  6579. }
  6580. } else if (str == 'courseDesign') {
  6581. U.UF.DL.iframeLoad(_iframe, function() {
  6582. // _iframe.contentWindow.U.MD.O.W.load();
  6583. // _iframe.contentWindow.document.body.appendChild(script1);
  6584. _iframe.contentWindow.document.body.appendChild(script2);
  6585. _iframe.contentWindow.document.body.appendChild(script4);
  6586. })
  6587. } else if (str == 'mind') {
  6588. _iframe = _formdiv.querySelector('iframe')
  6589. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6590. //
  6591. _iframe.contentWindow.document.body.appendChild(script1);
  6592. _iframe.contentWindow.document.body.appendChild(script2);
  6593. _iframe.contentWindow.document.body.appendChild(script4);
  6594. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6595. })
  6596. if (onloadListener) {
  6597. _iframe.contentDocument.location.reload()
  6598. } else {
  6599. _iframe.contentDocument.location.reload()
  6600. }
  6601. } else if (str == 'whiteboard') {
  6602. _iframe = _formdiv.querySelector('iframe')
  6603. let onloadListener = _iframe.onload = () => {
  6604. _iframe.contentWindow.document.body.appendChild(script1);
  6605. _iframe.contentWindow.document.body.appendChild(script2);
  6606. _iframe.contentWindow.document.body.appendChild(script4);
  6607. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6608. };
  6609. if (onloadListener) {
  6610. _iframe.contentDocument.location.reload()
  6611. } else {
  6612. _iframe.contentDocument.location.reload()
  6613. }
  6614. } else {
  6615. _iframe.onload = () => {
  6616. _iframe.contentWindow.document.body.appendChild(script1);
  6617. _iframe.contentWindow.document.body.appendChild(script2);
  6618. // _iframe.contentWindow.document.body.appendChild(script3);
  6619. _iframe.contentWindow.document.body.appendChild(script4);
  6620. };
  6621. }
  6622. _jie.onclick = async() => {
  6623. let text = ''
  6624. if (aTool == 1) {
  6625. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6626. } else if (aTool == 6) {
  6627. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6628. } else if (aTool == 3) {
  6629. text = await U.MD.D.I.getEditorContent(_iframe);
  6630. }
  6631. _loading.style.display = 'flex'
  6632. console.log(_loading);
  6633. var _ajs = _iframe.contentWindow.document.createElement("script");
  6634. _ajs.type = "text/javascript";
  6635. _ajs.innerHTML =
  6636. // 'console.log(' + _loading + ');\n' +
  6637. 'var _js = document.createElement("script");\n' +
  6638. '_js.type="text/javascript";\n' +
  6639. '_js.charset="UTF-8";\n' +
  6640. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6641. "_js.onload = function(){\n" +
  6642. ' var a = document.getElementsByTagName("img")\n' +
  6643. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6644. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6645. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6646. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6647. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6648. "beforeUpload_shishi(file," +
  6649. "'" +
  6650. _userid +
  6651. "'" +
  6652. ", " +
  6653. "'" +
  6654. _cid +
  6655. "'" +
  6656. ", " +
  6657. "'" +
  6658. _stage +
  6659. "'" +
  6660. ", " +
  6661. "'" +
  6662. _task +
  6663. "'" +
  6664. ", " +
  6665. "'" +
  6666. _tool +
  6667. "'" +
  6668. ", " +
  6669. "'" +
  6670. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6671. "'" +
  6672. ", " +
  6673. "'" +
  6674. aTool +
  6675. "'" +
  6676. ", " +
  6677. "`" +
  6678. text +
  6679. "`" +
  6680. ")\n" +
  6681. " });\n" +
  6682. "}\n" +
  6683. "document.head.appendChild(_js);\n";
  6684. _iframe.contentWindow.document.head.appendChild(_ajs);
  6685. }
  6686. }
  6687. }
  6688. U.MD.D.I.getEditorContent = function(iframe) {
  6689. return new Promise((resolve, reject) => {
  6690. iframe.contentWindow.editor.minder.exportData('json').then(function(content) {
  6691. console.log(content);
  6692. resolve(content)
  6693. });
  6694. });
  6695. }
  6696. U.MD.D.I.getContent = function(cid, s, task, t, uid, type, iframe) {
  6697. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6698. // if (res.value[0].length > 0) {
  6699. // // resolve(res.value[0][0].text);
  6700. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6701. // $(fileInput).val('');
  6702. // });
  6703. // }
  6704. // }, [], { "type": "GET", "withCredentials": true });
  6705. var xmlhttp;
  6706. var Mac, Sn, DeviceId
  6707. if (window.XMLHttpRequest) {
  6708. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6709. xmlhttp = new XMLHttpRequest();
  6710. } else {
  6711. // IE6, IE5 浏览器执行代码
  6712. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6713. }
  6714. xmlhttp.onreadystatechange = function() {
  6715. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6716. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6717. // resolve(res.value[0][0].text);
  6718. if (type == '2') {
  6719. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6720. } else if (type == '3') {
  6721. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6722. }
  6723. } else {
  6724. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6725. }
  6726. }
  6727. }
  6728. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6729. xmlhttp.send();
  6730. }
  6731. U.MD.D.I.openApplicationJieS = function(str, cid, stage, task, tool) {
  6732. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6733. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6734. _userinfo = US.userInfo, //登录用户信息
  6735. _userid = US.userInfo.userid //登录用户id
  6736. let _iframe;
  6737. let _cid = cid,
  6738. _stage = stage,
  6739. _task = task,
  6740. _tool = tool;
  6741. var _jie = $$("div", {
  6742. "style": {
  6743. "position": "absolute",
  6744. "bottom": "50px",
  6745. "right": "50px",
  6746. "zIndex": "9999",
  6747. "backgroundColor": "#2268bc",
  6748. "color": "#fff",
  6749. "padding": "12px 20px",
  6750. "cursor": "pointer",
  6751. "borderRadius": "4px",
  6752. },
  6753. "innerHTML": "确认并提交"
  6754. })
  6755. let aTool = ''
  6756. let _loading = document.createElement('div')
  6757. _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;"
  6758. // _loading.id = "";
  6759. let _lchild = document.createElement('div')
  6760. let _limg = document.createElement('img')
  6761. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6762. _limg.style = "width: 26px;margin-right: 10px;"
  6763. _lchild.appendChild(_limg)
  6764. let _lspan = document.createElement('span')
  6765. _lspan.innerHTML = "上传中..."
  6766. _lchild.appendChild(_lspan)
  6767. _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%);"
  6768. _loading.appendChild(_lchild)
  6769. var _box = $$('div', {
  6770. "style": {
  6771. "position": "relative",
  6772. "width": "100%",
  6773. "height": "100%",
  6774. },
  6775. })
  6776. _box.appendChild(_loading)
  6777. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6778. switch (str) {
  6779. case "whiteboard":
  6780. aTool = 1;
  6781. _iframe = $$("iframe", {
  6782. "frameborder": "no",
  6783. "border": "0",
  6784. "scrolling ": "no",
  6785. "style": {
  6786. "cssText": "border:0;width:100%;height:100%"
  6787. },
  6788. "src": "https://iwb.cocorobo.cn/"
  6789. })
  6790. _box.appendChild(_iframe);
  6791. _box.appendChild(_jie);
  6792. _formdiv = new U.UF.UI.form(
  6793. "电子白板",
  6794. _box, {
  6795. "id": "whiteboards" + cid + stage + task + tool,
  6796. "style": {
  6797. "width": "90%",
  6798. "height": "90%",
  6799. "overflow": 'hidden'
  6800. },
  6801. "onresize": function() {}
  6802. }, {
  6803. closecallback: function() {}
  6804. }, {
  6805. "style": {
  6806. "height": "36px"
  6807. }
  6808. }).form; //创建窗体
  6809. _taskbar = {
  6810. "id": str + _formdiv.id,
  6811. "style": {
  6812. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6813. },
  6814. "name": "电子白板",
  6815. "forms": _formdiv,
  6816. "click": function() {
  6817. U.MD.D.I.openApplication(str, obj, info);
  6818. }
  6819. }
  6820. break;
  6821. case "mind":
  6822. aTool = 3;
  6823. _iframe = $$("iframe", {
  6824. "frameborder": "no",
  6825. "border": "0",
  6826. "scrolling ": "no",
  6827. "style": {
  6828. "cssText": "border:0;width:100%;height:100%"
  6829. },
  6830. "src": "/kityminder-editor/dist/index.html"
  6831. });
  6832. _box.appendChild(_iframe);
  6833. _box.appendChild(_jie);
  6834. _formdiv = new U.UF.UI.form(
  6835. "思维导图",
  6836. _box, { //"/jsmind/example/demo.html"
  6837. "id": "minds" + cid + stage + task + tool,
  6838. "style": {
  6839. "width": "90%",
  6840. "height": "90%",
  6841. "overflow": 'hidden'
  6842. },
  6843. "onresize": function() {}
  6844. }, {
  6845. closecallback: function() {}
  6846. }, {
  6847. "style": {
  6848. "height": "36px"
  6849. }
  6850. }).form; //创建窗体
  6851. _taskbar = {
  6852. "id": str + _formdiv.id,
  6853. "style": {
  6854. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6855. },
  6856. "name": "思维导图",
  6857. "forms": _formdiv,
  6858. "click": function() {
  6859. U.MD.D.I.openApplication(str, obj, info);
  6860. }
  6861. }
  6862. break;
  6863. case "doc":
  6864. aTool = 6;
  6865. _iframe = $$("iframe", {
  6866. "frameborder": "no",
  6867. "border": "0",
  6868. "scrolling ": "no",
  6869. "style": {
  6870. "cssText": "border:0;width:100%;height:100%"
  6871. },
  6872. "src": "/Office/Word/WordEditArea.htm"
  6873. })
  6874. _box.appendChild(_iframe);
  6875. _box.appendChild(_jie);
  6876. _formdiv = new U.UF.UI.form(
  6877. "协同文档",
  6878. _box, {
  6879. "id": "docs" + cid + stage + task + tool,
  6880. "style": {
  6881. "width": "90%",
  6882. "height": "90%",
  6883. "overflow": 'hidden'
  6884. },
  6885. "onresize": function() {}
  6886. }, {
  6887. closecallback: function() {}
  6888. }, {
  6889. "style": {
  6890. "height": "36px"
  6891. }
  6892. }).form; //创建窗体
  6893. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6894. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6895. })
  6896. _taskbar = {
  6897. "id": str + _formdiv.id,
  6898. "style": {
  6899. "backgroundImage": "url(/img/icon/doc.png)"
  6900. },
  6901. "name": "协同文档",
  6902. "forms": _formdiv,
  6903. "click": function() {
  6904. U.MD.D.I.openApplication(str, obj, info);
  6905. }
  6906. }
  6907. break;
  6908. }
  6909. const script1 = document.createElement("script");
  6910. script1.type = "text/javascript";
  6911. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6912. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6913. const script2 = document.createElement("script");
  6914. script2.type = "text/javascript";
  6915. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6916. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6917. const script3 = document.createElement("script");
  6918. script3.type = "text/javascript";
  6919. script3.charset = "UTF-8";
  6920. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6921. const script4 = document.createElement("script");
  6922. script4.type = "text/javascript";
  6923. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6924. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6925. if (_iframe) {
  6926. if (str == 'doc') {
  6927. _iframe = _formdiv.querySelector('iframe')
  6928. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6929. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6930. _iframe.contentWindow.document.body.appendChild(script1);
  6931. _iframe.contentWindow.document.body.appendChild(script2);
  6932. // _iframe.contentWindow.document.body.appendChild(script3);
  6933. _iframe.contentWindow.document.body.appendChild(script4);
  6934. })
  6935. if (onloadListener) {
  6936. _iframe.contentDocument.location.reload()
  6937. } else {
  6938. _iframe.contentDocument.location.reload()
  6939. }
  6940. } else if (str == 'mind') {
  6941. _iframe = _formdiv.querySelector('iframe')
  6942. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6943. _iframe.contentWindow.document.body.appendChild(script1);
  6944. _iframe.contentWindow.document.body.appendChild(script2);
  6945. _iframe.contentWindow.document.body.appendChild(script4);
  6946. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6947. })
  6948. if (onloadListener) {
  6949. _iframe.contentDocument.location.reload()
  6950. } else {
  6951. _iframe.contentDocument.location.reload()
  6952. }
  6953. } else {
  6954. _iframe.onload = () => {
  6955. _iframe.contentWindow.document.body.appendChild(script1);
  6956. _iframe.contentWindow.document.body.appendChild(script2);
  6957. // _iframe.contentWindow.document.body.appendChild(script3);
  6958. _iframe.contentWindow.document.body.appendChild(script4);
  6959. };
  6960. }
  6961. _jie.onclick = async() => {
  6962. let text = ''
  6963. if (aTool == 6) {
  6964. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6965. } else if (aTool == 3) {
  6966. text = await U.MD.D.I.getEditorContent(_iframe);
  6967. }
  6968. _loading.style.display = 'flex'
  6969. console.log(_loading);
  6970. var _ajs = _iframe.contentWindow.document.createElement("script");
  6971. _ajs.type = "text/javascript";
  6972. _ajs.innerHTML =
  6973. // 'console.log(' + _loading + ');\n' +
  6974. 'var _js = document.createElement("script");\n' +
  6975. '_js.type="text/javascript";\n' +
  6976. '_js.charset="UTF-8";\n' +
  6977. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6978. "_js.onload = function(){\n" +
  6979. ' var a = document.getElementsByTagName("img")\n' +
  6980. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6981. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6982. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6983. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6984. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6985. "beforeUpload_shishi(file," +
  6986. "'" +
  6987. _userid +
  6988. "'" +
  6989. ", " +
  6990. "'" +
  6991. _cid +
  6992. "'" +
  6993. ", " +
  6994. "'" +
  6995. _stage +
  6996. "'" +
  6997. ", " +
  6998. "'" +
  6999. _task +
  7000. "'" +
  7001. ", " +
  7002. "'" +
  7003. _tool +
  7004. "'" +
  7005. ", " +
  7006. "'" +
  7007. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7008. "'" +
  7009. ", " +
  7010. "'" +
  7011. aTool +
  7012. "'" +
  7013. ", " +
  7014. "`" +
  7015. text +
  7016. "`" +
  7017. ")\n" +
  7018. " });\n" +
  7019. "}\n" +
  7020. "document.head.appendChild(_js);\n";
  7021. _iframe.contentWindow.document.head.appendChild(_ajs);
  7022. }
  7023. }
  7024. //U.MD.D.I.openClick(str);
  7025. //如果有任务栏信息
  7026. // if (_taskbar) {
  7027. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7028. // }
  7029. }
  7030. U.MD.D.I.openApplicationJieStudio = function(str, cid, stage, task, tool) {
  7031. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7032. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7033. _userinfo = US.userInfo, //登录用户信息
  7034. _userid = US.userInfo.userid //登录用户id
  7035. let _iframe;
  7036. let _cid = cid,
  7037. _stage = stage,
  7038. _task = task,
  7039. _tool = tool;
  7040. var _jie = $$("div", {
  7041. "style": {
  7042. "position": "absolute",
  7043. "bottom": "50px",
  7044. "right": "50px",
  7045. "zIndex": "9999",
  7046. "backgroundColor": "#2268bc",
  7047. "color": "#fff",
  7048. "padding": "12px 20px",
  7049. "cursor": "pointer",
  7050. "borderRadius": "4px",
  7051. },
  7052. "innerHTML": "确认并提交"
  7053. })
  7054. let aTool = ''
  7055. let _loading = document.createElement('div')
  7056. _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;"
  7057. // _loading.id = "";
  7058. let _lchild = document.createElement('div')
  7059. let _limg = document.createElement('img')
  7060. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7061. _limg.style = "width: 26px;margin-right: 10px;"
  7062. _lchild.appendChild(_limg)
  7063. let _lspan = document.createElement('span')
  7064. _lspan.innerHTML = "上传中..."
  7065. _lchild.appendChild(_lspan)
  7066. _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%);"
  7067. _loading.appendChild(_lchild)
  7068. var _box = $$('div', {
  7069. "style": {
  7070. "position": "relative",
  7071. "width": "100%",
  7072. "height": "100%",
  7073. },
  7074. })
  7075. _box.appendChild(_loading)
  7076. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7077. switch (str) {
  7078. case "whiteboard":
  7079. aTool = 1;
  7080. _iframe = $$("iframe", {
  7081. "frameborder": "no",
  7082. "border": "0",
  7083. "scrolling ": "no",
  7084. "style": {
  7085. "cssText": "border:0;width:100%;height:100%"
  7086. },
  7087. "src": "https://iwb.cocorobo.cn/"
  7088. })
  7089. _box.appendChild(_iframe);
  7090. _box.appendChild(_jie);
  7091. _formdiv = new U.UF.UI.form(
  7092. "电子白板",
  7093. _box, {
  7094. "id": "whiteboards" + cid + stage + task + tool,
  7095. "style": {
  7096. "width": "90%",
  7097. "height": "90%",
  7098. "overflow": 'hidden'
  7099. },
  7100. "onresize": function() {}
  7101. }, {
  7102. closecallback: function() {}
  7103. }, {
  7104. "style": {
  7105. "height": "36px"
  7106. }
  7107. }).form; //创建窗体
  7108. _taskbar = {
  7109. "id": str + _formdiv.id,
  7110. "style": {
  7111. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7112. },
  7113. "name": "电子白板",
  7114. "forms": _formdiv,
  7115. "click": function() {
  7116. U.MD.D.I.openApplication(str, obj, info);
  7117. }
  7118. }
  7119. break;
  7120. case "mind":
  7121. aTool = 3;
  7122. _iframe = $$("iframe", {
  7123. "frameborder": "no",
  7124. "border": "0",
  7125. "scrolling ": "no",
  7126. "style": {
  7127. "cssText": "border:0;width:100%;height:100%"
  7128. },
  7129. "src": "/kityminder-editor/dist/index.html"
  7130. });
  7131. _box.appendChild(_iframe);
  7132. _box.appendChild(_jie);
  7133. _formdiv = new U.UF.UI.form(
  7134. "思维导图",
  7135. _box, { //"/jsmind/example/demo.html"
  7136. "id": "minds" + cid + stage + task + tool,
  7137. "style": {
  7138. "width": "90%",
  7139. "height": "90%",
  7140. "overflow": 'hidden'
  7141. },
  7142. "onresize": function() {}
  7143. }, {
  7144. closecallback: function() {}
  7145. }, {
  7146. "style": {
  7147. "height": "36px"
  7148. }
  7149. }).form; //创建窗体
  7150. _taskbar = {
  7151. "id": str + _formdiv.id,
  7152. "style": {
  7153. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7154. },
  7155. "name": "思维导图",
  7156. "forms": _formdiv,
  7157. "click": function() {
  7158. U.MD.D.I.openApplication(str, obj, info);
  7159. }
  7160. }
  7161. break;
  7162. case "doc":
  7163. aTool = 6;
  7164. _iframe = $$("iframe", {
  7165. "frameborder": "no",
  7166. "border": "0",
  7167. "scrolling ": "no",
  7168. "style": {
  7169. "cssText": "border:0;width:100%;height:100%"
  7170. },
  7171. "src": "/Office/Word/WordEditArea.htm"
  7172. })
  7173. _box.appendChild(_iframe);
  7174. _box.appendChild(_jie);
  7175. _formdiv = new U.UF.UI.form(
  7176. "协同文档",
  7177. _box, {
  7178. "id": "docs" + cid + stage + task + tool,
  7179. "style": {
  7180. "width": "90%",
  7181. "height": "90%",
  7182. "overflow": 'hidden'
  7183. },
  7184. "onresize": function() {}
  7185. }, {
  7186. closecallback: function() {}
  7187. }, {
  7188. "style": {
  7189. "height": "36px"
  7190. }
  7191. }).form; //创建窗体
  7192. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  7193. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7194. })
  7195. _taskbar = {
  7196. "id": str + _formdiv.id,
  7197. "style": {
  7198. "backgroundImage": "url(/img/icon/doc.png)"
  7199. },
  7200. "name": "协同文档",
  7201. "forms": _formdiv,
  7202. "click": function() {
  7203. U.MD.D.I.openApplication(str, obj, info);
  7204. }
  7205. }
  7206. break;
  7207. }
  7208. const script1 = document.createElement("script");
  7209. script1.type = "text/javascript";
  7210. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7211. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7212. const script2 = document.createElement("script");
  7213. script2.type = "text/javascript";
  7214. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7215. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7216. const script3 = document.createElement("script");
  7217. script3.type = "text/javascript";
  7218. script3.charset = "UTF-8";
  7219. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7220. const script4 = document.createElement("script");
  7221. script4.type = "text/javascript";
  7222. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7223. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7224. if (_iframe) {
  7225. if (str == 'doc') {
  7226. _iframe = _formdiv.querySelector('iframe')
  7227. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7228. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7229. _iframe.contentWindow.document.body.appendChild(script1);
  7230. _iframe.contentWindow.document.body.appendChild(script2);
  7231. // _iframe.contentWindow.document.body.appendChild(script3);
  7232. _iframe.contentWindow.document.body.appendChild(script4);
  7233. })
  7234. if (onloadListener) {
  7235. _iframe.contentDocument.location.reload()
  7236. } else {
  7237. _iframe.contentDocument.location.reload()
  7238. }
  7239. } else if (str == 'mind') {
  7240. _iframe = _formdiv.querySelector('iframe')
  7241. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7242. _iframe.contentWindow.document.body.appendChild(script1);
  7243. _iframe.contentWindow.document.body.appendChild(script2);
  7244. _iframe.contentWindow.document.body.appendChild(script4);
  7245. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7246. })
  7247. if (onloadListener) {
  7248. _iframe.contentDocument.location.reload()
  7249. } else {
  7250. _iframe.contentDocument.location.reload()
  7251. }
  7252. } else {
  7253. _iframe.onload = () => {
  7254. _iframe.contentWindow.document.body.appendChild(script1);
  7255. _iframe.contentWindow.document.body.appendChild(script2);
  7256. // _iframe.contentWindow.document.body.appendChild(script3);
  7257. _iframe.contentWindow.document.body.appendChild(script4);
  7258. };
  7259. }
  7260. _jie.onclick = async() => {
  7261. let text = ''
  7262. if (aTool == 6) {
  7263. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7264. } else if (aTool == 3) {
  7265. text = await U.MD.D.I.getEditorContent(_iframe);
  7266. }
  7267. _loading.style.display = 'flex'
  7268. console.log(_loading);
  7269. var _ajs = _iframe.contentWindow.document.createElement("script");
  7270. _ajs.type = "text/javascript";
  7271. _ajs.innerHTML =
  7272. // 'console.log(' + _loading + ');\n' +
  7273. 'var _js = document.createElement("script");\n' +
  7274. '_js.type="text/javascript";\n' +
  7275. '_js.charset="UTF-8";\n' +
  7276. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7277. "_js.onload = function(){\n" +
  7278. ' var a = document.getElementsByTagName("img")\n' +
  7279. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7280. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7281. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7282. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7283. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7284. "beforeUpload_shishi(file," +
  7285. "'" +
  7286. _userid +
  7287. "'" +
  7288. ", " +
  7289. "'" +
  7290. _cid +
  7291. "'" +
  7292. ", " +
  7293. "'" +
  7294. _stage +
  7295. "'" +
  7296. ", " +
  7297. "'" +
  7298. _task +
  7299. "'" +
  7300. ", " +
  7301. "'" +
  7302. _tool +
  7303. "'" +
  7304. ", " +
  7305. "'" +
  7306. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7307. "'" +
  7308. ", " +
  7309. "'" +
  7310. aTool +
  7311. "'" +
  7312. ", " +
  7313. "`" +
  7314. text +
  7315. "`" +
  7316. ")\n" +
  7317. " });\n" +
  7318. "}\n" +
  7319. "document.head.appendChild(_js);\n";
  7320. _iframe.contentWindow.document.head.appendChild(_ajs);
  7321. }
  7322. }
  7323. //U.MD.D.I.openClick(str);
  7324. //如果有任务栏信息
  7325. // if (_taskbar) {
  7326. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7327. // }
  7328. }
  7329. U.MD.D.I.openApplicationYu = function(str, cid, stage, task, tool) {
  7330. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7331. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7332. _userinfo = US.userInfo, //登录用户信息
  7333. _userid = US.userInfo.userid //登录用户id
  7334. let _iframe;
  7335. let _cid = cid,
  7336. _stage = stage,
  7337. _task = task,
  7338. _tool = tool;
  7339. var _jie = $$("div", {
  7340. "style": {
  7341. "position": "absolute",
  7342. "bottom": "50px",
  7343. "right": "50px",
  7344. "zIndex": "9999",
  7345. "backgroundColor": "#2268bc",
  7346. "color": "#fff",
  7347. "padding": "12px 20px",
  7348. "cursor": "pointer",
  7349. "borderRadius": "4px",
  7350. },
  7351. "innerHTML": "上传模板"
  7352. })
  7353. let aTool = ''
  7354. let _loading = document.createElement('div')
  7355. _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;"
  7356. // _loading.id = "";
  7357. let _lchild = document.createElement('div')
  7358. let _limg = document.createElement('img')
  7359. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7360. _limg.style = "width: 26px;margin-right: 10px;"
  7361. _lchild.appendChild(_limg)
  7362. let _lspan = document.createElement('span')
  7363. _lspan.innerHTML = "上传中..."
  7364. _lchild.appendChild(_lspan)
  7365. _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%);"
  7366. _loading.appendChild(_lchild)
  7367. var _box = $$('div', {
  7368. "style": {
  7369. "position": "relative",
  7370. "width": "100%",
  7371. "height": "100%",
  7372. },
  7373. })
  7374. _box.appendChild(_loading)
  7375. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7376. switch (str) {
  7377. case "whiteboard":
  7378. aTool = 1;
  7379. _iframe = $$("iframe", {
  7380. "frameborder": "no",
  7381. "border": "0",
  7382. "scrolling ": "no",
  7383. "style": {
  7384. "cssText": "border:0;width:100%;height:100%"
  7385. },
  7386. "src": "https://iwb.cocorobo.cn/"
  7387. })
  7388. _box.appendChild(_iframe);
  7389. _box.appendChild(_jie);
  7390. _formdiv = new U.UF.UI.form(
  7391. "电子白板",
  7392. _box, {
  7393. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7394. "style": {
  7395. "width": "90%",
  7396. "height": "90%",
  7397. "overflow": 'hidden'
  7398. },
  7399. "onresize": function() {}
  7400. }, {
  7401. closecallback: function() {}
  7402. }, {
  7403. "style": {
  7404. "height": "36px"
  7405. }
  7406. }).form; //创建窗体
  7407. _taskbar = {
  7408. "id": str + _formdiv.id,
  7409. "style": {
  7410. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7411. },
  7412. "name": "电子白板",
  7413. "forms": _formdiv,
  7414. "click": function() {
  7415. U.MD.D.I.openApplication(str, obj, info);
  7416. }
  7417. }
  7418. break;
  7419. case "mind":
  7420. aTool = 3;
  7421. _iframe = $$("iframe", {
  7422. "frameborder": "no",
  7423. "border": "0",
  7424. "scrolling ": "no",
  7425. "style": {
  7426. "cssText": "border:0;width:100%;height:100%"
  7427. },
  7428. "src": "/kityminder-editor/dist/index.html"
  7429. });
  7430. _box.appendChild(_iframe);
  7431. _box.appendChild(_jie);
  7432. _formdiv = new U.UF.UI.form(
  7433. "思维导图",
  7434. _box, { //"/jsmind/example/demo.html"
  7435. "id": "minds_Yu" + cid + stage + task + tool,
  7436. "style": {
  7437. "width": "90%",
  7438. "height": "90%",
  7439. "overflow": 'hidden'
  7440. },
  7441. "onresize": function() {}
  7442. }, {
  7443. closecallback: function() {}
  7444. }, {
  7445. "style": {
  7446. "height": "36px"
  7447. }
  7448. }).form; //创建窗体
  7449. _taskbar = {
  7450. "id": str + _formdiv.id,
  7451. "style": {
  7452. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7453. },
  7454. "name": "思维导图",
  7455. "forms": _formdiv,
  7456. "click": function() {
  7457. U.MD.D.I.openApplication(str, obj, info);
  7458. }
  7459. }
  7460. break;
  7461. case "doc":
  7462. aTool = 6;
  7463. _iframe = $$("iframe", {
  7464. "frameborder": "no",
  7465. "border": "0",
  7466. "scrolling ": "no",
  7467. "style": {
  7468. "cssText": "border:0;width:100%;height:100%"
  7469. },
  7470. "src": "/Office/Word/WordEditArea.htm"
  7471. })
  7472. _box.appendChild(_iframe);
  7473. _box.appendChild(_jie);
  7474. _formdiv = new U.UF.UI.form(
  7475. "协同文档",
  7476. _box, {
  7477. "id": "docs_Yu" + cid + stage + task + tool,
  7478. "style": {
  7479. "width": "90%",
  7480. "height": "90%",
  7481. "overflow": 'hidden'
  7482. },
  7483. "onresize": function() {}
  7484. }, {
  7485. closecallback: function() {}
  7486. }, {
  7487. "style": {
  7488. "height": "36px"
  7489. }
  7490. }).form; //创建窗体
  7491. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  7492. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7493. })
  7494. _taskbar = {
  7495. "id": str + _formdiv.id,
  7496. "style": {
  7497. "backgroundImage": "url(/img/icon/doc.png)"
  7498. },
  7499. "name": "协同文档",
  7500. "forms": _formdiv,
  7501. "click": function() {
  7502. U.MD.D.I.openApplication(str, obj, info);
  7503. }
  7504. }
  7505. break;
  7506. case "CocoPi":
  7507. aTool = 57;
  7508. _iframe = $$("iframe", {
  7509. "allowpaymentrequest": "allowpaymentrequest",
  7510. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7511. "webkitallowfullscreen": "",
  7512. "mozallowfullscreen": "",
  7513. "frameborder": "no",
  7514. "border": "0",
  7515. "scrolling ": "no",
  7516. "style": {
  7517. "cssText": "border:0;width:100%;height:100%"
  7518. },
  7519. "src": "https://pi.cocorobo.cn/"
  7520. })
  7521. _box.appendChild(_iframe);
  7522. _box.appendChild(_jie);
  7523. _formdiv = new U.UF.UI.form(
  7524. "CocoPi",
  7525. _box, {
  7526. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7527. "style": {
  7528. "width": "90%",
  7529. "height": "90%",
  7530. "overflow": 'hidden'
  7531. },
  7532. "onresize": function() {}
  7533. }, {
  7534. closecallback: function() {}
  7535. }, {
  7536. "style": {
  7537. "height": "36px"
  7538. }
  7539. }).form; //创建窗体
  7540. _taskbar = {
  7541. "id": str + _formdiv.id,
  7542. "style": {
  7543. "backgroundImage": "url(/img/icon/cocopi.png)"
  7544. },
  7545. "name": "CocoPi",
  7546. "forms": _formdiv,
  7547. "click": function() {
  7548. U.MD.D.I.openApplication(str, obj, info);
  7549. }
  7550. }
  7551. break;
  7552. }
  7553. if (_iframe) {
  7554. if (str == 'doc') {
  7555. _iframe = _formdiv.querySelector('iframe')
  7556. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7557. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7558. })
  7559. if (onloadListener) {
  7560. _iframe.contentDocument.location.reload()
  7561. } else {
  7562. _iframe.contentDocument.location.reload()
  7563. }
  7564. } else if (str == 'mind') {
  7565. _iframe = _formdiv.querySelector('iframe')
  7566. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7567. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7568. })
  7569. if (onloadListener) {
  7570. _iframe.contentDocument.location.reload()
  7571. } else {
  7572. _iframe.contentDocument.location.reload()
  7573. }
  7574. } else if (str == 'whiteboard') {
  7575. _iframe = _formdiv.querySelector('iframe')
  7576. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7577. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7578. })
  7579. if (onloadListener) {
  7580. _iframe.contentDocument.location.reload()
  7581. } else {
  7582. _iframe.contentDocument.location.reload()
  7583. }
  7584. } else if (str == 'CocoPi') {
  7585. _iframe = _formdiv.querySelector('iframe')
  7586. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7587. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7588. })
  7589. if (onloadListener) {
  7590. _iframe.contentDocument.location.reload()
  7591. } else {
  7592. _iframe.contentDocument.location.reload()
  7593. }
  7594. } else {
  7595. _iframe.onload = () => {};
  7596. }
  7597. _jie.onclick = async() => {
  7598. let text = ''
  7599. let type = '2'
  7600. if (aTool == 1) {
  7601. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7602. type = '3'
  7603. } else if (aTool == 6) {
  7604. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7605. type = '1'
  7606. } else if (aTool == 3) {
  7607. text = await U.MD.D.I.getEditorContent(_iframe);
  7608. type = '2'
  7609. } else if (aTool == 57) {
  7610. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7611. type = '4'
  7612. }
  7613. _loading.style.display = 'flex'
  7614. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7615. }
  7616. }
  7617. //U.MD.D.I.openClick(str);
  7618. //如果有任务栏信息
  7619. // if (_taskbar) {
  7620. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7621. // }
  7622. }
  7623. U.MD.D.I.getContents = function(cid, s, task, t, uid, type, iframe) {
  7624. var xmlhttp;
  7625. var Mac, Sn, DeviceId
  7626. if (window.XMLHttpRequest) {
  7627. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7628. xmlhttp = new XMLHttpRequest();
  7629. } else {
  7630. // IE6, IE5 浏览器执行代码
  7631. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7632. }
  7633. xmlhttp.onreadystatechange = function() {
  7634. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7635. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7636. // resolve(res.value[0][0].text);
  7637. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7638. }
  7639. }
  7640. }
  7641. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7642. xmlhttp.send();
  7643. }
  7644. U.MD.D.I.getContents2 = function(cid, s, task, t, uid, type, iframe) {
  7645. var xmlhttp;
  7646. var Mac, Sn, DeviceId
  7647. if (window.XMLHttpRequest) {
  7648. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7649. xmlhttp = new XMLHttpRequest();
  7650. } else {
  7651. // IE6, IE5 浏览器执行代码
  7652. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7653. }
  7654. xmlhttp.onreadystatechange = function() {
  7655. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7656. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7657. // resolve(res.value[0][0].text);
  7658. if (type == '2') {
  7659. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7660. } else if (type == '3') {
  7661. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7662. } else if (type == '4') {
  7663. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7664. }
  7665. } else {
  7666. if (type == '2') {
  7667. iframe.contentWindow.editor.minder.importData('json', '')
  7668. } else if (type == '3') {
  7669. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7670. } else if (type == '4') {
  7671. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7672. }
  7673. }
  7674. }
  7675. }
  7676. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7677. xmlhttp.send();
  7678. }
  7679. U.MD.D.I.setContents = function(cid, s, task, t, uid, type, text, loading, span) {
  7680. var xmlhttp;
  7681. var Mac, Sn, DeviceId
  7682. if (window.XMLHttpRequest) {
  7683. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7684. xmlhttp = new XMLHttpRequest();
  7685. } else {
  7686. // IE6, IE5 浏览器执行代码
  7687. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7688. }
  7689. xmlhttp.onreadystatechange = function() {
  7690. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7691. if (xmlhttp.response) {
  7692. // resolve(res.value[0][0].text);
  7693. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7694. // $(fileInput).val('');
  7695. // });
  7696. span.innerHTML = '上传成功'
  7697. setTimeout(() => {
  7698. loading.style.display = 'none'
  7699. }, 1000);
  7700. }
  7701. }
  7702. }
  7703. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7704. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7705. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7706. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7707. // 设置请求头,表示请求体的编码格式
  7708. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7709. // 设置请求体,使用url-encoded格式的数据
  7710. }
  7711. U.MD.D.I.openApplicationUpload = function(str, cid, stage, task, tool) {
  7712. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7713. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7714. _userinfo = US.userInfo, //登录用户信息
  7715. _userid = US.userInfo.userid //登录用户id
  7716. let _iframe;
  7717. let _cid = cid,
  7718. _stage = stage,
  7719. _task = task,
  7720. _tool = tool;
  7721. var _jie = $$("div", {
  7722. "style": {
  7723. "position": "absolute",
  7724. "bottom": "50px",
  7725. "right": "50px",
  7726. "zIndex": "9999",
  7727. "backgroundColor": "#2268bc",
  7728. "color": "#fff",
  7729. "padding": "12px 20px",
  7730. "cursor": "pointer",
  7731. "borderRadius": "4px",
  7732. },
  7733. "innerHTML": "提交作业"
  7734. })
  7735. let aTool = ''
  7736. let _loading = document.createElement('div')
  7737. _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;"
  7738. // _loading.id = "";
  7739. let _lchild = document.createElement('div')
  7740. let _limg = document.createElement('img')
  7741. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7742. _limg.style = "width: 26px;margin-right: 10px;"
  7743. _lchild.appendChild(_limg)
  7744. let _lspan = document.createElement('span')
  7745. _lspan.innerHTML = "上传中..."
  7746. _lchild.appendChild(_lspan)
  7747. _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%);"
  7748. _loading.appendChild(_lchild)
  7749. var _box = $$('div', {
  7750. "style": {
  7751. "position": "relative",
  7752. "width": "100%",
  7753. "height": "100%",
  7754. },
  7755. })
  7756. _box.appendChild(_loading)
  7757. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7758. switch (str) {
  7759. case "CocoPi":
  7760. aTool = 57;
  7761. _iframe = $$("iframe", {
  7762. "allowpaymentrequest": "allowpaymentrequest",
  7763. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7764. "webkitallowfullscreen": "",
  7765. "mozallowfullscreen": "",
  7766. "frameborder": "no",
  7767. "border": "0",
  7768. "scrolling ": "no",
  7769. "style": {
  7770. "cssText": "border:0;width:100%;height:100%"
  7771. },
  7772. "src": "https://pi.cocorobo.cn/"
  7773. })
  7774. _box.appendChild(_iframe);
  7775. _box.appendChild(_jie);
  7776. _formdiv = new U.UF.UI.form(
  7777. "CocoPi",
  7778. _box, {
  7779. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7780. "style": {
  7781. "width": "90%",
  7782. "height": "90%",
  7783. "overflow": 'hidden'
  7784. },
  7785. "onresize": function() {}
  7786. }, {
  7787. closecallback: function() {}
  7788. }, {
  7789. "style": {
  7790. "height": "36px"
  7791. }
  7792. }).form; //创建窗体
  7793. _taskbar = {
  7794. "id": str + _formdiv.id,
  7795. "style": {
  7796. "backgroundImage": "url(/img/icon/cocopi.png)"
  7797. },
  7798. "name": "CocoPi",
  7799. "forms": _formdiv,
  7800. "click": function() {
  7801. U.MD.D.I.openApplication(str, obj, info);
  7802. }
  7803. }
  7804. break;
  7805. }
  7806. if (_iframe) {
  7807. if (str == 'CocoPi') {
  7808. _iframe = _formdiv.querySelector('iframe')
  7809. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7810. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7811. })
  7812. if (onloadListener) {
  7813. _iframe.contentDocument.location.reload()
  7814. } else {
  7815. _iframe.contentDocument.location.reload()
  7816. }
  7817. }
  7818. _jie.onclick = async() => {
  7819. let text = ''
  7820. if (aTool == 57) {
  7821. text = _iframe.contentWindow.getLoadXmlStr()
  7822. }
  7823. _loading.style.display = 'flex'
  7824. console.log(_loading);
  7825. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7826. _loading.style.display = 'none'
  7827. let _div = document.createElement('div')
  7828. _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;"
  7829. let _inner = document.createElement('div')
  7830. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7831. _inner.innerHTML = "上传成功"
  7832. _div.appendChild(_inner)
  7833. _iframe.contentWindow.window.document.body.appendChild(_div)
  7834. _div.onclick = () => {
  7835. _iframe.contentWindow.window.document.body.removeChild(_div)
  7836. }
  7837. setTimeout(() => {
  7838. _iframe.contentWindow.window.document.body.removeChild(_div)
  7839. }, 1000);
  7840. }, [], { "type": "POST", "withCredentials": true });
  7841. }
  7842. }
  7843. }
  7844. U.MD.D.I.openApplicationTeacherUpload = function(str, cid, stage, task, tool, student) {
  7845. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7846. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7847. _userid = student.userid, //登录用户id
  7848. _username = student.student //用户名字
  7849. let _iframe;
  7850. let _cid = cid,
  7851. _stage = stage,
  7852. _task = task,
  7853. _tool = tool;
  7854. var _jie = $$("div", {
  7855. "style": {
  7856. "position": "absolute",
  7857. "bottom": "50px",
  7858. "right": "50px",
  7859. "zIndex": "9999",
  7860. "backgroundColor": "#2268bc",
  7861. "color": "#fff",
  7862. "padding": "12px 20px",
  7863. "cursor": "pointer",
  7864. "borderRadius": "4px",
  7865. },
  7866. "innerHTML": "提交作业"
  7867. })
  7868. let aTool = ''
  7869. let _loading = document.createElement('div')
  7870. _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;"
  7871. // _loading.id = "";
  7872. let _lchild = document.createElement('div')
  7873. let _limg = document.createElement('img')
  7874. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7875. _limg.style = "width: 26px;margin-right: 10px;"
  7876. _lchild.appendChild(_limg)
  7877. let _lspan = document.createElement('span')
  7878. _lspan.innerHTML = "上传中..."
  7879. _lchild.appendChild(_lspan)
  7880. _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%);"
  7881. _loading.appendChild(_lchild)
  7882. var _box = $$('div', {
  7883. "style": {
  7884. "position": "relative",
  7885. "width": "100%",
  7886. "height": "100%",
  7887. },
  7888. })
  7889. _box.appendChild(_loading)
  7890. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7891. switch (str) {
  7892. case "CocoPi":
  7893. aTool = 57;
  7894. _iframe = $$("iframe", {
  7895. "allowpaymentrequest": "allowpaymentrequest",
  7896. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7897. "webkitallowfullscreen": "",
  7898. "mozallowfullscreen": "",
  7899. "frameborder": "no",
  7900. "border": "0",
  7901. "scrolling ": "no",
  7902. "style": {
  7903. "cssText": "border:0;width:100%;height:100%"
  7904. },
  7905. "src": "https://pi.cocorobo.cn/"
  7906. })
  7907. _box.appendChild(_iframe);
  7908. _box.appendChild(_jie);
  7909. _formdiv = new U.UF.UI.form(
  7910. "CocoPi-" + _username,
  7911. _box, {
  7912. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7913. "style": {
  7914. "width": "90%",
  7915. "height": "90%",
  7916. "overflow": 'hidden'
  7917. },
  7918. "onresize": function() {}
  7919. }, {
  7920. closecallback: function() {}
  7921. }, {
  7922. "style": {
  7923. "height": "36px"
  7924. }
  7925. }).form; //创建窗体
  7926. _taskbar = {
  7927. "id": str + _formdiv.id,
  7928. "style": {
  7929. "backgroundImage": "url(/img/icon/cocopi.png)"
  7930. },
  7931. "name": "CocoPi",
  7932. "forms": _formdiv,
  7933. "click": function() {
  7934. U.MD.D.I.openApplication(str, obj, info);
  7935. }
  7936. }
  7937. break;
  7938. }
  7939. if (_iframe) {
  7940. if (str == 'CocoPi') {
  7941. _iframe = _formdiv.querySelector('iframe')
  7942. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7943. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7944. })
  7945. if (onloadListener) {
  7946. _iframe.contentDocument.location.reload()
  7947. } else {
  7948. _iframe.contentDocument.location.reload()
  7949. }
  7950. }
  7951. _jie.onclick = async() => {
  7952. let text = ''
  7953. if (aTool == 57) {
  7954. text = _iframe.contentWindow.getLoadXmlStr()
  7955. }
  7956. _loading.style.display = 'flex'
  7957. console.log(_loading);
  7958. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7959. _loading.style.display = 'none'
  7960. let _div = document.createElement('div')
  7961. _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;"
  7962. let _inner = document.createElement('div')
  7963. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7964. _inner.innerHTML = "上传成功"
  7965. _div.appendChild(_inner)
  7966. _iframe.contentWindow.window.document.body.appendChild(_div)
  7967. _div.onclick = () => {
  7968. _iframe.contentWindow.window.document.body.removeChild(_div)
  7969. }
  7970. setTimeout(() => {
  7971. _iframe.contentWindow.window.document.body.removeChild(_div)
  7972. }, 1000);
  7973. }, [], { "type": "POST", "withCredentials": true });
  7974. }
  7975. }
  7976. }
  7977. U.MD.D.I.getUploadContent = function(cid, s, task, t, uid, atool, type, iframe) {
  7978. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function(res) {
  7979. if (res.value[0].length > 0) {
  7980. if (atool == 57) {
  7981. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7982. }
  7983. } else {
  7984. if (atool == 57) {
  7985. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7986. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7987. }
  7988. }
  7989. }, [], { "type": "POST", "withCredentials": true });
  7990. }