DeskTop.js 495 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248
  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": "testTeacher", "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": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  748. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  749. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  750. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  751. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  752. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  753. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  754. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  755. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  756. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  757. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  758. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  759. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  760. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  761. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  762. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  763. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  764. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  765. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  766. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  767. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  768. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  769. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  770. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  771. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  772. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  773. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  774. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  775. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  776. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  777. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  778. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  779. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  780. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  781. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  782. ];
  783. //dsei
  784. U.MD.D.I.dseiAdminDeskIcon = [
  785. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  786. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  787. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  788. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  789. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  790. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  791. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  792. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  793. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  794. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  795. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  796. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  797. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  798. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  799. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  800. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  801. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  802. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  803. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  804. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  805. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  806. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  807. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  808. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  809. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  810. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  811. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  812. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  813. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  814. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  815. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  816. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  817. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  818. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  819. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  820. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  821. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  822. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  823. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  824. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  825. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  826. ];
  827. //dsei
  828. U.MD.D.I.dseiStudentDeskIcon = [
  829. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  830. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  831. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  832. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  833. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  834. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  835. ];
  836. //未来教育基地
  837. U.MD.D.I.szjkyTeacherDeskIcon = [
  838. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  839. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  840. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  841. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  842. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  843. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  844. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  845. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  846. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  847. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  848. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  849. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  850. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  851. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  852. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  853. ];
  854. //未来教育基地
  855. U.MD.D.I.szjkyAdminDeskIcon = [
  856. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  857. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  858. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  859. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  860. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  861. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  862. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  863. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  864. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  865. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  866. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  867. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  868. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  869. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  870. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  871. ];
  872. //未来教育基地
  873. U.MD.D.I.szjkyStudentDeskIcon = [
  874. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  875. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  876. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  877. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  878. ];
  879. //成华教育局
  880. U.MD.D.I.chjyjTeacherDeskIcon = [
  881. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  882. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  883. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  884. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  885. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  886. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  887. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  888. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  889. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  890. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  891. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  892. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  893. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  894. ];
  895. //成华教育局chjyj
  896. U.MD.D.I.chjyjAdminDeskIcon = [
  897. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  898. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  899. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  900. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  901. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  902. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  903. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  904. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  905. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  906. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  907. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  908. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  909. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  910. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  911. ];
  912. //成华教育局chjyj
  913. U.MD.D.I.chjyjStudentDeskIcon = [
  914. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  915. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  916. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  917. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  918. ];
  919. //tpc
  920. U.MD.D.I.tpcStudentDeskIcon = [
  921. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  922. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  923. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  924. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  925. ];
  926. //tpc
  927. U.MD.D.I.tpcTeacherDeskIcon = [
  928. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  929. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  930. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  931. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  932. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  933. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  934. ];
  935. //tpc
  936. U.MD.D.I.tpcAdminDeskIcon = [
  937. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  938. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  939. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  940. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  941. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  942. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  943. ];
  944. //THU-IOE
  945. U.MD.D.I.thuioeTeacherDeskIcon = [
  946. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  947. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  948. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  949. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  950. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  951. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  952. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  953. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  954. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  955. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  956. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  957. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  958. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  959. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  960. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  961. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  962. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  963. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  964. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  965. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  966. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  967. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  968. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  969. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  970. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  971. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  972. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  973. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  974. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  975. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  976. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  977. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  978. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  979. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  980. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  981. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  982. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  983. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  984. ];
  985. //THU-IOE
  986. U.MD.D.I.thuioeStudentDeskIcon = [
  987. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  988. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  989. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  990. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  991. ];
  992. //jccssyl
  993. U.MD.D.I.jccssylTeacherDeskIcon = [
  994. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  995. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  996. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  997. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  998. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  999. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1000. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1001. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1002. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1003. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1004. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1005. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1006. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1007. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1008. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1009. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1010. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1011. ];
  1012. //jccssyl
  1013. U.MD.D.I.jccssylStudentDeskIcon = [
  1014. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1015. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1016. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1017. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1018. ];
  1019. //#region 桌面初始化a
  1020. /**
  1021. * 初始化桌面的起始函数
  1022. *
  1023. */
  1024. U.MD.D.I.init = function() {
  1025. if ($("#U_MD_D_K")[0]) {
  1026. //初始化桌面图标
  1027. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1028. // var clickUrl = ':12588/requestIp.php';
  1029. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1030. // U.MD.D.I.Ip = data;
  1031. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1032. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1033. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1034. // })
  1035. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1036. // })
  1037. }
  1038. }
  1039. /**
  1040. * 模式切换
  1041. *
  1042. */
  1043. U.MD.D.I.ModeCheck = function(type) {
  1044. if (US.Config.type == type) {
  1045. return
  1046. }
  1047. US.Config.type = type
  1048. $('.U_PBL_Check .active')[0].className = ''
  1049. if (type == 1) {
  1050. $('.U_PBL_Check div')[0].className = 'active'
  1051. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1052. } else {
  1053. $('.U_PBL_Check div')[1].className = 'active'
  1054. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1055. }
  1056. //初始化桌面图标
  1057. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1058. if (type == 2) {
  1059. U.MD.D.I.openApplication("project")
  1060. }
  1061. }
  1062. /**
  1063. * 隐藏任务栏
  1064. *
  1065. * @param {element} 桌面元素
  1066. */
  1067. U.MD.D.I.hiddenTaskbar = function(el) {
  1068. //任务栏位置变小
  1069. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1070. //桌面的位置变大
  1071. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1072. }
  1073. /**
  1074. * 隐藏任务栏
  1075. *
  1076. * @param {element} 桌面元素
  1077. */
  1078. U.MD.D.I.hiddenTaskbarout = function(el) {
  1079. //任务栏位置变小
  1080. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1081. //任务栏位置变化
  1082. U.selectEl(el).css({ "bottom": "-60px" });
  1083. //桌面的位置变大
  1084. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1085. }
  1086. }
  1087. /**
  1088. * 初始化打印桌面图标
  1089. *
  1090. * @param {element} 桌面元素
  1091. */
  1092. U.MD.D.I.initDesktopIcons = function(el, type) {
  1093. var i, //用于循环
  1094. _content, //桌面图标元素
  1095. _iconcontent, //桌面图标元素
  1096. _frag = $$("frag"), //定义一个碎片元素
  1097. _type = US.userInfo.type,
  1098. _org = US.userInfo.org,
  1099. _oid = US.userInfo.organizeid,
  1100. _role = US.userInfo.role,
  1101. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1102. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1103. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1104. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1105. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1106. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1107. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1108. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1109. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1110. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1111. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1112. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1113. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1114. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1115. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1116. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1117. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1118. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1119. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1120. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1121. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1122. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1123. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1124. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1125. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1126. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1127. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1128. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1129. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1130. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1131. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1132. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1133. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1134. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1135. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1136. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1137. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1138. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1139. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1140. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1141. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1142. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1143. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1144. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1145. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1146. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1147. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1148. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1149. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1150. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1151. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1152. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1153. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1154. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1155. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1156. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1157. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1158. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1159. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon, //网络夏令营
  1160. _hkTeacherEnglishDeskIcon = U.MD.D.I.hkTeacherEnglishDeskIcon, //教师测试英语组织
  1161. _hkStudentEnglishDeskIcon = U.MD.D.I.hkStudentEnglishDeskIcon; //学生测试英语组织
  1162. 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'];
  1163. 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'];
  1164. //清楚桌面图标
  1165. el.innerHTML = "";
  1166. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1167. _teacherDesktopIconInfo.push(
  1168. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1169. { "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)" } },
  1170. )
  1171. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1172. }
  1173. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1174. _teacherDesktopIconInfo.push(
  1175. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1176. { "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)" } },
  1177. )
  1178. }
  1179. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1180. _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)" } }, )
  1181. }
  1182. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1183. _teacherDesktopIconInfo.push()
  1184. }
  1185. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1186. _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)" } }, )
  1187. _studentDesktopIconInfo.push()
  1188. }
  1189. //麒麟二中 和 民新小学
  1190. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1191. _teacherDesktopIconInfo.push()
  1192. }
  1193. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1194. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1195. _teacherDesktopIconInfo.push({ "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, )
  1196. }
  1197. //麒麟二中
  1198. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1199. _studentDesktopIconInfo.push({ "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, )
  1200. }
  1201. //万科双语
  1202. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1203. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1204. if (el.Name == 'Project Planning') {
  1205. el.Name = 'PBL项目'
  1206. }
  1207. return el
  1208. })
  1209. _studentDesktopIconInfo3.push({ "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, )
  1210. }
  1211. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1212. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1213. return el.Name != '魔盒识字' && el.Name != '24点'
  1214. })
  1215. }
  1216. 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) {
  1217. _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)" } }, )
  1218. }
  1219. //循环创建桌面图标
  1220. if (type == 1) {
  1221. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1222. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1223. _content = $$("div", {
  1224. className: "U_MD_D_KO",
  1225. "onmousedown": U.UF.C.closure(function(obj) {
  1226. //防止拖动图标即打开了桌面应用
  1227. U.MD.D.click(this, obj);
  1228. }, [_studentDesktopIconInfo[i]]),
  1229. "onclick": U.UF.C.closure(function(obj) {
  1230. //防止拖动图标即打开了桌面应用
  1231. U.MD.D.click(this, obj);
  1232. }, [_studentDesktopIconInfo[i]])
  1233. }, _frag); //
  1234. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1235. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1236. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1237. }
  1238. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1239. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1240. _content = $$("div", {
  1241. className: "U_MD_D_KO",
  1242. "onmousedown": U.UF.C.closure(function(obj) {
  1243. //防止拖动图标即打开了桌面应用
  1244. U.MD.D.click(this, obj);
  1245. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1246. "onclick": U.UF.C.closure(function(obj) {
  1247. //防止拖动图标即打开了桌面应用
  1248. U.MD.D.click(this, obj);
  1249. }, [_hkZJLSStudentDeskIconInfo[i]])
  1250. }, _frag); //
  1251. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1252. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1253. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1254. } //
  1255. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1256. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1257. _content = $$("div", {
  1258. className: "U_MD_D_KO",
  1259. "onmousedown": U.UF.C.closure(function(obj) {
  1260. //防止拖动图标即打开了桌面应用
  1261. U.MD.D.click(this, obj);
  1262. }, [_jccssylStudentDeskIconInfo[i]]),
  1263. "onclick": U.UF.C.closure(function(obj) {
  1264. //防止拖动图标即打开了桌面应用
  1265. U.MD.D.click(this, obj);
  1266. }, [_jccssylStudentDeskIconInfo[i]])
  1267. }, _frag); //
  1268. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1269. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1270. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1271. }
  1272. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1273. for (i = 0; i < _hkStudentEnglishDeskIcon.length; i++) {
  1274. _content = $$("div", {
  1275. className: "U_MD_D_KO",
  1276. "onmousedown": U.UF.C.closure(function(obj) {
  1277. //防止拖动图标即打开了桌面应用
  1278. U.MD.D.click(this, obj);
  1279. }, [_hkStudentEnglishDeskIcon[i]]),
  1280. "onclick": U.UF.C.closure(function(obj) {
  1281. //防止拖动图标即打开了桌面应用
  1282. U.MD.D.click(this, obj);
  1283. }, [_hkStudentEnglishDeskIcon[i]])
  1284. }, _frag); //
  1285. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1286. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentEnglishDeskIcon[i].style }, _iconcontent);
  1287. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentEnglishDeskIcon[i].Name }, _iconcontent);
  1288. }
  1289. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1290. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1291. _content = $$("div", {
  1292. className: "U_MD_D_KO",
  1293. "onmousedown": U.UF.C.closure(function(obj) {
  1294. //防止拖动图标即打开了桌面应用
  1295. U.MD.D.click(this, obj);
  1296. }, [_thuioeStudentDeskIconInfo[i]]),
  1297. "onclick": U.UF.C.closure(function(obj) {
  1298. //防止拖动图标即打开了桌面应用
  1299. U.MD.D.click(this, obj);
  1300. }, [_thuioeStudentDeskIconInfo[i]])
  1301. }, _frag); //
  1302. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1303. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1304. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1305. }
  1306. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1307. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1308. _content = $$("div", {
  1309. className: "U_MD_D_KO",
  1310. "onmousedown": U.UF.C.closure(function(obj) {
  1311. //防止拖动图标即打开了桌面应用
  1312. U.MD.D.click(this, obj);
  1313. }, [_tpcStudentDeskIconInfo[i]]),
  1314. "onclick": U.UF.C.closure(function(obj) {
  1315. //防止拖动图标即打开了桌面应用
  1316. U.MD.D.click(this, obj);
  1317. }, [_tpcStudentDeskIconInfo[i]])
  1318. }, _frag); //
  1319. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1320. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1321. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1322. } //
  1323. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1324. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1325. _content = $$("div", {
  1326. className: "U_MD_D_KO",
  1327. "onmousedown": U.UF.C.closure(function(obj) {
  1328. //防止拖动图标即打开了桌面应用
  1329. U.MD.D.click(this, obj);
  1330. }, [_chjyjStudentDeskIconInfo[i]]),
  1331. "onclick": U.UF.C.closure(function(obj) {
  1332. //防止拖动图标即打开了桌面应用
  1333. U.MD.D.click(this, obj);
  1334. }, [_chjyjStudentDeskIconInfo[i]])
  1335. }, _frag); //
  1336. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1337. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1338. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1339. }
  1340. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1341. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1342. _content = $$("div", {
  1343. className: "U_MD_D_KO",
  1344. "onmousedown": U.UF.C.closure(function(obj) {
  1345. //防止拖动图标即打开了桌面应用
  1346. U.MD.D.click(this, obj);
  1347. }, [_szjkyStudentDeskIconInfo[i]]),
  1348. "onclick": U.UF.C.closure(function(obj) {
  1349. //防止拖动图标即打开了桌面应用
  1350. U.MD.D.click(this, obj);
  1351. }, [_szjkyStudentDeskIconInfo[i]])
  1352. }, _frag); //
  1353. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1354. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1355. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1356. }
  1357. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1358. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1359. _content = $$("div", {
  1360. className: "U_MD_D_KO",
  1361. "onmousedown": U.UF.C.closure(function(obj) {
  1362. //防止拖动图标即打开了桌面应用
  1363. U.MD.D.click(this, obj);
  1364. }, [_dseiStudentDeskIconInfo[i]]),
  1365. "onclick": U.UF.C.closure(function(obj) {
  1366. //防止拖动图标即打开了桌面应用
  1367. U.MD.D.click(this, obj);
  1368. }, [_dseiStudentDeskIconInfo[i]])
  1369. }, _frag); //
  1370. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1371. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1372. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1373. }
  1374. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1375. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1376. _content = $$("div", {
  1377. className: "U_MD_D_KO",
  1378. "onmousedown": U.UF.C.closure(function(obj) {
  1379. //防止拖动图标即打开了桌面应用
  1380. U.MD.D.click(this, obj);
  1381. }, [_siesStudentDeskIconInfo[i]]),
  1382. "onclick": U.UF.C.closure(function(obj) {
  1383. //防止拖动图标即打开了桌面应用
  1384. U.MD.D.click(this, obj);
  1385. }, [_siesStudentDeskIconInfo[i]])
  1386. }, _frag); //
  1387. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1388. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1389. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1390. }
  1391. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1392. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1393. _content = $$("div", {
  1394. className: "U_MD_D_KO",
  1395. "onmousedown": U.UF.C.closure(function(obj) {
  1396. //防止拖动图标即打开了桌面应用
  1397. U.MD.D.click(this, obj);
  1398. }, [_hkStudentDeskIconInfo[i]]),
  1399. "onclick": U.UF.C.closure(function(obj) {
  1400. //防止拖动图标即打开了桌面应用
  1401. U.MD.D.click(this, obj);
  1402. }, [_hkStudentDeskIconInfo[i]])
  1403. }, _frag); //
  1404. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1405. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1406. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1407. }
  1408. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1409. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1410. _content = $$("div", {
  1411. className: "U_MD_D_KO",
  1412. "onmousedown": U.UF.C.closure(function(obj) {
  1413. //防止拖动图标即打开了桌面应用
  1414. U.MD.D.click(this, obj);
  1415. }, [_studentDesktopIconInfo[i]]),
  1416. "onclick": U.UF.C.closure(function(obj) {
  1417. //防止拖动图标即打开了桌面应用
  1418. U.MD.D.click(this, obj);
  1419. }, [_studentDesktopIconInfo[i]])
  1420. }, _frag); //
  1421. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1422. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1423. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1424. }
  1425. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1426. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1427. _content = $$("div", {
  1428. className: "U_MD_D_KO",
  1429. "onmousedown": U.UF.C.closure(function(obj) {
  1430. //防止拖动图标即打开了桌面应用
  1431. U.MD.D.click(this, obj);
  1432. }, [_tcStudentDeskIconInfo[i]]),
  1433. "onclick": U.UF.C.closure(function(obj) {
  1434. //防止拖动图标即打开了桌面应用
  1435. U.MD.D.click(this, obj);
  1436. }, [_tcStudentDeskIconInfo[i]])
  1437. }, _frag); //
  1438. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1439. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1440. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1441. }
  1442. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1443. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1444. _content = $$("div", {
  1445. className: "U_MD_D_KO",
  1446. "onmousedown": U.UF.C.closure(function(obj) {
  1447. //防止拖动图标即打开了桌面应用
  1448. U.MD.D.click(this, obj);
  1449. }, [_szscStudentDeskIconInfo[i]]),
  1450. "onclick": U.UF.C.closure(function(obj) {
  1451. //防止拖动图标即打开了桌面应用
  1452. U.MD.D.click(this, obj);
  1453. }, [_szscStudentDeskIconInfo[i]])
  1454. }, _frag); //
  1455. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1456. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1457. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1458. }
  1459. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1460. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1461. _content = $$("div", {
  1462. className: "U_MD_D_KO",
  1463. "onmousedown": U.UF.C.closure(function(obj) {
  1464. //防止拖动图标即打开了桌面应用
  1465. U.MD.D.click(this, obj);
  1466. }, [_studentDesktopIconInfo3[i]]),
  1467. "onclick": U.UF.C.closure(function(obj) {
  1468. //防止拖动图标即打开了桌面应用
  1469. U.MD.D.click(this, obj);
  1470. }, [_studentDesktopIconInfo3[i]])
  1471. }, _frag); //
  1472. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1473. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1474. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1475. }
  1476. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1477. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1478. _content = $$("div", {
  1479. className: "U_MD_D_KO",
  1480. "onmousedown": U.UF.C.closure(function(obj) {
  1481. //防止拖动图标即打开了桌面应用
  1482. U.MD.D.click(this, obj);
  1483. }, [_studentDesktopIconInfo2[i]]),
  1484. "onclick": U.UF.C.closure(function(obj) {
  1485. //防止拖动图标即打开了桌面应用
  1486. U.MD.D.click(this, obj);
  1487. }, [_studentDesktopIconInfo2[i]])
  1488. }, _frag); //
  1489. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1490. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1491. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1492. }
  1493. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1494. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1495. _content = $$("div", {
  1496. className: "U_MD_D_KO",
  1497. "onmousedown": U.UF.C.closure(function(obj) {
  1498. //防止拖动图标即打开了桌面应用
  1499. U.MD.D.click(this, obj);
  1500. }, [_wanketeacherDesktopIconInfo[i]]),
  1501. "onclick": U.UF.C.closure(function(obj) {
  1502. //防止拖动图标即打开了桌面应用
  1503. U.MD.D.click(this, obj);
  1504. }, [_wanketeacherDesktopIconInfo[i]])
  1505. }, _frag); //
  1506. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1507. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1508. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1509. }
  1510. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1511. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1512. _content = $$("div", {
  1513. className: "U_MD_D_KO",
  1514. "onmousedown": U.UF.C.closure(function(obj) {
  1515. //防止拖动图标即打开了桌面应用
  1516. U.MD.D.click(this, obj);
  1517. }, [_wankeAdminDesktopIconInfo[i]]),
  1518. "onclick": U.UF.C.closure(function(obj) {
  1519. //防止拖动图标即打开了桌面应用
  1520. U.MD.D.click(this, obj);
  1521. }, [_wankeAdminDesktopIconInfo[i]])
  1522. }, _frag); //
  1523. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1524. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1525. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1526. }
  1527. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1528. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1529. _content = $$("div", {
  1530. className: "U_MD_D_KO",
  1531. "onmousedown": U.UF.C.closure(function(obj) {
  1532. //防止拖动图标即打开了桌面应用
  1533. U.MD.D.click(this, obj);
  1534. }, [_jccssylTeacherDeskIconInfo[i]]),
  1535. "onclick": U.UF.C.closure(function(obj) {
  1536. //防止拖动图标即打开了桌面应用
  1537. U.MD.D.click(this, obj);
  1538. }, [_jccssylTeacherDeskIconInfo[i]])
  1539. }, _frag); //
  1540. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1541. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1542. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1543. }
  1544. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1545. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1546. _content = $$("div", {
  1547. className: "U_MD_D_KO",
  1548. "onmousedown": U.UF.C.closure(function(obj) {
  1549. //防止拖动图标即打开了桌面应用
  1550. U.MD.D.click(this, obj);
  1551. }, [_tpcOrganizerDeskIconInfo[i]]),
  1552. "onclick": U.UF.C.closure(function(obj) {
  1553. //防止拖动图标即打开了桌面应用
  1554. U.MD.D.click(this, obj);
  1555. }, [_tpcOrganizerDeskIconInfo[i]])
  1556. }, _frag); //
  1557. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1558. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1559. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1560. }
  1561. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1562. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1563. _content = $$("div", {
  1564. className: "U_MD_D_KO",
  1565. "onmousedown": U.UF.C.closure(function(obj) {
  1566. //防止拖动图标即打开了桌面应用
  1567. U.MD.D.click(this, obj);
  1568. }, [_tpcTeacherDeskIconInfo[i]]),
  1569. "onclick": U.UF.C.closure(function(obj) {
  1570. //防止拖动图标即打开了桌面应用
  1571. U.MD.D.click(this, obj);
  1572. }, [_tpcTeacherDeskIconInfo[i]])
  1573. }, _frag); //
  1574. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1575. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1576. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1577. }
  1578. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1579. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1580. _content = $$("div", {
  1581. className: "U_MD_D_KO",
  1582. "onmousedown": U.UF.C.closure(function(obj) {
  1583. //防止拖动图标即打开了桌面应用
  1584. U.MD.D.click(this, obj);
  1585. }, [_teacherDesktopIconInfo2[i]]),
  1586. "onclick": U.UF.C.closure(function(obj) {
  1587. //防止拖动图标即打开了桌面应用
  1588. U.MD.D.click(this, obj);
  1589. }, [_teacherDesktopIconInfo2[i]])
  1590. }, _frag); //
  1591. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1592. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1593. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1594. }
  1595. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1596. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1597. _content = $$("div", {
  1598. className: "U_MD_D_KO",
  1599. "onmousedown": U.UF.C.closure(function(obj) {
  1600. //防止拖动图标即打开了桌面应用
  1601. U.MD.D.click(this, obj);
  1602. }, [_thuioeTeacherDeskIconInfo[i]]),
  1603. "onclick": U.UF.C.closure(function(obj) {
  1604. //防止拖动图标即打开了桌面应用
  1605. U.MD.D.click(this, obj);
  1606. }, [_thuioeTeacherDeskIconInfo[i]])
  1607. }, _frag); //
  1608. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1609. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1610. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1611. }
  1612. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1613. for (i = 0; i < _hkTeacherEnglishDeskIcon.length; i++) {
  1614. _content = $$("div", {
  1615. className: "U_MD_D_KO",
  1616. "onmousedown": U.UF.C.closure(function(obj) {
  1617. //防止拖动图标即打开了桌面应用
  1618. U.MD.D.click(this, obj);
  1619. }, [_hkTeacherEnglishDeskIcon[i]]),
  1620. "onclick": U.UF.C.closure(function(obj) {
  1621. //防止拖动图标即打开了桌面应用
  1622. U.MD.D.click(this, obj);
  1623. }, [_hkTeacherEnglishDeskIcon[i]])
  1624. }, _frag); //
  1625. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1626. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherEnglishDeskIcon[i].style }, _iconcontent);
  1627. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherEnglishDeskIcon[i].Name }, _iconcontent);
  1628. }
  1629. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1630. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1631. _content = $$("div", {
  1632. className: "U_MD_D_KO",
  1633. "onmousedown": U.UF.C.closure(function(obj) {
  1634. //防止拖动图标即打开了桌面应用
  1635. U.MD.D.click(this, obj);
  1636. }, [_lotechTeacherDeskIconInfo[i]]),
  1637. "onclick": U.UF.C.closure(function(obj) {
  1638. //防止拖动图标即打开了桌面应用
  1639. U.MD.D.click(this, obj);
  1640. }, [_lotechTeacherDeskIconInfo[i]])
  1641. }, _frag); //
  1642. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1643. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1644. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1645. } //
  1646. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1647. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1648. _content = $$("div", {
  1649. className: "U_MD_D_KO",
  1650. "onmousedown": U.UF.C.closure(function(obj) {
  1651. //防止拖动图标即打开了桌面应用
  1652. U.MD.D.click(this, obj);
  1653. }, [_siesTeacherDeskIconInfo[i]]),
  1654. "onclick": U.UF.C.closure(function(obj) {
  1655. //防止拖动图标即打开了桌面应用
  1656. U.MD.D.click(this, obj);
  1657. }, [_siesTeacherDeskIconInfo[i]])
  1658. }, _frag); //
  1659. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1660. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1661. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1662. }
  1663. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1664. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1665. _content = $$("div", {
  1666. className: "U_MD_D_KO",
  1667. "onmousedown": U.UF.C.closure(function(obj) {
  1668. //防止拖动图标即打开了桌面应用
  1669. U.MD.D.click(this, obj);
  1670. }, [_longhuaTeacherDeskIconInfo[i]]),
  1671. "onclick": U.UF.C.closure(function(obj) {
  1672. //防止拖动图标即打开了桌面应用
  1673. U.MD.D.click(this, obj);
  1674. }, [_longhuaTeacherDeskIconInfo[i]])
  1675. }, _frag); //
  1676. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1677. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1678. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1679. }
  1680. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1681. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1682. _content = $$("div", {
  1683. className: "U_MD_D_KO",
  1684. "onmousedown": U.UF.C.closure(function(obj) {
  1685. //防止拖动图标即打开了桌面应用
  1686. U.MD.D.click(this, obj);
  1687. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1688. "onclick": U.UF.C.closure(function(obj) {
  1689. //防止拖动图标即打开了桌面应用
  1690. U.MD.D.click(this, obj);
  1691. }, [_yunhaiTeacherDeskIconInfo[i]])
  1692. }, _frag); //
  1693. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1694. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1695. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1696. } //_hkStudentDeskIconInfo
  1697. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1698. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1699. _content = $$("div", {
  1700. className: "U_MD_D_KO",
  1701. "onmousedown": U.UF.C.closure(function(obj) {
  1702. //防止拖动图标即打开了桌面应用
  1703. U.MD.D.click(this, obj);
  1704. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1705. "onclick": U.UF.C.closure(function(obj) {
  1706. //防止拖动图标即打开了桌面应用
  1707. U.MD.D.click(this, obj);
  1708. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1709. }, _frag); //
  1710. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1711. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1712. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1713. }
  1714. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1715. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1716. _content = $$("div", {
  1717. className: "U_MD_D_KO",
  1718. "onmousedown": U.UF.C.closure(function(obj) {
  1719. //防止拖动图标即打开了桌面应用
  1720. U.MD.D.click(this, obj);
  1721. }, [_hkTeacherDeskIconInfo[i]]),
  1722. "onclick": U.UF.C.closure(function(obj) {
  1723. //防止拖动图标即打开了桌面应用
  1724. U.MD.D.click(this, obj);
  1725. }, [_hkTeacherDeskIconInfo[i]])
  1726. }, _frag); //
  1727. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1728. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1729. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1730. }
  1731. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1732. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1733. _content = $$("div", {
  1734. className: "U_MD_D_KO",
  1735. "onmousedown": U.UF.C.closure(function(obj) {
  1736. //防止拖动图标即打开了桌面应用
  1737. U.MD.D.click(this, obj);
  1738. }, [_gdjgAdminDeskIconInfo[i]]),
  1739. "onclick": U.UF.C.closure(function(obj) {
  1740. //防止拖动图标即打开了桌面应用
  1741. U.MD.D.click(this, obj);
  1742. }, [_gdjgAdminDeskIconInfo[i]])
  1743. }, _frag); //
  1744. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1745. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1746. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1747. }
  1748. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1749. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1750. _content = $$("div", {
  1751. className: "U_MD_D_KO",
  1752. "onmousedown": U.UF.C.closure(function(obj) {
  1753. //防止拖动图标即打开了桌面应用
  1754. U.MD.D.click(this, obj);
  1755. }, [_gdjgTeacherDeskIconInfo[i]]),
  1756. "onclick": U.UF.C.closure(function(obj) {
  1757. //防止拖动图标即打开了桌面应用
  1758. U.MD.D.click(this, obj);
  1759. }, [_gdjgTeacherDeskIconInfo[i]])
  1760. }, _frag); //
  1761. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1762. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1763. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1764. }
  1765. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1766. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1767. _content = $$("div", {
  1768. className: "U_MD_D_KO",
  1769. "onmousedown": U.UF.C.closure(function(obj) {
  1770. //防止拖动图标即打开了桌面应用
  1771. U.MD.D.click(this, obj);
  1772. }, [_szherTeacherDeskIconInfo[i]]),
  1773. "onclick": U.UF.C.closure(function(obj) {
  1774. //防止拖动图标即打开了桌面应用
  1775. U.MD.D.click(this, obj);
  1776. }, [_szherTeacherDeskIconInfo[i]])
  1777. }, _frag); //
  1778. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1779. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1780. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1781. }
  1782. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1783. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1784. _content = $$("div", {
  1785. className: "U_MD_D_KO",
  1786. "onmousedown": U.UF.C.closure(function(obj) {
  1787. //防止拖动图标即打开了桌面应用
  1788. U.MD.D.click(this, obj);
  1789. }, [_heyuannAdminDeskIconInfo[i]]),
  1790. "onclick": U.UF.C.closure(function(obj) {
  1791. //防止拖动图标即打开了桌面应用
  1792. U.MD.D.click(this, obj);
  1793. }, [_heyuannAdminDeskIconInfo[i]])
  1794. }, _frag); //
  1795. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1796. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1797. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1798. }
  1799. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1800. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1801. _content = $$("div", {
  1802. className: "U_MD_D_KO",
  1803. "onmousedown": U.UF.C.closure(function(obj) {
  1804. //防止拖动图标即打开了桌面应用
  1805. U.MD.D.click(this, obj);
  1806. }, [_heyuanTeacherDeskIconInfo[i]]),
  1807. "onclick": U.UF.C.closure(function(obj) {
  1808. //防止拖动图标即打开了桌面应用
  1809. U.MD.D.click(this, obj);
  1810. }, [_heyuanTeacherDeskIconInfo[i]])
  1811. }, _frag); //
  1812. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1813. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1814. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1815. } //
  1816. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1817. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1818. _content = $$("div", {
  1819. className: "U_MD_D_KO",
  1820. "onmousedown": U.UF.C.closure(function(obj) {
  1821. //防止拖动图标即打开了桌面应用
  1822. U.MD.D.click(this, obj);
  1823. }, [_dseiAdminDeskIconInfo[i]]),
  1824. "onclick": U.UF.C.closure(function(obj) {
  1825. //防止拖动图标即打开了桌面应用
  1826. U.MD.D.click(this, obj);
  1827. }, [_dseiAdminDeskIconInfo[i]])
  1828. }, _frag); //
  1829. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1830. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1831. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1832. }
  1833. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1834. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1835. _content = $$("div", {
  1836. className: "U_MD_D_KO",
  1837. "onmousedown": U.UF.C.closure(function(obj) {
  1838. //防止拖动图标即打开了桌面应用
  1839. U.MD.D.click(this, obj);
  1840. }, [_dseiTeacherDeskIconInfo[i]]),
  1841. "onclick": U.UF.C.closure(function(obj) {
  1842. //防止拖动图标即打开了桌面应用
  1843. U.MD.D.click(this, obj);
  1844. }, [_dseiTeacherDeskIconInfo[i]])
  1845. }, _frag); //
  1846. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1847. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1848. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1849. } //
  1850. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1851. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1852. _content = $$("div", {
  1853. className: "U_MD_D_KO",
  1854. "onmousedown": U.UF.C.closure(function(obj) {
  1855. //防止拖动图标即打开了桌面应用
  1856. U.MD.D.click(this, obj);
  1857. }, [_chjyjAdminDeskIconInfo[i]]),
  1858. "onclick": U.UF.C.closure(function(obj) {
  1859. //防止拖动图标即打开了桌面应用
  1860. U.MD.D.click(this, obj);
  1861. }, [_chjyjAdminDeskIconInfo[i]])
  1862. }, _frag); //
  1863. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1864. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1865. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1866. } //
  1867. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1868. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1869. _content = $$("div", {
  1870. className: "U_MD_D_KO",
  1871. "onmousedown": U.UF.C.closure(function(obj) {
  1872. //防止拖动图标即打开了桌面应用
  1873. U.MD.D.click(this, obj);
  1874. }, [_chjyjTeacherDeskIconInfo[i]]),
  1875. "onclick": U.UF.C.closure(function(obj) {
  1876. //防止拖动图标即打开了桌面应用
  1877. U.MD.D.click(this, obj);
  1878. }, [_chjyjTeacherDeskIconInfo[i]])
  1879. }, _frag); //
  1880. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1881. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1882. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1883. }
  1884. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1885. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1886. _content = $$("div", {
  1887. className: "U_MD_D_KO",
  1888. "onmousedown": U.UF.C.closure(function(obj) {
  1889. //防止拖动图标即打开了桌面应用
  1890. U.MD.D.click(this, obj);
  1891. }, [_szjkyAdminDeskIconInfo[i]]),
  1892. "onclick": U.UF.C.closure(function(obj) {
  1893. //防止拖动图标即打开了桌面应用
  1894. U.MD.D.click(this, obj);
  1895. }, [_szjkyAdminDeskIconInfo[i]])
  1896. }, _frag); //
  1897. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1898. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1899. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1900. } //
  1901. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1902. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1903. _content = $$("div", {
  1904. className: "U_MD_D_KO",
  1905. "onmousedown": U.UF.C.closure(function(obj) {
  1906. //防止拖动图标即打开了桌面应用
  1907. U.MD.D.click(this, obj);
  1908. }, [_szjkyTeacherDeskIconInfo[i]]),
  1909. "onclick": U.UF.C.closure(function(obj) {
  1910. //防止拖动图标即打开了桌面应用
  1911. U.MD.D.click(this, obj);
  1912. }, [_szjkyTeacherDeskIconInfo[i]])
  1913. }, _frag); //
  1914. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1915. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1916. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1917. }
  1918. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1919. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1920. _content = $$("div", {
  1921. className: "U_MD_D_KO",
  1922. "onmousedown": U.UF.C.closure(function(obj) {
  1923. //防止拖动图标即打开了桌面应用
  1924. U.MD.D.click(this, obj);
  1925. }, [_futianAdminDeskIconInfo[i]]),
  1926. "onclick": U.UF.C.closure(function(obj) {
  1927. //防止拖动图标即打开了桌面应用
  1928. U.MD.D.click(this, obj);
  1929. }, [_futianAdminDeskIconInfo[i]])
  1930. }, _frag); //
  1931. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1932. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1933. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1934. }
  1935. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1936. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1937. _content = $$("div", {
  1938. className: "U_MD_D_KO",
  1939. "onmousedown": U.UF.C.closure(function(obj) {
  1940. //防止拖动图标即打开了桌面应用
  1941. U.MD.D.click(this, obj);
  1942. }, [_futianTeacherDeskIconInfo[i]]),
  1943. "onclick": U.UF.C.closure(function(obj) {
  1944. //防止拖动图标即打开了桌面应用
  1945. U.MD.D.click(this, obj);
  1946. }, [_futianTeacherDeskIconInfo[i]])
  1947. }, _frag); //
  1948. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1949. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1950. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1951. }
  1952. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1953. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1954. _content = $$("div", {
  1955. className: "U_MD_D_KO",
  1956. "onmousedown": U.UF.C.closure(function(obj) {
  1957. //防止拖动图标即打开了桌面应用
  1958. U.MD.D.click(this, obj);
  1959. }, [_MingdeTeacherDeskIcon[i]]),
  1960. "onclick": U.UF.C.closure(function(obj) {
  1961. //防止拖动图标即打开了桌面应用
  1962. U.MD.D.click(this, obj);
  1963. }, [_MingdeTeacherDeskIcon[i]])
  1964. }, _frag); //
  1965. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1966. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1967. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1968. }
  1969. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1970. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1971. _content = $$("div", {
  1972. className: "U_MD_D_KO",
  1973. "onmousedown": U.UF.C.closure(function(obj) {
  1974. //防止拖动图标即打开了桌面应用
  1975. U.MD.D.click(this, obj);
  1976. }, [_lhsAdminDesktopIconInfo[i]]),
  1977. "onclick": U.UF.C.closure(function(obj) {
  1978. //防止拖动图标即打开了桌面应用
  1979. U.MD.D.click(this, obj);
  1980. }, [_lhsAdminDesktopIconInfo[i]])
  1981. }, _frag); //
  1982. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1983. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1984. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1985. }
  1986. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1987. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1988. _content = $$("div", {
  1989. className: "U_MD_D_KO",
  1990. "onmousedown": U.UF.C.closure(function(obj) {
  1991. //防止拖动图标即打开了桌面应用
  1992. U.MD.D.click(this, obj);
  1993. }, [_lhsteacherDesktopIconInfo[i]]),
  1994. "onclick": U.UF.C.closure(function(obj) {
  1995. //防止拖动图标即打开了桌面应用
  1996. U.MD.D.click(this, obj);
  1997. }, [_lhsteacherDesktopIconInfo[i]])
  1998. }, _frag); //
  1999. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2000. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2001. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2002. }
  2003. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2004. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2005. _content = $$("div", {
  2006. className: "U_MD_D_KO",
  2007. "onmousedown": U.UF.C.closure(function(obj) {
  2008. //防止拖动图标即打开了桌面应用
  2009. U.MD.D.click(this, obj);
  2010. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2011. "onclick": U.UF.C.closure(function(obj) {
  2012. //防止拖动图标即打开了桌面应用
  2013. U.MD.D.click(this, obj);
  2014. }, [_zhoujiateacherDesktopIconInfo[i]])
  2015. }, _frag); //
  2016. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2017. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2018. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2019. }
  2020. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2021. for (i = 0; i < _hanDeskIcon.length; i++) {
  2022. _content = $$("div", {
  2023. className: "U_MD_D_KO",
  2024. "onmousedown": U.UF.C.closure(function(obj) {
  2025. //防止拖动图标即打开了桌面应用
  2026. U.MD.D.click(this, obj);
  2027. }, [_hanDeskIcon[i]]),
  2028. "onclick": U.UF.C.closure(function(obj) {
  2029. //防止拖动图标即打开了桌面应用
  2030. U.MD.D.click(this, obj);
  2031. }, [_hanDeskIcon[i]])
  2032. }, _frag); //
  2033. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2034. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2035. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2036. }
  2037. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2038. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2039. _content = $$("div", {
  2040. className: "U_MD_D_KO",
  2041. "onmousedown": U.UF.C.closure(function(obj) {
  2042. //防止拖动图标即打开了桌面应用
  2043. U.MD.D.click(this, obj);
  2044. }, [_orgStemDeskIcon[i]]),
  2045. "onclick": U.UF.C.closure(function(obj) {
  2046. //防止拖动图标即打开了桌面应用
  2047. U.MD.D.click(this, obj);
  2048. }, [_orgStemDeskIcon[i]])
  2049. }, _frag); //
  2050. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2051. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2052. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2053. }
  2054. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2055. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2056. _content = $$("div", {
  2057. className: "U_MD_D_KO",
  2058. "onmousedown": U.UF.C.closure(function(obj) {
  2059. //防止拖动图标即打开了桌面应用
  2060. U.MD.D.click(this, obj);
  2061. }, [_szulsDeskIcon[i]]),
  2062. "onclick": U.UF.C.closure(function(obj) {
  2063. //防止拖动图标即打开了桌面应用
  2064. U.MD.D.click(this, obj);
  2065. }, [_szulsDeskIcon[i]])
  2066. }, _frag); //
  2067. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2068. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2069. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2070. }
  2071. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2072. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2073. _content = $$("div", {
  2074. className: "U_MD_D_KO",
  2075. "onmousedown": U.UF.C.closure(function(obj) {
  2076. //防止拖动图标即打开了桌面应用
  2077. U.MD.D.click(this, obj);
  2078. }, [_orgDesktopIconInfo[i]]),
  2079. "onclick": U.UF.C.closure(function(obj) {
  2080. //防止拖动图标即打开了桌面应用
  2081. U.MD.D.click(this, obj);
  2082. }, [_orgDesktopIconInfo[i]])
  2083. }, _frag); //
  2084. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2085. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2086. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2087. }
  2088. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2089. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2090. _content = $$("div", {
  2091. className: "U_MD_D_KO",
  2092. "onmousedown": U.UF.C.closure(function(obj) {
  2093. //防止拖动图标即打开了桌面应用
  2094. U.MD.D.click(this, obj);
  2095. }, [_schoolDesktopIconInfo[i]]),
  2096. "onclick": U.UF.C.closure(function(obj) {
  2097. //防止拖动图标即打开了桌面应用
  2098. U.MD.D.click(this, obj);
  2099. }, [_schoolDesktopIconInfo[i]])
  2100. }, _frag); //
  2101. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2102. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2103. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2104. }
  2105. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2106. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2107. _content = $$("div", {
  2108. className: "U_MD_D_KO",
  2109. "onmousedown": U.UF.C.closure(function(obj) {
  2110. //防止拖动图标即打开了桌面应用
  2111. U.MD.D.click(this, obj);
  2112. }, [_GMteacherDesktopIconInfo[i]]),
  2113. "onclick": U.UF.C.closure(function(obj) {
  2114. //防止拖动图标即打开了桌面应用
  2115. U.MD.D.click(this, obj);
  2116. }, [_GMteacherDesktopIconInfo[i]])
  2117. }, _frag); //
  2118. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2119. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2120. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2121. }
  2122. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2123. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2124. _content = $$("div", {
  2125. className: "U_MD_D_KO",
  2126. "onmousedown": U.UF.C.closure(function(obj) {
  2127. //防止拖动图标即打开了桌面应用
  2128. U.MD.D.click(this, obj);
  2129. }, [_SONGteacherDesktopIconInfo[i]]),
  2130. "onclick": U.UF.C.closure(function(obj) {
  2131. //防止拖动图标即打开了桌面应用
  2132. U.MD.D.click(this, obj);
  2133. }, [_SONGteacherDesktopIconInfo[i]])
  2134. }, _frag); //
  2135. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2136. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2137. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2138. }
  2139. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2140. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2141. _content = $$("div", {
  2142. className: "U_MD_D_KO",
  2143. "onmousedown": U.UF.C.closure(function(obj) {
  2144. //防止拖动图标即打开了桌面应用
  2145. U.MD.D.click(this, obj);
  2146. }, [_GMstudentDesktopIconInfo[i]]),
  2147. "onclick": U.UF.C.closure(function(obj) {
  2148. //防止拖动图标即打开了桌面应用
  2149. U.MD.D.click(this, obj);
  2150. }, [_GMstudentDesktopIconInfo[i]])
  2151. }, _frag); //
  2152. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2153. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2154. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2155. }
  2156. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2157. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2158. _content = $$("div", {
  2159. className: "U_MD_D_KO",
  2160. "onmousedown": U.UF.C.closure(function(obj) {
  2161. //防止拖动图标即打开了桌面应用
  2162. U.MD.D.click(this, obj);
  2163. }, [_tcTeacherDeskIconInfo[i]]),
  2164. "onclick": U.UF.C.closure(function(obj) {
  2165. //防止拖动图标即打开了桌面应用
  2166. U.MD.D.click(this, obj);
  2167. }, [_tcTeacherDeskIconInfo[i]])
  2168. }, _frag); //
  2169. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2170. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2171. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2172. }
  2173. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2174. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2175. _content = $$("div", {
  2176. className: "U_MD_D_KO",
  2177. "onmousedown": U.UF.C.closure(function(obj) {
  2178. //防止拖动图标即打开了桌面应用
  2179. U.MD.D.click(this, obj);
  2180. }, [_tcOrganizerDeskIconInfo[i]]),
  2181. "onclick": U.UF.C.closure(function(obj) {
  2182. //防止拖动图标即打开了桌面应用
  2183. U.MD.D.click(this, obj);
  2184. }, [_tcOrganizerDeskIconInfo[i]])
  2185. }, _frag); //
  2186. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2187. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2188. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2189. }
  2190. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2191. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2192. _content = $$("div", {
  2193. className: "U_MD_D_KO",
  2194. "onmousedown": U.UF.C.closure(function(obj) {
  2195. //防止拖动图标即打开了桌面应用
  2196. U.MD.D.click(this, obj);
  2197. }, [_szscTeacherDeskIconInfo[i]]),
  2198. "onclick": U.UF.C.closure(function(obj) {
  2199. //防止拖动图标即打开了桌面应用
  2200. U.MD.D.click(this, obj);
  2201. }, [_szscTeacherDeskIconInfo[i]])
  2202. }, _frag); //
  2203. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2204. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2205. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2206. }
  2207. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2208. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2209. _content = $$("div", {
  2210. className: "U_MD_D_KO",
  2211. "onmousedown": U.UF.C.closure(function(obj) {
  2212. //防止拖动图标即打开了桌面应用
  2213. U.MD.D.click(this, obj);
  2214. }, [_szscOrganizerDeskIconInfo[i]]),
  2215. "onclick": U.UF.C.closure(function(obj) {
  2216. //防止拖动图标即打开了桌面应用
  2217. U.MD.D.click(this, obj);
  2218. }, [_szscOrganizerDeskIconInfo[i]])
  2219. }, _frag); //
  2220. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2221. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2222. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2223. }
  2224. } else {
  2225. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2226. _content = $$("div", {
  2227. className: "U_MD_D_KO",
  2228. "onmousedown": U.UF.C.closure(function(obj) {
  2229. //防止拖动图标即打开了桌面应用
  2230. U.MD.D.click(this, obj);
  2231. }, [_teacherDesktopIconInfo[i]]),
  2232. "onclick": U.UF.C.closure(function(obj) {
  2233. //防止拖动图标即打开了桌面应用
  2234. U.MD.D.click(this, obj);
  2235. }, [_teacherDesktopIconInfo[i]])
  2236. }, _frag); //
  2237. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2238. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2239. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2240. }
  2241. }
  2242. } else {
  2243. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2244. _content = $$("div", {
  2245. className: "U_MD_D_KO",
  2246. style: { 'width': '124px', 'height': '145px' },
  2247. "onmousedown": U.UF.C.closure(function(obj) {
  2248. //防止拖动图标即打开了桌面应用
  2249. U.MD.D.click(this, obj);
  2250. }, [_easyDesktopIconInfo[i]]),
  2251. "onclick": U.UF.C.closure(function(obj) {
  2252. //防止拖动图标即打开了桌面应用
  2253. U.MD.D.click(this, obj);
  2254. }, [_easyDesktopIconInfo[i]])
  2255. }, _frag); //
  2256. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2257. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2258. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2259. }
  2260. }
  2261. if (type == 1) {
  2262. //加载好后给图标定位
  2263. U.MD.D.iconPostion($(_frag).Child());
  2264. } else {
  2265. //加载好后给图标定位
  2266. U.MD.D.iconPostion2($(_frag).Child());
  2267. }
  2268. //把图标加载到页面
  2269. el.appendChild(_frag);
  2270. }
  2271. /**
  2272. * 显示任务栏
  2273. *
  2274. * @param {element} 桌面元素
  2275. */
  2276. U.MD.D.I.displayTaskbar = function(el) {
  2277. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2278. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2279. //任务栏位置变化
  2280. U.selectEl(el).css({ "bottom": "0px" });
  2281. //桌面位置变话
  2282. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2283. }
  2284. }
  2285. //#region 桌面图标拖动逻辑
  2286. /**
  2287. * 桌面排列图标
  2288. *
  2289. * @param {element} 桌面元素
  2290. * @param {object} 上下相距的距离
  2291. * @param {object} 左右相距的距离
  2292. * @return {object} 命名空间
  2293. */
  2294. U.MD.D.iconPostion = function(childs, top, left) {
  2295. var i; //用于循环处理
  2296. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2297. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2298. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2299. for (i = 0; i < childs.length; i++) {
  2300. //如果竖排top超过了范围处理
  2301. if (top + 95 > US.height - 10) {
  2302. //left超过了页面范围处理,则向上重叠打印处理
  2303. if ((left + 180) > US.width) {
  2304. top -= 110;
  2305. left -= 90;
  2306. }
  2307. //没有超过范围,那么left+90添加到下一个竖排打印
  2308. else {
  2309. left += 90;
  2310. top = 15;
  2311. };
  2312. }
  2313. //给图标的位置赋值
  2314. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2315. if (i < childs.length - 1) {
  2316. //页面图标每次向下加95
  2317. top += 95;
  2318. }
  2319. }
  2320. //返回最后调用的图标的位置
  2321. return [top, left];
  2322. }
  2323. /**
  2324. * 桌面排列图标
  2325. *
  2326. * @param {element} 桌面元素
  2327. * @param {object} 上下相距的距离
  2328. * @param {object} 左右相距的距离
  2329. * @return {object} 命名空间
  2330. */
  2331. U.MD.D.iconPostion2 = function(childs, top, left) {
  2332. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2333. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2334. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2335. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2336. for (i = 0; i < childs.length; i++) {
  2337. //如果竖排top超过了范围处理
  2338. if (left + 150 > US.width - 10) {
  2339. //left超过了页面范围处理,则向上重叠打印处理
  2340. if ((top + 180) > US.Height) {
  2341. top -= 150;
  2342. left -= 150;
  2343. }
  2344. //没有超过范围,那么left+90添加到下一个竖排打印
  2345. else {
  2346. top += 150;
  2347. left = ol;
  2348. };
  2349. }
  2350. //给图标的位置赋值
  2351. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2352. if (i < childs.length - 1) {
  2353. //页面图标每次向下加95
  2354. left += 150;
  2355. }
  2356. }
  2357. //返回最后调用的图标的位置
  2358. return [top, left];
  2359. }
  2360. /**
  2361. * 桌面点击事件逻辑
  2362. *
  2363. * @param {element} 桌面元素
  2364. * @param {object} 上下相距的距离
  2365. * @param {object} 左右相距的距离
  2366. * @return {object} 命名空间
  2367. */
  2368. U.MD.D.click = function(el, obj) {
  2369. var _buttonnumber = event.button; //点击的按钮的事件值
  2370. var _userinfo = US.userInfo;
  2371. U.UF.EV.stopBubble(); //阻止向上冒泡
  2372. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2373. if (_buttonnumber < 2) {
  2374. //如果是click事件的处理
  2375. if (event.type == "click") {
  2376. //如果元素在mousemove事件中没有移动则出发click事件
  2377. if (!U.MD.D.I.IsDrag) {
  2378. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2379. U.alert("请先登录您的账号!");
  2380. setTimeout(() => {
  2381. U.MD.U.L.login();
  2382. }, 2000);
  2383. } else {
  2384. //打开应用处理
  2385. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2386. }
  2387. }
  2388. }
  2389. //如果是mouse事件的处理
  2390. else {
  2391. if (US.Config.type == '1') {
  2392. //拖动处理,添加拖动和拖动结束事件
  2393. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2394. }
  2395. }
  2396. U.MD.D.I.IsDrag = false;
  2397. }
  2398. }
  2399. /**
  2400. * 拖动的处理
  2401. *
  2402. */
  2403. U.MD.D.iconMove = function() {
  2404. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2405. U.MD.D.I.IsDrag = true;
  2406. }
  2407. /**
  2408. * 拖动结束后,这里是定位处理,以网状的形式定位
  2409. *
  2410. * @param {element} 拖动的元素
  2411. * @return {object} 命名空间
  2412. */
  2413. U.MD.D.iconUp = function(el) {
  2414. var _top = 15,
  2415. _left = 20,
  2416. _margin,
  2417. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2418. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2419. if (_positioninfo["OT"] > 15) {
  2420. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2421. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2422. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2423. }
  2424. if (_positioninfo["OL"] > 20) {
  2425. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2426. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2427. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2428. }
  2429. //while循环判断么一个重叠的元素
  2430. do {
  2431. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2432. _top = _positioninfo[0] + 95; //得到定位后的top
  2433. _left = _positioninfo[1]; //得到定位后的left
  2434. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2435. }
  2436. /**
  2437. * 判断拖动后图标是否重叠
  2438. *
  2439. * @param {element} 拖动的元素
  2440. * @param {element} 桌面所有的元素
  2441. * @param {array} 拖动元素的位置
  2442. ----------[0] 上 top
  2443. ----------[1] 左 left
  2444. * @return {object} 命名空间
  2445. */
  2446. U.MD.D.isOverlap = function(el, childs, postionarray) {
  2447. //循环所有的图标
  2448. for (var i = 0; i < childs.length; i++) {
  2449. //判断有没有和该图标诶子重叠的元素
  2450. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2451. return childs[i]; //如果有返回
  2452. }
  2453. }
  2454. }
  2455. //#endregion
  2456. //#endregion
  2457. //#region 桌面应用
  2458. /**
  2459. * 打开应用
  2460. *
  2461. * @param {string} 类型
  2462. -----------------Disk 网盘系统
  2463. -----------------PDisk 学习系统网盘
  2464. -----------------Poto 图片
  2465. -----------------Video 视频
  2466. -----------------Music 音乐
  2467. -----------------Word word
  2468. -----------------Excel excel
  2469. -----------------Txt 记事本
  2470. -----------------PB 学习系统
  2471. -----------------Blog 朋友圈系统
  2472. -----------------FTP ftp系统
  2473. -----------------Group 好友群
  2474. -----------------SY 首页系统
  2475. -----------------Set 个人设置
  2476. -----------------XSet 系统设置
  2477. -----------------App 我们所有的app
  2478. -----------------BC c.1473.cn 平台
  2479. -----------------CWeb d.1473.cn 变成平台
  2480. -----------------其他的外联系统 我们统一用iframe打开
  2481. * @param {array} 类型
  2482. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2483. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2484. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2485. 如果第一个参数为其他,则无第二个参数
  2486. * @returns {array}
  2487. */
  2488. window.addEventListener('message', function(e) { // 监听 message 事件
  2489. // alert(e.data.type);
  2490. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2491. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2492. //3是展示全部阶段 2学生 1老师 4专家
  2493. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2494. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2495. //3是展示全部阶段 2学生 1老师 4专家
  2496. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2497. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2498. //3是展示全部阶段 2学生 1老师 4专家
  2499. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2500. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2501. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2502. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2503. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2504. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2505. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2506. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2507. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2508. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2509. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2510. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2511. //3是展示全部阶段 2学生 1老师 4专家
  2512. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2513. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2514. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2515. U.MD.D.I.selectUser();
  2516. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2517. var _formel = document.getElementById("study");
  2518. U.UF.F.windowZooming(_formel);
  2519. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2520. var _formel = document.getElementById("studyDetail");
  2521. U.UF.F.windowZooming(_formel);
  2522. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2523. var _formel = document.getElementById("studyDetail");
  2524. U.UF.F.windowZooming(_formel);
  2525. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2526. var _formel = document.getElementById("studentStudy");
  2527. U.UF.F.windowZooming(_formel);
  2528. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2529. // var _formel = document.getElementById("study");
  2530. //如果最大化了,那么就把他缩小
  2531. // if (_formel.ismaximize) {
  2532. // return;
  2533. // }
  2534. // U.UF.F.windowZooming(_formel);
  2535. // U.UF.F.topWindow(_formel);
  2536. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2537. // var _formel = document.getElementById("studyDetail");
  2538. //如果最大化了,那么就把他缩小
  2539. // if (_formel.ismaximize) {
  2540. // return;
  2541. // }
  2542. // U.UF.F.windowZooming(_formel);
  2543. // U.UF.F.topWindow(_formel);
  2544. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2545. // var _formel = document.getElementById("studentStudy");
  2546. // if (_formel.ismaximize) {
  2547. // return;
  2548. // }
  2549. // U.UF.F.windowZooming(_formel);
  2550. // U.UF.F.topWindow(_formel);
  2551. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2552. var _formel = document.getElementById("study");
  2553. // if (_formel.ismaximize) {
  2554. // return;
  2555. // }
  2556. // U.UF.F.windowZooming(_formel);
  2557. U.UF.F.topWindow(_formel);
  2558. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2559. var _formel = document.getElementById("studentIndex");
  2560. U.UF.F.windowZooming(_formel);
  2561. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2562. var _formel = document.getElementById("studyDetailS");
  2563. U.UF.F.windowZooming(_formel);
  2564. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2565. var _formel = document.getElementById("studioIndex");
  2566. U.UF.F.windowZooming(_formel);
  2567. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2568. var _formel = document.getElementById("studyDetailStudio");
  2569. U.UF.F.windowZooming(_formel);
  2570. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2571. var _formel = document.getElementById("studyDetailStudio");
  2572. U.UF.F.windowZooming(_formel);
  2573. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2574. var _formel = document.getElementById("studyDetailNT");
  2575. U.UF.F.windowZooming(_formel);
  2576. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2577. var _formel = document.getElementById("studyDetailS");
  2578. U.UF.F.windowZooming(_formel);
  2579. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2580. var _formel = document.getElementById("studyDetailS");
  2581. U.UF.F.topWindow(_formel);
  2582. } else if (e.data.tools && e.data.tools == "1") {
  2583. // U.MD.D.I.openApplication("whiteboard")
  2584. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2585. } else if (e.data.tools && e.data.tools == "2") {
  2586. U.MD.D.I.openApplication("note")
  2587. } else if (e.data.tools && e.data.tools == "3") {
  2588. // U.MD.D.I.openApplication("mind")
  2589. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2590. } else if (e.data.tools && e.data.tools == "4") {
  2591. U.MD.D.I.openApplication("investigation")
  2592. } else if (e.data.tools && e.data.tools == "6") {
  2593. // U.MD.D.I.openApplication("doc")
  2594. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2595. } else if (e.data.tools && e.data.tools == "7") {
  2596. // U.MD.D.I.openApplication("mindNetwork")
  2597. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2598. } else if (e.data.tools && e.data.tools == "8") {
  2599. U.MD.D.I.openApplication("library")
  2600. } else if (e.data.tools && e.data.tools == "17") {
  2601. U.MD.D.I.openApplication("stuLibrary")
  2602. } else if (e.data.tools && e.data.tools == "18") {
  2603. U.MD.D.I.openApplication("train")
  2604. } else if (e.data.tools && e.data.tools == "21") {
  2605. U.MD.D.I.openApplication("program")
  2606. } else if (e.data.tools && e.data.tools == "22") {
  2607. U.MD.D.I.openApplication("AIprogram2")
  2608. } else if (e.data.tools && e.data.tools == "23") {
  2609. U.MD.D.I.openApplication("Pythonprogram")
  2610. } else if (e.data.tools && e.data.tools == "24") {
  2611. U.MD.D.I.openApplication("AIprogram")
  2612. } else if (e.data.tools && e.data.tools == "25") {
  2613. U.MD.D.I.openApplication("sys")
  2614. } else if (e.data.tools && e.data.tools == "26") {
  2615. // U.MD.D.I.openApplication("courseDesign")
  2616. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2617. } else if (e.data.tools && e.data.tools == "31") {
  2618. U.MD.D.I.openApplication("netWorkPanel")
  2619. } else if (e.data.tools && e.data.tools == "32") {
  2620. U.MD.D.I.openApplication("codeEdit")
  2621. } else if (e.data.tools && e.data.tools == "57") {
  2622. U.MD.D.I.openApplication("CocoPi")
  2623. } else if (e.data.tools && e.data.tools == "63") {
  2624. U.MD.D.I.openApplication("Wood")
  2625. } else if (e.data.tools && e.data.tools == "58") {
  2626. U.MD.D.I.openApplication("car")
  2627. } else if (e.data.tools && e.data.tools == "59") {
  2628. U.MD.D.I.openApplication("lineSearch")
  2629. } else if (e.data.tools && e.data.tools == "60") {
  2630. U.MD.D.I.openApplication("deepLearning")
  2631. } else if (e.data.tools && e.data.tools == "61") {
  2632. U.MD.D.I.openApplication("allHistory")
  2633. } else if (e.data.tools && e.data.tools == "28") {
  2634. U.MD.D.I.openApplication("translation")
  2635. } else if (e.data.tools && e.data.tools == "37") {
  2636. U.MD.D.I.openApplication("mohe")
  2637. } else if (e.data.tools && e.data.tools == "38") {
  2638. U.MD.D.I.openApplication("24game")
  2639. } else if (e.data.tools && e.data.tools == "39") {
  2640. U.MD.D.I.openApplication("GeoGebra")
  2641. } else if (e.data.tools && e.data.tools == "43") {
  2642. U.MD.D.I.openApplication("studentEvaluate")
  2643. } else if (e.data.tools && e.data.tools == "44") {
  2644. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2645. } else if (e.data.tools && e.data.tools == "46") {
  2646. U.MD.D.I.openApplication("project")
  2647. } else if (e.data.tools && e.data.tools == "1s") {
  2648. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2649. } else if (e.data.tools && e.data.tools == "3s") {
  2650. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2651. } else if (e.data.tools && e.data.tools == "6s") {
  2652. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2653. } else if (e.data.tools && e.data.tools == "1studio") {
  2654. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2655. } else if (e.data.tools && e.data.tools == "3studio") {
  2656. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2657. } else if (e.data.tools && e.data.tools == "6studio") {
  2658. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2659. } else if (e.data.tools && e.data.tools == "3y") {
  2660. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2661. } else if (e.data.tools && e.data.tools == "1y") {
  2662. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2663. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2664. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2665. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2666. U.MD.D.I.openApplication("AIAnalyse")
  2667. } else if (e.data.tools && e.data.tools == "1teacher") {
  2668. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2669. } else if (e.data.tools && e.data.tools == "3teacher") {
  2670. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2671. } else if (e.data.tools && e.data.tools == "7teacher") {
  2672. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2673. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2674. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2675. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2676. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2677. } else if (e.data.tools && e.data.tools == "1E") {
  2678. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2679. } else if (e.data.tools && e.data.tools == "3E") {
  2680. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2681. } else if (e.data.tools && e.data.tools == "57y") {
  2682. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2683. } else if (e.data.tools && e.data.tools == "57u") {
  2684. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2685. } else if (e.data.tools && e.data.tools == "57teacher") {
  2686. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2687. } else if (e.data.tools && e.data.tools == "64") {
  2688. U.MD.D.I.openApplication("AIChat")
  2689. } else if (e.data.tools && e.data.tools == "66") {
  2690. U.MD.D.I.openApplication("formulaEdi")
  2691. } else if (e.data.tools && e.data.tools == "67") {
  2692. U.MD.D.I.openApplication("molStr")
  2693. } else if (e.data.tools && e.data.tools == "68") {
  2694. U.MD.D.I.openApplication("timeAxis")
  2695. } else if (e.data.tools && e.data.tools == "openCourse") {
  2696. let _data = {
  2697. typea: e.data.typea || '',
  2698. typeb: e.data.typeb || '',
  2699. typed: e.data.typed || '',
  2700. }
  2701. U.MD.D.I.openInApplication("index", _data)
  2702. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2703. let _data = {
  2704. classid: e.data.classid || '',
  2705. }
  2706. U.MD.D.I.openInApplication("dataClass", _data)
  2707. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2708. let _data = {
  2709. cid: e.data.cid || '',
  2710. gid: e.data.gid || '',
  2711. }
  2712. U.MD.D.I.openInApplication("opencCscl", _data)
  2713. }
  2714. });
  2715. U.MD.D.I.selectUser = function() {
  2716. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid
  2717. if (res.value[0].length > 0) {
  2718. US.userInfo = res.value[0][0];
  2719. $(".userName")[0].innerHTML = US.userInfo.username;
  2720. }
  2721. }, [], { "type": "GET", "withCredentials": true });
  2722. }
  2723. U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
  2724. var _userinfo = US.userInfo, //登录用户信息
  2725. _userid = US.userInfo.userid, //登录用户id
  2726. _oid = _userinfo.organizeid,
  2727. _type = US.userInfo.type,
  2728. _org = US.userInfo.org,
  2729. _role = US.userInfo.role,
  2730. _classId = US.userInfo.classid;
  2731. if (_type == 4) {
  2732. tType = 4
  2733. }
  2734. switch (str) {
  2735. case "studyDetailNT": //无终端模式
  2736. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2737. setTimeout(() => {
  2738. U.MD.U.L.login();
  2739. }, 2000);
  2740. } else {
  2741. _formdiv = new U.UF.UI.form(
  2742. "课程详情",
  2743. $$("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 }), {
  2744. "id": "studyDetailNT",
  2745. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2746. "onresize": function() {}
  2747. }, {
  2748. closecallback: function() {}
  2749. }, { "style": { "height": "36px" } }).form; //创建窗体
  2750. _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); } }
  2751. break;
  2752. }
  2753. case "studyDetail":
  2754. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2755. setTimeout(() => {
  2756. U.MD.U.L.login();
  2757. }, 2000);
  2758. } else {
  2759. _formdiv = new U.UF.UI.form(
  2760. "课程详情",
  2761. $$("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 }), {
  2762. "id": "studyDetail",
  2763. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2764. "onresize": function() {}
  2765. }, {
  2766. closecallback: function() {}
  2767. }, { "style": { "height": "36px" } }).form; //创建窗体
  2768. _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); } }
  2769. break;
  2770. }
  2771. case "studyDetailS":
  2772. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2773. setTimeout(() => {
  2774. U.MD.U.L.login();
  2775. }, 2000);
  2776. } else {
  2777. _formdiv = new U.UF.UI.form(
  2778. "项目详情",
  2779. $$("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 }), {
  2780. "id": "studyDetailS",
  2781. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2782. "onresize": function() {}
  2783. }, {
  2784. closecallback: function() {}
  2785. }, { "style": { "height": "36px" } }).form; //创建窗体
  2786. _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); } }
  2787. break;
  2788. }
  2789. case "studyDetailStudio":
  2790. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2791. setTimeout(() => {
  2792. U.MD.U.L.login();
  2793. }, 2000);
  2794. } else {
  2795. _formdiv = new U.UF.UI.form(
  2796. "工作详情",
  2797. $$("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 }), {
  2798. "id": "studyDetailStudio",
  2799. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2800. "onresize": function() {}
  2801. }, {
  2802. closecallback: function() {}
  2803. }, { "style": { "height": "36px" } }).form; //创建窗体
  2804. _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); } }
  2805. break;
  2806. }
  2807. case "studyDetailS5":
  2808. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2809. setTimeout(() => {
  2810. U.MD.U.L.login();
  2811. }, 2000);
  2812. } else {
  2813. _formdiv = new U.UF.UI.form(
  2814. "项目详情",
  2815. $$("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 }), {
  2816. "id": "studyDetailS",
  2817. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2818. "onresize": function() {}
  2819. }, {
  2820. closecallback: function() {}
  2821. }, { "style": { "height": "36px" } }).form; //创建窗体
  2822. _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); } }
  2823. break;
  2824. }
  2825. case "studyDetailGM":
  2826. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2827. setTimeout(() => {
  2828. U.MD.U.L.login();
  2829. }, 2000);
  2830. } else {
  2831. _formdiv = new U.UF.UI.form(
  2832. "课程详情",
  2833. $$("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 }), {
  2834. "id": "studyDetail",
  2835. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2836. "onresize": function() {}
  2837. }, {
  2838. closecallback: function() {}
  2839. }, { "style": { "height": "36px" } }).form; //创建窗体
  2840. _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); } }
  2841. break;
  2842. }
  2843. case "hanUrl":
  2844. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2845. setTimeout(() => {
  2846. U.MD.U.L.login();
  2847. }, 2000);
  2848. } else {
  2849. _formdiv = new U.UF.UI.form(
  2850. "汉字宫",
  2851. $$("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" }), {
  2852. "id": "hanUrl",
  2853. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2854. "onresize": function() {}
  2855. }, {
  2856. closecallback: function() {}
  2857. }, { "style": { "height": "36px" } }).form; //创建窗体
  2858. _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); } }
  2859. break;
  2860. }
  2861. case "index":
  2862. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2863. setTimeout(() => {
  2864. U.MD.U.L.login();
  2865. }, 2000);
  2866. } else {
  2867. _formdiv = new U.UF.UI.form(
  2868. "Course Library",
  2869. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=2" + "&typea=" + data.typea + "&typeb=" + data.typeb + "&typed=" + data.typed }), {
  2870. "id": "study",
  2871. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2872. "onresize": function() {}
  2873. }, {
  2874. closecallback: function() {}
  2875. }, { "style": { "height": "36px" } }).form; //创建窗体
  2876. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2877. break;
  2878. }
  2879. case "dataClass":
  2880. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2881. setTimeout(() => {
  2882. U.MD.U.L.login();
  2883. }, 2000);
  2884. } else {
  2885. _formdiv = new U.UF.UI.form(
  2886. "数据报告",
  2887. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&cid=" + _classId + "&checkid=" + data.classid }), {
  2888. "id": "dataClass",
  2889. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2890. "onresize": function() {}
  2891. }, {
  2892. closecallback: function() {}
  2893. }, { "style": { "height": "36px" } }).form; //创建窗体
  2894. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "数据报告", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2895. break;
  2896. }
  2897. case "opencCscl":
  2898. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2899. setTimeout(() => {
  2900. U.MD.U.L.login();
  2901. }, 2000);
  2902. } else {
  2903. _formdiv = new U.UF.UI.form(
  2904. "CocoNote",
  2905. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.com?cid=" + data.cid + "&gid=" + data.gid }), {
  2906. "id": "futureClass",
  2907. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2908. "onresize": function() {}
  2909. }, {
  2910. closecallback: function() { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  2911. }, { "style": { "height": "36px" } }).form; //创建窗体
  2912. _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); } }
  2913. break;
  2914. }
  2915. }
  2916. }
  2917. U.MD.D.I.openApplication = function(str, obj, info) {
  2918. obj = obj || {};
  2919. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2920. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2921. _userinfo = US.userInfo, //登录用户信息
  2922. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2923. _oid = obj.organizeid || _userinfo.organizeid,
  2924. _type = US.userInfo.type,
  2925. _org = US.userInfo.org,
  2926. _role = US.userInfo.role,
  2927. _classId = US.userInfo.classid,
  2928. _TscreenType = 1
  2929. _screenType = 2,
  2930. _SscreenType = 3;
  2931. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2932. return;
  2933. }
  2934. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2935. switch (str) {
  2936. case "studnetProject": //好友打开
  2937. _formdiv = new U.UF.UI.form(
  2938. "我的项目",
  2939. $$("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 }), {
  2940. "id": "studnetProject",
  2941. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2942. "onresize": function() {}
  2943. }, {
  2944. closecallback: function() {}
  2945. }, { "style": { "height": "36px" } }).form; //创建窗体
  2946. _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); } }
  2947. break;
  2948. case "studentEvaluate": //好友打开
  2949. _formdiv = new U.UF.UI.form(
  2950. "我的评价",
  2951. $$("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 }), {
  2952. "id": "studentEvaluate",
  2953. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2954. "onresize": function() {}
  2955. }, {
  2956. closecallback: function() {}
  2957. }, { "style": { "height": "36px" } }).form; //创建窗体
  2958. _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); } }
  2959. break;
  2960. case "my":
  2961. _formdiv = new U.UF.UI.form(
  2962. "我的资料",
  2963. $$("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 }), {
  2964. "id": "my",
  2965. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2966. "onresize": function() {}
  2967. }, {
  2968. closecallback: function() {}
  2969. }, { "style": { "height": "36px" } }).form; //创建窗体
  2970. _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); } }
  2971. break;
  2972. case "program":
  2973. _formdiv = new U.UF.UI.form(
  2974. "编程平台",
  2975. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2976. "id": "program",
  2977. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2978. "onresize": function() {}
  2979. }, {
  2980. closecallback: function() {}
  2981. }, { "style": { "height": "36px" } }).form; //创建窗体
  2982. _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); } }
  2983. break;
  2984. case "library":
  2985. _formdiv = new U.UF.UI.form(
  2986. "素材库",
  2987. $$("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 }), {
  2988. "id": "library",
  2989. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2990. "onresize": function() {}
  2991. }, {
  2992. closecallback: function() {}
  2993. }, { "style": { "height": "36px" } }).form; //创建窗体
  2994. _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); } }
  2995. break;
  2996. case "whiteboard":
  2997. _formdiv = new U.UF.UI.form(
  2998. "电子白板",
  2999. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3000. "id": "whiteboard",
  3001. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3002. "onresize": function() {}
  3003. }, {
  3004. closecallback: function() {}
  3005. }, { "style": { "height": "36px" } }).form; //创建窗体
  3006. _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); } }
  3007. break;
  3008. case "investigation":
  3009. _formdiv = new U.UF.UI.form(
  3010. "问卷调查",
  3011. $$("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 }), {
  3012. "id": "investigation",
  3013. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3014. "onresize": function() {}
  3015. }, {
  3016. closecallback: function() {}
  3017. }, { "style": { "height": "36px" } }).form; //创建窗体
  3018. _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); } }
  3019. break;
  3020. case "note":
  3021. _formdiv = new U.UF.UI.form(
  3022. "便签分类",
  3023. $$("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 }), {
  3024. "id": "note",
  3025. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3026. "onresize": function() {}
  3027. }, {
  3028. closecallback: function() {}
  3029. }, { "style": { "height": "36px" } }).form; //创建窗体
  3030. _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); } }
  3031. break;
  3032. // case "score":
  3033. // _formdiv = new U.UF.UI.form(
  3034. // "量规评分",
  3035. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3036. // "id": "score",
  3037. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3038. // "onresize": function() {}
  3039. // }, {
  3040. // closecallback: function() {}
  3041. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3042. // _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); } }
  3043. // break;
  3044. case "mind":
  3045. _formdiv = new U.UF.UI.form(
  3046. "思维导图",
  3047. $$("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"
  3048. "id": "mind",
  3049. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3050. "onresize": function() {}
  3051. }, {
  3052. closecallback: function() {}
  3053. }, { "style": { "height": "36px" } }).form; //创建窗体
  3054. _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); } }
  3055. break;
  3056. case "doc":
  3057. // U.MD.D.I.isRoom();
  3058. _formdiv = new U.UF.UI.form(
  3059. "协同文档",
  3060. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3061. "id": "doc",
  3062. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3063. "onresize": function() {}
  3064. }, {
  3065. closecallback: function() {}
  3066. }, { "style": { "height": "36px" } }).form; //创建窗体
  3067. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3068. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3069. // })
  3070. _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); } }
  3071. break;
  3072. case "studentStudy":
  3073. _formdiv = new U.UF.UI.form(
  3074. "Course Library",
  3075. $$("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
  3076. "id": "studentStudy",
  3077. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3078. "onresize": function() {}
  3079. }, {
  3080. closecallback: function() {}
  3081. }, { "style": { "height": "36px" } }).form; //创建窗体
  3082. _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); } }
  3083. break;
  3084. case "train": //好友打开
  3085. _formdiv = new U.UF.UI.form(
  3086. "训练平台",
  3087. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3088. "id": "train",
  3089. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3090. "onresize": function() {}
  3091. }, {
  3092. closecallback: function() {}
  3093. }, { "style": { "height": "36px" } }).form; //创建窗体
  3094. _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); } }
  3095. break;
  3096. case "mindNetwork": //好友打开
  3097. _formdiv = new U.UF.UI.form(
  3098. "思维网格",
  3099. $$("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 }), {
  3100. "id": "mindNetwork",
  3101. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3102. "onresize": function() {}
  3103. }, {
  3104. closecallback: function() {}
  3105. }, { "style": { "height": "36px" } }).form; //创建窗体
  3106. _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); } }
  3107. break;
  3108. case "studentClassRoom": //好友打开
  3109. _formdiv = new U.UF.UI.form(
  3110. "实时课堂",
  3111. $$("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 }), {
  3112. "id": "studentClassRoom",
  3113. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3114. "onresize": function() {}
  3115. }, {
  3116. closecallback: function() {}
  3117. }, { "style": { "height": "36px" } }).form; //创建窗体
  3118. _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); } }
  3119. setTimeout(() => {
  3120. U.UF.F.windowZooming(_formdiv)
  3121. }, 0);
  3122. break;
  3123. }
  3124. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3125. switch (str) {
  3126. case "studnetProject": //好友打开
  3127. _formdiv = new U.UF.UI.form(
  3128. "我的项目",
  3129. $$("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 }), {
  3130. "id": "studnetProject",
  3131. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3132. "onresize": function() {}
  3133. }, {
  3134. closecallback: function() {}
  3135. }, { "style": { "height": "36px" } }).form; //创建窗体
  3136. _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); } }
  3137. break;
  3138. case "studentEvaluate": //好友打开
  3139. _formdiv = new U.UF.UI.form(
  3140. "我的评价",
  3141. $$("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 }), {
  3142. "id": "studentEvaluate",
  3143. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3144. "onresize": function() {}
  3145. }, {
  3146. closecallback: function() {}
  3147. }, { "style": { "height": "36px" } }).form; //创建窗体
  3148. _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); } }
  3149. break;
  3150. case "my":
  3151. _formdiv = new U.UF.UI.form(
  3152. "我的资料",
  3153. $$("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 }), {
  3154. "id": "my",
  3155. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3156. "onresize": function() {}
  3157. }, {
  3158. closecallback: function() {}
  3159. }, { "style": { "height": "36px" } }).form; //创建窗体
  3160. _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); } }
  3161. break;
  3162. case "program":
  3163. _formdiv = new U.UF.UI.form(
  3164. "编程平台",
  3165. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3166. "id": "program",
  3167. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3168. "onresize": function() {}
  3169. }, {
  3170. closecallback: function() {}
  3171. }, { "style": { "height": "36px" } }).form; //创建窗体
  3172. _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); } }
  3173. break;
  3174. case "library":
  3175. _formdiv = new U.UF.UI.form(
  3176. "素材库",
  3177. $$("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 }), {
  3178. "id": "library",
  3179. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3180. "onresize": function() {}
  3181. }, {
  3182. closecallback: function() {}
  3183. }, { "style": { "height": "36px" } }).form; //创建窗体
  3184. _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); } }
  3185. break;
  3186. case "whiteboard":
  3187. _formdiv = new U.UF.UI.form(
  3188. "电子白板",
  3189. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3190. "id": "whiteboard",
  3191. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3192. "onresize": function() {}
  3193. }, {
  3194. closecallback: function() {}
  3195. }, { "style": { "height": "36px" } }).form; //创建窗体
  3196. _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); } }
  3197. break;
  3198. case "investigation":
  3199. _formdiv = new U.UF.UI.form(
  3200. "问卷调查",
  3201. $$("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 }), {
  3202. "id": "investigation",
  3203. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3204. "onresize": function() {}
  3205. }, {
  3206. closecallback: function() {}
  3207. }, { "style": { "height": "36px" } }).form; //创建窗体
  3208. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3209. break;
  3210. case "note":
  3211. _formdiv = new U.UF.UI.form(
  3212. "便签分类",
  3213. $$("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 }), {
  3214. "id": "note",
  3215. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3216. "onresize": function() {}
  3217. }, {
  3218. closecallback: function() {}
  3219. }, { "style": { "height": "36px" } }).form; //创建窗体
  3220. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3221. break;
  3222. // case "score":
  3223. // _formdiv = new U.UF.UI.form(
  3224. // "量规评分",
  3225. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3226. // "id": "score",
  3227. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3228. // "onresize": function() {}
  3229. // }, {
  3230. // closecallback: function() {}
  3231. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3232. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3233. // break;
  3234. case "mind":
  3235. _formdiv = new U.UF.UI.form(
  3236. "思维导图",
  3237. $$("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"
  3238. "id": "mind",
  3239. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3240. "onresize": function() {}
  3241. }, {
  3242. closecallback: function() {}
  3243. }, { "style": { "height": "36px" } }).form; //创建窗体
  3244. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3245. break;
  3246. case "doc":
  3247. // U.MD.D.I.isRoom();
  3248. _formdiv = new U.UF.UI.form(
  3249. "协同文档",
  3250. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3251. "id": "doc",
  3252. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3253. "onresize": function() {}
  3254. }, {
  3255. closecallback: function() {}
  3256. }, { "style": { "height": "36px" } }).form; //创建窗体
  3257. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3258. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3259. })
  3260. _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); } }
  3261. break;
  3262. case "train": //好友打开
  3263. _formdiv = new U.UF.UI.form(
  3264. "训练平台",
  3265. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3266. "id": "train",
  3267. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3268. "onresize": function() {}
  3269. }, {
  3270. closecallback: function() {}
  3271. }, { "style": { "height": "36px" } }).form; //创建窗体
  3272. _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); } }
  3273. break;
  3274. case "studentStudy":
  3275. _formdiv = new U.UF.UI.form(
  3276. "Course Library",
  3277. $$("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
  3278. "id": "studentStudy",
  3279. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3280. "onresize": function() {}
  3281. }, {
  3282. closecallback: function() {}
  3283. }, { "style": { "height": "36px" } }).form; //创建窗体
  3284. _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); } }
  3285. break;
  3286. case "mindNetwork": //好友打开
  3287. _formdiv = new U.UF.UI.form(
  3288. "思维网格",
  3289. $$("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 }), {
  3290. "id": "mindNetwork",
  3291. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3292. "onresize": function() {}
  3293. }, {
  3294. closecallback: function() {}
  3295. }, { "style": { "height": "36px" } }).form; //创建窗体
  3296. _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); } }
  3297. break;
  3298. case "studentClassRoom": //好友打开
  3299. _formdiv = new U.UF.UI.form(
  3300. "实时课堂",
  3301. $$("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 }), {
  3302. "id": "studentClassRoom",
  3303. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3304. "onresize": function() {}
  3305. }, {
  3306. closecallback: function() {}
  3307. }, { "style": { "height": "36px" } }).form; //创建窗体
  3308. _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); } }
  3309. setTimeout(() => {
  3310. U.UF.F.windowZooming(_formdiv)
  3311. }, 0);
  3312. break;
  3313. }
  3314. } else if (_type == 2 && _org == "777559d2-7239-11ee-b98c-005056b86db5") {
  3315. switch (str) {
  3316. case "studentStudy":
  3317. _formdiv = new U.UF.UI.form(
  3318. "Course Library",
  3319. $$("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
  3320. "id": "studentStudy",
  3321. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3322. "onresize": function() {}
  3323. }, {
  3324. closecallback: function() {}
  3325. }, { "style": { "height": "36px" } }).form; //创建窗体
  3326. _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); } }
  3327. break;
  3328. }
  3329. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3330. //选择应用处理
  3331. switch (str) {
  3332. case "project": //好友打开
  3333. _formdiv = new U.UF.UI.form(
  3334. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "Course Planning",
  3335. $$("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 }), {
  3336. "id": "project",
  3337. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3338. "onresize": function() {}
  3339. }, {
  3340. closecallback: function() {}
  3341. }, { "style": { "height": "36px" } }).form; //创建窗体
  3342. _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); } }
  3343. break;
  3344. case "student":
  3345. _formdiv = new U.UF.UI.form(
  3346. "Students Management",
  3347. $$("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 }), {
  3348. "id": "student",
  3349. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3350. "onresize": function() {}
  3351. }, {
  3352. closecallback: function() {}
  3353. }, { "style": { "height": "36px" } }).form; //创建窗体
  3354. _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); } }
  3355. break;
  3356. case "evaluate":
  3357. _formdiv = new U.UF.UI.form(
  3358. "Course Assessment",
  3359. $$("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 }), {
  3360. "id": "evaluate",
  3361. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3362. "onresize": function() {}
  3363. }, {
  3364. closecallback: function() {}
  3365. }, { "style": { "height": "36px" } }).form; //创建窗体
  3366. _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); } }
  3367. break;
  3368. case "sys":
  3369. _formdiv = new U.UF.UI.form(
  3370. "目标管理",
  3371. $$("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 }), {
  3372. "id": "sys",
  3373. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3374. "onresize": function() {}
  3375. }, {
  3376. closecallback: function() {}
  3377. }, { "style": { "height": "36px" } }).form; //创建窗体
  3378. _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); } }
  3379. break;
  3380. case "courseDesign":
  3381. _formdiv = new U.UF.UI.form(
  3382. "项目设计",
  3383. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3384. "id": "courseDesign",
  3385. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3386. "onresize": function() {}
  3387. }, {
  3388. closecallback: function() {}
  3389. }, { "style": { "height": "36px" } }).form; //创建窗体
  3390. _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); } }
  3391. break;
  3392. case "program":
  3393. _formdiv = new U.UF.UI.form(
  3394. "编程平台",
  3395. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3396. "id": "program",
  3397. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3398. "onresize": function() {}
  3399. }, {
  3400. closecallback: function() {}
  3401. }, { "style": { "height": "36px" } }).form; //创建窗体
  3402. _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); } }
  3403. break;
  3404. case "class":
  3405. _formdiv = new U.UF.UI.form(
  3406. "班级管理",
  3407. $$("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 }), {
  3408. "id": "class",
  3409. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3410. "onresize": function() {}
  3411. }, {
  3412. closecallback: function() {}
  3413. }, { "style": { "height": "36px" } }).form; //创建窗体
  3414. _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); } }
  3415. break;
  3416. case "Grade":
  3417. _formdiv = new U.UF.UI.form(
  3418. "年级管理",
  3419. $$("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 }), {
  3420. "id": "Grade",
  3421. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3422. "onresize": function() {}
  3423. }, {
  3424. closecallback: function() {}
  3425. }, { "style": { "height": "36px" } }).form; //创建窗体
  3426. _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); } }
  3427. break;
  3428. case "teacherOffice":
  3429. _formdiv = new U.UF.UI.form(
  3430. "Teachers Management",
  3431. $$("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 }), {
  3432. "id": "teacherOffice",
  3433. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3434. "onresize": function() {}
  3435. }, {
  3436. closecallback: function() {}
  3437. }, { "style": { "height": "36px" } }).form; //创建窗体
  3438. _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); } }
  3439. break;
  3440. case "my":
  3441. _formdiv = new U.UF.UI.form(
  3442. "我的资料",
  3443. $$("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 }), {
  3444. "id": "my",
  3445. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3446. "onresize": function() {}
  3447. }, {
  3448. closecallback: function() {}
  3449. }, { "style": { "height": "36px" } }).form; //创建窗体
  3450. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3451. break;
  3452. case "notice":
  3453. _formdiv = new U.UF.UI.form(
  3454. "通知公告",
  3455. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  3456. "id": "notice",
  3457. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3458. "onresize": function() {}
  3459. }, {
  3460. closecallback: function() {}
  3461. }, { "style": { "height": "36px" } }).form; //创建窗体
  3462. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3463. break;
  3464. case "library":
  3465. _formdiv = new U.UF.UI.form(
  3466. "素材库",
  3467. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  3468. "id": "library",
  3469. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3470. "onresize": function() {}
  3471. }, {
  3472. closecallback: function() {}
  3473. }, { "style": { "height": "36px" } }).form; //创建窗体
  3474. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3475. break;
  3476. case "whiteboard":
  3477. _formdiv = new U.UF.UI.form(
  3478. "电子白板",
  3479. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3480. "id": "whiteboard",
  3481. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3482. "onresize": function() {}
  3483. }, {
  3484. closecallback: function() {}
  3485. }, { "style": { "height": "36px" } }).form; //创建窗体
  3486. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3487. break;
  3488. case "investigation":
  3489. _formdiv = new U.UF.UI.form(
  3490. "问卷调查",
  3491. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3492. "id": "investigation",
  3493. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3494. "onresize": function() {}
  3495. }, {
  3496. closecallback: function() {}
  3497. }, { "style": { "height": "36px" } }).form; //创建窗体
  3498. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3499. break;
  3500. case "note":
  3501. _formdiv = new U.UF.UI.form(
  3502. "便签分类",
  3503. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3504. "id": "note",
  3505. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3506. "onresize": function() {}
  3507. }, {
  3508. closecallback: function() {}
  3509. }, { "style": { "height": "36px" } }).form; //创建窗体
  3510. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3511. break;
  3512. // case "score":
  3513. // _formdiv = new U.UF.UI.form(
  3514. // "量规评分",
  3515. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3516. // "id": "score",
  3517. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3518. // "onresize": function() {}
  3519. // }, {
  3520. // closecallback: function() {}
  3521. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3522. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3523. // break;
  3524. case "mind":
  3525. _formdiv = new U.UF.UI.form(
  3526. "思维导图",
  3527. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3528. "id": "mind",
  3529. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3530. "onresize": function() {}
  3531. }, {
  3532. closecallback: function() {}
  3533. }, { "style": { "height": "36px" } }).form; //创建窗体
  3534. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3535. break;
  3536. case "doc":
  3537. // U.MD.D.I.isRoom();
  3538. _formdiv = new U.UF.UI.form(
  3539. "协同文档",
  3540. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3541. "id": "doc",
  3542. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3543. "onresize": function() {}
  3544. }, {
  3545. closecallback: function() {}
  3546. }, { "style": { "height": "36px" } }).form; //创建窗体
  3547. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3548. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3549. })
  3550. _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); } }
  3551. break;
  3552. case "study":
  3553. _formdiv = new U.UF.UI.form(
  3554. "Course Library",
  3555. $$("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
  3556. "id": "study",
  3557. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3558. "onresize": function() {}
  3559. }, {
  3560. closecallback: function() {}
  3561. }, { "style": { "height": "36px" } }).form; //创建窗体
  3562. _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); } }
  3563. break;
  3564. case "mindNetwork": //好友打开
  3565. _formdiv = new U.UF.UI.form(
  3566. "思维网格",
  3567. $$("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 }), {
  3568. "id": "mindNetwork",
  3569. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3570. "onresize": function() {}
  3571. }, {
  3572. closecallback: function() {}
  3573. }, { "style": { "height": "36px" } }).form; //创建窗体
  3574. _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); } }
  3575. break;
  3576. case "train": //好友打开
  3577. _formdiv = new U.UF.UI.form(
  3578. "训练平台",
  3579. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3580. "id": "mindNetwork",
  3581. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3582. "onresize": function() {}
  3583. }, {
  3584. closecallback: function() {}
  3585. }, { "style": { "height": "36px" } }).form; //创建窗体
  3586. _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); } }
  3587. break;
  3588. case "teacherClassRoom": //好友打开
  3589. _formdiv = new U.UF.UI.form(
  3590. "实时课堂",
  3591. $$("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 }), {
  3592. "id": "teacherClassRoom",
  3593. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3594. "onresize": function() {}
  3595. }, {
  3596. closecallback: function() {}
  3597. }, { "style": { "height": "36px" } }).form; //创建窗体
  3598. _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); } }
  3599. setTimeout(() => {
  3600. U.UF.F.windowZooming(_formdiv)
  3601. }, 0);
  3602. break;
  3603. }
  3604. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3605. switch (str) {
  3606. case "project": //好友打开
  3607. _formdiv = new U.UF.UI.form(
  3608. "Course Planning",
  3609. $$("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 }), {
  3610. "id": "project",
  3611. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3612. "onresize": function() {}
  3613. }, {
  3614. closecallback: function() {}
  3615. }, { "style": { "height": "36px" } }).form; //创建窗体
  3616. _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); } }
  3617. break;
  3618. case "evaluate":
  3619. _formdiv = new U.UF.UI.form(
  3620. "Course Assessment",
  3621. $$("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 }), {
  3622. "id": "evaluate",
  3623. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3624. "onresize": function() {}
  3625. }, {
  3626. closecallback: function() {}
  3627. }, { "style": { "height": "36px" } }).form; //创建窗体
  3628. _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); } }
  3629. break;
  3630. case "notice":
  3631. _formdiv = new U.UF.UI.form(
  3632. "通知公告",
  3633. $$("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 }), {
  3634. "id": "notice",
  3635. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3636. "onresize": function() {}
  3637. }, {
  3638. closecallback: function() {}
  3639. }, { "style": { "height": "36px" } }).form; //创建窗体
  3640. _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); } }
  3641. break;
  3642. case "stuLibrary":
  3643. _formdiv = new U.UF.UI.form(
  3644. "学习资料",
  3645. $$("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 }), {
  3646. "id": "stuLibrary",
  3647. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3648. "onresize": function() {}
  3649. }, {
  3650. closecallback: function() {}
  3651. }, { "style": { "height": "36px" } }).form; //创建窗体
  3652. _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); } }
  3653. break;
  3654. case "program":
  3655. _formdiv = new U.UF.UI.form(
  3656. "编程平台",
  3657. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3658. "id": "program",
  3659. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3660. "onresize": function() {}
  3661. }, {
  3662. closecallback: function() {}
  3663. }, { "style": { "height": "36px" } }).form; //创建窗体
  3664. _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); } }
  3665. break;
  3666. case "whiteboard":
  3667. _formdiv = new U.UF.UI.form(
  3668. "电子白板",
  3669. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3670. "id": "whiteboard",
  3671. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3672. "onresize": function() {}
  3673. }, {
  3674. closecallback: function() {}
  3675. }, { "style": { "height": "36px" } }).form; //创建窗体
  3676. _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); } }
  3677. break;
  3678. case "investigation":
  3679. _formdiv = new U.UF.UI.form(
  3680. "问卷调查",
  3681. $$("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 }), {
  3682. "id": "investigation",
  3683. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3684. "onresize": function() {}
  3685. }, {
  3686. closecallback: function() {}
  3687. }, { "style": { "height": "36px" } }).form; //创建窗体
  3688. _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); } }
  3689. break;
  3690. case "mind":
  3691. _formdiv = new U.UF.UI.form(
  3692. "思维导图",
  3693. $$("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"
  3694. "id": "mind",
  3695. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3696. "onresize": function() {}
  3697. }, {
  3698. closecallback: function() {}
  3699. }, { "style": { "height": "36px" } }).form; //创建窗体
  3700. _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); } }
  3701. break;
  3702. case "doc":
  3703. // U.MD.D.I.isRoom();
  3704. _formdiv = new U.UF.UI.form(
  3705. "协同文档",
  3706. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3707. "id": "doc",
  3708. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3709. "onresize": function() {}
  3710. }, {
  3711. closecallback: function() {}
  3712. }, { "style": { "height": "36px" } }).form; //创建窗体
  3713. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3714. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3715. })
  3716. _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); } }
  3717. break;
  3718. case "study":
  3719. _formdiv = new U.UF.UI.form(
  3720. "Course Library",
  3721. $$("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
  3722. "id": "study",
  3723. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3724. "onresize": function() {}
  3725. }, {
  3726. closecallback: function() {}
  3727. }, { "style": { "height": "36px" } }).form; //创建窗体
  3728. _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); } }
  3729. break;
  3730. case "mindNetwork": //好友打开
  3731. _formdiv = new U.UF.UI.form(
  3732. "思维网格",
  3733. $$("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 }), {
  3734. "id": "mindNetwork",
  3735. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3736. "onresize": function() {}
  3737. }, {
  3738. closecallback: function() {}
  3739. }, { "style": { "height": "36px" } }).form; //创建窗体
  3740. _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); } }
  3741. break;
  3742. case "train": //好友打开
  3743. _formdiv = new U.UF.UI.form(
  3744. "训练平台",
  3745. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3746. "id": "train",
  3747. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3748. "onresize": function() {}
  3749. }, {
  3750. closecallback: function() {}
  3751. }, { "style": { "height": "36px" } }).form; //创建窗体
  3752. _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); } }
  3753. break;
  3754. case "sys":
  3755. _formdiv = new U.UF.UI.form(
  3756. "目标管理",
  3757. $$("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 }), {
  3758. "id": "sys",
  3759. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3760. "onresize": function() {}
  3761. }, {
  3762. closecallback: function() {}
  3763. }, { "style": { "height": "36px" } }).form; //创建窗体
  3764. _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); } }
  3765. break;
  3766. case "courseDesign":
  3767. _formdiv = new U.UF.UI.form(
  3768. "项目设计",
  3769. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3770. "id": "courseDesign",
  3771. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3772. "onresize": function() {}
  3773. }, {
  3774. closecallback: function() {}
  3775. }, { "style": { "height": "36px" } }).form; //创建窗体
  3776. _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); } }
  3777. break;
  3778. }
  3779. } else if ((_type == 1 || _type == 4) && _org == "777559d2-7239-11ee-b98c-005056b86db5") {
  3780. switch (str) {
  3781. case "project": //好友打开
  3782. _formdiv = new U.UF.UI.form(
  3783. "Course Planning",
  3784. $$("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 }), {
  3785. "id": "project",
  3786. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3787. "onresize": function() {}
  3788. }, {
  3789. closecallback: function() {}
  3790. }, { "style": { "height": "36px" } }).form; //创建窗体
  3791. _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); } }
  3792. break;
  3793. case "study":
  3794. _formdiv = new U.UF.UI.form(
  3795. "Course Library",
  3796. $$("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
  3797. "id": "study",
  3798. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3799. "onresize": function() {}
  3800. }, {
  3801. closecallback: function() {}
  3802. }, { "style": { "height": "36px" } }).form; //创建窗体
  3803. _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); } }
  3804. break;
  3805. case "student":
  3806. _formdiv = new U.UF.UI.form(
  3807. "Students Management",
  3808. $$("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 }), {
  3809. "id": "student",
  3810. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3811. "onresize": function() {}
  3812. }, {
  3813. closecallback: function() {}
  3814. }, { "style": { "height": "36px" } }).form; //创建窗体
  3815. _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); } }
  3816. break;
  3817. case "evaluate":
  3818. _formdiv = new U.UF.UI.form(
  3819. "Course Assessment",
  3820. $$("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 }), {
  3821. "id": "evaluate",
  3822. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3823. "onresize": function() {}
  3824. }, {
  3825. closecallback: function() {}
  3826. }, { "style": { "height": "36px" } }).form; //创建窗体
  3827. _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); } }
  3828. break;
  3829. case "studentCourseS": //Project Planning 老师
  3830. _formdiv = new U.UF.UI.form(
  3831. "Project Planning",
  3832. $$("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 }), {
  3833. "id": "studentCourseS",
  3834. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3835. "onresize": function() {}
  3836. }, {
  3837. closecallback: function() {}
  3838. }, { "style": { "height": "36px" } }).form; //创建窗体
  3839. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3840. break;
  3841. case "studentIndex": //Project Library
  3842. _formdiv = new U.UF.UI.form(
  3843. "Project Library",
  3844. $$("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 }), {
  3845. "id": "studentIndex",
  3846. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3847. "onresize": function() {}
  3848. }, {
  3849. closecallback: function() {}
  3850. }, { "style": { "height": "36px" } }).form; //创建窗体
  3851. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "Project Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3852. break;
  3853. case "teacherOffice":
  3854. _formdiv = new U.UF.UI.form(
  3855. "Teachers Management",
  3856. $$("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 }), {
  3857. "id": "teacherOffice",
  3858. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3859. "onresize": function() {}
  3860. }, {
  3861. closecallback: function() {}
  3862. }, { "style": { "height": "36px" } }).form; //创建窗体
  3863. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "Teachers Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3864. break;
  3865. case "learnAna": //好友打开
  3866. _formdiv = new U.UF.UI.form(
  3867. "Learning Analytics",
  3868. $$("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 }), {
  3869. "id": "learnAna",
  3870. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3871. "onresize": function() {}
  3872. }, {
  3873. closecallback: function() {}
  3874. }, { "style": { "height": "36px" } }).form; //创建窗体
  3875. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "Learning Analytics", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3876. break;
  3877. case "AIprogram2": //AI Chat
  3878. _formdiv = new U.UF.UI.form(
  3879. "AI Chat",
  3880. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3881. "id": "AIprogram2",
  3882. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3883. "onresize": function() {}
  3884. }, {
  3885. closecallback: function() {}
  3886. }, { "style": { "height": "36px" } }).form; //创建窗体
  3887. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Chat", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3888. break;
  3889. }
  3890. } else if (!_type) {
  3891. switch (str) {
  3892. case "my":
  3893. _formdiv = new U.UF.UI.form(
  3894. "我的资料",
  3895. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3896. "id": "my",
  3897. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3898. "onresize": function() {}
  3899. }, {
  3900. closecallback: function() {}
  3901. }, { "style": { "height": "36px" } }).form; //创建窗体
  3902. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3903. break;
  3904. }
  3905. }
  3906. switch (str) {
  3907. // AIprogram2 AI Chat aihub.cocorobo.cn
  3908. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3909. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3910. case "formulaEdi": //公式编辑
  3911. _formdiv = new U.UF.UI.form(
  3912. "公式编辑",
  3913. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3914. "id": "formulaEdi",
  3915. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3916. "onresize": function() {}
  3917. }, {
  3918. closecallback: function() {}
  3919. }, { "style": { "height": "36px" } }).form; //创建窗体
  3920. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3921. break;
  3922. case "molStr": //分子结构
  3923. _formdiv = new U.UF.UI.form(
  3924. "分子结构",
  3925. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3926. "id": "molStr",
  3927. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3928. "onresize": function() {}
  3929. }, {
  3930. closecallback: function() {}
  3931. }, { "style": { "height": "36px" } }).form; //创建窗体
  3932. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3933. break;
  3934. case "timeAxis": //时间轴
  3935. _formdiv = new U.UF.UI.form(
  3936. "时间轴",
  3937. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3938. "id": "timeAxis",
  3939. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3940. "onresize": function() {}
  3941. }, {
  3942. closecallback: function() {}
  3943. }, { "style": { "height": "36px" } }).form; //创建窗体
  3944. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3945. break;
  3946. case "AIprogram2": //AI Chat
  3947. _formdiv = new U.UF.UI.form(
  3948. "AI Chat",
  3949. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3950. "id": "AIprogram2",
  3951. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3952. "onresize": function() {}
  3953. }, {
  3954. closecallback: function() {}
  3955. }, { "style": { "height": "36px" } }).form; //创建窗体
  3956. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Chat", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3957. break;
  3958. case "Pythonprogram": //python编程
  3959. _formdiv = new U.UF.UI.form(
  3960. "Python编程",
  3961. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3962. "id": "Pythonprogram",
  3963. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3964. "onresize": function() {}
  3965. }, {
  3966. closecallback: function() {}
  3967. }, { "style": { "height": "36px" } }).form; //创建窗体
  3968. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Pythonprogram.png)" }, "name": "Python编程", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3969. break;
  3970. case "AIprogram": //ai编程
  3971. _formdiv = new U.UF.UI.form(
  3972. "AI编程平台",
  3973. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3974. "id": "AIprogram",
  3975. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3976. "onresize": function() {}
  3977. }, {
  3978. closecallback: function() {}
  3979. }, { "style": { "height": "36px" } }).form; //创建窗体
  3980. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram.png)" }, "name": "AI编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3981. break;
  3982. case "CocoPi": //CocoPi
  3983. _formdiv = new U.UF.UI.form(
  3984. "CocoPi",
  3985. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pi.cocorobo.cn" }), {
  3986. "id": "CocoPi",
  3987. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3988. "onresize": function() {}
  3989. }, {
  3990. closecallback: function() {}
  3991. }, { "style": { "height": "36px" } }).form; //创建窗体
  3992. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3993. break;
  3994. case "Wood": //Wood
  3995. _formdiv = new U.UF.UI.form(
  3996. "海龟编程",
  3997. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://wood.codemao.cn/" }), {
  3998. "id": "Wood",
  3999. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4000. "onresize": function() {}
  4001. }, {
  4002. closecallback: function() {}
  4003. }, { "style": { "height": "36px" } }).form; //创建窗体
  4004. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Wood.png)" }, "name": "海龟编程", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4005. break;
  4006. case "car": //模拟驾驶
  4007. _formdiv = new U.UF.UI.form(
  4008. "模拟驾驶",
  4009. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://slowroads.io/" }), {
  4010. "id": "car",
  4011. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4012. "onresize": function() {}
  4013. }, {
  4014. closecallback: function() {}
  4015. }, { "style": { "height": "36px" } }).form; //创建窗体
  4016. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/car.png)" }, "name": "模拟驾驶", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4017. break;
  4018. case "lineSearch": //路径搜索
  4019. _formdiv = new U.UF.UI.form(
  4020. "路径搜索",
  4021. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://qiao.github.io/PathFinding.js/visual/" }), {
  4022. "id": "lineSearch",
  4023. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4024. "onresize": function() {}
  4025. }, {
  4026. closecallback: function() {}
  4027. }, { "style": { "height": "36px" } }).form; //创建窗体
  4028. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/lineSearch.png)" }, "name": "路径搜索", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4029. break;
  4030. case "deepLearning": //深度学习
  4031. _formdiv = new U.UF.UI.form(
  4032. "深度学习",
  4033. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-demos.cocorobo.cn/teachable-machine/public/#" }), {
  4034. "id": "deepLearning",
  4035. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4036. "onresize": function() {}
  4037. }, {
  4038. closecallback: function() {}
  4039. }, { "style": { "height": "36px" } }).form; //创建窗体
  4040. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/deepLearning.png)" }, "name": "深度学习", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4041. break;
  4042. case "allHistory": //深度学习
  4043. _formdiv = new U.UF.UI.form(
  4044. "全历史",
  4045. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.allhistory.com/" }), {
  4046. "id": "allHistory",
  4047. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4048. "onresize": function() {}
  4049. }, {
  4050. closecallback: function() {}
  4051. }, { "style": { "height": "36px" } }).form; //创建窗体
  4052. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/allHistory.png)" }, "name": "全历史", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4053. break;
  4054. case "chatPDF": //ai编程
  4055. _formdiv = new U.UF.UI.form(
  4056. "chatPDF",
  4057. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4058. "id": "chatPDF",
  4059. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4060. "onresize": function() {}
  4061. }, {
  4062. closecallback: function() {}
  4063. }, { "style": { "height": "36px" } }).form; //创建窗体
  4064. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4065. break;
  4066. case "resources": //国家教育
  4067. _formdiv = new U.UF.UI.form(
  4068. "国家教育",
  4069. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4070. "id": "resources",
  4071. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4072. "onresize": function() {}
  4073. }, {
  4074. closecallback: function() {}
  4075. }, { "style": { "height": "36px" } }).form; //创建窗体
  4076. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/resources.png)" }, "name": "国家教育", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4077. break;
  4078. case "codeEdit": //源码编辑
  4079. _formdiv = new U.UF.UI.form(
  4080. "源码编辑",
  4081. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4082. "id": "codeEdit",
  4083. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4084. "onresize": function() {}
  4085. }, {
  4086. closecallback: function() {}
  4087. }, { "style": { "height": "36px" } }).form; //创建窗体
  4088. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/code.png)" }, "name": "源码编辑", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4089. break; //
  4090. case "MindMap": //MindMap
  4091. _formdiv = new U.UF.UI.form(
  4092. "MindMap",
  4093. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4094. "id": "MindMap",
  4095. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4096. "onresize": function() {}
  4097. }, {
  4098. closecallback: function() {}
  4099. }, { "style": { "height": "36px" } }).form; //创建窗体
  4100. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/MIndMap.png)" }, "name": "MindMap", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4101. break;
  4102. case "netWorkPanel": //netWorkPanel
  4103. _formdiv = new U.UF.UI.form(
  4104. "netWorkPanel",
  4105. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4106. "id": "netWorkPanel",
  4107. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4108. "onresize": function() {}
  4109. }, {
  4110. closecallback: function() {}
  4111. }, { "style": { "height": "36px" } }).form; //创建窗体
  4112. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4113. break;
  4114. case "GeoGebra": //GeoGebra
  4115. _formdiv = new U.UF.UI.form(
  4116. "GeoGebra",
  4117. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.geogebra.org/calculator" }), {
  4118. "id": "GeoGebra",
  4119. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4120. "onresize": function() {}
  4121. }, {
  4122. closecallback: function() {}
  4123. }, { "style": { "height": "36px" } }).form; //创建窗体
  4124. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4125. break;
  4126. case "translation": //翻译
  4127. _formdiv = new U.UF.UI.form(
  4128. "翻译",
  4129. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4130. "id": "translation",
  4131. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4132. "onresize": function() {}
  4133. }, {
  4134. closecallback: function() {}
  4135. }, { "style": { "height": "36px" } }).form; //创建窗体
  4136. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4137. break;
  4138. case "mohe": //魔盒
  4139. _formdiv = new U.UF.UI.form(
  4140. "魔盒识字",
  4141. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4142. "id": "mohe",
  4143. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4144. "onresize": function() {}
  4145. }, {
  4146. closecallback: function() {}
  4147. }, { "style": { "height": "36px" } }).form; //创建窗体
  4148. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4149. break;
  4150. case "24game": //24点
  4151. _formdiv = new U.UF.UI.form(
  4152. "24点",
  4153. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4154. "id": "24game",
  4155. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4156. "onresize": function() {}
  4157. }, {
  4158. closecallback: function() {}
  4159. }, { "style": { "height": "36px" } }).form; //创建窗体
  4160. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4161. break;
  4162. case "case":
  4163. _formdiv = new U.UF.UI.form(
  4164. "课程进展",
  4165. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesign?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4166. "id": "case",
  4167. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4168. "onresize": function() {}
  4169. }, {
  4170. closecallback: function() {}
  4171. }, { "style": { "height": "36px" } }).form; //创建窗体
  4172. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4173. break;
  4174. case "snf":
  4175. _formdiv = new U.UF.UI.form(
  4176. "赛诺梵",
  4177. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//try.cynovan.com/standard/?trial=true&data=%7B%22username%22%3A%22cynovanDemo%22%2C%22password%22%3A%22cynovanDemo%22%7D&redirect_uri=http://janus.cynovan.com/#/app/workflow/menu/1/r/6343ce2ac00fa32609d1f91b" }), {
  4178. "id": "snf",
  4179. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4180. "onresize": function() {}
  4181. }, {
  4182. closecallback: function() {}
  4183. }, { "style": { "height": "36px" } }).form; //创建窗体
  4184. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4185. break;
  4186. case "hanFamily":
  4187. _formdiv = new U.UF.UI.form(
  4188. "汉字家族",
  4189. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4190. "id": "hanFamily",
  4191. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4192. "onresize": function() {}
  4193. }, {
  4194. closecallback: function() {}
  4195. }, { "style": { "height": "36px" } }).form; //创建窗体
  4196. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4197. break;
  4198. case "hanClassics":
  4199. _formdiv = new U.UF.UI.form(
  4200. "国学经典",
  4201. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4202. "id": "hanClassics",
  4203. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4204. "onresize": function() {}
  4205. }, {
  4206. closecallback: function() {}
  4207. }, { "style": { "height": "36px" } }).form; //创建窗体
  4208. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4209. break;
  4210. case "hanTraining":
  4211. _formdiv = new U.UF.UI.form(
  4212. "笔画训练",
  4213. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4214. "id": "hanTraining",
  4215. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4216. "onresize": function() {}
  4217. }, {
  4218. closecallback: function() {}
  4219. }, { "style": { "height": "36px" } }).form; //创建窗体
  4220. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4221. break;
  4222. case "hanClass":
  4223. _formdiv = new U.UF.UI.form(
  4224. "书法课堂",
  4225. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4226. "id": "hanClass",
  4227. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4228. "onresize": function() {}
  4229. }, {
  4230. closecallback: function() {}
  4231. }, { "style": { "height": "36px" } }).form; //创建窗体
  4232. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4233. break;
  4234. case "han":
  4235. _formdiv = new U.UF.UI.form(
  4236. "汉字宫",
  4237. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4238. "id": "han",
  4239. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4240. "onresize": function() {}
  4241. }, {
  4242. closecallback: function() {}
  4243. }, { "style": { "height": "36px" } }).form; //创建窗体
  4244. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4245. break;
  4246. case "projectGM": //Course Planning
  4247. _formdiv = new U.UF.UI.form(
  4248. "Course Planning",
  4249. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/courseGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4250. "id": "projectGM",
  4251. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4252. "onresize": function() {}
  4253. }, {
  4254. closecallback: function() {}
  4255. }, { "style": { "height": "36px" } }).form; //创建窗体
  4256. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "Course Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4257. break;
  4258. case "studyGM": //Course Library
  4259. _formdiv = new U.UF.UI.form(
  4260. "Course Library",
  4261. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/indexGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
  4262. "id": "study",
  4263. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4264. "onresize": function() {}
  4265. }, {
  4266. closecallback: function() {}
  4267. }, { "style": { "height": "36px" } }).form; //创建窗体
  4268. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4269. break;
  4270. // studentGM
  4271. case "studentGM": //Students Management
  4272. _formdiv = new U.UF.UI.form(
  4273. "Students Management",
  4274. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentGM?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org }), {
  4275. "id": "studentGM",
  4276. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4277. "onresize": function() {}
  4278. }, {
  4279. closecallback: function() {}
  4280. }, { "style": { "height": "36px" } }).form; //创建窗体
  4281. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/student.png)" }, "name": "Students Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4282. break;
  4283. case "evaluateGM": //Course Assessment
  4284. _formdiv = new U.UF.UI.form(
  4285. "Course Assessment",
  4286. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4287. "id": "evaluateGM",
  4288. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4289. "onresize": function() {}
  4290. }, {
  4291. closecallback: function() {}
  4292. }, { "style": { "height": "36px" } }).form; //创建窗体
  4293. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "Course Assessment", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4294. break;
  4295. // classGM
  4296. case "classGM": //班级管理
  4297. _formdiv = new U.UF.UI.form(
  4298. "班级管理",
  4299. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/classGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4300. "id": "classGM",
  4301. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4302. "onresize": function() {}
  4303. }, {
  4304. closecallback: function() {}
  4305. }, { "style": { "height": "36px" } }).form; //创建窗体
  4306. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4307. break;
  4308. // dataGM
  4309. case "dataGM":
  4310. _formdiv = new U.UF.UI.form(
  4311. "我的资料",
  4312. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataGM?userid=" + _userid + "&org=" + _org }), {
  4313. "id": "dataGM",
  4314. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4315. "onresize": function() {}
  4316. }, {
  4317. closecallback: function() {}
  4318. }, { "style": { "height": "36px" } }).form; //创建窗体
  4319. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/data.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4320. break;
  4321. // caseGM
  4322. case "caseGM": //课程进展
  4323. _formdiv = new U.UF.UI.form(
  4324. "课程进展",
  4325. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4326. "id": "caseGM",
  4327. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4328. "onresize": function() {}
  4329. }, {
  4330. closecallback: function() {}
  4331. }, { "style": { "height": "36px" } }).form; //创建窗体
  4332. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4333. break;
  4334. // meterialGM
  4335. case "meterialGM": //素材库
  4336. _formdiv = new U.UF.UI.form(
  4337. "素材库",
  4338. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/libraryGM?userid=" + _userid + "&org=" + _org }), {
  4339. "id": "meterialGM",
  4340. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4341. "onresize": function() {}
  4342. }, {
  4343. closecallback: function() {}
  4344. }, { "style": { "height": "36px" } }).form; //创建窗体
  4345. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/material.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4346. break;
  4347. // evaluateSGM
  4348. case "evaluateSGM": //我的评价
  4349. _formdiv = new U.UF.UI.form(
  4350. "我的评价",
  4351. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4352. "id": "evaluateSGM",
  4353. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4354. "onresize": function() {}
  4355. }, {
  4356. closecallback: function() {}
  4357. }, { "style": { "height": "36px" } }).form; //创建窗体
  4358. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4359. break;
  4360. case "jupyter": //jupyter
  4361. _formdiv = new U.UF.UI.form(
  4362. "jupyter",
  4363. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4364. "id": "jupyter",
  4365. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4366. "onresize": function() {}
  4367. }, {
  4368. closecallback: function() {}
  4369. }, { "style": { "height": "36px" } }).form; //创建窗体
  4370. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/jupyter.png)" }, "name": "jupyter", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4371. break;
  4372. case "number": //数字实验室
  4373. _formdiv = new U.UF.UI.form(
  4374. "数字实验室",
  4375. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4376. "id": "number",
  4377. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4378. "onresize": function() {}
  4379. }, {
  4380. closecallback: function() {}
  4381. }, { "style": { "height": "36px" } }).form; //创建窗体
  4382. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/number.png)" }, "name": "数字实验室", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4383. break;
  4384. case "studentCourse": //Project Planning 学生
  4385. _formdiv = new U.UF.UI.form(
  4386. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "Project Planning",
  4387. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4388. "id": "studentCourse",
  4389. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4390. "onresize": function() {}
  4391. }, {
  4392. closecallback: function() {}
  4393. }, { "style": { "height": "36px" } }).form; //创建窗体
  4394. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4395. break;
  4396. case "studentCourseS": //Project Planning 老师
  4397. _formdiv = new U.UF.UI.form(
  4398. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "Project Planning",
  4399. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/scourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4400. "id": "studentCourseS",
  4401. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4402. "onresize": function() {}
  4403. }, {
  4404. closecallback: function() {}
  4405. }, { "style": { "height": "36px" } }).form; //创建窗体
  4406. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4407. break;
  4408. case "studentIndex": //Project Library
  4409. _formdiv = new U.UF.UI.form(
  4410. "Project Library",
  4411. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studentIndex?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType + "&role=" + _role }), {
  4412. "id": "studentIndex",
  4413. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4414. "onresize": function() {}
  4415. }, {
  4416. closecallback: function() {}
  4417. }, { "style": { "height": "36px" } }).form; //创建窗体
  4418. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4419. break;
  4420. case "CaseDesignS":
  4421. _formdiv = new U.UF.UI.form(
  4422. "项目进展",
  4423. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4424. "id": "case",
  4425. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4426. "onresize": function() {}
  4427. }, {
  4428. closecallback: function() {}
  4429. }, { "style": { "height": "36px" } }).form; //创建窗体
  4430. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/CaseDesignS.png)" }, "name": "项目进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4431. break;
  4432. case "tcStudent": //腾讯学生管理
  4433. _formdiv = new U.UF.UI.form(
  4434. "Students Management",
  4435. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4436. "id": "tcStudent",
  4437. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4438. "onresize": function() {}
  4439. }, {
  4440. closecallback: function() {}
  4441. }, { "style": { "height": "36px" } }).form; //创建窗体
  4442. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "Students Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4443. break;
  4444. case "tcSchool": //腾讯学校管理
  4445. _formdiv = new U.UF.UI.form(
  4446. "学校管理",
  4447. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcSchool?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4448. "id": "tcSchool",
  4449. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4450. "onresize": function() {}
  4451. }, {
  4452. closecallback: function() {}
  4453. }, { "style": { "height": "36px" } }).form; //创建窗体
  4454. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/school.png)" }, "name": "学校管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4455. break;
  4456. case "tcTeacher": //腾讯学校管理
  4457. _formdiv = new U.UF.UI.form(
  4458. "教师管理",
  4459. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcTeacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4460. "id": "tcTeacher",
  4461. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4462. "onresize": function() {}
  4463. }, {
  4464. closecallback: function() {}
  4465. }, { "style": { "height": "36px" } }).form; //创建窗体
  4466. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacher.png)" }, "name": "教师管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4467. break;
  4468. case "tcData": //腾讯我的资料
  4469. _formdiv = new U.UF.UI.form(
  4470. "我的资料",
  4471. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcData?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4472. "id": "tcData",
  4473. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4474. "onresize": function() {}
  4475. }, {
  4476. closecallback: function() {}
  4477. }, { "style": { "height": "36px" } }).form; //创建窗体
  4478. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4479. break;
  4480. case "tcNotice": //腾讯消息通知
  4481. _formdiv = new U.UF.UI.form(
  4482. "消息通知",
  4483. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcNotice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4484. "id": "tcNotice",
  4485. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4486. "onresize": function() {}
  4487. }, {
  4488. closecallback: function() {}
  4489. }, { "style": { "height": "36px" } }).form; //创建窗体
  4490. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "消息通知", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4491. break;
  4492. case "myReport": //好友打开
  4493. _formdiv = new U.UF.UI.form(
  4494. "我的评价",
  4495. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/myReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId }), {
  4496. "id": "myReport",
  4497. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4498. "onresize": function() {}
  4499. }, {
  4500. closecallback: function() {}
  4501. }, { "style": { "height": "36px" } }).form; //创建窗体
  4502. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4503. break;
  4504. case "learnAna": //好友打开
  4505. _formdiv = new U.UF.UI.form(
  4506. "Learning Analytics",
  4507. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/learnAna?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4508. "id": "learnAna",
  4509. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4510. "onresize": function() {}
  4511. }, {
  4512. closecallback: function() {}
  4513. }, { "style": { "height": "36px" } }).form; //创建窗体
  4514. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "Learning Analytics", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4515. break;
  4516. case "AIChat": //AI共创
  4517. _formdiv = new U.UF.UI.form(
  4518. "AI共创",
  4519. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4520. "id": "AIChat",
  4521. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4522. "onresize": function() {}
  4523. }, {
  4524. istop: true,
  4525. closecallback: function() { $("#aichat_icon").remove(); },
  4526. narrowcallback: function() {
  4527. if (!$("#aichat_icon")[0]) {
  4528. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function() { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4529. }
  4530. },
  4531. }, { "style": { "height": "36px" } }).form; //创建窗体
  4532. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI共创", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4533. break;
  4534. case "ainew": //AI共创
  4535. _formdiv = new U.UF.UI.form(
  4536. "AI协同",
  4537. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4538. "id": "ainew",
  4539. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4540. "onresize": function() {}
  4541. }, {
  4542. closecallback: function() {}
  4543. }, { "style": { "height": "36px" } }).form; //创建窗体
  4544. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI协同", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4545. break;
  4546. case "futureClass": //AI共创
  4547. _formdiv = new U.UF.UI.form(
  4548. "CocoNote",
  4549. $$("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
  4550. "id": "synergyCourse",
  4551. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4552. "onresize": function() {}
  4553. }, {
  4554. closecallback: function() {
  4555. $("iframe", _formdiv)[0].contentWindow.loginout();
  4556. }
  4557. }, { "style": { "height": "36px" } }).form; //创建窗体
  4558. _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); } }
  4559. break;
  4560. case "aiagent": //ai agent
  4561. _formdiv = new U.UF.UI.form(
  4562. "AI Agent",
  4563. $$("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" }), {
  4564. "id": "AIAgent",
  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/AIprogram2.png)" }, "name": "AI Agent", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4571. break;
  4572. case "aigpt": //gpt4
  4573. _formdiv = new U.UF.UI.form(
  4574. "AI助手+",
  4575. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.com/aigpt/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4576. "id": "aigpt",
  4577. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4578. "onresize": function () { }
  4579. }, {
  4580. closecallback: function () {
  4581. $("iframe", _formdiv)[0].contentWindow.app.log_out();
  4582. }
  4583. }, { "style": { "height": "36px" } }).form; //创建窗体
  4584. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigpt.png)" }, "name": "AI助手+", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4585. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4586. $("iframe", _formdiv)[0].contentWindow.app.log_in();
  4587. })
  4588. break;
  4589. case "dataBoard": //数据看板
  4590. _formdiv = new U.UF.UI.form(
  4591. "数据看板",
  4592. $$("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 }), {
  4593. "id": "dataBoard",
  4594. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4595. "onresize": function() {}
  4596. }, {
  4597. closecallback: function() {}
  4598. }, { "style": { "height": "36px" } }).form; //创建窗体
  4599. _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); } }
  4600. break;
  4601. case "dataBoardSies": //数据融合
  4602. _formdiv = new U.UF.UI.form(
  4603. "数据融合",
  4604. $$("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 }), {
  4605. "id": "dataBoardSies",
  4606. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4607. "onresize": function() {}
  4608. }, {
  4609. closecallback: function() {}
  4610. }, { "style": { "height": "36px" } }).form; //创建窗体
  4611. _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); } }
  4612. break;
  4613. case "dataBoardNew": //数据看板
  4614. _formdiv = new U.UF.UI.form(
  4615. "综合看板",
  4616. $$("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 }), {
  4617. "id": "dataBoardNew",
  4618. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4619. "onresize": function() {}
  4620. }, {
  4621. closecallback: function() {}
  4622. }, { "style": { "height": "36px" } }).form; //创建窗体
  4623. _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); } }
  4624. break;
  4625. case "AIAnalyse": //AI共创
  4626. _formdiv = new U.UF.UI.form(
  4627. "AI分析",
  4628. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4629. "id": "AIAnalyse",
  4630. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4631. "onresize": function() {}
  4632. }, {
  4633. closecallback: function() {}
  4634. }, { "style": { "height": "36px" } }).form; //创建窗体
  4635. _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); } }
  4636. break;
  4637. case "studioCourse": //AI共创
  4638. _formdiv = new U.UF.UI.form(
  4639. "工作管理",
  4640. $$("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 }), {
  4641. "id": "studioCourse",
  4642. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4643. "onresize": function() {}
  4644. }, {
  4645. closecallback: function() {}
  4646. }, { "style": { "height": "36px" } }).form; //创建窗体
  4647. _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); } }
  4648. break;
  4649. case "studioIndex": //AI共创
  4650. _formdiv = new U.UF.UI.form(
  4651. "工作中心",
  4652. $$("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 }), {
  4653. "id": "studioIndex",
  4654. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4655. "onresize": function() {}
  4656. }, {
  4657. closecallback: function() {}
  4658. }, { "style": { "height": "36px" } }).form; //创建窗体
  4659. _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); } }
  4660. break;
  4661. case "source":
  4662. _formdiv = new U.UF.UI.form(
  4663. "教学资源",
  4664. $$("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 }), {
  4665. "id": "source",
  4666. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4667. "onresize": function() {}
  4668. }, {
  4669. closecallback: function() {}
  4670. }, { "style": { "height": "36px" } }).form; //创建窗体
  4671. _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); } }
  4672. break;
  4673. case "testTeacher":
  4674. _formdiv = new U.UF.UI.form(
  4675. "评测管理",
  4676. $$("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 }), {
  4677. "id": "testTeacher",
  4678. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4679. "onresize": function() {}
  4680. }, {
  4681. closecallback: function() {}
  4682. }, { "style": { "height": "36px" } }).form; //创建窗体
  4683. _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); } }
  4684. break;
  4685. case "testStudent":
  4686. _formdiv = new U.UF.UI.form(
  4687. "评测中心",
  4688. $$("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 }), {
  4689. "id": "testStudent",
  4690. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4691. "onresize": function() {}
  4692. }, {
  4693. closecallback: function() {}
  4694. }, { "style": { "height": "36px" } }).form; //创建窗体
  4695. _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); } }
  4696. break;
  4697. }
  4698. //U.MD.D.I.openClick(str);
  4699. //如果有任务栏信息
  4700. if (_taskbar) {
  4701. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4702. }
  4703. }
  4704. // U.MD.D.I.openClick = function(str){
  4705. // var click = '';
  4706. // switch(str){
  4707. // case 'friend':
  4708. // click = '我的好友';
  4709. // break;
  4710. // case 'domain':
  4711. // click = '域名管理';
  4712. // break;
  4713. // case 'disk':
  4714. // click = '我的云盘';
  4715. // break;
  4716. // case 'word':
  4717. // click = 'Word';
  4718. // break;
  4719. // case 'excel':
  4720. // click = 'Execl';
  4721. // break;
  4722. // case 'txt':
  4723. // click = '文本文件';
  4724. // break;
  4725. // case 'lookupFriend':
  4726. // click = '查找好友';
  4727. // break;
  4728. // case 'ftp':
  4729. // click = 'FTP';
  4730. // break;
  4731. // case 'group':
  4732. // click = '群组';
  4733. // break;
  4734. // case 'set':
  4735. // click = '我的设置';
  4736. // break;
  4737. // case 'systemSet':
  4738. // click = '系统设置';
  4739. // break;
  4740. // case 'boomYun':
  4741. // click = '互联办公';
  4742. // break;
  4743. // case 'xz':
  4744. // click = '云端下载';
  4745. // break;
  4746. // case 'client':
  4747. // click = '有思浏览器';
  4748. // break;
  4749. // case 'backEndProgramming':
  4750. // click = '在线后台编程';
  4751. // break;
  4752. // case 'frontEndProgramming':
  4753. // click = '在线前端编程';
  4754. // break;
  4755. // default: break;
  4756. // }
  4757. // if(U.MD.D.I.Ip && click){
  4758. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4759. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4760. // })
  4761. // }
  4762. // }
  4763. /**
  4764. *函数作用:ajax简易函数,使用post格式
  4765. *@param url {data} 后台地址
  4766. *@param data {data} 参数json
  4767. *@param fn {data} 回调函数
  4768. *
  4769. */
  4770. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4771. // var xhr = new XMLHttpRequest();
  4772. // xhr.open("GET",url,true);
  4773. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4774. // xhr.onreadystatechange = function(){
  4775. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4776. // fn.call(this,xhr.responseText);
  4777. // }
  4778. // };
  4779. // xhr.send();
  4780. // }
  4781. /*判断是否是内网IP*/
  4782. // U.MD.D.I.isInnerIPFn = function(str){
  4783. // var curPageUrl = str;
  4784. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4785. // curPageUrl =curPageUrl.replace(reg1,'');
  4786. // // console.log('curPageUrl-1 '+curPageUrl);
  4787. // var reg2 = /\:+/g;//替换冒号为一点
  4788. // curPageUrl =curPageUrl.replace(reg2,'.');
  4789. // // console.log('curPageUrl-2 '+curPageUrl);
  4790. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4791. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4792. // if(curPageUrl[2] != '16'){
  4793. // return ipAddress;
  4794. // }else{
  4795. // return false;
  4796. // }
  4797. // }
  4798. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4799. // //compatibility for firefox and chrome
  4800. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4801. // var pc = new myPeerConnection({
  4802. // iceServers: []
  4803. // }),
  4804. // noop = function() {},
  4805. // localIPs = {},
  4806. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4807. // key;
  4808. // function iterateIP(ip) {
  4809. // if (!localIPs[ip]) onNewIP(ip);
  4810. // localIPs[ip] = true;
  4811. // }
  4812. // //create a bogus data channel
  4813. // pc.createDataChannel("");
  4814. // // create offer and set local description
  4815. // pc.createOffer().then(function(sdp) {
  4816. // sdp.sdp.split('\n').forEach(function(line) {
  4817. // if (line.indexOf('candidate') < 0) return;
  4818. // line.match(ipRegex).forEach(iterateIP);
  4819. // });
  4820. // pc.setLocalDescription(sdp, noop, noop);
  4821. // }).catch(function(reason) {
  4822. // // An error occurred, so handle the failure to connect
  4823. // });
  4824. // //sten for candidate events
  4825. // pc.onicecandidate = function(ice) {
  4826. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4827. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4828. // };
  4829. // }
  4830. // U.MD.D.I.getUserIpBool = function(callback){
  4831. // U.MD.D.I.getUserIP(function(ip){
  4832. // alert("Got IP! :" + ip);
  4833. // });
  4834. //}
  4835. //#endregion
  4836. U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
  4837. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4838. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4839. _userinfo = US.userInfo, //登录用户信息
  4840. _userid = US.userInfo.userid //登录用户id
  4841. let _iframe;
  4842. let _cid = cid,
  4843. _stage = stage,
  4844. _task = task,
  4845. _tool = tool;
  4846. var _jie = $$("div", {
  4847. "style": {
  4848. "position": "absolute",
  4849. "bottom": "50px",
  4850. "right": "50px",
  4851. "zIndex": "9999",
  4852. "backgroundColor": "#2268bc",
  4853. "color": "#fff",
  4854. "padding": "12px 20px",
  4855. "cursor": "pointer",
  4856. "borderRadius": "4px",
  4857. },
  4858. "innerHTML": "提交作业"
  4859. })
  4860. let aTool = ''
  4861. let _loading = document.createElement('div')
  4862. _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;"
  4863. // _loading.id = "";
  4864. let _lchild = document.createElement('div')
  4865. let _limg = document.createElement('img')
  4866. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4867. _limg.style = "width: 26px;margin-right: 10px;"
  4868. _lchild.appendChild(_limg)
  4869. let _lspan = document.createElement('span')
  4870. _lspan.innerHTML = "上传中..."
  4871. _lchild.appendChild(_lspan)
  4872. _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%);"
  4873. _loading.appendChild(_lchild)
  4874. var _box = $$('div', {
  4875. "style": {
  4876. "position": "relative",
  4877. "width": "100%",
  4878. "height": "100%",
  4879. },
  4880. })
  4881. _box.appendChild(_loading)
  4882. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4883. switch (str) {
  4884. case "whiteboard":
  4885. aTool = 1;
  4886. _iframe = $$("iframe", {
  4887. "frameborder": "no",
  4888. "border": "0",
  4889. "scrolling ": "no",
  4890. "style": {
  4891. "cssText": "border:0;width:100%;height:100%"
  4892. },
  4893. "src": "https://iwb.cocorobo.cn/"
  4894. })
  4895. _box.appendChild(_iframe);
  4896. _box.appendChild(_jie);
  4897. _formdiv = new U.UF.UI.form(
  4898. "电子白板",
  4899. _box, {
  4900. "id": "whiteboard" + cid + stage + task + tool,
  4901. "style": {
  4902. "width": "90%",
  4903. "height": "90%",
  4904. "overflow": 'hidden'
  4905. },
  4906. "onresize": function() {}
  4907. }, {
  4908. closecallback: function() {}
  4909. }, {
  4910. "style": {
  4911. "height": "36px"
  4912. }
  4913. }).form; //创建窗体
  4914. _taskbar = {
  4915. "id": str + _formdiv.id,
  4916. "style": {
  4917. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4918. },
  4919. "name": "电子白板",
  4920. "forms": _formdiv,
  4921. "click": function() {
  4922. U.MD.D.I.openApplication(str, obj, info);
  4923. }
  4924. }
  4925. break;
  4926. case "mind":
  4927. aTool = 3;
  4928. _iframe = $$("iframe", {
  4929. "frameborder": "no",
  4930. "border": "0",
  4931. "scrolling ": "no",
  4932. "style": {
  4933. "cssText": "border:0;width:100%;height:100%"
  4934. },
  4935. "src": "/kityminder-editor/dist/index.html"
  4936. })
  4937. _box.appendChild(_iframe);
  4938. _box.appendChild(_jie);
  4939. _formdiv = new U.UF.UI.form(
  4940. "思维导图",
  4941. _box, { //"/jsmind/example/demo.html"
  4942. "id": "mind" + cid + stage + task + tool,
  4943. "style": {
  4944. "width": "90%",
  4945. "height": "90%",
  4946. "overflow": 'hidden'
  4947. },
  4948. "onresize": function() {}
  4949. }, {
  4950. closecallback: function() {}
  4951. }, {
  4952. "style": {
  4953. "height": "36px"
  4954. }
  4955. }).form; //创建窗体
  4956. _taskbar = {
  4957. "id": str + _formdiv.id,
  4958. "style": {
  4959. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4960. },
  4961. "name": "思维导图",
  4962. "forms": _formdiv,
  4963. "click": function() {
  4964. U.MD.D.I.openApplication(str, obj, info);
  4965. }
  4966. }
  4967. break;
  4968. case "MindMap":
  4969. aTool = 3;
  4970. _iframe = $$("iframe", {
  4971. "frameborder": "no",
  4972. "border": "0",
  4973. "scrolling ": "no",
  4974. "style": {
  4975. "cssText": "border:0;width:100%;height:100%"
  4976. },
  4977. "src": "//cloud.cocorobo.cn/mind/"
  4978. })
  4979. _box.appendChild(_iframe);
  4980. _box.appendChild(_jie);
  4981. _formdiv = new U.UF.UI.form(
  4982. "思维导图",
  4983. _box, { //"/jsmind/example/demo.html"
  4984. "id": "mind" + cid + stage + task + tool,
  4985. "style": {
  4986. "width": "90%",
  4987. "height": "90%",
  4988. "overflow": 'hidden'
  4989. },
  4990. "onresize": function() {}
  4991. }, {
  4992. closecallback: function() {}
  4993. }, {
  4994. "style": {
  4995. "height": "36px"
  4996. }
  4997. }).form; //创建窗体
  4998. _taskbar = {
  4999. "id": str + _formdiv.id,
  5000. "style": {
  5001. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5002. },
  5003. "name": "思维导图",
  5004. "forms": _formdiv,
  5005. "click": function() {
  5006. U.MD.D.I.openApplication(str, obj, info);
  5007. }
  5008. }
  5009. break;
  5010. case "doc":
  5011. aTool = 6;
  5012. _iframe = $$("iframe", {
  5013. "frameborder": "no",
  5014. "border": "0",
  5015. "scrolling ": "no",
  5016. "style": {
  5017. "cssText": "border:0;width:100%;height:100%"
  5018. },
  5019. "src": "/Office/Word/WordEditArea.htm"
  5020. })
  5021. _box.appendChild(_iframe);
  5022. _box.appendChild(_jie);
  5023. _formdiv = new U.UF.UI.form(
  5024. "协同文档",
  5025. _box, {
  5026. "id": "doc" + cid + stage + task + tool,
  5027. "style": {
  5028. "width": "90%",
  5029. "height": "90%",
  5030. "overflow": 'hidden'
  5031. },
  5032. "onresize": function() {}
  5033. }, {
  5034. closecallback: function() {}
  5035. }, {
  5036. "style": {
  5037. "height": "36px"
  5038. }
  5039. }).form; //创建窗体
  5040. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5041. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5042. })
  5043. _taskbar = {
  5044. "id": str + _formdiv.id,
  5045. "style": {
  5046. "backgroundImage": "url(/img/icon/doc.png)"
  5047. },
  5048. "name": "协同文档",
  5049. "forms": _formdiv,
  5050. "click": function() {
  5051. U.MD.D.I.openApplication(str, obj, info);
  5052. }
  5053. }
  5054. break;
  5055. case "mindNetwork": //好友打开
  5056. aTool = 7;
  5057. _iframe = $$("iframe", {
  5058. "webkitallowfullscreen": "",
  5059. "mozallowfullscreen": "",
  5060. "allowfullscreen": "",
  5061. "frameborder": "no",
  5062. "border": "0",
  5063. "scrolling ": "no",
  5064. "style": {
  5065. "cssText": "border:0; width:100%; height:100%;"
  5066. },
  5067. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5068. })
  5069. _box.appendChild(_iframe);
  5070. _box.appendChild(_jie);
  5071. _formdiv = new U.UF.UI.form(
  5072. "思维网格",
  5073. _box, {
  5074. "id": "mindNetwork" + cid + stage + task + tool,
  5075. "style": {
  5076. "width": "90%",
  5077. "height": "90%",
  5078. "overflow": 'hidden'
  5079. },
  5080. "onresize": function() {}
  5081. }, {
  5082. closecallback: function() {}
  5083. }, {
  5084. "style": {
  5085. "height": "36px"
  5086. }
  5087. }).form; //创建窗体
  5088. _taskbar = {
  5089. "id": str + _formdiv.id,
  5090. "style": {
  5091. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5092. },
  5093. "name": "思维网格",
  5094. "forms": _formdiv,
  5095. "click": function() {
  5096. U.MD.D.I.openApplication(str, obj, info);
  5097. }
  5098. }
  5099. break;
  5100. case "courseDesign":
  5101. _iframe = $$("iframe", {
  5102. "webkitallowfullscreen": "",
  5103. "mozallowfullscreen": "",
  5104. "allowfullscreen": "",
  5105. "frameborder": "no",
  5106. "border": "0",
  5107. "scrolling ": "no",
  5108. "style": {
  5109. "cssText": "border:0; width:100%; height:100%;"
  5110. },
  5111. "src": "/course-design-vue"
  5112. })
  5113. _box.appendChild(_iframe);
  5114. _box.appendChild(_jie);
  5115. _formdiv = new U.UF.UI.form(
  5116. "项目设计",
  5117. _box, {
  5118. "id": "courseDesign" + cid + stage + task + tool,
  5119. "style": {
  5120. "width": "90%",
  5121. "height": "90%",
  5122. "overflow": 'hidden'
  5123. },
  5124. "onresize": function() {}
  5125. }, {
  5126. closecallback: function() {}
  5127. }, {
  5128. "style": {
  5129. "height": "36px"
  5130. }
  5131. }).form; //创建窗体
  5132. _taskbar = {
  5133. "id": str + _formdiv.id,
  5134. "style": {
  5135. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5136. },
  5137. "name": "项目设计",
  5138. "forms": _formdiv,
  5139. "click": function() {
  5140. U.MD.D.I.openApplication(str, obj, info);
  5141. }
  5142. }
  5143. break;
  5144. }
  5145. const script1 = document.createElement("script");
  5146. script1.type = "text/javascript";
  5147. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5148. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5149. const script2 = document.createElement("script");
  5150. script2.type = "text/javascript";
  5151. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5152. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5153. const script3 = document.createElement("script");
  5154. script3.type = "text/javascript";
  5155. script3.charset = "UTF-8";
  5156. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5157. const script4 = document.createElement("script");
  5158. script4.type = "text/javascript";
  5159. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5160. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5161. if (_iframe) {
  5162. if (str == 'doc') {
  5163. _iframe = _formdiv.querySelector('iframe')
  5164. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5165. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5166. _iframe.contentWindow.document.body.appendChild(script1);
  5167. _iframe.contentWindow.document.body.appendChild(script2);
  5168. // _iframe.contentWindow.document.body.appendChild(script3);
  5169. _iframe.contentWindow.document.body.appendChild(script4);
  5170. })
  5171. if (onloadListener) {
  5172. _iframe.contentDocument.location.reload()
  5173. } else {
  5174. _iframe.contentDocument.location.reload()
  5175. }
  5176. } else if (str == 'courseDesign') {
  5177. U.UF.DL.iframeLoad(_iframe, function() {
  5178. // _iframe.contentWindow.U.MD.O.W.load();
  5179. // _iframe.contentWindow.document.body.appendChild(script1);
  5180. _iframe.contentWindow.document.body.appendChild(script2);
  5181. _iframe.contentWindow.document.body.appendChild(script4);
  5182. })
  5183. } else if (str == 'mind') {
  5184. _iframe = _formdiv.querySelector('iframe')
  5185. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5186. //
  5187. _iframe.contentWindow.document.body.appendChild(script1);
  5188. _iframe.contentWindow.document.body.appendChild(script2);
  5189. _iframe.contentWindow.document.body.appendChild(script4);
  5190. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5191. })
  5192. if (onloadListener) {
  5193. _iframe.contentDocument.location.reload()
  5194. } else {
  5195. _iframe.contentDocument.location.reload()
  5196. }
  5197. } else if (str == 'whiteboard') {
  5198. _iframe = _formdiv.querySelector('iframe')
  5199. let onloadListener = _iframe.onload = () => {
  5200. _iframe.contentWindow.document.body.appendChild(script1);
  5201. _iframe.contentWindow.document.body.appendChild(script2);
  5202. _iframe.contentWindow.document.body.appendChild(script4);
  5203. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5204. };
  5205. if (onloadListener) {
  5206. _iframe.contentDocument.location.reload()
  5207. } else {
  5208. _iframe.contentDocument.location.reload()
  5209. }
  5210. } else {
  5211. _iframe.onload = () => {
  5212. _iframe.contentWindow.document.body.appendChild(script1);
  5213. _iframe.contentWindow.document.body.appendChild(script2);
  5214. // _iframe.contentWindow.document.body.appendChild(script3);
  5215. _iframe.contentWindow.document.body.appendChild(script4);
  5216. };
  5217. }
  5218. _jie.onclick = async() => {
  5219. let text = ''
  5220. if (aTool == 1) {
  5221. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5222. } else if (aTool == 6) {
  5223. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5224. } else if (aTool == 3) {
  5225. text = await U.MD.D.I.getEditorContent(_iframe);
  5226. }
  5227. _loading.style.display = 'flex'
  5228. console.log(_loading);
  5229. var _ajs = _iframe.contentWindow.document.createElement("script");
  5230. _ajs.type = "text/javascript";
  5231. _ajs.innerHTML =
  5232. // 'console.log(' + _loading + ');\n' +
  5233. 'var _js = document.createElement("script");\n' +
  5234. '_js.type="text/javascript";\n' +
  5235. '_js.charset="UTF-8";\n' +
  5236. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5237. "_js.onload = function(){\n" +
  5238. ' var a = document.getElementsByTagName("img")\n' +
  5239. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5240. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5241. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5242. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5243. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5244. "beforeUpload_shishi(file," +
  5245. "'" +
  5246. _userid +
  5247. "'" +
  5248. ", " +
  5249. "'" +
  5250. _cid +
  5251. "'" +
  5252. ", " +
  5253. "'" +
  5254. _stage +
  5255. "'" +
  5256. ", " +
  5257. "'" +
  5258. _task +
  5259. "'" +
  5260. ", " +
  5261. "'" +
  5262. _tool +
  5263. "'" +
  5264. ", " +
  5265. "'" +
  5266. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5267. "'" +
  5268. ", " +
  5269. "'" +
  5270. aTool +
  5271. "'" +
  5272. ", " +
  5273. "`" +
  5274. text +
  5275. "`" +
  5276. ")\n" +
  5277. " });\n" +
  5278. "}\n" +
  5279. "document.head.appendChild(_js);\n";
  5280. _iframe.contentWindow.document.head.appendChild(_ajs);
  5281. }
  5282. }
  5283. //U.MD.D.I.openClick(str);
  5284. //如果有任务栏信息
  5285. // if (_taskbar) {
  5286. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5287. // }
  5288. }
  5289. U.MD.D.I.openApplicationJieE = function(str, cid, stage, task, tool) {
  5290. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5291. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5292. _userinfo = US.userInfo, //登录用户信息
  5293. _userid = US.userInfo.userid //登录用户id
  5294. let _iframe;
  5295. let _cid = cid,
  5296. _stage = stage,
  5297. _task = task,
  5298. _tool = tool;
  5299. var _jie = $$("div", {
  5300. "style": {
  5301. "position": "absolute",
  5302. "bottom": "50px",
  5303. "right": "50px",
  5304. "zIndex": "9999",
  5305. "backgroundColor": "#2268bc",
  5306. "color": "#fff",
  5307. "padding": "12px 20px",
  5308. "cursor": "pointer",
  5309. "borderRadius": "4px",
  5310. },
  5311. "innerHTML": "提交作业"
  5312. })
  5313. let aTool = ''
  5314. let _loading = document.createElement('div')
  5315. _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;"
  5316. // _loading.id = "";
  5317. let _lchild = document.createElement('div')
  5318. let _limg = document.createElement('img')
  5319. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5320. _limg.style = "width: 26px;margin-right: 10px;"
  5321. _lchild.appendChild(_limg)
  5322. let _lspan = document.createElement('span')
  5323. _lspan.innerHTML = "上传中..."
  5324. _lchild.appendChild(_lspan)
  5325. _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%);"
  5326. _loading.appendChild(_lchild)
  5327. var _box = $$('div', {
  5328. "style": {
  5329. "position": "relative",
  5330. "width": "100%",
  5331. "height": "100%",
  5332. },
  5333. })
  5334. _box.appendChild(_loading)
  5335. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5336. switch (str) {
  5337. case "whiteboard":
  5338. aTool = 1;
  5339. _iframe = $$("iframe", {
  5340. "frameborder": "no",
  5341. "border": "0",
  5342. "scrolling ": "no",
  5343. "style": {
  5344. "cssText": "border:0;width:100%;height:100%"
  5345. },
  5346. "src": "https://iwb.cocorobo.cn/"
  5347. })
  5348. _box.appendChild(_iframe);
  5349. _box.appendChild(_jie);
  5350. _formdiv = new U.UF.UI.form(
  5351. "电子白板",
  5352. _box, {
  5353. "id": "whiteboard" + cid + stage + task + tool,
  5354. "style": {
  5355. "width": "90%",
  5356. "height": "90%",
  5357. "overflow": 'hidden'
  5358. },
  5359. "onresize": function() {}
  5360. }, {
  5361. closecallback: function() {}
  5362. }, {
  5363. "style": {
  5364. "height": "36px"
  5365. }
  5366. }).form; //创建窗体
  5367. _taskbar = {
  5368. "id": str + _formdiv.id,
  5369. "style": {
  5370. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5371. },
  5372. "name": "电子白板",
  5373. "forms": _formdiv,
  5374. "click": function() {
  5375. U.MD.D.I.openApplication(str, obj, info);
  5376. }
  5377. }
  5378. break;
  5379. case "mind":
  5380. aTool = 3;
  5381. _iframe = $$("iframe", {
  5382. "frameborder": "no",
  5383. "border": "0",
  5384. "scrolling ": "no",
  5385. "style": {
  5386. "cssText": "border:0;width:100%;height:100%"
  5387. },
  5388. "src": "/kityminder-editor/dist/index.html"
  5389. })
  5390. _box.appendChild(_iframe);
  5391. _box.appendChild(_jie);
  5392. _formdiv = new U.UF.UI.form(
  5393. "思维导图",
  5394. _box, { //"/jsmind/example/demo.html"
  5395. "id": "mind" + cid + stage + task + tool,
  5396. "style": {
  5397. "width": "90%",
  5398. "height": "90%",
  5399. "overflow": 'hidden'
  5400. },
  5401. "onresize": function() {}
  5402. }, {
  5403. closecallback: function() {}
  5404. }, {
  5405. "style": {
  5406. "height": "36px"
  5407. }
  5408. }).form; //创建窗体
  5409. _taskbar = {
  5410. "id": str + _formdiv.id,
  5411. "style": {
  5412. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5413. },
  5414. "name": "思维导图",
  5415. "forms": _formdiv,
  5416. "click": function() {
  5417. U.MD.D.I.openApplication(str, obj, info);
  5418. }
  5419. }
  5420. break;
  5421. case "MindMap":
  5422. aTool = 3;
  5423. _iframe = $$("iframe", {
  5424. "frameborder": "no",
  5425. "border": "0",
  5426. "scrolling ": "no",
  5427. "style": {
  5428. "cssText": "border:0;width:100%;height:100%"
  5429. },
  5430. "src": "//cloud.cocorobo.cn/mind/"
  5431. })
  5432. _box.appendChild(_iframe);
  5433. _box.appendChild(_jie);
  5434. _formdiv = new U.UF.UI.form(
  5435. "思维导图",
  5436. _box, { //"/jsmind/example/demo.html"
  5437. "id": "mind" + cid + stage + task + tool,
  5438. "style": {
  5439. "width": "90%",
  5440. "height": "90%",
  5441. "overflow": 'hidden'
  5442. },
  5443. "onresize": function() {}
  5444. }, {
  5445. closecallback: function() {}
  5446. }, {
  5447. "style": {
  5448. "height": "36px"
  5449. }
  5450. }).form; //创建窗体
  5451. _taskbar = {
  5452. "id": str + _formdiv.id,
  5453. "style": {
  5454. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5455. },
  5456. "name": "思维导图",
  5457. "forms": _formdiv,
  5458. "click": function() {
  5459. U.MD.D.I.openApplication(str, obj, info);
  5460. }
  5461. }
  5462. break;
  5463. case "doc":
  5464. aTool = 6;
  5465. _iframe = $$("iframe", {
  5466. "frameborder": "no",
  5467. "border": "0",
  5468. "scrolling ": "no",
  5469. "style": {
  5470. "cssText": "border:0;width:100%;height:100%"
  5471. },
  5472. "src": "/Office/Word/WordEditArea.htm"
  5473. })
  5474. _box.appendChild(_iframe);
  5475. _box.appendChild(_jie);
  5476. _formdiv = new U.UF.UI.form(
  5477. "协同文档",
  5478. _box, {
  5479. "id": "doc" + cid + stage + task + tool,
  5480. "style": {
  5481. "width": "90%",
  5482. "height": "90%",
  5483. "overflow": 'hidden'
  5484. },
  5485. "onresize": function() {}
  5486. }, {
  5487. closecallback: function() {}
  5488. }, {
  5489. "style": {
  5490. "height": "36px"
  5491. }
  5492. }).form; //创建窗体
  5493. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5494. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5495. })
  5496. _taskbar = {
  5497. "id": str + _formdiv.id,
  5498. "style": {
  5499. "backgroundImage": "url(/img/icon/doc.png)"
  5500. },
  5501. "name": "协同文档",
  5502. "forms": _formdiv,
  5503. "click": function() {
  5504. U.MD.D.I.openApplication(str, obj, info);
  5505. }
  5506. }
  5507. break;
  5508. case "mindNetwork": //好友打开
  5509. aTool = 7;
  5510. _iframe = $$("iframe", {
  5511. "webkitallowfullscreen": "",
  5512. "mozallowfullscreen": "",
  5513. "allowfullscreen": "",
  5514. "frameborder": "no",
  5515. "border": "0",
  5516. "scrolling ": "no",
  5517. "style": {
  5518. "cssText": "border:0; width:100%; height:100%;"
  5519. },
  5520. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5521. })
  5522. _box.appendChild(_iframe);
  5523. _box.appendChild(_jie);
  5524. _formdiv = new U.UF.UI.form(
  5525. "思维网格",
  5526. _box, {
  5527. "id": "mindNetwork" + cid + stage + task + tool,
  5528. "style": {
  5529. "width": "90%",
  5530. "height": "90%",
  5531. "overflow": 'hidden'
  5532. },
  5533. "onresize": function() {}
  5534. }, {
  5535. closecallback: function() {}
  5536. }, {
  5537. "style": {
  5538. "height": "36px"
  5539. }
  5540. }).form; //创建窗体
  5541. _taskbar = {
  5542. "id": str + _formdiv.id,
  5543. "style": {
  5544. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5545. },
  5546. "name": "思维网格",
  5547. "forms": _formdiv,
  5548. "click": function() {
  5549. U.MD.D.I.openApplication(str, obj, info);
  5550. }
  5551. }
  5552. break;
  5553. case "courseDesign":
  5554. _iframe = $$("iframe", {
  5555. "webkitallowfullscreen": "",
  5556. "mozallowfullscreen": "",
  5557. "allowfullscreen": "",
  5558. "frameborder": "no",
  5559. "border": "0",
  5560. "scrolling ": "no",
  5561. "style": {
  5562. "cssText": "border:0; width:100%; height:100%;"
  5563. },
  5564. "src": "/course-design-vue"
  5565. })
  5566. _box.appendChild(_iframe);
  5567. _box.appendChild(_jie);
  5568. _formdiv = new U.UF.UI.form(
  5569. "项目设计",
  5570. _box, {
  5571. "id": "courseDesign" + cid + stage + task + tool,
  5572. "style": {
  5573. "width": "90%",
  5574. "height": "90%",
  5575. "overflow": 'hidden'
  5576. },
  5577. "onresize": function() {}
  5578. }, {
  5579. closecallback: function() {}
  5580. }, {
  5581. "style": {
  5582. "height": "36px"
  5583. }
  5584. }).form; //创建窗体
  5585. _taskbar = {
  5586. "id": str + _formdiv.id,
  5587. "style": {
  5588. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5589. },
  5590. "name": "项目设计",
  5591. "forms": _formdiv,
  5592. "click": function() {
  5593. U.MD.D.I.openApplication(str, obj, info);
  5594. }
  5595. }
  5596. break;
  5597. }
  5598. const script1 = document.createElement("script");
  5599. script1.type = "text/javascript";
  5600. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5601. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5602. const script2 = document.createElement("script");
  5603. script2.type = "text/javascript";
  5604. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5605. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5606. const script3 = document.createElement("script");
  5607. script3.type = "text/javascript";
  5608. script3.charset = "UTF-8";
  5609. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5610. const script4 = document.createElement("script");
  5611. script4.type = "text/javascript";
  5612. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5613. script4.src = window.origin + "/js/Common/jietu2E.js";
  5614. if (_iframe) {
  5615. if (str == 'doc') {
  5616. _iframe = _formdiv.querySelector('iframe')
  5617. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5618. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5619. _iframe.contentWindow.document.body.appendChild(script1);
  5620. _iframe.contentWindow.document.body.appendChild(script2);
  5621. // _iframe.contentWindow.document.body.appendChild(script3);
  5622. _iframe.contentWindow.document.body.appendChild(script4);
  5623. })
  5624. if (onloadListener) {
  5625. _iframe.contentDocument.location.reload()
  5626. } else {
  5627. _iframe.contentDocument.location.reload()
  5628. }
  5629. } else if (str == 'courseDesign') {
  5630. U.UF.DL.iframeLoad(_iframe, function() {
  5631. // _iframe.contentWindow.U.MD.O.W.load();
  5632. // _iframe.contentWindow.document.body.appendChild(script1);
  5633. _iframe.contentWindow.document.body.appendChild(script2);
  5634. _iframe.contentWindow.document.body.appendChild(script4);
  5635. })
  5636. } else if (str == 'mind') {
  5637. _iframe = _formdiv.querySelector('iframe')
  5638. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5639. //
  5640. _iframe.contentWindow.document.body.appendChild(script1);
  5641. _iframe.contentWindow.document.body.appendChild(script2);
  5642. _iframe.contentWindow.document.body.appendChild(script4);
  5643. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5644. })
  5645. if (onloadListener) {
  5646. _iframe.contentDocument.location.reload()
  5647. } else {
  5648. _iframe.contentDocument.location.reload()
  5649. }
  5650. } else if (str == 'whiteboard') {
  5651. _iframe = _formdiv.querySelector('iframe')
  5652. let onloadListener = _iframe.onload = () => {
  5653. _iframe.contentWindow.document.body.appendChild(script1);
  5654. _iframe.contentWindow.document.body.appendChild(script2);
  5655. _iframe.contentWindow.document.body.appendChild(script4);
  5656. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5657. };
  5658. if (onloadListener) {
  5659. _iframe.contentDocument.location.reload()
  5660. } else {
  5661. _iframe.contentDocument.location.reload()
  5662. }
  5663. } else {
  5664. _iframe.onload = () => {
  5665. _iframe.contentWindow.document.body.appendChild(script1);
  5666. _iframe.contentWindow.document.body.appendChild(script2);
  5667. // _iframe.contentWindow.document.body.appendChild(script3);
  5668. _iframe.contentWindow.document.body.appendChild(script4);
  5669. };
  5670. }
  5671. _jie.onclick = async() => {
  5672. let text = ''
  5673. if (aTool == 1) {
  5674. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5675. } else if (aTool == 6) {
  5676. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5677. } else if (aTool == 3) {
  5678. text = await U.MD.D.I.getEditorContent(_iframe);
  5679. }
  5680. _loading.style.display = 'flex'
  5681. console.log(_loading);
  5682. var _ajs = _iframe.contentWindow.document.createElement("script");
  5683. _ajs.type = "text/javascript";
  5684. _ajs.innerHTML =
  5685. // 'console.log(' + _loading + ');\n' +
  5686. 'var _js = document.createElement("script");\n' +
  5687. '_js.type="text/javascript";\n' +
  5688. '_js.charset="UTF-8";\n' +
  5689. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5690. "_js.onload = function(){\n" +
  5691. ' var a = document.getElementsByTagName("img")\n' +
  5692. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5693. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5694. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5695. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5696. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5697. "beforeUpload_shishi(file," +
  5698. "'" +
  5699. _userid +
  5700. "'" +
  5701. ", " +
  5702. "'" +
  5703. _cid +
  5704. "'" +
  5705. ", " +
  5706. "'" +
  5707. _stage +
  5708. "'" +
  5709. ", " +
  5710. "'" +
  5711. _task +
  5712. "'" +
  5713. ", " +
  5714. "'" +
  5715. _tool +
  5716. "'" +
  5717. ", " +
  5718. "'" +
  5719. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5720. "'" +
  5721. ", " +
  5722. "'" +
  5723. aTool +
  5724. "'" +
  5725. ", " +
  5726. "`" +
  5727. text +
  5728. "`" +
  5729. ")\n" +
  5730. " });\n" +
  5731. "}\n" +
  5732. "document.head.appendChild(_js);\n";
  5733. _iframe.contentWindow.document.head.appendChild(_ajs);
  5734. }
  5735. }
  5736. //U.MD.D.I.openClick(str);
  5737. //如果有任务栏信息
  5738. // if (_taskbar) {
  5739. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5740. // }
  5741. }
  5742. U.MD.D.I.openApplicationJieTeacher = function(str, cid, stage, task, tool, student) {
  5743. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5744. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5745. _userid = student.userid, //登录用户id
  5746. _username = student.student //用户名字
  5747. let _iframe;
  5748. let _cid = cid,
  5749. _stage = stage,
  5750. _task = task,
  5751. _tool = tool;
  5752. var _jie = $$("div", {
  5753. "style": {
  5754. "position": "absolute",
  5755. "bottom": "50px",
  5756. "right": "50px",
  5757. "zIndex": "9999",
  5758. "backgroundColor": "#2268bc",
  5759. "color": "#fff",
  5760. "padding": "12px 20px",
  5761. "cursor": "pointer",
  5762. "borderRadius": "4px",
  5763. },
  5764. "innerHTML": "提交作业"
  5765. })
  5766. let aTool = ''
  5767. let _loading = document.createElement('div')
  5768. _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;"
  5769. // _loading.id = "";
  5770. let _lchild = document.createElement('div')
  5771. let _limg = document.createElement('img')
  5772. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5773. _limg.style = "width: 26px;margin-right: 10px;"
  5774. _lchild.appendChild(_limg)
  5775. let _lspan = document.createElement('span')
  5776. _lspan.innerHTML = "上传中..."
  5777. _lchild.appendChild(_lspan)
  5778. _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%);"
  5779. _loading.appendChild(_lchild)
  5780. var _box = $$('div', {
  5781. "style": {
  5782. "position": "relative",
  5783. "width": "100%",
  5784. "height": "100%",
  5785. },
  5786. })
  5787. _box.appendChild(_loading)
  5788. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5789. switch (str) {
  5790. case "whiteboard":
  5791. aTool = 1;
  5792. _iframe = $$("iframe", {
  5793. "frameborder": "no",
  5794. "border": "0",
  5795. "scrolling ": "no",
  5796. "style": {
  5797. "cssText": "border:0;width:100%;height:100%"
  5798. },
  5799. "src": "https://iwb.cocorobo.cn/"
  5800. })
  5801. _box.appendChild(_iframe);
  5802. _box.appendChild(_jie);
  5803. _formdiv = new U.UF.UI.form(
  5804. "电子白板-" + _username,
  5805. _box, {
  5806. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5807. "style": {
  5808. "width": "90%",
  5809. "height": "90%",
  5810. "overflow": 'hidden'
  5811. },
  5812. "onresize": function() {}
  5813. }, {
  5814. closecallback: function() {}
  5815. }, {
  5816. "style": {
  5817. "height": "36px"
  5818. }
  5819. }).form; //创建窗体
  5820. _taskbar = {
  5821. "id": str + _formdiv.id,
  5822. "style": {
  5823. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5824. },
  5825. "name": "电子白板",
  5826. "forms": _formdiv,
  5827. "click": function() {
  5828. U.MD.D.I.openApplication(str, obj, info);
  5829. }
  5830. }
  5831. break;
  5832. case "mind":
  5833. aTool = 3;
  5834. _iframe = $$("iframe", {
  5835. "frameborder": "no",
  5836. "border": "0",
  5837. "scrolling ": "no",
  5838. "style": {
  5839. "cssText": "border:0;width:100%;height:100%"
  5840. },
  5841. "src": "/kityminder-editor/dist/index.html"
  5842. })
  5843. _box.appendChild(_iframe);
  5844. _box.appendChild(_jie);
  5845. _formdiv = new U.UF.UI.form(
  5846. "思维导图-" + _username,
  5847. _box, { //"/jsmind/example/demo.html"
  5848. "id": "mind" + cid + stage + task + tool + _userid,
  5849. "style": {
  5850. "width": "90%",
  5851. "height": "90%",
  5852. "overflow": 'hidden'
  5853. },
  5854. "onresize": function() {}
  5855. }, {
  5856. closecallback: function() {}
  5857. }, {
  5858. "style": {
  5859. "height": "36px"
  5860. }
  5861. }).form; //创建窗体
  5862. _taskbar = {
  5863. "id": str + _formdiv.id,
  5864. "style": {
  5865. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5866. },
  5867. "name": "思维导图",
  5868. "forms": _formdiv,
  5869. "click": function() {
  5870. U.MD.D.I.openApplication(str, obj, info);
  5871. }
  5872. }
  5873. break;
  5874. case "MindMap":
  5875. aTool = 3;
  5876. _iframe = $$("iframe", {
  5877. "frameborder": "no",
  5878. "border": "0",
  5879. "scrolling ": "no",
  5880. "style": {
  5881. "cssText": "border:0;width:100%;height:100%"
  5882. },
  5883. "src": "//cloud.cocorobo.cn/mind/"
  5884. })
  5885. _box.appendChild(_iframe);
  5886. _box.appendChild(_jie);
  5887. _formdiv = new U.UF.UI.form(
  5888. "思维导图-" + _username,
  5889. _box, { //"/jsmind/example/demo.html"
  5890. "id": "mind" + cid + stage + task + tool + _userid,
  5891. "style": {
  5892. "width": "90%",
  5893. "height": "90%",
  5894. "overflow": 'hidden'
  5895. },
  5896. "onresize": function() {}
  5897. }, {
  5898. closecallback: function() {}
  5899. }, {
  5900. "style": {
  5901. "height": "36px"
  5902. }
  5903. }).form; //创建窗体
  5904. _taskbar = {
  5905. "id": str + _formdiv.id,
  5906. "style": {
  5907. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5908. },
  5909. "name": "思维导图",
  5910. "forms": _formdiv,
  5911. "click": function() {
  5912. U.MD.D.I.openApplication(str, obj, info);
  5913. }
  5914. }
  5915. break;
  5916. case "doc":
  5917. aTool = 6;
  5918. _iframe = $$("iframe", {
  5919. "frameborder": "no",
  5920. "border": "0",
  5921. "scrolling ": "no",
  5922. "style": {
  5923. "cssText": "border:0;width:100%;height:100%"
  5924. },
  5925. "src": "/Office/Word/WordEditArea.htm"
  5926. })
  5927. _box.appendChild(_iframe);
  5928. _box.appendChild(_jie);
  5929. _formdiv = new U.UF.UI.form(
  5930. "协同文档-" + _username,
  5931. _box, {
  5932. "id": "doc" + cid + stage + task + tool + _userid,
  5933. "style": {
  5934. "width": "90%",
  5935. "height": "90%",
  5936. "overflow": 'hidden'
  5937. },
  5938. "onresize": function() {}
  5939. }, {
  5940. closecallback: function() {}
  5941. }, {
  5942. "style": {
  5943. "height": "36px"
  5944. }
  5945. }).form; //创建窗体
  5946. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5947. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5948. })
  5949. _taskbar = {
  5950. "id": str + _formdiv.id,
  5951. "style": {
  5952. "backgroundImage": "url(/img/icon/doc.png)"
  5953. },
  5954. "name": "协同文档",
  5955. "forms": _formdiv,
  5956. "click": function() {
  5957. U.MD.D.I.openApplication(str, obj, info);
  5958. }
  5959. }
  5960. break;
  5961. case "mindNetwork": //好友打开
  5962. aTool = 7;
  5963. _iframe = $$("iframe", {
  5964. "webkitallowfullscreen": "",
  5965. "mozallowfullscreen": "",
  5966. "allowfullscreen": "",
  5967. "frameborder": "no",
  5968. "border": "0",
  5969. "scrolling ": "no",
  5970. "style": {
  5971. "cssText": "border:0; width:100%; height:100%;"
  5972. },
  5973. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5974. })
  5975. _box.appendChild(_iframe);
  5976. _box.appendChild(_jie);
  5977. _formdiv = new U.UF.UI.form(
  5978. "思维网格-" + _username,
  5979. _box, {
  5980. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5981. "style": {
  5982. "width": "90%",
  5983. "height": "90%",
  5984. "overflow": 'hidden'
  5985. },
  5986. "onresize": function() {}
  5987. }, {
  5988. closecallback: function() {}
  5989. }, {
  5990. "style": {
  5991. "height": "36px"
  5992. }
  5993. }).form; //创建窗体
  5994. _taskbar = {
  5995. "id": str + _formdiv.id,
  5996. "style": {
  5997. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5998. },
  5999. "name": "思维网格",
  6000. "forms": _formdiv,
  6001. "click": function() {
  6002. U.MD.D.I.openApplication(str, obj, info);
  6003. }
  6004. }
  6005. break;
  6006. case "courseDesign":
  6007. _iframe = $$("iframe", {
  6008. "webkitallowfullscreen": "",
  6009. "mozallowfullscreen": "",
  6010. "allowfullscreen": "",
  6011. "frameborder": "no",
  6012. "border": "0",
  6013. "scrolling ": "no",
  6014. "style": {
  6015. "cssText": "border:0; width:100%; height:100%;"
  6016. },
  6017. "src": "/course-design-vue"
  6018. })
  6019. _box.appendChild(_iframe);
  6020. _box.appendChild(_jie);
  6021. _formdiv = new U.UF.UI.form(
  6022. "项目设计-" + _username,
  6023. _box, {
  6024. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6025. "style": {
  6026. "width": "90%",
  6027. "height": "90%",
  6028. "overflow": 'hidden'
  6029. },
  6030. "onresize": function() {}
  6031. }, {
  6032. closecallback: function() {}
  6033. }, {
  6034. "style": {
  6035. "height": "36px"
  6036. }
  6037. }).form; //创建窗体
  6038. _taskbar = {
  6039. "id": str + _formdiv.id,
  6040. "style": {
  6041. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6042. },
  6043. "name": "项目设计",
  6044. "forms": _formdiv,
  6045. "click": function() {
  6046. U.MD.D.I.openApplication(str, obj, info);
  6047. }
  6048. }
  6049. break;
  6050. }
  6051. const script1 = document.createElement("script");
  6052. script1.type = "text/javascript";
  6053. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6054. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6055. const script2 = document.createElement("script");
  6056. script2.type = "text/javascript";
  6057. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6058. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6059. const script3 = document.createElement("script");
  6060. script3.type = "text/javascript";
  6061. script3.charset = "UTF-8";
  6062. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6063. const script4 = document.createElement("script");
  6064. script4.type = "text/javascript";
  6065. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6066. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6067. if (_iframe) {
  6068. if (str == 'doc') {
  6069. _iframe = _formdiv.querySelector('iframe')
  6070. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6071. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6072. _iframe.contentWindow.document.body.appendChild(script1);
  6073. _iframe.contentWindow.document.body.appendChild(script2);
  6074. // _iframe.contentWindow.document.body.appendChild(script3);
  6075. _iframe.contentWindow.document.body.appendChild(script4);
  6076. })
  6077. if (onloadListener) {
  6078. _iframe.contentDocument.location.reload()
  6079. } else {
  6080. _iframe.contentDocument.location.reload()
  6081. }
  6082. } else if (str == 'courseDesign') {
  6083. U.UF.DL.iframeLoad(_iframe, function() {
  6084. // _iframe.contentWindow.U.MD.O.W.load();
  6085. // _iframe.contentWindow.document.body.appendChild(script1);
  6086. _iframe.contentWindow.document.body.appendChild(script2);
  6087. _iframe.contentWindow.document.body.appendChild(script4);
  6088. })
  6089. } else if (str == 'mind') {
  6090. _iframe = _formdiv.querySelector('iframe')
  6091. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6092. //
  6093. _iframe.contentWindow.document.body.appendChild(script1);
  6094. _iframe.contentWindow.document.body.appendChild(script2);
  6095. _iframe.contentWindow.document.body.appendChild(script4);
  6096. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6097. })
  6098. if (onloadListener) {
  6099. _iframe.contentDocument.location.reload()
  6100. } else {
  6101. _iframe.contentDocument.location.reload()
  6102. }
  6103. } else if (str == 'whiteboard') {
  6104. _iframe = _formdiv.querySelector('iframe')
  6105. let onloadListener = _iframe.onload = () => {
  6106. _iframe.contentWindow.document.body.appendChild(script1);
  6107. _iframe.contentWindow.document.body.appendChild(script2);
  6108. _iframe.contentWindow.document.body.appendChild(script4);
  6109. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6110. };
  6111. if (onloadListener) {
  6112. _iframe.contentDocument.location.reload()
  6113. } else {
  6114. _iframe.contentDocument.location.reload()
  6115. }
  6116. } else {
  6117. _iframe.onload = () => {
  6118. _iframe.contentWindow.document.body.appendChild(script1);
  6119. _iframe.contentWindow.document.body.appendChild(script2);
  6120. // _iframe.contentWindow.document.body.appendChild(script3);
  6121. _iframe.contentWindow.document.body.appendChild(script4);
  6122. };
  6123. }
  6124. _jie.onclick = async() => {
  6125. let text = ''
  6126. if (aTool == 1) {
  6127. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6128. } else if (aTool == 6) {
  6129. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6130. } else if (aTool == 3) {
  6131. text = await U.MD.D.I.getEditorContent(_iframe);
  6132. }
  6133. _loading.style.display = 'flex'
  6134. console.log(_loading);
  6135. var _ajs = _iframe.contentWindow.document.createElement("script");
  6136. _ajs.type = "text/javascript";
  6137. _ajs.innerHTML =
  6138. // 'console.log(' + _loading + ');\n' +
  6139. 'var _js = document.createElement("script");\n' +
  6140. '_js.type="text/javascript";\n' +
  6141. '_js.charset="UTF-8";\n' +
  6142. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6143. "_js.onload = function(){\n" +
  6144. ' var a = document.getElementsByTagName("img")\n' +
  6145. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6146. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6147. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6148. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6149. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6150. "beforeUpload_shishi(file," +
  6151. "'" +
  6152. _userid +
  6153. "'" +
  6154. ", " +
  6155. "'" +
  6156. _cid +
  6157. "'" +
  6158. ", " +
  6159. "'" +
  6160. _stage +
  6161. "'" +
  6162. ", " +
  6163. "'" +
  6164. _task +
  6165. "'" +
  6166. ", " +
  6167. "'" +
  6168. _tool +
  6169. "'" +
  6170. ", " +
  6171. "'" +
  6172. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6173. "'" +
  6174. ", " +
  6175. "'" +
  6176. aTool +
  6177. "'" +
  6178. ", " +
  6179. "`" +
  6180. text +
  6181. "`" +
  6182. ")\n" +
  6183. " });\n" +
  6184. "}\n" +
  6185. "document.head.appendChild(_js);\n";
  6186. _iframe.contentWindow.document.head.appendChild(_ajs);
  6187. }
  6188. }
  6189. }
  6190. U.MD.D.I.openApplicationJieTeacherE = function(str, cid, stage, task, tool, student) {
  6191. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6192. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6193. _userid = student.userid, //登录用户id
  6194. _username = student.student //用户名字
  6195. let _iframe;
  6196. let _cid = cid,
  6197. _stage = stage,
  6198. _task = task,
  6199. _tool = tool;
  6200. var _jie = $$("div", {
  6201. "style": {
  6202. "position": "absolute",
  6203. "bottom": "50px",
  6204. "right": "50px",
  6205. "zIndex": "9999",
  6206. "backgroundColor": "#2268bc",
  6207. "color": "#fff",
  6208. "padding": "12px 20px",
  6209. "cursor": "pointer",
  6210. "borderRadius": "4px",
  6211. },
  6212. "innerHTML": "提交作业"
  6213. })
  6214. let aTool = ''
  6215. let _loading = document.createElement('div')
  6216. _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;"
  6217. // _loading.id = "";
  6218. let _lchild = document.createElement('div')
  6219. let _limg = document.createElement('img')
  6220. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6221. _limg.style = "width: 26px;margin-right: 10px;"
  6222. _lchild.appendChild(_limg)
  6223. let _lspan = document.createElement('span')
  6224. _lspan.innerHTML = "上传中..."
  6225. _lchild.appendChild(_lspan)
  6226. _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%);"
  6227. _loading.appendChild(_lchild)
  6228. var _box = $$('div', {
  6229. "style": {
  6230. "position": "relative",
  6231. "width": "100%",
  6232. "height": "100%",
  6233. },
  6234. })
  6235. _box.appendChild(_loading)
  6236. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6237. switch (str) {
  6238. case "whiteboard":
  6239. aTool = 1;
  6240. _iframe = $$("iframe", {
  6241. "frameborder": "no",
  6242. "border": "0",
  6243. "scrolling ": "no",
  6244. "style": {
  6245. "cssText": "border:0;width:100%;height:100%"
  6246. },
  6247. "src": "https://iwb.cocorobo.cn/"
  6248. })
  6249. _box.appendChild(_iframe);
  6250. _box.appendChild(_jie);
  6251. _formdiv = new U.UF.UI.form(
  6252. "电子白板-" + _username,
  6253. _box, {
  6254. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6255. "style": {
  6256. "width": "90%",
  6257. "height": "90%",
  6258. "overflow": 'hidden'
  6259. },
  6260. "onresize": function() {}
  6261. }, {
  6262. closecallback: function() {}
  6263. }, {
  6264. "style": {
  6265. "height": "36px"
  6266. }
  6267. }).form; //创建窗体
  6268. _taskbar = {
  6269. "id": str + _formdiv.id,
  6270. "style": {
  6271. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6272. },
  6273. "name": "电子白板",
  6274. "forms": _formdiv,
  6275. "click": function() {
  6276. U.MD.D.I.openApplication(str, obj, info);
  6277. }
  6278. }
  6279. break;
  6280. case "mind":
  6281. aTool = 3;
  6282. _iframe = $$("iframe", {
  6283. "frameborder": "no",
  6284. "border": "0",
  6285. "scrolling ": "no",
  6286. "style": {
  6287. "cssText": "border:0;width:100%;height:100%"
  6288. },
  6289. "src": "/kityminder-editor/dist/index.html"
  6290. })
  6291. _box.appendChild(_iframe);
  6292. _box.appendChild(_jie);
  6293. _formdiv = new U.UF.UI.form(
  6294. "思维导图-" + _username,
  6295. _box, { //"/jsmind/example/demo.html"
  6296. "id": "mind" + cid + stage + task + tool + _userid,
  6297. "style": {
  6298. "width": "90%",
  6299. "height": "90%",
  6300. "overflow": 'hidden'
  6301. },
  6302. "onresize": function() {}
  6303. }, {
  6304. closecallback: function() {}
  6305. }, {
  6306. "style": {
  6307. "height": "36px"
  6308. }
  6309. }).form; //创建窗体
  6310. _taskbar = {
  6311. "id": str + _formdiv.id,
  6312. "style": {
  6313. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6314. },
  6315. "name": "思维导图",
  6316. "forms": _formdiv,
  6317. "click": function() {
  6318. U.MD.D.I.openApplication(str, obj, info);
  6319. }
  6320. }
  6321. break;
  6322. case "MindMap":
  6323. aTool = 3;
  6324. _iframe = $$("iframe", {
  6325. "frameborder": "no",
  6326. "border": "0",
  6327. "scrolling ": "no",
  6328. "style": {
  6329. "cssText": "border:0;width:100%;height:100%"
  6330. },
  6331. "src": "//cloud.cocorobo.cn/mind/"
  6332. })
  6333. _box.appendChild(_iframe);
  6334. _box.appendChild(_jie);
  6335. _formdiv = new U.UF.UI.form(
  6336. "思维导图-" + _username,
  6337. _box, { //"/jsmind/example/demo.html"
  6338. "id": "mind" + cid + stage + task + tool + _userid,
  6339. "style": {
  6340. "width": "90%",
  6341. "height": "90%",
  6342. "overflow": 'hidden'
  6343. },
  6344. "onresize": function() {}
  6345. }, {
  6346. closecallback: function() {}
  6347. }, {
  6348. "style": {
  6349. "height": "36px"
  6350. }
  6351. }).form; //创建窗体
  6352. _taskbar = {
  6353. "id": str + _formdiv.id,
  6354. "style": {
  6355. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6356. },
  6357. "name": "思维导图",
  6358. "forms": _formdiv,
  6359. "click": function() {
  6360. U.MD.D.I.openApplication(str, obj, info);
  6361. }
  6362. }
  6363. break;
  6364. case "doc":
  6365. aTool = 6;
  6366. _iframe = $$("iframe", {
  6367. "frameborder": "no",
  6368. "border": "0",
  6369. "scrolling ": "no",
  6370. "style": {
  6371. "cssText": "border:0;width:100%;height:100%"
  6372. },
  6373. "src": "/Office/Word/WordEditArea.htm"
  6374. })
  6375. _box.appendChild(_iframe);
  6376. _box.appendChild(_jie);
  6377. _formdiv = new U.UF.UI.form(
  6378. "协同文档-" + _username,
  6379. _box, {
  6380. "id": "doc" + cid + stage + task + tool + _userid,
  6381. "style": {
  6382. "width": "90%",
  6383. "height": "90%",
  6384. "overflow": 'hidden'
  6385. },
  6386. "onresize": function() {}
  6387. }, {
  6388. closecallback: function() {}
  6389. }, {
  6390. "style": {
  6391. "height": "36px"
  6392. }
  6393. }).form; //创建窗体
  6394. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6395. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6396. })
  6397. _taskbar = {
  6398. "id": str + _formdiv.id,
  6399. "style": {
  6400. "backgroundImage": "url(/img/icon/doc.png)"
  6401. },
  6402. "name": "协同文档",
  6403. "forms": _formdiv,
  6404. "click": function() {
  6405. U.MD.D.I.openApplication(str, obj, info);
  6406. }
  6407. }
  6408. break;
  6409. case "mindNetwork": //好友打开
  6410. aTool = 7;
  6411. _iframe = $$("iframe", {
  6412. "webkitallowfullscreen": "",
  6413. "mozallowfullscreen": "",
  6414. "allowfullscreen": "",
  6415. "frameborder": "no",
  6416. "border": "0",
  6417. "scrolling ": "no",
  6418. "style": {
  6419. "cssText": "border:0; width:100%; height:100%;"
  6420. },
  6421. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6422. })
  6423. _box.appendChild(_iframe);
  6424. _box.appendChild(_jie);
  6425. _formdiv = new U.UF.UI.form(
  6426. "思维网格-" + _username,
  6427. _box, {
  6428. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6429. "style": {
  6430. "width": "90%",
  6431. "height": "90%",
  6432. "overflow": 'hidden'
  6433. },
  6434. "onresize": function() {}
  6435. }, {
  6436. closecallback: function() {}
  6437. }, {
  6438. "style": {
  6439. "height": "36px"
  6440. }
  6441. }).form; //创建窗体
  6442. _taskbar = {
  6443. "id": str + _formdiv.id,
  6444. "style": {
  6445. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6446. },
  6447. "name": "思维网格",
  6448. "forms": _formdiv,
  6449. "click": function() {
  6450. U.MD.D.I.openApplication(str, obj, info);
  6451. }
  6452. }
  6453. break;
  6454. case "courseDesign":
  6455. _iframe = $$("iframe", {
  6456. "webkitallowfullscreen": "",
  6457. "mozallowfullscreen": "",
  6458. "allowfullscreen": "",
  6459. "frameborder": "no",
  6460. "border": "0",
  6461. "scrolling ": "no",
  6462. "style": {
  6463. "cssText": "border:0; width:100%; height:100%;"
  6464. },
  6465. "src": "/course-design-vue"
  6466. })
  6467. _box.appendChild(_iframe);
  6468. _box.appendChild(_jie);
  6469. _formdiv = new U.UF.UI.form(
  6470. "项目设计-" + _username,
  6471. _box, {
  6472. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6473. "style": {
  6474. "width": "90%",
  6475. "height": "90%",
  6476. "overflow": 'hidden'
  6477. },
  6478. "onresize": function() {}
  6479. }, {
  6480. closecallback: function() {}
  6481. }, {
  6482. "style": {
  6483. "height": "36px"
  6484. }
  6485. }).form; //创建窗体
  6486. _taskbar = {
  6487. "id": str + _formdiv.id,
  6488. "style": {
  6489. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6490. },
  6491. "name": "项目设计",
  6492. "forms": _formdiv,
  6493. "click": function() {
  6494. U.MD.D.I.openApplication(str, obj, info);
  6495. }
  6496. }
  6497. break;
  6498. }
  6499. const script1 = document.createElement("script");
  6500. script1.type = "text/javascript";
  6501. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6502. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6503. const script2 = document.createElement("script");
  6504. script2.type = "text/javascript";
  6505. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6506. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6507. const script3 = document.createElement("script");
  6508. script3.type = "text/javascript";
  6509. script3.charset = "UTF-8";
  6510. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6511. const script4 = document.createElement("script");
  6512. script4.type = "text/javascript";
  6513. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6514. script4.src = window.origin + "/js/Common/jietu2E.js";
  6515. if (_iframe) {
  6516. if (str == 'doc') {
  6517. _iframe = _formdiv.querySelector('iframe')
  6518. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6519. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6520. _iframe.contentWindow.document.body.appendChild(script1);
  6521. _iframe.contentWindow.document.body.appendChild(script2);
  6522. // _iframe.contentWindow.document.body.appendChild(script3);
  6523. _iframe.contentWindow.document.body.appendChild(script4);
  6524. })
  6525. if (onloadListener) {
  6526. _iframe.contentDocument.location.reload()
  6527. } else {
  6528. _iframe.contentDocument.location.reload()
  6529. }
  6530. } else if (str == 'courseDesign') {
  6531. U.UF.DL.iframeLoad(_iframe, function() {
  6532. // _iframe.contentWindow.U.MD.O.W.load();
  6533. // _iframe.contentWindow.document.body.appendChild(script1);
  6534. _iframe.contentWindow.document.body.appendChild(script2);
  6535. _iframe.contentWindow.document.body.appendChild(script4);
  6536. })
  6537. } else if (str == 'mind') {
  6538. _iframe = _formdiv.querySelector('iframe')
  6539. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6540. //
  6541. _iframe.contentWindow.document.body.appendChild(script1);
  6542. _iframe.contentWindow.document.body.appendChild(script2);
  6543. _iframe.contentWindow.document.body.appendChild(script4);
  6544. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6545. })
  6546. if (onloadListener) {
  6547. _iframe.contentDocument.location.reload()
  6548. } else {
  6549. _iframe.contentDocument.location.reload()
  6550. }
  6551. } else if (str == 'whiteboard') {
  6552. _iframe = _formdiv.querySelector('iframe')
  6553. let onloadListener = _iframe.onload = () => {
  6554. _iframe.contentWindow.document.body.appendChild(script1);
  6555. _iframe.contentWindow.document.body.appendChild(script2);
  6556. _iframe.contentWindow.document.body.appendChild(script4);
  6557. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6558. };
  6559. if (onloadListener) {
  6560. _iframe.contentDocument.location.reload()
  6561. } else {
  6562. _iframe.contentDocument.location.reload()
  6563. }
  6564. } else {
  6565. _iframe.onload = () => {
  6566. _iframe.contentWindow.document.body.appendChild(script1);
  6567. _iframe.contentWindow.document.body.appendChild(script2);
  6568. // _iframe.contentWindow.document.body.appendChild(script3);
  6569. _iframe.contentWindow.document.body.appendChild(script4);
  6570. };
  6571. }
  6572. _jie.onclick = async() => {
  6573. let text = ''
  6574. if (aTool == 1) {
  6575. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6576. } else if (aTool == 6) {
  6577. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6578. } else if (aTool == 3) {
  6579. text = await U.MD.D.I.getEditorContent(_iframe);
  6580. }
  6581. _loading.style.display = 'flex'
  6582. console.log(_loading);
  6583. var _ajs = _iframe.contentWindow.document.createElement("script");
  6584. _ajs.type = "text/javascript";
  6585. _ajs.innerHTML =
  6586. // 'console.log(' + _loading + ');\n' +
  6587. 'var _js = document.createElement("script");\n' +
  6588. '_js.type="text/javascript";\n' +
  6589. '_js.charset="UTF-8";\n' +
  6590. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6591. "_js.onload = function(){\n" +
  6592. ' var a = document.getElementsByTagName("img")\n' +
  6593. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6594. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6595. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6596. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6597. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6598. "beforeUpload_shishi(file," +
  6599. "'" +
  6600. _userid +
  6601. "'" +
  6602. ", " +
  6603. "'" +
  6604. _cid +
  6605. "'" +
  6606. ", " +
  6607. "'" +
  6608. _stage +
  6609. "'" +
  6610. ", " +
  6611. "'" +
  6612. _task +
  6613. "'" +
  6614. ", " +
  6615. "'" +
  6616. _tool +
  6617. "'" +
  6618. ", " +
  6619. "'" +
  6620. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6621. "'" +
  6622. ", " +
  6623. "'" +
  6624. aTool +
  6625. "'" +
  6626. ", " +
  6627. "`" +
  6628. text +
  6629. "`" +
  6630. ")\n" +
  6631. " });\n" +
  6632. "}\n" +
  6633. "document.head.appendChild(_js);\n";
  6634. _iframe.contentWindow.document.head.appendChild(_ajs);
  6635. }
  6636. }
  6637. }
  6638. U.MD.D.I.getEditorContent = function(iframe) {
  6639. return new Promise((resolve, reject) => {
  6640. iframe.contentWindow.editor.minder.exportData('json').then(function(content) {
  6641. console.log(content);
  6642. resolve(content)
  6643. });
  6644. });
  6645. }
  6646. U.MD.D.I.getContent = function(cid, s, task, t, uid, type, iframe) {
  6647. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6648. // if (res.value[0].length > 0) {
  6649. // // resolve(res.value[0][0].text);
  6650. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6651. // $(fileInput).val('');
  6652. // });
  6653. // }
  6654. // }, [], { "type": "GET", "withCredentials": true });
  6655. var xmlhttp;
  6656. var Mac, Sn, DeviceId
  6657. if (window.XMLHttpRequest) {
  6658. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6659. xmlhttp = new XMLHttpRequest();
  6660. } else {
  6661. // IE6, IE5 浏览器执行代码
  6662. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6663. }
  6664. xmlhttp.onreadystatechange = function() {
  6665. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6666. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6667. // resolve(res.value[0][0].text);
  6668. if (type == '2') {
  6669. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6670. } else if (type == '3') {
  6671. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6672. }
  6673. } else {
  6674. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6675. }
  6676. }
  6677. }
  6678. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6679. xmlhttp.send();
  6680. }
  6681. U.MD.D.I.openApplicationJieS = function(str, cid, stage, task, tool) {
  6682. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6683. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6684. _userinfo = US.userInfo, //登录用户信息
  6685. _userid = US.userInfo.userid //登录用户id
  6686. let _iframe;
  6687. let _cid = cid,
  6688. _stage = stage,
  6689. _task = task,
  6690. _tool = tool;
  6691. var _jie = $$("div", {
  6692. "style": {
  6693. "position": "absolute",
  6694. "bottom": "50px",
  6695. "right": "50px",
  6696. "zIndex": "9999",
  6697. "backgroundColor": "#2268bc",
  6698. "color": "#fff",
  6699. "padding": "12px 20px",
  6700. "cursor": "pointer",
  6701. "borderRadius": "4px",
  6702. },
  6703. "innerHTML": "确认并提交"
  6704. })
  6705. let aTool = ''
  6706. let _loading = document.createElement('div')
  6707. _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;"
  6708. // _loading.id = "";
  6709. let _lchild = document.createElement('div')
  6710. let _limg = document.createElement('img')
  6711. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6712. _limg.style = "width: 26px;margin-right: 10px;"
  6713. _lchild.appendChild(_limg)
  6714. let _lspan = document.createElement('span')
  6715. _lspan.innerHTML = "上传中..."
  6716. _lchild.appendChild(_lspan)
  6717. _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%);"
  6718. _loading.appendChild(_lchild)
  6719. var _box = $$('div', {
  6720. "style": {
  6721. "position": "relative",
  6722. "width": "100%",
  6723. "height": "100%",
  6724. },
  6725. })
  6726. _box.appendChild(_loading)
  6727. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6728. switch (str) {
  6729. case "whiteboard":
  6730. aTool = 1;
  6731. _iframe = $$("iframe", {
  6732. "frameborder": "no",
  6733. "border": "0",
  6734. "scrolling ": "no",
  6735. "style": {
  6736. "cssText": "border:0;width:100%;height:100%"
  6737. },
  6738. "src": "https://iwb.cocorobo.cn/"
  6739. })
  6740. _box.appendChild(_iframe);
  6741. _box.appendChild(_jie);
  6742. _formdiv = new U.UF.UI.form(
  6743. "电子白板",
  6744. _box, {
  6745. "id": "whiteboards" + cid + stage + task + tool,
  6746. "style": {
  6747. "width": "90%",
  6748. "height": "90%",
  6749. "overflow": 'hidden'
  6750. },
  6751. "onresize": function() {}
  6752. }, {
  6753. closecallback: function() {}
  6754. }, {
  6755. "style": {
  6756. "height": "36px"
  6757. }
  6758. }).form; //创建窗体
  6759. _taskbar = {
  6760. "id": str + _formdiv.id,
  6761. "style": {
  6762. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6763. },
  6764. "name": "电子白板",
  6765. "forms": _formdiv,
  6766. "click": function() {
  6767. U.MD.D.I.openApplication(str, obj, info);
  6768. }
  6769. }
  6770. break;
  6771. case "mind":
  6772. aTool = 3;
  6773. _iframe = $$("iframe", {
  6774. "frameborder": "no",
  6775. "border": "0",
  6776. "scrolling ": "no",
  6777. "style": {
  6778. "cssText": "border:0;width:100%;height:100%"
  6779. },
  6780. "src": "/kityminder-editor/dist/index.html"
  6781. });
  6782. _box.appendChild(_iframe);
  6783. _box.appendChild(_jie);
  6784. _formdiv = new U.UF.UI.form(
  6785. "思维导图",
  6786. _box, { //"/jsmind/example/demo.html"
  6787. "id": "minds" + cid + stage + task + tool,
  6788. "style": {
  6789. "width": "90%",
  6790. "height": "90%",
  6791. "overflow": 'hidden'
  6792. },
  6793. "onresize": function() {}
  6794. }, {
  6795. closecallback: function() {}
  6796. }, {
  6797. "style": {
  6798. "height": "36px"
  6799. }
  6800. }).form; //创建窗体
  6801. _taskbar = {
  6802. "id": str + _formdiv.id,
  6803. "style": {
  6804. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6805. },
  6806. "name": "思维导图",
  6807. "forms": _formdiv,
  6808. "click": function() {
  6809. U.MD.D.I.openApplication(str, obj, info);
  6810. }
  6811. }
  6812. break;
  6813. case "doc":
  6814. aTool = 6;
  6815. _iframe = $$("iframe", {
  6816. "frameborder": "no",
  6817. "border": "0",
  6818. "scrolling ": "no",
  6819. "style": {
  6820. "cssText": "border:0;width:100%;height:100%"
  6821. },
  6822. "src": "/Office/Word/WordEditArea.htm"
  6823. })
  6824. _box.appendChild(_iframe);
  6825. _box.appendChild(_jie);
  6826. _formdiv = new U.UF.UI.form(
  6827. "协同文档",
  6828. _box, {
  6829. "id": "docs" + cid + stage + task + tool,
  6830. "style": {
  6831. "width": "90%",
  6832. "height": "90%",
  6833. "overflow": 'hidden'
  6834. },
  6835. "onresize": function() {}
  6836. }, {
  6837. closecallback: function() {}
  6838. }, {
  6839. "style": {
  6840. "height": "36px"
  6841. }
  6842. }).form; //创建窗体
  6843. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6844. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6845. })
  6846. _taskbar = {
  6847. "id": str + _formdiv.id,
  6848. "style": {
  6849. "backgroundImage": "url(/img/icon/doc.png)"
  6850. },
  6851. "name": "协同文档",
  6852. "forms": _formdiv,
  6853. "click": function() {
  6854. U.MD.D.I.openApplication(str, obj, info);
  6855. }
  6856. }
  6857. break;
  6858. }
  6859. const script1 = document.createElement("script");
  6860. script1.type = "text/javascript";
  6861. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6862. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6863. const script2 = document.createElement("script");
  6864. script2.type = "text/javascript";
  6865. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6866. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6867. const script3 = document.createElement("script");
  6868. script3.type = "text/javascript";
  6869. script3.charset = "UTF-8";
  6870. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6871. const script4 = document.createElement("script");
  6872. script4.type = "text/javascript";
  6873. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6874. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6875. if (_iframe) {
  6876. if (str == 'doc') {
  6877. _iframe = _formdiv.querySelector('iframe')
  6878. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6879. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6880. _iframe.contentWindow.document.body.appendChild(script1);
  6881. _iframe.contentWindow.document.body.appendChild(script2);
  6882. // _iframe.contentWindow.document.body.appendChild(script3);
  6883. _iframe.contentWindow.document.body.appendChild(script4);
  6884. })
  6885. if (onloadListener) {
  6886. _iframe.contentDocument.location.reload()
  6887. } else {
  6888. _iframe.contentDocument.location.reload()
  6889. }
  6890. } else if (str == 'mind') {
  6891. _iframe = _formdiv.querySelector('iframe')
  6892. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6893. _iframe.contentWindow.document.body.appendChild(script1);
  6894. _iframe.contentWindow.document.body.appendChild(script2);
  6895. _iframe.contentWindow.document.body.appendChild(script4);
  6896. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6897. })
  6898. if (onloadListener) {
  6899. _iframe.contentDocument.location.reload()
  6900. } else {
  6901. _iframe.contentDocument.location.reload()
  6902. }
  6903. } else {
  6904. _iframe.onload = () => {
  6905. _iframe.contentWindow.document.body.appendChild(script1);
  6906. _iframe.contentWindow.document.body.appendChild(script2);
  6907. // _iframe.contentWindow.document.body.appendChild(script3);
  6908. _iframe.contentWindow.document.body.appendChild(script4);
  6909. };
  6910. }
  6911. _jie.onclick = async() => {
  6912. let text = ''
  6913. if (aTool == 6) {
  6914. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6915. } else if (aTool == 3) {
  6916. text = await U.MD.D.I.getEditorContent(_iframe);
  6917. }
  6918. _loading.style.display = 'flex'
  6919. console.log(_loading);
  6920. var _ajs = _iframe.contentWindow.document.createElement("script");
  6921. _ajs.type = "text/javascript";
  6922. _ajs.innerHTML =
  6923. // 'console.log(' + _loading + ');\n' +
  6924. 'var _js = document.createElement("script");\n' +
  6925. '_js.type="text/javascript";\n' +
  6926. '_js.charset="UTF-8";\n' +
  6927. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6928. "_js.onload = function(){\n" +
  6929. ' var a = document.getElementsByTagName("img")\n' +
  6930. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6931. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6932. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6933. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6934. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6935. "beforeUpload_shishi(file," +
  6936. "'" +
  6937. _userid +
  6938. "'" +
  6939. ", " +
  6940. "'" +
  6941. _cid +
  6942. "'" +
  6943. ", " +
  6944. "'" +
  6945. _stage +
  6946. "'" +
  6947. ", " +
  6948. "'" +
  6949. _task +
  6950. "'" +
  6951. ", " +
  6952. "'" +
  6953. _tool +
  6954. "'" +
  6955. ", " +
  6956. "'" +
  6957. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6958. "'" +
  6959. ", " +
  6960. "'" +
  6961. aTool +
  6962. "'" +
  6963. ", " +
  6964. "`" +
  6965. text +
  6966. "`" +
  6967. ")\n" +
  6968. " });\n" +
  6969. "}\n" +
  6970. "document.head.appendChild(_js);\n";
  6971. _iframe.contentWindow.document.head.appendChild(_ajs);
  6972. }
  6973. }
  6974. //U.MD.D.I.openClick(str);
  6975. //如果有任务栏信息
  6976. // if (_taskbar) {
  6977. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6978. // }
  6979. }
  6980. U.MD.D.I.openApplicationJieStudio = function(str, cid, stage, task, tool) {
  6981. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6982. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6983. _userinfo = US.userInfo, //登录用户信息
  6984. _userid = US.userInfo.userid //登录用户id
  6985. let _iframe;
  6986. let _cid = cid,
  6987. _stage = stage,
  6988. _task = task,
  6989. _tool = tool;
  6990. var _jie = $$("div", {
  6991. "style": {
  6992. "position": "absolute",
  6993. "bottom": "50px",
  6994. "right": "50px",
  6995. "zIndex": "9999",
  6996. "backgroundColor": "#2268bc",
  6997. "color": "#fff",
  6998. "padding": "12px 20px",
  6999. "cursor": "pointer",
  7000. "borderRadius": "4px",
  7001. },
  7002. "innerHTML": "确认并提交"
  7003. })
  7004. let aTool = ''
  7005. let _loading = document.createElement('div')
  7006. _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;"
  7007. // _loading.id = "";
  7008. let _lchild = document.createElement('div')
  7009. let _limg = document.createElement('img')
  7010. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7011. _limg.style = "width: 26px;margin-right: 10px;"
  7012. _lchild.appendChild(_limg)
  7013. let _lspan = document.createElement('span')
  7014. _lspan.innerHTML = "上传中..."
  7015. _lchild.appendChild(_lspan)
  7016. _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%);"
  7017. _loading.appendChild(_lchild)
  7018. var _box = $$('div', {
  7019. "style": {
  7020. "position": "relative",
  7021. "width": "100%",
  7022. "height": "100%",
  7023. },
  7024. })
  7025. _box.appendChild(_loading)
  7026. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7027. switch (str) {
  7028. case "whiteboard":
  7029. aTool = 1;
  7030. _iframe = $$("iframe", {
  7031. "frameborder": "no",
  7032. "border": "0",
  7033. "scrolling ": "no",
  7034. "style": {
  7035. "cssText": "border:0;width:100%;height:100%"
  7036. },
  7037. "src": "https://iwb.cocorobo.cn/"
  7038. })
  7039. _box.appendChild(_iframe);
  7040. _box.appendChild(_jie);
  7041. _formdiv = new U.UF.UI.form(
  7042. "电子白板",
  7043. _box, {
  7044. "id": "whiteboards" + cid + stage + task + tool,
  7045. "style": {
  7046. "width": "90%",
  7047. "height": "90%",
  7048. "overflow": 'hidden'
  7049. },
  7050. "onresize": function() {}
  7051. }, {
  7052. closecallback: function() {}
  7053. }, {
  7054. "style": {
  7055. "height": "36px"
  7056. }
  7057. }).form; //创建窗体
  7058. _taskbar = {
  7059. "id": str + _formdiv.id,
  7060. "style": {
  7061. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7062. },
  7063. "name": "电子白板",
  7064. "forms": _formdiv,
  7065. "click": function() {
  7066. U.MD.D.I.openApplication(str, obj, info);
  7067. }
  7068. }
  7069. break;
  7070. case "mind":
  7071. aTool = 3;
  7072. _iframe = $$("iframe", {
  7073. "frameborder": "no",
  7074. "border": "0",
  7075. "scrolling ": "no",
  7076. "style": {
  7077. "cssText": "border:0;width:100%;height:100%"
  7078. },
  7079. "src": "/kityminder-editor/dist/index.html"
  7080. });
  7081. _box.appendChild(_iframe);
  7082. _box.appendChild(_jie);
  7083. _formdiv = new U.UF.UI.form(
  7084. "思维导图",
  7085. _box, { //"/jsmind/example/demo.html"
  7086. "id": "minds" + cid + stage + task + tool,
  7087. "style": {
  7088. "width": "90%",
  7089. "height": "90%",
  7090. "overflow": 'hidden'
  7091. },
  7092. "onresize": function() {}
  7093. }, {
  7094. closecallback: function() {}
  7095. }, {
  7096. "style": {
  7097. "height": "36px"
  7098. }
  7099. }).form; //创建窗体
  7100. _taskbar = {
  7101. "id": str + _formdiv.id,
  7102. "style": {
  7103. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7104. },
  7105. "name": "思维导图",
  7106. "forms": _formdiv,
  7107. "click": function() {
  7108. U.MD.D.I.openApplication(str, obj, info);
  7109. }
  7110. }
  7111. break;
  7112. case "doc":
  7113. aTool = 6;
  7114. _iframe = $$("iframe", {
  7115. "frameborder": "no",
  7116. "border": "0",
  7117. "scrolling ": "no",
  7118. "style": {
  7119. "cssText": "border:0;width:100%;height:100%"
  7120. },
  7121. "src": "/Office/Word/WordEditArea.htm"
  7122. })
  7123. _box.appendChild(_iframe);
  7124. _box.appendChild(_jie);
  7125. _formdiv = new U.UF.UI.form(
  7126. "协同文档",
  7127. _box, {
  7128. "id": "docs" + cid + stage + task + tool,
  7129. "style": {
  7130. "width": "90%",
  7131. "height": "90%",
  7132. "overflow": 'hidden'
  7133. },
  7134. "onresize": function() {}
  7135. }, {
  7136. closecallback: function() {}
  7137. }, {
  7138. "style": {
  7139. "height": "36px"
  7140. }
  7141. }).form; //创建窗体
  7142. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  7143. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7144. })
  7145. _taskbar = {
  7146. "id": str + _formdiv.id,
  7147. "style": {
  7148. "backgroundImage": "url(/img/icon/doc.png)"
  7149. },
  7150. "name": "协同文档",
  7151. "forms": _formdiv,
  7152. "click": function() {
  7153. U.MD.D.I.openApplication(str, obj, info);
  7154. }
  7155. }
  7156. break;
  7157. }
  7158. const script1 = document.createElement("script");
  7159. script1.type = "text/javascript";
  7160. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7161. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7162. const script2 = document.createElement("script");
  7163. script2.type = "text/javascript";
  7164. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7165. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7166. const script3 = document.createElement("script");
  7167. script3.type = "text/javascript";
  7168. script3.charset = "UTF-8";
  7169. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7170. const script4 = document.createElement("script");
  7171. script4.type = "text/javascript";
  7172. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7173. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7174. if (_iframe) {
  7175. if (str == 'doc') {
  7176. _iframe = _formdiv.querySelector('iframe')
  7177. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7178. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7179. _iframe.contentWindow.document.body.appendChild(script1);
  7180. _iframe.contentWindow.document.body.appendChild(script2);
  7181. // _iframe.contentWindow.document.body.appendChild(script3);
  7182. _iframe.contentWindow.document.body.appendChild(script4);
  7183. })
  7184. if (onloadListener) {
  7185. _iframe.contentDocument.location.reload()
  7186. } else {
  7187. _iframe.contentDocument.location.reload()
  7188. }
  7189. } else if (str == 'mind') {
  7190. _iframe = _formdiv.querySelector('iframe')
  7191. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7192. _iframe.contentWindow.document.body.appendChild(script1);
  7193. _iframe.contentWindow.document.body.appendChild(script2);
  7194. _iframe.contentWindow.document.body.appendChild(script4);
  7195. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7196. })
  7197. if (onloadListener) {
  7198. _iframe.contentDocument.location.reload()
  7199. } else {
  7200. _iframe.contentDocument.location.reload()
  7201. }
  7202. } else {
  7203. _iframe.onload = () => {
  7204. _iframe.contentWindow.document.body.appendChild(script1);
  7205. _iframe.contentWindow.document.body.appendChild(script2);
  7206. // _iframe.contentWindow.document.body.appendChild(script3);
  7207. _iframe.contentWindow.document.body.appendChild(script4);
  7208. };
  7209. }
  7210. _jie.onclick = async() => {
  7211. let text = ''
  7212. if (aTool == 6) {
  7213. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7214. } else if (aTool == 3) {
  7215. text = await U.MD.D.I.getEditorContent(_iframe);
  7216. }
  7217. _loading.style.display = 'flex'
  7218. console.log(_loading);
  7219. var _ajs = _iframe.contentWindow.document.createElement("script");
  7220. _ajs.type = "text/javascript";
  7221. _ajs.innerHTML =
  7222. // 'console.log(' + _loading + ');\n' +
  7223. 'var _js = document.createElement("script");\n' +
  7224. '_js.type="text/javascript";\n' +
  7225. '_js.charset="UTF-8";\n' +
  7226. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7227. "_js.onload = function(){\n" +
  7228. ' var a = document.getElementsByTagName("img")\n' +
  7229. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7230. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7231. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7232. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7233. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7234. "beforeUpload_shishi(file," +
  7235. "'" +
  7236. _userid +
  7237. "'" +
  7238. ", " +
  7239. "'" +
  7240. _cid +
  7241. "'" +
  7242. ", " +
  7243. "'" +
  7244. _stage +
  7245. "'" +
  7246. ", " +
  7247. "'" +
  7248. _task +
  7249. "'" +
  7250. ", " +
  7251. "'" +
  7252. _tool +
  7253. "'" +
  7254. ", " +
  7255. "'" +
  7256. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7257. "'" +
  7258. ", " +
  7259. "'" +
  7260. aTool +
  7261. "'" +
  7262. ", " +
  7263. "`" +
  7264. text +
  7265. "`" +
  7266. ")\n" +
  7267. " });\n" +
  7268. "}\n" +
  7269. "document.head.appendChild(_js);\n";
  7270. _iframe.contentWindow.document.head.appendChild(_ajs);
  7271. }
  7272. }
  7273. //U.MD.D.I.openClick(str);
  7274. //如果有任务栏信息
  7275. // if (_taskbar) {
  7276. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7277. // }
  7278. }
  7279. U.MD.D.I.openApplicationYu = function(str, cid, stage, task, tool) {
  7280. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7281. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7282. _userinfo = US.userInfo, //登录用户信息
  7283. _userid = US.userInfo.userid //登录用户id
  7284. let _iframe;
  7285. let _cid = cid,
  7286. _stage = stage,
  7287. _task = task,
  7288. _tool = tool;
  7289. var _jie = $$("div", {
  7290. "style": {
  7291. "position": "absolute",
  7292. "bottom": "50px",
  7293. "right": "50px",
  7294. "zIndex": "9999",
  7295. "backgroundColor": "#2268bc",
  7296. "color": "#fff",
  7297. "padding": "12px 20px",
  7298. "cursor": "pointer",
  7299. "borderRadius": "4px",
  7300. },
  7301. "innerHTML": "上传模板"
  7302. })
  7303. let aTool = ''
  7304. let _loading = document.createElement('div')
  7305. _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;"
  7306. // _loading.id = "";
  7307. let _lchild = document.createElement('div')
  7308. let _limg = document.createElement('img')
  7309. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7310. _limg.style = "width: 26px;margin-right: 10px;"
  7311. _lchild.appendChild(_limg)
  7312. let _lspan = document.createElement('span')
  7313. _lspan.innerHTML = "上传中..."
  7314. _lchild.appendChild(_lspan)
  7315. _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%);"
  7316. _loading.appendChild(_lchild)
  7317. var _box = $$('div', {
  7318. "style": {
  7319. "position": "relative",
  7320. "width": "100%",
  7321. "height": "100%",
  7322. },
  7323. })
  7324. _box.appendChild(_loading)
  7325. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7326. switch (str) {
  7327. case "whiteboard":
  7328. aTool = 1;
  7329. _iframe = $$("iframe", {
  7330. "frameborder": "no",
  7331. "border": "0",
  7332. "scrolling ": "no",
  7333. "style": {
  7334. "cssText": "border:0;width:100%;height:100%"
  7335. },
  7336. "src": "https://iwb.cocorobo.cn/"
  7337. })
  7338. _box.appendChild(_iframe);
  7339. _box.appendChild(_jie);
  7340. _formdiv = new U.UF.UI.form(
  7341. "电子白板",
  7342. _box, {
  7343. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7344. "style": {
  7345. "width": "90%",
  7346. "height": "90%",
  7347. "overflow": 'hidden'
  7348. },
  7349. "onresize": function() {}
  7350. }, {
  7351. closecallback: function() {}
  7352. }, {
  7353. "style": {
  7354. "height": "36px"
  7355. }
  7356. }).form; //创建窗体
  7357. _taskbar = {
  7358. "id": str + _formdiv.id,
  7359. "style": {
  7360. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7361. },
  7362. "name": "电子白板",
  7363. "forms": _formdiv,
  7364. "click": function() {
  7365. U.MD.D.I.openApplication(str, obj, info);
  7366. }
  7367. }
  7368. break;
  7369. case "mind":
  7370. aTool = 3;
  7371. _iframe = $$("iframe", {
  7372. "frameborder": "no",
  7373. "border": "0",
  7374. "scrolling ": "no",
  7375. "style": {
  7376. "cssText": "border:0;width:100%;height:100%"
  7377. },
  7378. "src": "/kityminder-editor/dist/index.html"
  7379. });
  7380. _box.appendChild(_iframe);
  7381. _box.appendChild(_jie);
  7382. _formdiv = new U.UF.UI.form(
  7383. "思维导图",
  7384. _box, { //"/jsmind/example/demo.html"
  7385. "id": "minds_Yu" + cid + stage + task + tool,
  7386. "style": {
  7387. "width": "90%",
  7388. "height": "90%",
  7389. "overflow": 'hidden'
  7390. },
  7391. "onresize": function() {}
  7392. }, {
  7393. closecallback: function() {}
  7394. }, {
  7395. "style": {
  7396. "height": "36px"
  7397. }
  7398. }).form; //创建窗体
  7399. _taskbar = {
  7400. "id": str + _formdiv.id,
  7401. "style": {
  7402. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7403. },
  7404. "name": "思维导图",
  7405. "forms": _formdiv,
  7406. "click": function() {
  7407. U.MD.D.I.openApplication(str, obj, info);
  7408. }
  7409. }
  7410. break;
  7411. case "doc":
  7412. aTool = 6;
  7413. _iframe = $$("iframe", {
  7414. "frameborder": "no",
  7415. "border": "0",
  7416. "scrolling ": "no",
  7417. "style": {
  7418. "cssText": "border:0;width:100%;height:100%"
  7419. },
  7420. "src": "/Office/Word/WordEditArea.htm"
  7421. })
  7422. _box.appendChild(_iframe);
  7423. _box.appendChild(_jie);
  7424. _formdiv = new U.UF.UI.form(
  7425. "协同文档",
  7426. _box, {
  7427. "id": "docs_Yu" + cid + stage + task + tool,
  7428. "style": {
  7429. "width": "90%",
  7430. "height": "90%",
  7431. "overflow": 'hidden'
  7432. },
  7433. "onresize": function() {}
  7434. }, {
  7435. closecallback: function() {}
  7436. }, {
  7437. "style": {
  7438. "height": "36px"
  7439. }
  7440. }).form; //创建窗体
  7441. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  7442. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7443. })
  7444. _taskbar = {
  7445. "id": str + _formdiv.id,
  7446. "style": {
  7447. "backgroundImage": "url(/img/icon/doc.png)"
  7448. },
  7449. "name": "协同文档",
  7450. "forms": _formdiv,
  7451. "click": function() {
  7452. U.MD.D.I.openApplication(str, obj, info);
  7453. }
  7454. }
  7455. break;
  7456. case "CocoPi":
  7457. aTool = 57;
  7458. _iframe = $$("iframe", {
  7459. "allowpaymentrequest": "allowpaymentrequest",
  7460. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7461. "webkitallowfullscreen": "",
  7462. "mozallowfullscreen": "",
  7463. "frameborder": "no",
  7464. "border": "0",
  7465. "scrolling ": "no",
  7466. "style": {
  7467. "cssText": "border:0;width:100%;height:100%"
  7468. },
  7469. "src": "https://pi.cocorobo.cn/"
  7470. })
  7471. _box.appendChild(_iframe);
  7472. _box.appendChild(_jie);
  7473. _formdiv = new U.UF.UI.form(
  7474. "CocoPi",
  7475. _box, {
  7476. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7477. "style": {
  7478. "width": "90%",
  7479. "height": "90%",
  7480. "overflow": 'hidden'
  7481. },
  7482. "onresize": function() {}
  7483. }, {
  7484. closecallback: function() {}
  7485. }, {
  7486. "style": {
  7487. "height": "36px"
  7488. }
  7489. }).form; //创建窗体
  7490. _taskbar = {
  7491. "id": str + _formdiv.id,
  7492. "style": {
  7493. "backgroundImage": "url(/img/icon/cocopi.png)"
  7494. },
  7495. "name": "CocoPi",
  7496. "forms": _formdiv,
  7497. "click": function() {
  7498. U.MD.D.I.openApplication(str, obj, info);
  7499. }
  7500. }
  7501. break;
  7502. }
  7503. if (_iframe) {
  7504. if (str == 'doc') {
  7505. _iframe = _formdiv.querySelector('iframe')
  7506. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7507. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7508. })
  7509. if (onloadListener) {
  7510. _iframe.contentDocument.location.reload()
  7511. } else {
  7512. _iframe.contentDocument.location.reload()
  7513. }
  7514. } else if (str == 'mind') {
  7515. _iframe = _formdiv.querySelector('iframe')
  7516. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7517. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7518. })
  7519. if (onloadListener) {
  7520. _iframe.contentDocument.location.reload()
  7521. } else {
  7522. _iframe.contentDocument.location.reload()
  7523. }
  7524. } else if (str == 'whiteboard') {
  7525. _iframe = _formdiv.querySelector('iframe')
  7526. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7527. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7528. })
  7529. if (onloadListener) {
  7530. _iframe.contentDocument.location.reload()
  7531. } else {
  7532. _iframe.contentDocument.location.reload()
  7533. }
  7534. } else if (str == 'CocoPi') {
  7535. _iframe = _formdiv.querySelector('iframe')
  7536. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7537. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7538. })
  7539. if (onloadListener) {
  7540. _iframe.contentDocument.location.reload()
  7541. } else {
  7542. _iframe.contentDocument.location.reload()
  7543. }
  7544. } else {
  7545. _iframe.onload = () => {};
  7546. }
  7547. _jie.onclick = async() => {
  7548. let text = ''
  7549. let type = '2'
  7550. if (aTool == 1) {
  7551. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7552. type = '3'
  7553. } else if (aTool == 6) {
  7554. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7555. type = '1'
  7556. } else if (aTool == 3) {
  7557. text = await U.MD.D.I.getEditorContent(_iframe);
  7558. type = '2'
  7559. } else if (aTool == 57) {
  7560. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7561. type = '4'
  7562. }
  7563. _loading.style.display = 'flex'
  7564. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7565. }
  7566. }
  7567. //U.MD.D.I.openClick(str);
  7568. //如果有任务栏信息
  7569. // if (_taskbar) {
  7570. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7571. // }
  7572. }
  7573. U.MD.D.I.getContents = function(cid, s, task, t, uid, type, iframe) {
  7574. var xmlhttp;
  7575. var Mac, Sn, DeviceId
  7576. if (window.XMLHttpRequest) {
  7577. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7578. xmlhttp = new XMLHttpRequest();
  7579. } else {
  7580. // IE6, IE5 浏览器执行代码
  7581. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7582. }
  7583. xmlhttp.onreadystatechange = function() {
  7584. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7585. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7586. // resolve(res.value[0][0].text);
  7587. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7588. }
  7589. }
  7590. }
  7591. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7592. xmlhttp.send();
  7593. }
  7594. U.MD.D.I.getContents2 = function(cid, s, task, t, uid, type, iframe) {
  7595. var xmlhttp;
  7596. var Mac, Sn, DeviceId
  7597. if (window.XMLHttpRequest) {
  7598. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7599. xmlhttp = new XMLHttpRequest();
  7600. } else {
  7601. // IE6, IE5 浏览器执行代码
  7602. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7603. }
  7604. xmlhttp.onreadystatechange = function() {
  7605. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7606. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7607. // resolve(res.value[0][0].text);
  7608. if (type == '2') {
  7609. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7610. } else if (type == '3') {
  7611. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7612. } else if (type == '4') {
  7613. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7614. }
  7615. } else {
  7616. if (type == '2') {
  7617. iframe.contentWindow.editor.minder.importData('json', '')
  7618. } else if (type == '3') {
  7619. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7620. } else if (type == '4') {
  7621. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7622. }
  7623. }
  7624. }
  7625. }
  7626. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7627. xmlhttp.send();
  7628. }
  7629. U.MD.D.I.setContents = function(cid, s, task, t, uid, type, text, loading, span) {
  7630. var xmlhttp;
  7631. var Mac, Sn, DeviceId
  7632. if (window.XMLHttpRequest) {
  7633. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7634. xmlhttp = new XMLHttpRequest();
  7635. } else {
  7636. // IE6, IE5 浏览器执行代码
  7637. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7638. }
  7639. xmlhttp.onreadystatechange = function() {
  7640. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7641. if (xmlhttp.response) {
  7642. // resolve(res.value[0][0].text);
  7643. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7644. // $(fileInput).val('');
  7645. // });
  7646. span.innerHTML = '上传成功'
  7647. setTimeout(() => {
  7648. loading.style.display = 'none'
  7649. }, 1000);
  7650. }
  7651. }
  7652. }
  7653. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7654. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7655. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7656. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7657. // 设置请求头,表示请求体的编码格式
  7658. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7659. // 设置请求体,使用url-encoded格式的数据
  7660. }
  7661. U.MD.D.I.openApplicationUpload = function(str, cid, stage, task, tool) {
  7662. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7663. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7664. _userinfo = US.userInfo, //登录用户信息
  7665. _userid = US.userInfo.userid //登录用户id
  7666. let _iframe;
  7667. let _cid = cid,
  7668. _stage = stage,
  7669. _task = task,
  7670. _tool = tool;
  7671. var _jie = $$("div", {
  7672. "style": {
  7673. "position": "absolute",
  7674. "bottom": "50px",
  7675. "right": "50px",
  7676. "zIndex": "9999",
  7677. "backgroundColor": "#2268bc",
  7678. "color": "#fff",
  7679. "padding": "12px 20px",
  7680. "cursor": "pointer",
  7681. "borderRadius": "4px",
  7682. },
  7683. "innerHTML": "提交作业"
  7684. })
  7685. let aTool = ''
  7686. let _loading = document.createElement('div')
  7687. _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;"
  7688. // _loading.id = "";
  7689. let _lchild = document.createElement('div')
  7690. let _limg = document.createElement('img')
  7691. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7692. _limg.style = "width: 26px;margin-right: 10px;"
  7693. _lchild.appendChild(_limg)
  7694. let _lspan = document.createElement('span')
  7695. _lspan.innerHTML = "上传中..."
  7696. _lchild.appendChild(_lspan)
  7697. _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%);"
  7698. _loading.appendChild(_lchild)
  7699. var _box = $$('div', {
  7700. "style": {
  7701. "position": "relative",
  7702. "width": "100%",
  7703. "height": "100%",
  7704. },
  7705. })
  7706. _box.appendChild(_loading)
  7707. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7708. switch (str) {
  7709. case "CocoPi":
  7710. aTool = 57;
  7711. _iframe = $$("iframe", {
  7712. "allowpaymentrequest": "allowpaymentrequest",
  7713. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7714. "webkitallowfullscreen": "",
  7715. "mozallowfullscreen": "",
  7716. "frameborder": "no",
  7717. "border": "0",
  7718. "scrolling ": "no",
  7719. "style": {
  7720. "cssText": "border:0;width:100%;height:100%"
  7721. },
  7722. "src": "https://pi.cocorobo.cn/"
  7723. })
  7724. _box.appendChild(_iframe);
  7725. _box.appendChild(_jie);
  7726. _formdiv = new U.UF.UI.form(
  7727. "CocoPi",
  7728. _box, {
  7729. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7730. "style": {
  7731. "width": "90%",
  7732. "height": "90%",
  7733. "overflow": 'hidden'
  7734. },
  7735. "onresize": function() {}
  7736. }, {
  7737. closecallback: function() {}
  7738. }, {
  7739. "style": {
  7740. "height": "36px"
  7741. }
  7742. }).form; //创建窗体
  7743. _taskbar = {
  7744. "id": str + _formdiv.id,
  7745. "style": {
  7746. "backgroundImage": "url(/img/icon/cocopi.png)"
  7747. },
  7748. "name": "CocoPi",
  7749. "forms": _formdiv,
  7750. "click": function() {
  7751. U.MD.D.I.openApplication(str, obj, info);
  7752. }
  7753. }
  7754. break;
  7755. }
  7756. if (_iframe) {
  7757. if (str == 'CocoPi') {
  7758. _iframe = _formdiv.querySelector('iframe')
  7759. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7760. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7761. })
  7762. if (onloadListener) {
  7763. _iframe.contentDocument.location.reload()
  7764. } else {
  7765. _iframe.contentDocument.location.reload()
  7766. }
  7767. }
  7768. _jie.onclick = async() => {
  7769. let text = ''
  7770. if (aTool == 57) {
  7771. text = _iframe.contentWindow.getLoadXmlStr()
  7772. }
  7773. _loading.style.display = 'flex'
  7774. console.log(_loading);
  7775. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7776. _loading.style.display = 'none'
  7777. let _div = document.createElement('div')
  7778. _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;"
  7779. let _inner = document.createElement('div')
  7780. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7781. _inner.innerHTML = "上传成功"
  7782. _div.appendChild(_inner)
  7783. _iframe.contentWindow.window.document.body.appendChild(_div)
  7784. _div.onclick = () => {
  7785. _iframe.contentWindow.window.document.body.removeChild(_div)
  7786. }
  7787. setTimeout(() => {
  7788. _iframe.contentWindow.window.document.body.removeChild(_div)
  7789. }, 1000);
  7790. }, [], { "type": "POST", "withCredentials": true });
  7791. }
  7792. }
  7793. }
  7794. U.MD.D.I.openApplicationTeacherUpload = function(str, cid, stage, task, tool, student) {
  7795. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7796. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7797. _userid = student.userid, //登录用户id
  7798. _username = student.student //用户名字
  7799. let _iframe;
  7800. let _cid = cid,
  7801. _stage = stage,
  7802. _task = task,
  7803. _tool = tool;
  7804. var _jie = $$("div", {
  7805. "style": {
  7806. "position": "absolute",
  7807. "bottom": "50px",
  7808. "right": "50px",
  7809. "zIndex": "9999",
  7810. "backgroundColor": "#2268bc",
  7811. "color": "#fff",
  7812. "padding": "12px 20px",
  7813. "cursor": "pointer",
  7814. "borderRadius": "4px",
  7815. },
  7816. "innerHTML": "提交作业"
  7817. })
  7818. let aTool = ''
  7819. let _loading = document.createElement('div')
  7820. _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;"
  7821. // _loading.id = "";
  7822. let _lchild = document.createElement('div')
  7823. let _limg = document.createElement('img')
  7824. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7825. _limg.style = "width: 26px;margin-right: 10px;"
  7826. _lchild.appendChild(_limg)
  7827. let _lspan = document.createElement('span')
  7828. _lspan.innerHTML = "上传中..."
  7829. _lchild.appendChild(_lspan)
  7830. _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%);"
  7831. _loading.appendChild(_lchild)
  7832. var _box = $$('div', {
  7833. "style": {
  7834. "position": "relative",
  7835. "width": "100%",
  7836. "height": "100%",
  7837. },
  7838. })
  7839. _box.appendChild(_loading)
  7840. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7841. switch (str) {
  7842. case "CocoPi":
  7843. aTool = 57;
  7844. _iframe = $$("iframe", {
  7845. "allowpaymentrequest": "allowpaymentrequest",
  7846. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7847. "webkitallowfullscreen": "",
  7848. "mozallowfullscreen": "",
  7849. "frameborder": "no",
  7850. "border": "0",
  7851. "scrolling ": "no",
  7852. "style": {
  7853. "cssText": "border:0;width:100%;height:100%"
  7854. },
  7855. "src": "https://pi.cocorobo.cn/"
  7856. })
  7857. _box.appendChild(_iframe);
  7858. _box.appendChild(_jie);
  7859. _formdiv = new U.UF.UI.form(
  7860. "CocoPi-" + _username,
  7861. _box, {
  7862. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7863. "style": {
  7864. "width": "90%",
  7865. "height": "90%",
  7866. "overflow": 'hidden'
  7867. },
  7868. "onresize": function() {}
  7869. }, {
  7870. closecallback: function() {}
  7871. }, {
  7872. "style": {
  7873. "height": "36px"
  7874. }
  7875. }).form; //创建窗体
  7876. _taskbar = {
  7877. "id": str + _formdiv.id,
  7878. "style": {
  7879. "backgroundImage": "url(/img/icon/cocopi.png)"
  7880. },
  7881. "name": "CocoPi",
  7882. "forms": _formdiv,
  7883. "click": function() {
  7884. U.MD.D.I.openApplication(str, obj, info);
  7885. }
  7886. }
  7887. break;
  7888. }
  7889. if (_iframe) {
  7890. if (str == 'CocoPi') {
  7891. _iframe = _formdiv.querySelector('iframe')
  7892. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7893. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7894. })
  7895. if (onloadListener) {
  7896. _iframe.contentDocument.location.reload()
  7897. } else {
  7898. _iframe.contentDocument.location.reload()
  7899. }
  7900. }
  7901. _jie.onclick = async() => {
  7902. let text = ''
  7903. if (aTool == 57) {
  7904. text = _iframe.contentWindow.getLoadXmlStr()
  7905. }
  7906. _loading.style.display = 'flex'
  7907. console.log(_loading);
  7908. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7909. _loading.style.display = 'none'
  7910. let _div = document.createElement('div')
  7911. _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;"
  7912. let _inner = document.createElement('div')
  7913. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7914. _inner.innerHTML = "上传成功"
  7915. _div.appendChild(_inner)
  7916. _iframe.contentWindow.window.document.body.appendChild(_div)
  7917. _div.onclick = () => {
  7918. _iframe.contentWindow.window.document.body.removeChild(_div)
  7919. }
  7920. setTimeout(() => {
  7921. _iframe.contentWindow.window.document.body.removeChild(_div)
  7922. }, 1000);
  7923. }, [], { "type": "POST", "withCredentials": true });
  7924. }
  7925. }
  7926. }
  7927. U.MD.D.I.getUploadContent = function(cid, s, task, t, uid, atool, type, iframe) {
  7928. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function(res) {
  7929. if (res.value[0].length > 0) {
  7930. if (atool == 57) {
  7931. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7932. }
  7933. } else {
  7934. if (atool == 57) {
  7935. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7936. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7937. }
  7938. }
  7939. }, [], { "type": "POST", "withCredentials": true });
  7940. }