DeskTop.js 504 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. // { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  18. // { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  19. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  20. { "Name": "AI Chat+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  21. // { "Name": "Teacher Management", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  22. // { "Name": "Teacher Center", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  23. { "Name": "CocoFlow", "Url": "appStore", "style": { "cssText": "background-image:url(/img/icon/appStore.png)" } },
  24. ];
  25. //极简模式
  26. U.MD.D.I.easyDeskIcon = [
  27. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  28. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  29. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  30. { "Name": "Students Management", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  31. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  32. ];
  33. //获取教师测试英语组织图标
  34. U.MD.D.I.hkTeacherEnglishDeskIcon = [
  35. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  36. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  37. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  38. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  39. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  40. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  41. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  42. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  43. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  44. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  45. ];
  46. //获取学生测试英语组织图标
  47. U.MD.D.I.hkStudentEnglishDeskIcon = [
  48. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  49. ];
  50. //教师桌面图标的全局变量
  51. U.MD.D.I.teacherDeskIcon2 = [
  52. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  53. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  54. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  55. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  56. // { "Name": "Project Planning", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  57. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  58. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  59. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  60. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  61. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  62. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  63. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  64. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  65. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  66. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  67. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  68. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  69. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  70. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  71. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  72. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  73. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  74. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  75. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  76. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  77. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  78. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  79. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  80. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  81. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  82. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  83. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  84. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  85. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  86. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  87. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  88. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  89. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  90. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  91. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  92. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  93. ];
  94. U.MD.D.I.studentDeskIcon = [
  95. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  96. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  97. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  98. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  99. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  100. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  101. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  102. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  103. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  104. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  105. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  106. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  107. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  108. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  109. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  110. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  111. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  112. // { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  113. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  114. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  115. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  116. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  117. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  118. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  119. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  120. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  121. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  122. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  123. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  124. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  125. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  126. ];
  127. U.MD.D.I.studentDeskIcon2 = [
  128. // { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  129. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  130. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  131. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  132. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  133. ]
  134. U.MD.D.I.studentDeskIcon3 = [
  135. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  136. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  137. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  138. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  139. ]
  140. U.MD.D.I.schoolDeskIcon = [
  141. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  142. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  143. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  144. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  145. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  146. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  147. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  148. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  149. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  150. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  151. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  152. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  153. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  154. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  155. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  156. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  157. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  158. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  159. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  160. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  161. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  162. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  163. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  164. ];
  165. U.MD.D.I.orgDeskIcon = [
  166. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  167. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  168. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  169. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  170. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  171. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  172. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  173. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  174. ];
  175. U.MD.D.I.orgStemDeskIcon = [
  176. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  177. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  178. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  179. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  180. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  181. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  182. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  183. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  184. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  185. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  186. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  187. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  188. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  189. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  190. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  191. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  192. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  193. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  194. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  195. ];
  196. U.MD.D.I.szulsDeskIcon = [
  197. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  198. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  199. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  200. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  201. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  202. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  203. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  204. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  205. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  206. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  207. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  208. ];
  209. U.MD.D.I.hanDeskIcon = [
  210. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  211. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  212. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  213. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  214. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  215. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  216. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  217. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  218. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  219. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  220. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  221. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  222. ];
  223. U.MD.D.I.GMteacherDeskIcon = [
  224. { "Name": "Course Planning", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  225. { "Name": "Course Library", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  226. { "Name": "Students Management", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  227. { "Name": "Course Assessment", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  228. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  229. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  230. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  231. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  232. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  233. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  234. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  235. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  236. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  237. ];
  238. U.MD.D.I.GMstudentDeskIcon = [
  239. { "Name": "Course Library", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  240. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  241. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  242. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  243. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  244. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  245. ];
  246. //北师大
  247. U.MD.D.I.BSDNSteacherDeskIcon = [
  248. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  249. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  250. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  251. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  252. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  253. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  254. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  255. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  256. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  257. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  258. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  259. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  260. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  261. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  262. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  263. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  264. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  265. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  266. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  267. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  268. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  269. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  270. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  271. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  272. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  273. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  274. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  275. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  276. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  277. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  278. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  279. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  280. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  281. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  282. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  283. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  284. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  285. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  286. ];
  287. //松山湖
  288. U.MD.D.I.SONGteacherDeskIcon = [
  289. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  290. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  291. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  292. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  293. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  294. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  295. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  296. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  297. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  298. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  299. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  300. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  301. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  302. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  303. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  304. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  305. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  306. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  307. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  308. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  309. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  310. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  311. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  312. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  313. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  314. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  315. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  316. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  317. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  318. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  319. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  320. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  321. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  322. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  323. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  324. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  325. ];
  326. U.MD.D.I.tcStudentDeskIcon = [
  327. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  328. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  329. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  330. // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  331. ];
  332. U.MD.D.I.tcTeacherDeskIcon = [
  333. // { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  334. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  335. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  336. // { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  337. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  338. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  339. { "Name": "Students Management", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  340. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  341. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  342. // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  343. ];
  344. U.MD.D.I.tcOrganizerDeskIcon = [
  345. // { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  346. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  347. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  348. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  349. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  350. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  351. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  352. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  353. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  354. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  355. // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  356. ];
  357. U.MD.D.I.szscStudentDeskIcon = [
  358. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  359. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  360. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  361. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  362. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  363. ];
  364. U.MD.D.I.szscTeacherDeskIcon = [
  365. // { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  366. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  367. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  368. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  369. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  370. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  371. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  372. { "Name": "Students Management", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  373. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  374. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  375. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  376. ];
  377. U.MD.D.I.szscOrganizerDeskIcon = [
  378. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  379. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  380. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  381. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  382. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  383. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  384. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  385. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  386. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  387. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  388. ];
  389. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  390. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  391. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  392. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  393. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  394. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  395. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  396. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  397. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  398. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  399. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  400. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  401. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  402. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  403. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  404. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  405. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  406. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  407. ];
  408. U.MD.D.I.wankeAdminDeskIcon = [
  409. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  410. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  411. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  412. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  413. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  414. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  415. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  416. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  417. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  418. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  419. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  420. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  421. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  422. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  423. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  424. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  425. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  426. ];
  427. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  428. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  429. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  430. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  431. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  432. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  433. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  434. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  435. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  436. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  437. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  438. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  439. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  440. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  441. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  442. ];
  443. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  444. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  445. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  446. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  447. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  448. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  449. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  450. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  451. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  452. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  453. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  454. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  455. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  456. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  457. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  458. ];
  459. //明德教师桌面图标的全局变量
  460. U.MD.D.I.MingdeTeacherDeskIcon = [
  461. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  462. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  463. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  464. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  465. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  466. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  467. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  468. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  469. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  470. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  471. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  472. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  473. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  474. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  475. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  476. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  477. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  478. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  479. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  480. // { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  481. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  482. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  483. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  484. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  485. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  486. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  487. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  488. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  489. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  490. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  491. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  492. ];
  493. //97c4ee8b-d010-4042-986d-e9d3c217264f
  494. //教师桌面图标的全局变量
  495. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  496. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  497. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  498. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  499. // { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  500. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  501. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  502. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  503. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  504. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  505. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  506. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  507. ];
  508. //福田
  509. U.MD.D.I.futianTeacherDeskIcon = [
  510. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  511. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  512. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  513. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  514. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  515. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  516. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  517. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  518. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  519. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  520. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  521. ];
  522. //福田
  523. U.MD.D.I.futianAdminDeskIcon = [
  524. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  525. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  526. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  527. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  528. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  529. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  530. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  531. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  532. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  533. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  534. ];
  535. //lotech
  536. U.MD.D.I.lotechTeacherDeskIcon = [
  537. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  538. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  539. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  540. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  541. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  542. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  543. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  544. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  545. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  546. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  547. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  548. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  549. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  550. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  551. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  552. ];
  553. //龙华中心小学教师桌面图标的全局变量
  554. U.MD.D.I.longhuateacherDeskIcon = [
  555. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  556. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  557. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  558. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  559. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  560. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  561. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  562. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  563. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  564. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  565. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  566. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  567. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  568. ];
  569. //教科院实小教师桌面图标的全局变量
  570. U.MD.D.I.siesteacherDeskIcon = [
  571. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  572. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  573. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  574. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  575. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  576. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  577. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  578. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  579. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  580. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  581. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  582. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  583. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  584. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  585. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  586. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  587. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  588. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  589. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  590. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  591. ];
  592. //教科院实小教师桌面图标的全局变量
  593. U.MD.D.I.siesStudentDeskIcon = [
  594. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  595. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  596. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  597. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  598. ];
  599. //福田
  600. U.MD.D.I.gdjgTeacherDeskIcon = [
  601. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  602. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  603. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  604. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  605. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  606. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  607. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  608. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  609. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  610. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  611. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  612. ];
  613. //gdjg
  614. U.MD.D.I.gdjgAdminDeskIcon = [
  615. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  616. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  617. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  618. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  619. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  620. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  621. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  622. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  623. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  624. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  625. ];
  626. //hk
  627. U.MD.D.I.hkteacherDeskIcon = [
  628. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  629. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  630. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  631. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  632. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  633. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  634. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  635. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  636. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  637. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  638. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  639. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  640. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  641. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  642. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  643. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  644. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  645. { "Name": "CocoFlow", "Url": "appStore", "style": { "cssText": "background-image:url(/img/icon/appStore.png)" } },
  646. ];
  647. //hk
  648. U.MD.D.I.hkStudentDeskIcon = [
  649. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  650. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  651. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  652. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  653. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  654. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  655. ];
  656. //香海正覺蓮社佛教正覺中學
  657. U.MD.D.I.hkZJLSteacherDeskIcon = [
  658. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  659. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  660. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  661. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  662. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  663. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  664. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  665. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  666. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  667. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  668. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  669. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  670. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  671. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  672. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  673. ];
  674. //香海正覺蓮社佛教正覺中學
  675. U.MD.D.I.hkZJLSStudentDeskIcon = [
  676. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  677. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  678. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  679. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  680. ];
  681. //云海
  682. U.MD.D.I.yunhaiTeacherDeskIcon = [
  683. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  684. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  685. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  686. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  687. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  688. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  689. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  690. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  691. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  692. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  693. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  694. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  695. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  696. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  697. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  698. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  699. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  700. ];
  701. //福田
  702. U.MD.D.I.heyuanTeacherDeskIcon = [
  703. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  704. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  705. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  706. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  707. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  708. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  709. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  710. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  711. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  712. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  713. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  714. ];
  715. //福田
  716. U.MD.D.I.heyuanAdminDeskIcon = [
  717. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  718. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  719. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  720. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  721. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  722. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  723. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  724. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  725. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  726. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  727. ];
  728. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  729. U.MD.D.I.szherTeacherDeskIcon = [
  730. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  731. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  732. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  733. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  734. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  735. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  736. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  737. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  738. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  739. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  740. ];
  741. //dsei
  742. U.MD.D.I.dseiTeacherDeskIcon = [
  743. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  744. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  745. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  746. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  747. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  748. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  749. // { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  750. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  751. // { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  752. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  753. { "Name": "AI Chat+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  754. // { "Name": "Teacher Management", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  755. // { "Name": "Teacher Center", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  756. // { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  757. // { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  758. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  759. // { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  760. // { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  761. // { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  762. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  763. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  764. // { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  765. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  766. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  767. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  768. // { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  769. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  770. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  771. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  772. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  773. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  774. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  775. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  776. // { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  777. // { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  778. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  779. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  780. // { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  781. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  782. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  783. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  784. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  785. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  786. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  787. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  788. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  789. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  790. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  791. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  792. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  793. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  794. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  795. // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  796. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  797. ];
  798. //dsei
  799. U.MD.D.I.dseiAdminDeskIcon = [
  800. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  801. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  802. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  803. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  804. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  805. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  806. // { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  807. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  808. // { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  809. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  810. { "Name": "AI Chat+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  811. // { "Name": "Teacher Management", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  812. // { "Name": "Teacher Center", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  813. // { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  814. // { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  815. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  816. // { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  817. // { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  818. // { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  819. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  820. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  821. // { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  822. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  823. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  824. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  825. // { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  826. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  827. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  828. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  829. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  830. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  831. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  832. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  833. // { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  834. // { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  835. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  836. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  837. // { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  838. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  839. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  840. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  841. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  842. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  843. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  844. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  845. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  846. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  847. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  848. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  849. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  850. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  851. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  852. // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  853. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  854. ];
  855. //dsei
  856. U.MD.D.I.dseiStudentDeskIcon = [
  857. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  858. { "Name": "Project Planning", "Url": "studentCourse", "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": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  861. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  862. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  863. ];
  864. //未来教育基地
  865. U.MD.D.I.szjkyTeacherDeskIcon = [
  866. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  867. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  868. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  869. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  870. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  871. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  872. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  873. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  874. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  875. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  876. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  877. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  878. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  879. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  880. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  881. { "Name": "CocoFlow", "Url": "appStore", "style": { "cssText": "background-image:url(/img/icon/appStore.png)" } },
  882. ];
  883. //未来教育基地
  884. U.MD.D.I.szjkyAdminDeskIcon = [
  885. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  886. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  887. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  888. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  889. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  890. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  891. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  892. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  893. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  894. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  895. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  896. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  897. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  898. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  899. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  900. { "Name": "CocoFlow", "Url": "appStore", "style": { "cssText": "background-image:url(/img/icon/appStore.png)" } },
  901. ];
  902. //未来教育基地
  903. U.MD.D.I.szjkyStudentDeskIcon = [
  904. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  905. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  906. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  907. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  908. ];
  909. //成华教育局
  910. U.MD.D.I.chjyjTeacherDeskIcon = [
  911. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  912. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  913. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  914. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  915. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  916. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  917. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  918. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  919. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  920. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  921. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  922. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  923. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  924. ];
  925. //成华教育局chjyj
  926. U.MD.D.I.chjyjAdminDeskIcon = [
  927. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  928. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  929. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  930. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  931. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  932. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  933. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  934. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  935. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  936. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  937. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  938. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  939. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  940. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  941. ];
  942. //成华教育局chjyj
  943. U.MD.D.I.chjyjStudentDeskIcon = [
  944. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  945. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  946. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  947. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  948. ];
  949. //tpc
  950. U.MD.D.I.tpcStudentDeskIcon = [
  951. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  952. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  953. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  954. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  955. ];
  956. //tpc
  957. U.MD.D.I.tpcTeacherDeskIcon = [
  958. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  959. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  960. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  961. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  962. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  963. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  964. ];
  965. //tpc
  966. U.MD.D.I.tpcAdminDeskIcon = [
  967. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  968. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  969. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  970. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  971. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  972. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  973. ];
  974. //THU-IOE
  975. U.MD.D.I.thuioeTeacherDeskIcon = [
  976. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  977. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  978. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  979. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  980. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  981. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  982. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  983. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  984. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  985. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  986. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  987. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  988. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  989. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  990. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  991. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  992. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  993. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  994. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  995. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  996. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  997. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  998. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  999. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1000. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1001. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1002. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1003. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1004. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1005. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1006. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1007. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1008. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1009. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1010. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1011. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1012. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1013. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1014. ];
  1015. //THU-IOE
  1016. U.MD.D.I.thuioeStudentDeskIcon = [
  1017. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1018. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1019. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1020. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1021. ];
  1022. //jccssyl
  1023. U.MD.D.I.jccssylTeacherDeskIcon = [
  1024. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1025. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1026. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1027. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1028. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1029. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1030. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1031. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1032. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1033. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1034. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1035. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1036. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1037. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1038. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1039. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1040. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1041. ];
  1042. //jccssyl
  1043. U.MD.D.I.jccssylStudentDeskIcon = [
  1044. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1045. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1046. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1047. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1048. ];
  1049. //#region 桌面初始化a
  1050. /**
  1051. * 初始化桌面的起始函数
  1052. *
  1053. */
  1054. U.MD.D.I.init = function() {
  1055. if ($("#U_MD_D_K")[0]) {
  1056. //初始化桌面图标
  1057. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1058. // var clickUrl = ':12588/requestIp.php';
  1059. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1060. // U.MD.D.I.Ip = data;
  1061. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1062. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1063. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1064. // })
  1065. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1066. // })
  1067. }
  1068. }
  1069. /**
  1070. * 模式切换
  1071. *
  1072. */
  1073. U.MD.D.I.ModeCheck = function(type) {
  1074. if (US.Config.type == type) {
  1075. return
  1076. }
  1077. US.Config.type = type
  1078. $('.U_PBL_Check .active')[0].className = ''
  1079. if (type == 1) {
  1080. $('.U_PBL_Check div')[0].className = 'active'
  1081. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1082. } else {
  1083. $('.U_PBL_Check div')[1].className = 'active'
  1084. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1085. }
  1086. //初始化桌面图标
  1087. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1088. if (type == 2) {
  1089. U.MD.D.I.openApplication("project")
  1090. }
  1091. }
  1092. /**
  1093. * 隐藏任务栏
  1094. *
  1095. * @param {element} 桌面元素
  1096. */
  1097. U.MD.D.I.hiddenTaskbar = function(el) {
  1098. //任务栏位置变小
  1099. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1100. //桌面的位置变大
  1101. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1102. }
  1103. /**
  1104. * 隐藏任务栏
  1105. *
  1106. * @param {element} 桌面元素
  1107. */
  1108. U.MD.D.I.hiddenTaskbarout = function(el) {
  1109. //任务栏位置变小
  1110. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1111. //任务栏位置变化
  1112. U.selectEl(el).css({ "bottom": "-60px" });
  1113. //桌面的位置变大
  1114. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1115. }
  1116. }
  1117. /**
  1118. * 初始化打印桌面图标
  1119. *
  1120. * @param {element} 桌面元素
  1121. */
  1122. U.MD.D.I.initDesktopIcons = function(el, type) {
  1123. var i, //用于循环
  1124. _content, //桌面图标元素
  1125. _iconcontent, //桌面图标元素
  1126. _frag = $$("frag"), //定义一个碎片元素
  1127. _type = US.userInfo.type,
  1128. _org = US.userInfo.org,
  1129. _oid = US.userInfo.organizeid,
  1130. _role = US.userInfo.role,
  1131. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1132. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1133. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1134. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1135. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1136. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1137. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1138. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1139. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1140. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1141. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1142. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1143. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1144. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1145. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1146. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1147. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1148. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1149. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1150. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1151. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1152. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1153. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1154. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1155. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1156. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1157. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1158. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1159. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1160. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1161. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1162. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1163. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1164. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1165. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1166. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1167. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1168. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1169. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1170. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1171. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1172. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1173. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1174. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1175. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1176. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1177. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1178. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1179. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1180. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1181. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1182. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1183. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1184. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1185. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1186. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1187. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1188. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1189. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon, //网络夏令营
  1190. _hkTeacherEnglishDeskIcon = U.MD.D.I.hkTeacherEnglishDeskIcon, //教师测试英语组织
  1191. _hkStudentEnglishDeskIcon = U.MD.D.I.hkStudentEnglishDeskIcon; //学生测试英语组织
  1192. 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'];
  1193. 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'];
  1194. //清楚桌面图标
  1195. el.innerHTML = "";
  1196. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1197. _teacherDesktopIconInfo.push(
  1198. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1199. { "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)" } },
  1200. )
  1201. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1202. }
  1203. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1204. _teacherDesktopIconInfo.push(
  1205. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1206. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1207. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1208. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1209. // { "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)" } },
  1210. )
  1211. }
  1212. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1213. _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)" } }, )
  1214. }
  1215. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1216. _teacherDesktopIconInfo.push()
  1217. }
  1218. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1219. _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)" } }, )
  1220. _studentDesktopIconInfo.push()
  1221. }
  1222. //麒麟二中 和 民新小学
  1223. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1224. _teacherDesktopIconInfo.push()
  1225. }
  1226. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1227. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1228. _teacherDesktopIconInfo.push({ "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, )
  1229. }
  1230. //麒麟二中
  1231. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1232. _studentDesktopIconInfo.push({ "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, )
  1233. }
  1234. //万科双语
  1235. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1236. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1237. if (el.Name == 'Project Planning') {
  1238. el.Name = 'PBL项目'
  1239. }
  1240. return el
  1241. })
  1242. _studentDesktopIconInfo3.push({ "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, )
  1243. }
  1244. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1245. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1246. return el.Name != '魔盒识字' && el.Name != '24点'
  1247. })
  1248. }
  1249. 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) {
  1250. _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)" } }, )
  1251. }
  1252. //循环创建桌面图标
  1253. if (type == 1) {
  1254. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1255. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1256. _content = $$("div", {
  1257. className: "U_MD_D_KO",
  1258. "onmousedown": U.UF.C.closure(function(obj) {
  1259. //防止拖动图标即打开了桌面应用
  1260. U.MD.D.click(this, obj);
  1261. }, [_studentDesktopIconInfo[i]]),
  1262. "onclick": U.UF.C.closure(function(obj) {
  1263. //防止拖动图标即打开了桌面应用
  1264. U.MD.D.click(this, obj);
  1265. }, [_studentDesktopIconInfo[i]])
  1266. }, _frag); //
  1267. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1268. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1269. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1270. }
  1271. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1272. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1273. _content = $$("div", {
  1274. className: "U_MD_D_KO",
  1275. "onmousedown": U.UF.C.closure(function(obj) {
  1276. //防止拖动图标即打开了桌面应用
  1277. U.MD.D.click(this, obj);
  1278. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1279. "onclick": U.UF.C.closure(function(obj) {
  1280. //防止拖动图标即打开了桌面应用
  1281. U.MD.D.click(this, obj);
  1282. }, [_hkZJLSStudentDeskIconInfo[i]])
  1283. }, _frag); //
  1284. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1285. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1286. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1287. } //
  1288. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1289. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1290. _content = $$("div", {
  1291. className: "U_MD_D_KO",
  1292. "onmousedown": U.UF.C.closure(function(obj) {
  1293. //防止拖动图标即打开了桌面应用
  1294. U.MD.D.click(this, obj);
  1295. }, [_jccssylStudentDeskIconInfo[i]]),
  1296. "onclick": U.UF.C.closure(function(obj) {
  1297. //防止拖动图标即打开了桌面应用
  1298. U.MD.D.click(this, obj);
  1299. }, [_jccssylStudentDeskIconInfo[i]])
  1300. }, _frag); //
  1301. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1302. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1303. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1304. }
  1305. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1306. for (i = 0; i < _hkStudentEnglishDeskIcon.length; i++) {
  1307. _content = $$("div", {
  1308. className: "U_MD_D_KO",
  1309. "onmousedown": U.UF.C.closure(function(obj) {
  1310. //防止拖动图标即打开了桌面应用
  1311. U.MD.D.click(this, obj);
  1312. }, [_hkStudentEnglishDeskIcon[i]]),
  1313. "onclick": U.UF.C.closure(function(obj) {
  1314. //防止拖动图标即打开了桌面应用
  1315. U.MD.D.click(this, obj);
  1316. }, [_hkStudentEnglishDeskIcon[i]])
  1317. }, _frag); //
  1318. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1319. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentEnglishDeskIcon[i].style }, _iconcontent);
  1320. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentEnglishDeskIcon[i].Name }, _iconcontent);
  1321. }
  1322. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1323. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1324. _content = $$("div", {
  1325. className: "U_MD_D_KO",
  1326. "onmousedown": U.UF.C.closure(function(obj) {
  1327. //防止拖动图标即打开了桌面应用
  1328. U.MD.D.click(this, obj);
  1329. }, [_thuioeStudentDeskIconInfo[i]]),
  1330. "onclick": U.UF.C.closure(function(obj) {
  1331. //防止拖动图标即打开了桌面应用
  1332. U.MD.D.click(this, obj);
  1333. }, [_thuioeStudentDeskIconInfo[i]])
  1334. }, _frag); //
  1335. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1336. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1337. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1338. }
  1339. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1340. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1341. _content = $$("div", {
  1342. className: "U_MD_D_KO",
  1343. "onmousedown": U.UF.C.closure(function(obj) {
  1344. //防止拖动图标即打开了桌面应用
  1345. U.MD.D.click(this, obj);
  1346. }, [_tpcStudentDeskIconInfo[i]]),
  1347. "onclick": U.UF.C.closure(function(obj) {
  1348. //防止拖动图标即打开了桌面应用
  1349. U.MD.D.click(this, obj);
  1350. }, [_tpcStudentDeskIconInfo[i]])
  1351. }, _frag); //
  1352. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1353. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1354. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1355. } //
  1356. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1357. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1358. _content = $$("div", {
  1359. className: "U_MD_D_KO",
  1360. "onmousedown": U.UF.C.closure(function(obj) {
  1361. //防止拖动图标即打开了桌面应用
  1362. U.MD.D.click(this, obj);
  1363. }, [_chjyjStudentDeskIconInfo[i]]),
  1364. "onclick": U.UF.C.closure(function(obj) {
  1365. //防止拖动图标即打开了桌面应用
  1366. U.MD.D.click(this, obj);
  1367. }, [_chjyjStudentDeskIconInfo[i]])
  1368. }, _frag); //
  1369. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1370. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1371. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1372. }
  1373. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1374. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1375. _content = $$("div", {
  1376. className: "U_MD_D_KO",
  1377. "onmousedown": U.UF.C.closure(function(obj) {
  1378. //防止拖动图标即打开了桌面应用
  1379. U.MD.D.click(this, obj);
  1380. }, [_szjkyStudentDeskIconInfo[i]]),
  1381. "onclick": U.UF.C.closure(function(obj) {
  1382. //防止拖动图标即打开了桌面应用
  1383. U.MD.D.click(this, obj);
  1384. }, [_szjkyStudentDeskIconInfo[i]])
  1385. }, _frag); //
  1386. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1387. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1388. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1389. }
  1390. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1391. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1392. _content = $$("div", {
  1393. className: "U_MD_D_KO",
  1394. "onmousedown": U.UF.C.closure(function(obj) {
  1395. //防止拖动图标即打开了桌面应用
  1396. U.MD.D.click(this, obj);
  1397. }, [_dseiStudentDeskIconInfo[i]]),
  1398. "onclick": U.UF.C.closure(function(obj) {
  1399. //防止拖动图标即打开了桌面应用
  1400. U.MD.D.click(this, obj);
  1401. }, [_dseiStudentDeskIconInfo[i]])
  1402. }, _frag); //
  1403. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1404. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1405. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1406. }
  1407. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1408. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1409. _content = $$("div", {
  1410. className: "U_MD_D_KO",
  1411. "onmousedown": U.UF.C.closure(function(obj) {
  1412. //防止拖动图标即打开了桌面应用
  1413. U.MD.D.click(this, obj);
  1414. }, [_siesStudentDeskIconInfo[i]]),
  1415. "onclick": U.UF.C.closure(function(obj) {
  1416. //防止拖动图标即打开了桌面应用
  1417. U.MD.D.click(this, obj);
  1418. }, [_siesStudentDeskIconInfo[i]])
  1419. }, _frag); //
  1420. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1421. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1422. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1423. }
  1424. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1425. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1426. _content = $$("div", {
  1427. className: "U_MD_D_KO",
  1428. "onmousedown": U.UF.C.closure(function(obj) {
  1429. //防止拖动图标即打开了桌面应用
  1430. U.MD.D.click(this, obj);
  1431. }, [_hkStudentDeskIconInfo[i]]),
  1432. "onclick": U.UF.C.closure(function(obj) {
  1433. //防止拖动图标即打开了桌面应用
  1434. U.MD.D.click(this, obj);
  1435. }, [_hkStudentDeskIconInfo[i]])
  1436. }, _frag); //
  1437. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1438. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1439. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1440. }
  1441. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1442. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1443. _content = $$("div", {
  1444. className: "U_MD_D_KO",
  1445. "onmousedown": U.UF.C.closure(function(obj) {
  1446. //防止拖动图标即打开了桌面应用
  1447. U.MD.D.click(this, obj);
  1448. }, [_studentDesktopIconInfo[i]]),
  1449. "onclick": U.UF.C.closure(function(obj) {
  1450. //防止拖动图标即打开了桌面应用
  1451. U.MD.D.click(this, obj);
  1452. }, [_studentDesktopIconInfo[i]])
  1453. }, _frag); //
  1454. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1455. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1456. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1457. }
  1458. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1459. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1460. _content = $$("div", {
  1461. className: "U_MD_D_KO",
  1462. "onmousedown": U.UF.C.closure(function(obj) {
  1463. //防止拖动图标即打开了桌面应用
  1464. U.MD.D.click(this, obj);
  1465. }, [_tcStudentDeskIconInfo[i]]),
  1466. "onclick": U.UF.C.closure(function(obj) {
  1467. //防止拖动图标即打开了桌面应用
  1468. U.MD.D.click(this, obj);
  1469. }, [_tcStudentDeskIconInfo[i]])
  1470. }, _frag); //
  1471. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1472. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1473. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1474. }
  1475. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1476. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1477. _content = $$("div", {
  1478. className: "U_MD_D_KO",
  1479. "onmousedown": U.UF.C.closure(function(obj) {
  1480. //防止拖动图标即打开了桌面应用
  1481. U.MD.D.click(this, obj);
  1482. }, [_szscStudentDeskIconInfo[i]]),
  1483. "onclick": U.UF.C.closure(function(obj) {
  1484. //防止拖动图标即打开了桌面应用
  1485. U.MD.D.click(this, obj);
  1486. }, [_szscStudentDeskIconInfo[i]])
  1487. }, _frag); //
  1488. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1489. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1490. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1491. }
  1492. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1493. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1494. _content = $$("div", {
  1495. className: "U_MD_D_KO",
  1496. "onmousedown": U.UF.C.closure(function(obj) {
  1497. //防止拖动图标即打开了桌面应用
  1498. U.MD.D.click(this, obj);
  1499. }, [_studentDesktopIconInfo3[i]]),
  1500. "onclick": U.UF.C.closure(function(obj) {
  1501. //防止拖动图标即打开了桌面应用
  1502. U.MD.D.click(this, obj);
  1503. }, [_studentDesktopIconInfo3[i]])
  1504. }, _frag); //
  1505. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1506. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1507. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1508. }
  1509. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1510. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1511. _content = $$("div", {
  1512. className: "U_MD_D_KO",
  1513. "onmousedown": U.UF.C.closure(function(obj) {
  1514. //防止拖动图标即打开了桌面应用
  1515. U.MD.D.click(this, obj);
  1516. }, [_studentDesktopIconInfo2[i]]),
  1517. "onclick": U.UF.C.closure(function(obj) {
  1518. //防止拖动图标即打开了桌面应用
  1519. U.MD.D.click(this, obj);
  1520. }, [_studentDesktopIconInfo2[i]])
  1521. }, _frag); //
  1522. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1523. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1524. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1525. }
  1526. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1527. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1528. _content = $$("div", {
  1529. className: "U_MD_D_KO",
  1530. "onmousedown": U.UF.C.closure(function(obj) {
  1531. //防止拖动图标即打开了桌面应用
  1532. U.MD.D.click(this, obj);
  1533. }, [_wanketeacherDesktopIconInfo[i]]),
  1534. "onclick": U.UF.C.closure(function(obj) {
  1535. //防止拖动图标即打开了桌面应用
  1536. U.MD.D.click(this, obj);
  1537. }, [_wanketeacherDesktopIconInfo[i]])
  1538. }, _frag); //
  1539. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1540. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1541. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1542. }
  1543. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1544. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1545. _content = $$("div", {
  1546. className: "U_MD_D_KO",
  1547. "onmousedown": U.UF.C.closure(function(obj) {
  1548. //防止拖动图标即打开了桌面应用
  1549. U.MD.D.click(this, obj);
  1550. }, [_wankeAdminDesktopIconInfo[i]]),
  1551. "onclick": U.UF.C.closure(function(obj) {
  1552. //防止拖动图标即打开了桌面应用
  1553. U.MD.D.click(this, obj);
  1554. }, [_wankeAdminDesktopIconInfo[i]])
  1555. }, _frag); //
  1556. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1557. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1558. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1559. }
  1560. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1561. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1562. _content = $$("div", {
  1563. className: "U_MD_D_KO",
  1564. "onmousedown": U.UF.C.closure(function(obj) {
  1565. //防止拖动图标即打开了桌面应用
  1566. U.MD.D.click(this, obj);
  1567. }, [_jccssylTeacherDeskIconInfo[i]]),
  1568. "onclick": U.UF.C.closure(function(obj) {
  1569. //防止拖动图标即打开了桌面应用
  1570. U.MD.D.click(this, obj);
  1571. }, [_jccssylTeacherDeskIconInfo[i]])
  1572. }, _frag); //
  1573. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1574. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1575. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1576. }
  1577. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1578. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1579. _content = $$("div", {
  1580. className: "U_MD_D_KO",
  1581. "onmousedown": U.UF.C.closure(function(obj) {
  1582. //防止拖动图标即打开了桌面应用
  1583. U.MD.D.click(this, obj);
  1584. }, [_tpcOrganizerDeskIconInfo[i]]),
  1585. "onclick": U.UF.C.closure(function(obj) {
  1586. //防止拖动图标即打开了桌面应用
  1587. U.MD.D.click(this, obj);
  1588. }, [_tpcOrganizerDeskIconInfo[i]])
  1589. }, _frag); //
  1590. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1591. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1592. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1593. }
  1594. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1595. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1596. _content = $$("div", {
  1597. className: "U_MD_D_KO",
  1598. "onmousedown": U.UF.C.closure(function(obj) {
  1599. //防止拖动图标即打开了桌面应用
  1600. U.MD.D.click(this, obj);
  1601. }, [_tpcTeacherDeskIconInfo[i]]),
  1602. "onclick": U.UF.C.closure(function(obj) {
  1603. //防止拖动图标即打开了桌面应用
  1604. U.MD.D.click(this, obj);
  1605. }, [_tpcTeacherDeskIconInfo[i]])
  1606. }, _frag); //
  1607. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1608. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1609. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1610. }
  1611. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1612. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1613. _content = $$("div", {
  1614. className: "U_MD_D_KO",
  1615. "onmousedown": U.UF.C.closure(function(obj) {
  1616. //防止拖动图标即打开了桌面应用
  1617. U.MD.D.click(this, obj);
  1618. }, [_teacherDesktopIconInfo2[i]]),
  1619. "onclick": U.UF.C.closure(function(obj) {
  1620. //防止拖动图标即打开了桌面应用
  1621. U.MD.D.click(this, obj);
  1622. }, [_teacherDesktopIconInfo2[i]])
  1623. }, _frag); //
  1624. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1625. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1626. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1627. }
  1628. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1629. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1630. _content = $$("div", {
  1631. className: "U_MD_D_KO",
  1632. "onmousedown": U.UF.C.closure(function(obj) {
  1633. //防止拖动图标即打开了桌面应用
  1634. U.MD.D.click(this, obj);
  1635. }, [_thuioeTeacherDeskIconInfo[i]]),
  1636. "onclick": U.UF.C.closure(function(obj) {
  1637. //防止拖动图标即打开了桌面应用
  1638. U.MD.D.click(this, obj);
  1639. }, [_thuioeTeacherDeskIconInfo[i]])
  1640. }, _frag); //
  1641. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1642. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1643. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1644. }
  1645. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1646. for (i = 0; i < _hkTeacherEnglishDeskIcon.length; i++) {
  1647. _content = $$("div", {
  1648. className: "U_MD_D_KO",
  1649. "onmousedown": U.UF.C.closure(function(obj) {
  1650. //防止拖动图标即打开了桌面应用
  1651. U.MD.D.click(this, obj);
  1652. }, [_hkTeacherEnglishDeskIcon[i]]),
  1653. "onclick": U.UF.C.closure(function(obj) {
  1654. //防止拖动图标即打开了桌面应用
  1655. U.MD.D.click(this, obj);
  1656. }, [_hkTeacherEnglishDeskIcon[i]])
  1657. }, _frag); //
  1658. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1659. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherEnglishDeskIcon[i].style }, _iconcontent);
  1660. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherEnglishDeskIcon[i].Name }, _iconcontent);
  1661. }
  1662. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1663. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1664. _content = $$("div", {
  1665. className: "U_MD_D_KO",
  1666. "onmousedown": U.UF.C.closure(function(obj) {
  1667. //防止拖动图标即打开了桌面应用
  1668. U.MD.D.click(this, obj);
  1669. }, [_lotechTeacherDeskIconInfo[i]]),
  1670. "onclick": U.UF.C.closure(function(obj) {
  1671. //防止拖动图标即打开了桌面应用
  1672. U.MD.D.click(this, obj);
  1673. }, [_lotechTeacherDeskIconInfo[i]])
  1674. }, _frag); //
  1675. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1676. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1677. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1678. } //
  1679. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1680. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1681. _content = $$("div", {
  1682. className: "U_MD_D_KO",
  1683. "onmousedown": U.UF.C.closure(function(obj) {
  1684. //防止拖动图标即打开了桌面应用
  1685. U.MD.D.click(this, obj);
  1686. }, [_siesTeacherDeskIconInfo[i]]),
  1687. "onclick": U.UF.C.closure(function(obj) {
  1688. //防止拖动图标即打开了桌面应用
  1689. U.MD.D.click(this, obj);
  1690. }, [_siesTeacherDeskIconInfo[i]])
  1691. }, _frag); //
  1692. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1693. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1694. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1695. }
  1696. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1697. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1698. _content = $$("div", {
  1699. className: "U_MD_D_KO",
  1700. "onmousedown": U.UF.C.closure(function(obj) {
  1701. //防止拖动图标即打开了桌面应用
  1702. U.MD.D.click(this, obj);
  1703. }, [_longhuaTeacherDeskIconInfo[i]]),
  1704. "onclick": U.UF.C.closure(function(obj) {
  1705. //防止拖动图标即打开了桌面应用
  1706. U.MD.D.click(this, obj);
  1707. }, [_longhuaTeacherDeskIconInfo[i]])
  1708. }, _frag); //
  1709. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1710. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1711. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1712. }
  1713. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1714. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1715. _content = $$("div", {
  1716. className: "U_MD_D_KO",
  1717. "onmousedown": U.UF.C.closure(function(obj) {
  1718. //防止拖动图标即打开了桌面应用
  1719. U.MD.D.click(this, obj);
  1720. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1721. "onclick": U.UF.C.closure(function(obj) {
  1722. //防止拖动图标即打开了桌面应用
  1723. U.MD.D.click(this, obj);
  1724. }, [_yunhaiTeacherDeskIconInfo[i]])
  1725. }, _frag); //
  1726. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1727. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1728. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1729. } //_hkStudentDeskIconInfo
  1730. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1731. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1732. _content = $$("div", {
  1733. className: "U_MD_D_KO",
  1734. "onmousedown": U.UF.C.closure(function(obj) {
  1735. //防止拖动图标即打开了桌面应用
  1736. U.MD.D.click(this, obj);
  1737. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1738. "onclick": U.UF.C.closure(function(obj) {
  1739. //防止拖动图标即打开了桌面应用
  1740. U.MD.D.click(this, obj);
  1741. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1742. }, _frag); //
  1743. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1744. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1745. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1746. }
  1747. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1748. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1749. _content = $$("div", {
  1750. className: "U_MD_D_KO",
  1751. "onmousedown": U.UF.C.closure(function(obj) {
  1752. //防止拖动图标即打开了桌面应用
  1753. U.MD.D.click(this, obj);
  1754. }, [_hkTeacherDeskIconInfo[i]]),
  1755. "onclick": U.UF.C.closure(function(obj) {
  1756. //防止拖动图标即打开了桌面应用
  1757. U.MD.D.click(this, obj);
  1758. }, [_hkTeacherDeskIconInfo[i]])
  1759. }, _frag); //
  1760. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1761. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1762. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1763. }
  1764. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1765. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1766. _content = $$("div", {
  1767. className: "U_MD_D_KO",
  1768. "onmousedown": U.UF.C.closure(function(obj) {
  1769. //防止拖动图标即打开了桌面应用
  1770. U.MD.D.click(this, obj);
  1771. }, [_gdjgAdminDeskIconInfo[i]]),
  1772. "onclick": U.UF.C.closure(function(obj) {
  1773. //防止拖动图标即打开了桌面应用
  1774. U.MD.D.click(this, obj);
  1775. }, [_gdjgAdminDeskIconInfo[i]])
  1776. }, _frag); //
  1777. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1778. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1779. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1780. }
  1781. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1782. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1783. _content = $$("div", {
  1784. className: "U_MD_D_KO",
  1785. "onmousedown": U.UF.C.closure(function(obj) {
  1786. //防止拖动图标即打开了桌面应用
  1787. U.MD.D.click(this, obj);
  1788. }, [_gdjgTeacherDeskIconInfo[i]]),
  1789. "onclick": U.UF.C.closure(function(obj) {
  1790. //防止拖动图标即打开了桌面应用
  1791. U.MD.D.click(this, obj);
  1792. }, [_gdjgTeacherDeskIconInfo[i]])
  1793. }, _frag); //
  1794. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1795. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1796. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1797. }
  1798. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1799. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1800. _content = $$("div", {
  1801. className: "U_MD_D_KO",
  1802. "onmousedown": U.UF.C.closure(function(obj) {
  1803. //防止拖动图标即打开了桌面应用
  1804. U.MD.D.click(this, obj);
  1805. }, [_szherTeacherDeskIconInfo[i]]),
  1806. "onclick": U.UF.C.closure(function(obj) {
  1807. //防止拖动图标即打开了桌面应用
  1808. U.MD.D.click(this, obj);
  1809. }, [_szherTeacherDeskIconInfo[i]])
  1810. }, _frag); //
  1811. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1812. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1813. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1814. }
  1815. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1816. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1817. _content = $$("div", {
  1818. className: "U_MD_D_KO",
  1819. "onmousedown": U.UF.C.closure(function(obj) {
  1820. //防止拖动图标即打开了桌面应用
  1821. U.MD.D.click(this, obj);
  1822. }, [_heyuannAdminDeskIconInfo[i]]),
  1823. "onclick": U.UF.C.closure(function(obj) {
  1824. //防止拖动图标即打开了桌面应用
  1825. U.MD.D.click(this, obj);
  1826. }, [_heyuannAdminDeskIconInfo[i]])
  1827. }, _frag); //
  1828. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1829. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1830. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1831. }
  1832. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1833. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1834. _content = $$("div", {
  1835. className: "U_MD_D_KO",
  1836. "onmousedown": U.UF.C.closure(function(obj) {
  1837. //防止拖动图标即打开了桌面应用
  1838. U.MD.D.click(this, obj);
  1839. }, [_heyuanTeacherDeskIconInfo[i]]),
  1840. "onclick": U.UF.C.closure(function(obj) {
  1841. //防止拖动图标即打开了桌面应用
  1842. U.MD.D.click(this, obj);
  1843. }, [_heyuanTeacherDeskIconInfo[i]])
  1844. }, _frag); //
  1845. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1846. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1847. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1848. } //
  1849. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1850. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1851. _content = $$("div", {
  1852. className: "U_MD_D_KO",
  1853. "onmousedown": U.UF.C.closure(function(obj) {
  1854. //防止拖动图标即打开了桌面应用
  1855. U.MD.D.click(this, obj);
  1856. }, [_dseiAdminDeskIconInfo[i]]),
  1857. "onclick": U.UF.C.closure(function(obj) {
  1858. //防止拖动图标即打开了桌面应用
  1859. U.MD.D.click(this, obj);
  1860. }, [_dseiAdminDeskIconInfo[i]])
  1861. }, _frag); //
  1862. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1863. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1864. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1865. }
  1866. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1867. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1868. _content = $$("div", {
  1869. className: "U_MD_D_KO",
  1870. "onmousedown": U.UF.C.closure(function(obj) {
  1871. //防止拖动图标即打开了桌面应用
  1872. U.MD.D.click(this, obj);
  1873. }, [_dseiTeacherDeskIconInfo[i]]),
  1874. "onclick": U.UF.C.closure(function(obj) {
  1875. //防止拖动图标即打开了桌面应用
  1876. U.MD.D.click(this, obj);
  1877. }, [_dseiTeacherDeskIconInfo[i]])
  1878. }, _frag); //
  1879. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1880. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1881. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1882. } //
  1883. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1884. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1885. _content = $$("div", {
  1886. className: "U_MD_D_KO",
  1887. "onmousedown": U.UF.C.closure(function(obj) {
  1888. //防止拖动图标即打开了桌面应用
  1889. U.MD.D.click(this, obj);
  1890. }, [_chjyjAdminDeskIconInfo[i]]),
  1891. "onclick": U.UF.C.closure(function(obj) {
  1892. //防止拖动图标即打开了桌面应用
  1893. U.MD.D.click(this, obj);
  1894. }, [_chjyjAdminDeskIconInfo[i]])
  1895. }, _frag); //
  1896. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1897. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1898. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1899. } //
  1900. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1901. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1902. _content = $$("div", {
  1903. className: "U_MD_D_KO",
  1904. "onmousedown": U.UF.C.closure(function(obj) {
  1905. //防止拖动图标即打开了桌面应用
  1906. U.MD.D.click(this, obj);
  1907. }, [_chjyjTeacherDeskIconInfo[i]]),
  1908. "onclick": U.UF.C.closure(function(obj) {
  1909. //防止拖动图标即打开了桌面应用
  1910. U.MD.D.click(this, obj);
  1911. }, [_chjyjTeacherDeskIconInfo[i]])
  1912. }, _frag); //
  1913. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1914. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1915. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1916. }
  1917. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1918. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1919. _content = $$("div", {
  1920. className: "U_MD_D_KO",
  1921. "onmousedown": U.UF.C.closure(function(obj) {
  1922. //防止拖动图标即打开了桌面应用
  1923. U.MD.D.click(this, obj);
  1924. }, [_szjkyAdminDeskIconInfo[i]]),
  1925. "onclick": U.UF.C.closure(function(obj) {
  1926. //防止拖动图标即打开了桌面应用
  1927. U.MD.D.click(this, obj);
  1928. }, [_szjkyAdminDeskIconInfo[i]])
  1929. }, _frag); //
  1930. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1931. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1932. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1933. } //
  1934. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1935. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1936. _content = $$("div", {
  1937. className: "U_MD_D_KO",
  1938. "onmousedown": U.UF.C.closure(function(obj) {
  1939. //防止拖动图标即打开了桌面应用
  1940. U.MD.D.click(this, obj);
  1941. }, [_szjkyTeacherDeskIconInfo[i]]),
  1942. "onclick": U.UF.C.closure(function(obj) {
  1943. //防止拖动图标即打开了桌面应用
  1944. U.MD.D.click(this, obj);
  1945. }, [_szjkyTeacherDeskIconInfo[i]])
  1946. }, _frag); //
  1947. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1948. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1949. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1950. }
  1951. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1952. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1953. _content = $$("div", {
  1954. className: "U_MD_D_KO",
  1955. "onmousedown": U.UF.C.closure(function(obj) {
  1956. //防止拖动图标即打开了桌面应用
  1957. U.MD.D.click(this, obj);
  1958. }, [_futianAdminDeskIconInfo[i]]),
  1959. "onclick": U.UF.C.closure(function(obj) {
  1960. //防止拖动图标即打开了桌面应用
  1961. U.MD.D.click(this, obj);
  1962. }, [_futianAdminDeskIconInfo[i]])
  1963. }, _frag); //
  1964. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1965. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1966. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1967. }
  1968. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1969. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1970. _content = $$("div", {
  1971. className: "U_MD_D_KO",
  1972. "onmousedown": U.UF.C.closure(function(obj) {
  1973. //防止拖动图标即打开了桌面应用
  1974. U.MD.D.click(this, obj);
  1975. }, [_futianTeacherDeskIconInfo[i]]),
  1976. "onclick": U.UF.C.closure(function(obj) {
  1977. //防止拖动图标即打开了桌面应用
  1978. U.MD.D.click(this, obj);
  1979. }, [_futianTeacherDeskIconInfo[i]])
  1980. }, _frag); //
  1981. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1982. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1983. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1984. }
  1985. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1986. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1987. _content = $$("div", {
  1988. className: "U_MD_D_KO",
  1989. "onmousedown": U.UF.C.closure(function(obj) {
  1990. //防止拖动图标即打开了桌面应用
  1991. U.MD.D.click(this, obj);
  1992. }, [_MingdeTeacherDeskIcon[i]]),
  1993. "onclick": U.UF.C.closure(function(obj) {
  1994. //防止拖动图标即打开了桌面应用
  1995. U.MD.D.click(this, obj);
  1996. }, [_MingdeTeacherDeskIcon[i]])
  1997. }, _frag); //
  1998. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1999. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2000. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2001. }
  2002. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2003. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2004. _content = $$("div", {
  2005. className: "U_MD_D_KO",
  2006. "onmousedown": U.UF.C.closure(function(obj) {
  2007. //防止拖动图标即打开了桌面应用
  2008. U.MD.D.click(this, obj);
  2009. }, [_lhsAdminDesktopIconInfo[i]]),
  2010. "onclick": U.UF.C.closure(function(obj) {
  2011. //防止拖动图标即打开了桌面应用
  2012. U.MD.D.click(this, obj);
  2013. }, [_lhsAdminDesktopIconInfo[i]])
  2014. }, _frag); //
  2015. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2016. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2017. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2018. }
  2019. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2020. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2021. _content = $$("div", {
  2022. className: "U_MD_D_KO",
  2023. "onmousedown": U.UF.C.closure(function(obj) {
  2024. //防止拖动图标即打开了桌面应用
  2025. U.MD.D.click(this, obj);
  2026. }, [_lhsteacherDesktopIconInfo[i]]),
  2027. "onclick": U.UF.C.closure(function(obj) {
  2028. //防止拖动图标即打开了桌面应用
  2029. U.MD.D.click(this, obj);
  2030. }, [_lhsteacherDesktopIconInfo[i]])
  2031. }, _frag); //
  2032. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2033. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2034. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2035. }
  2036. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2037. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2038. _content = $$("div", {
  2039. className: "U_MD_D_KO",
  2040. "onmousedown": U.UF.C.closure(function(obj) {
  2041. //防止拖动图标即打开了桌面应用
  2042. U.MD.D.click(this, obj);
  2043. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2044. "onclick": U.UF.C.closure(function(obj) {
  2045. //防止拖动图标即打开了桌面应用
  2046. U.MD.D.click(this, obj);
  2047. }, [_zhoujiateacherDesktopIconInfo[i]])
  2048. }, _frag); //
  2049. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2050. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2051. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2052. }
  2053. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2054. for (i = 0; i < _hanDeskIcon.length; i++) {
  2055. _content = $$("div", {
  2056. className: "U_MD_D_KO",
  2057. "onmousedown": U.UF.C.closure(function(obj) {
  2058. //防止拖动图标即打开了桌面应用
  2059. U.MD.D.click(this, obj);
  2060. }, [_hanDeskIcon[i]]),
  2061. "onclick": U.UF.C.closure(function(obj) {
  2062. //防止拖动图标即打开了桌面应用
  2063. U.MD.D.click(this, obj);
  2064. }, [_hanDeskIcon[i]])
  2065. }, _frag); //
  2066. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2067. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2068. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2069. }
  2070. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2071. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2072. _content = $$("div", {
  2073. className: "U_MD_D_KO",
  2074. "onmousedown": U.UF.C.closure(function(obj) {
  2075. //防止拖动图标即打开了桌面应用
  2076. U.MD.D.click(this, obj);
  2077. }, [_orgStemDeskIcon[i]]),
  2078. "onclick": U.UF.C.closure(function(obj) {
  2079. //防止拖动图标即打开了桌面应用
  2080. U.MD.D.click(this, obj);
  2081. }, [_orgStemDeskIcon[i]])
  2082. }, _frag); //
  2083. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2084. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2085. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2086. }
  2087. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2088. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2089. _content = $$("div", {
  2090. className: "U_MD_D_KO",
  2091. "onmousedown": U.UF.C.closure(function(obj) {
  2092. //防止拖动图标即打开了桌面应用
  2093. U.MD.D.click(this, obj);
  2094. }, [_szulsDeskIcon[i]]),
  2095. "onclick": U.UF.C.closure(function(obj) {
  2096. //防止拖动图标即打开了桌面应用
  2097. U.MD.D.click(this, obj);
  2098. }, [_szulsDeskIcon[i]])
  2099. }, _frag); //
  2100. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2101. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2102. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2103. }
  2104. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2105. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2106. _content = $$("div", {
  2107. className: "U_MD_D_KO",
  2108. "onmousedown": U.UF.C.closure(function(obj) {
  2109. //防止拖动图标即打开了桌面应用
  2110. U.MD.D.click(this, obj);
  2111. }, [_orgDesktopIconInfo[i]]),
  2112. "onclick": U.UF.C.closure(function(obj) {
  2113. //防止拖动图标即打开了桌面应用
  2114. U.MD.D.click(this, obj);
  2115. }, [_orgDesktopIconInfo[i]])
  2116. }, _frag); //
  2117. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2118. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2119. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2120. }
  2121. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2122. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2123. _content = $$("div", {
  2124. className: "U_MD_D_KO",
  2125. "onmousedown": U.UF.C.closure(function(obj) {
  2126. //防止拖动图标即打开了桌面应用
  2127. U.MD.D.click(this, obj);
  2128. }, [_schoolDesktopIconInfo[i]]),
  2129. "onclick": U.UF.C.closure(function(obj) {
  2130. //防止拖动图标即打开了桌面应用
  2131. U.MD.D.click(this, obj);
  2132. }, [_schoolDesktopIconInfo[i]])
  2133. }, _frag); //
  2134. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2135. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2136. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2137. }
  2138. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2139. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2140. _content = $$("div", {
  2141. className: "U_MD_D_KO",
  2142. "onmousedown": U.UF.C.closure(function(obj) {
  2143. //防止拖动图标即打开了桌面应用
  2144. U.MD.D.click(this, obj);
  2145. }, [_GMteacherDesktopIconInfo[i]]),
  2146. "onclick": U.UF.C.closure(function(obj) {
  2147. //防止拖动图标即打开了桌面应用
  2148. U.MD.D.click(this, obj);
  2149. }, [_GMteacherDesktopIconInfo[i]])
  2150. }, _frag); //
  2151. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2152. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2153. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2154. }
  2155. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2156. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2157. _content = $$("div", {
  2158. className: "U_MD_D_KO",
  2159. "onmousedown": U.UF.C.closure(function(obj) {
  2160. //防止拖动图标即打开了桌面应用
  2161. U.MD.D.click(this, obj);
  2162. }, [_SONGteacherDesktopIconInfo[i]]),
  2163. "onclick": U.UF.C.closure(function(obj) {
  2164. //防止拖动图标即打开了桌面应用
  2165. U.MD.D.click(this, obj);
  2166. }, [_SONGteacherDesktopIconInfo[i]])
  2167. }, _frag); //
  2168. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2169. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2170. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2171. }
  2172. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2173. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2174. _content = $$("div", {
  2175. className: "U_MD_D_KO",
  2176. "onmousedown": U.UF.C.closure(function(obj) {
  2177. //防止拖动图标即打开了桌面应用
  2178. U.MD.D.click(this, obj);
  2179. }, [_GMstudentDesktopIconInfo[i]]),
  2180. "onclick": U.UF.C.closure(function(obj) {
  2181. //防止拖动图标即打开了桌面应用
  2182. U.MD.D.click(this, obj);
  2183. }, [_GMstudentDesktopIconInfo[i]])
  2184. }, _frag); //
  2185. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2186. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2187. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2188. }
  2189. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2190. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2191. _content = $$("div", {
  2192. className: "U_MD_D_KO",
  2193. "onmousedown": U.UF.C.closure(function(obj) {
  2194. //防止拖动图标即打开了桌面应用
  2195. U.MD.D.click(this, obj);
  2196. }, [_tcTeacherDeskIconInfo[i]]),
  2197. "onclick": U.UF.C.closure(function(obj) {
  2198. //防止拖动图标即打开了桌面应用
  2199. U.MD.D.click(this, obj);
  2200. }, [_tcTeacherDeskIconInfo[i]])
  2201. }, _frag); //
  2202. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2203. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2204. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2205. }
  2206. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2207. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2208. _content = $$("div", {
  2209. className: "U_MD_D_KO",
  2210. "onmousedown": U.UF.C.closure(function(obj) {
  2211. //防止拖动图标即打开了桌面应用
  2212. U.MD.D.click(this, obj);
  2213. }, [_tcOrganizerDeskIconInfo[i]]),
  2214. "onclick": U.UF.C.closure(function(obj) {
  2215. //防止拖动图标即打开了桌面应用
  2216. U.MD.D.click(this, obj);
  2217. }, [_tcOrganizerDeskIconInfo[i]])
  2218. }, _frag); //
  2219. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2220. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2221. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2222. }
  2223. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2224. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2225. _content = $$("div", {
  2226. className: "U_MD_D_KO",
  2227. "onmousedown": U.UF.C.closure(function(obj) {
  2228. //防止拖动图标即打开了桌面应用
  2229. U.MD.D.click(this, obj);
  2230. }, [_szscTeacherDeskIconInfo[i]]),
  2231. "onclick": U.UF.C.closure(function(obj) {
  2232. //防止拖动图标即打开了桌面应用
  2233. U.MD.D.click(this, obj);
  2234. }, [_szscTeacherDeskIconInfo[i]])
  2235. }, _frag); //
  2236. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2237. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2238. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2239. }
  2240. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2241. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2242. _content = $$("div", {
  2243. className: "U_MD_D_KO",
  2244. "onmousedown": U.UF.C.closure(function(obj) {
  2245. //防止拖动图标即打开了桌面应用
  2246. U.MD.D.click(this, obj);
  2247. }, [_szscOrganizerDeskIconInfo[i]]),
  2248. "onclick": U.UF.C.closure(function(obj) {
  2249. //防止拖动图标即打开了桌面应用
  2250. U.MD.D.click(this, obj);
  2251. }, [_szscOrganizerDeskIconInfo[i]])
  2252. }, _frag); //
  2253. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2254. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2255. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2256. }
  2257. } else {
  2258. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2259. _content = $$("div", {
  2260. className: "U_MD_D_KO",
  2261. "onmousedown": U.UF.C.closure(function(obj) {
  2262. //防止拖动图标即打开了桌面应用
  2263. U.MD.D.click(this, obj);
  2264. }, [_teacherDesktopIconInfo[i]]),
  2265. "onclick": U.UF.C.closure(function(obj) {
  2266. //防止拖动图标即打开了桌面应用
  2267. U.MD.D.click(this, obj);
  2268. }, [_teacherDesktopIconInfo[i]])
  2269. }, _frag); //
  2270. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2271. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2272. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2273. }
  2274. }
  2275. } else {
  2276. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2277. _content = $$("div", {
  2278. className: "U_MD_D_KO",
  2279. style: { 'width': '124px', 'height': '145px' },
  2280. "onmousedown": U.UF.C.closure(function(obj) {
  2281. //防止拖动图标即打开了桌面应用
  2282. U.MD.D.click(this, obj);
  2283. }, [_easyDesktopIconInfo[i]]),
  2284. "onclick": U.UF.C.closure(function(obj) {
  2285. //防止拖动图标即打开了桌面应用
  2286. U.MD.D.click(this, obj);
  2287. }, [_easyDesktopIconInfo[i]])
  2288. }, _frag); //
  2289. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2290. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2291. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2292. }
  2293. }
  2294. if (type == 1) {
  2295. //加载好后给图标定位
  2296. U.MD.D.iconPostion($(_frag).Child());
  2297. } else {
  2298. //加载好后给图标定位
  2299. U.MD.D.iconPostion2($(_frag).Child());
  2300. }
  2301. //把图标加载到页面
  2302. el.appendChild(_frag);
  2303. }
  2304. /**
  2305. * 显示任务栏
  2306. *
  2307. * @param {element} 桌面元素
  2308. */
  2309. U.MD.D.I.displayTaskbar = function(el) {
  2310. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2311. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2312. //任务栏位置变化
  2313. U.selectEl(el).css({ "bottom": "0px" });
  2314. //桌面位置变话
  2315. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2316. }
  2317. }
  2318. //#region 桌面图标拖动逻辑
  2319. /**
  2320. * 桌面排列图标
  2321. *
  2322. * @param {element} 桌面元素
  2323. * @param {object} 上下相距的距离
  2324. * @param {object} 左右相距的距离
  2325. * @return {object} 命名空间
  2326. */
  2327. U.MD.D.iconPostion = function(childs, top, left) {
  2328. var i; //用于循环处理
  2329. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2330. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2331. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2332. for (i = 0; i < childs.length; i++) {
  2333. //如果竖排top超过了范围处理
  2334. if (top + 95 > US.height - 10) {
  2335. //left超过了页面范围处理,则向上重叠打印处理
  2336. if ((left + 180) > US.width) {
  2337. top -= 110;
  2338. left -= 90;
  2339. }
  2340. //没有超过范围,那么left+90添加到下一个竖排打印
  2341. else {
  2342. left += 90;
  2343. top = 15;
  2344. };
  2345. }
  2346. //给图标的位置赋值
  2347. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2348. if (i < childs.length - 1) {
  2349. //页面图标每次向下加95
  2350. top += 95;
  2351. }
  2352. }
  2353. //返回最后调用的图标的位置
  2354. return [top, left];
  2355. }
  2356. /**
  2357. * 桌面排列图标
  2358. *
  2359. * @param {element} 桌面元素
  2360. * @param {object} 上下相距的距离
  2361. * @param {object} 左右相距的距离
  2362. * @return {object} 命名空间
  2363. */
  2364. U.MD.D.iconPostion2 = function(childs, top, left) {
  2365. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2366. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2367. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2368. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2369. for (i = 0; i < childs.length; i++) {
  2370. //如果竖排top超过了范围处理
  2371. if (left + 150 > US.width - 10) {
  2372. //left超过了页面范围处理,则向上重叠打印处理
  2373. if ((top + 180) > US.Height) {
  2374. top -= 150;
  2375. left -= 150;
  2376. }
  2377. //没有超过范围,那么left+90添加到下一个竖排打印
  2378. else {
  2379. top += 150;
  2380. left = ol;
  2381. };
  2382. }
  2383. //给图标的位置赋值
  2384. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2385. if (i < childs.length - 1) {
  2386. //页面图标每次向下加95
  2387. left += 150;
  2388. }
  2389. }
  2390. //返回最后调用的图标的位置
  2391. return [top, left];
  2392. }
  2393. /**
  2394. * 桌面点击事件逻辑
  2395. *
  2396. * @param {element} 桌面元素
  2397. * @param {object} 上下相距的距离
  2398. * @param {object} 左右相距的距离
  2399. * @return {object} 命名空间
  2400. */
  2401. U.MD.D.click = function(el, obj) {
  2402. var _buttonnumber = event.button; //点击的按钮的事件值
  2403. var _userinfo = US.userInfo;
  2404. U.UF.EV.stopBubble(); //阻止向上冒泡
  2405. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2406. if (_buttonnumber < 2) {
  2407. //如果是click事件的处理
  2408. if (event.type == "click") {
  2409. //如果元素在mousemove事件中没有移动则出发click事件
  2410. if (!U.MD.D.I.IsDrag) {
  2411. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2412. U.alert("请先登录您的账号!");
  2413. setTimeout(() => {
  2414. U.MD.U.L.login();
  2415. }, 2000);
  2416. } else {
  2417. //打开应用处理
  2418. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2419. }
  2420. }
  2421. }
  2422. //如果是mouse事件的处理
  2423. else {
  2424. if (US.Config.type == '1') {
  2425. //拖动处理,添加拖动和拖动结束事件
  2426. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2427. }
  2428. }
  2429. U.MD.D.I.IsDrag = false;
  2430. }
  2431. }
  2432. /**
  2433. * 拖动的处理
  2434. *
  2435. */
  2436. U.MD.D.iconMove = function() {
  2437. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2438. U.MD.D.I.IsDrag = true;
  2439. }
  2440. /**
  2441. * 拖动结束后,这里是定位处理,以网状的形式定位
  2442. *
  2443. * @param {element} 拖动的元素
  2444. * @return {object} 命名空间
  2445. */
  2446. U.MD.D.iconUp = function(el) {
  2447. var _top = 15,
  2448. _left = 20,
  2449. _margin,
  2450. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2451. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2452. if (_positioninfo["OT"] > 15) {
  2453. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2454. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2455. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2456. }
  2457. if (_positioninfo["OL"] > 20) {
  2458. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2459. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2460. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2461. }
  2462. //while循环判断么一个重叠的元素
  2463. do {
  2464. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2465. _top = _positioninfo[0] + 95; //得到定位后的top
  2466. _left = _positioninfo[1]; //得到定位后的left
  2467. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2468. }
  2469. /**
  2470. * 判断拖动后图标是否重叠
  2471. *
  2472. * @param {element} 拖动的元素
  2473. * @param {element} 桌面所有的元素
  2474. * @param {array} 拖动元素的位置
  2475. ----------[0] 上 top
  2476. ----------[1] 左 left
  2477. * @return {object} 命名空间
  2478. */
  2479. U.MD.D.isOverlap = function(el, childs, postionarray) {
  2480. //循环所有的图标
  2481. for (var i = 0; i < childs.length; i++) {
  2482. //判断有没有和该图标诶子重叠的元素
  2483. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2484. return childs[i]; //如果有返回
  2485. }
  2486. }
  2487. }
  2488. //#endregion
  2489. //#endregion
  2490. //#region 桌面应用
  2491. /**
  2492. * 打开应用
  2493. *
  2494. * @param {string} 类型
  2495. -----------------Disk 网盘系统
  2496. -----------------PDisk 学习系统网盘
  2497. -----------------Poto 图片
  2498. -----------------Video 视频
  2499. -----------------Music 音乐
  2500. -----------------Word word
  2501. -----------------Excel excel
  2502. -----------------Txt 记事本
  2503. -----------------PB 学习系统
  2504. -----------------Blog 朋友圈系统
  2505. -----------------FTP ftp系统
  2506. -----------------Group 好友群
  2507. -----------------SY 首页系统
  2508. -----------------Set 个人设置
  2509. -----------------XSet 系统设置
  2510. -----------------App 我们所有的app
  2511. -----------------BC c.1473.cn 平台
  2512. -----------------CWeb d.1473.cn 变成平台
  2513. -----------------其他的外联系统 我们统一用iframe打开
  2514. * @param {array} 类型
  2515. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2516. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2517. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2518. 如果第一个参数为其他,则无第二个参数
  2519. * @returns {array}
  2520. */
  2521. window.addEventListener('message', function(e) { // 监听 message 事件
  2522. // alert(e.data.type);
  2523. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2524. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2525. //3是展示全部阶段 2学生 1老师 4专家
  2526. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2527. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2528. //3是展示全部阶段 2学生 1老师 4专家
  2529. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2530. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2531. //3是展示全部阶段 2学生 1老师 4专家
  2532. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2533. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2534. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2535. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2536. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2537. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2538. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2539. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2540. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2541. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2542. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2543. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2544. //3是展示全部阶段 2学生 1老师 4专家
  2545. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2546. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2547. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2548. U.MD.D.I.selectUser();
  2549. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2550. var _formel = document.getElementById("study");
  2551. U.UF.F.windowZooming(_formel);
  2552. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2553. var _formel = document.getElementById("studyDetail");
  2554. U.UF.F.windowZooming(_formel);
  2555. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2556. var _formel = document.getElementById("studyDetail");
  2557. U.UF.F.windowZooming(_formel);
  2558. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2559. var _formel = document.getElementById("studentStudy");
  2560. U.UF.F.windowZooming(_formel);
  2561. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2562. // var _formel = document.getElementById("study");
  2563. //如果最大化了,那么就把他缩小
  2564. // if (_formel.ismaximize) {
  2565. // return;
  2566. // }
  2567. // U.UF.F.windowZooming(_formel);
  2568. // U.UF.F.topWindow(_formel);
  2569. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2570. // var _formel = document.getElementById("studyDetail");
  2571. //如果最大化了,那么就把他缩小
  2572. // if (_formel.ismaximize) {
  2573. // return;
  2574. // }
  2575. // U.UF.F.windowZooming(_formel);
  2576. // U.UF.F.topWindow(_formel);
  2577. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2578. // var _formel = document.getElementById("studentStudy");
  2579. // if (_formel.ismaximize) {
  2580. // return;
  2581. // }
  2582. // U.UF.F.windowZooming(_formel);
  2583. // U.UF.F.topWindow(_formel);
  2584. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2585. var _formel = document.getElementById("study");
  2586. // if (_formel.ismaximize) {
  2587. // return;
  2588. // }
  2589. // U.UF.F.windowZooming(_formel);
  2590. U.UF.F.topWindow(_formel);
  2591. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2592. var _formel = document.getElementById("studentIndex");
  2593. U.UF.F.windowZooming(_formel);
  2594. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2595. var _formel = document.getElementById("studyDetailS");
  2596. U.UF.F.windowZooming(_formel);
  2597. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2598. var _formel = document.getElementById("studioIndex");
  2599. U.UF.F.windowZooming(_formel);
  2600. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2601. var _formel = document.getElementById("studyDetailStudio");
  2602. U.UF.F.windowZooming(_formel);
  2603. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2604. var _formel = document.getElementById("studyDetailStudio");
  2605. U.UF.F.windowZooming(_formel);
  2606. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2607. var _formel = document.getElementById("studyDetailNT");
  2608. U.UF.F.windowZooming(_formel);
  2609. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2610. var _formel = document.getElementById("studyDetailS");
  2611. U.UF.F.windowZooming(_formel);
  2612. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2613. var _formel = document.getElementById("studyDetailS");
  2614. U.UF.F.topWindow(_formel);
  2615. } else if (e.data.tools && e.data.tools == "1") {
  2616. // U.MD.D.I.openApplication("whiteboard")
  2617. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2618. } else if (e.data.tools && e.data.tools == "2") {
  2619. U.MD.D.I.openApplication("note")
  2620. } else if (e.data.tools && e.data.tools == "3") {
  2621. // U.MD.D.I.openApplication("mind")
  2622. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2623. } else if (e.data.tools && e.data.tools == "4") {
  2624. U.MD.D.I.openApplication("investigation")
  2625. } else if (e.data.tools && e.data.tools == "6") {
  2626. // U.MD.D.I.openApplication("doc")
  2627. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2628. } else if (e.data.tools && e.data.tools == "7") {
  2629. // U.MD.D.I.openApplication("mindNetwork")
  2630. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2631. } else if (e.data.tools && e.data.tools == "8") {
  2632. U.MD.D.I.openApplication("library")
  2633. } else if (e.data.tools && e.data.tools == "17") {
  2634. U.MD.D.I.openApplication("stuLibrary")
  2635. } else if (e.data.tools && e.data.tools == "18") {
  2636. U.MD.D.I.openApplication("train")
  2637. } else if (e.data.tools && e.data.tools == "21") {
  2638. U.MD.D.I.openApplication("program")
  2639. } else if (e.data.tools && e.data.tools == "22") {
  2640. U.MD.D.I.openApplication("AIprogram2")
  2641. } else if (e.data.tools && e.data.tools == "23") {
  2642. U.MD.D.I.openApplication("Pythonprogram")
  2643. } else if (e.data.tools && e.data.tools == "24") {
  2644. U.MD.D.I.openApplication("AIprogram")
  2645. } else if (e.data.tools && e.data.tools == "25") {
  2646. U.MD.D.I.openApplication("sys")
  2647. } else if (e.data.tools && e.data.tools == "26") {
  2648. // U.MD.D.I.openApplication("courseDesign")
  2649. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2650. } else if (e.data.tools && e.data.tools == "31") {
  2651. U.MD.D.I.openApplication("netWorkPanel")
  2652. } else if (e.data.tools && e.data.tools == "32") {
  2653. U.MD.D.I.openApplication("codeEdit")
  2654. } else if (e.data.tools && e.data.tools == "57") {
  2655. U.MD.D.I.openApplication("CocoPi")
  2656. } else if (e.data.tools && e.data.tools == "63") {
  2657. U.MD.D.I.openApplication("Wood")
  2658. } else if (e.data.tools && e.data.tools == "58") {
  2659. U.MD.D.I.openApplication("car")
  2660. } else if (e.data.tools && e.data.tools == "59") {
  2661. U.MD.D.I.openApplication("lineSearch")
  2662. } else if (e.data.tools && e.data.tools == "60") {
  2663. U.MD.D.I.openApplication("deepLearning")
  2664. } else if (e.data.tools && e.data.tools == "61") {
  2665. U.MD.D.I.openApplication("allHistory")
  2666. } else if (e.data.tools && e.data.tools == "28") {
  2667. U.MD.D.I.openApplication("translation")
  2668. } else if (e.data.tools && e.data.tools == "37") {
  2669. U.MD.D.I.openApplication("mohe")
  2670. } else if (e.data.tools && e.data.tools == "38") {
  2671. U.MD.D.I.openApplication("24game")
  2672. } else if (e.data.tools && e.data.tools == "39") {
  2673. U.MD.D.I.openApplication("GeoGebra")
  2674. } else if (e.data.tools && e.data.tools == "43") {
  2675. U.MD.D.I.openApplication("studentEvaluate")
  2676. } else if (e.data.tools && e.data.tools == "44") {
  2677. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2678. } else if (e.data.tools && e.data.tools == "46") {
  2679. U.MD.D.I.openApplication("project")
  2680. } else if (e.data.tools && e.data.tools == "1s") {
  2681. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2682. } else if (e.data.tools && e.data.tools == "3s") {
  2683. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2684. } else if (e.data.tools && e.data.tools == "6s") {
  2685. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2686. } else if (e.data.tools && e.data.tools == "1studio") {
  2687. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2688. } else if (e.data.tools && e.data.tools == "3studio") {
  2689. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2690. } else if (e.data.tools && e.data.tools == "6studio") {
  2691. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2692. } else if (e.data.tools && e.data.tools == "3y") {
  2693. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2694. } else if (e.data.tools && e.data.tools == "1y") {
  2695. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2696. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2697. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2698. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2699. U.MD.D.I.openApplication("AIAnalyse")
  2700. } else if (e.data.tools && e.data.tools == "1teacher") {
  2701. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2702. } else if (e.data.tools && e.data.tools == "3teacher") {
  2703. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2704. } else if (e.data.tools && e.data.tools == "7teacher") {
  2705. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2706. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2707. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2708. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2709. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2710. } else if (e.data.tools && e.data.tools == "1E") {
  2711. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2712. } else if (e.data.tools && e.data.tools == "3E") {
  2713. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2714. } else if (e.data.tools && e.data.tools == "57y") {
  2715. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2716. } else if (e.data.tools && e.data.tools == "57u") {
  2717. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2718. } else if (e.data.tools && e.data.tools == "57teacher") {
  2719. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2720. } else if (e.data.tools && e.data.tools == "64") {
  2721. U.MD.D.I.openApplication("AIChat")
  2722. } else if (e.data.tools && e.data.tools == "66") {
  2723. U.MD.D.I.openApplication("formulaEdi")
  2724. } else if (e.data.tools && e.data.tools == "67") {
  2725. U.MD.D.I.openApplication("molStr")
  2726. } else if (e.data.tools && e.data.tools == "68") {
  2727. U.MD.D.I.openApplication("timeAxis")
  2728. } else if (e.data.tools && e.data.tools == "openCourse") {
  2729. let _data = {
  2730. typea: e.data.typea || '',
  2731. typeb: e.data.typeb || '',
  2732. typed: e.data.typed || '',
  2733. }
  2734. U.MD.D.I.openInApplication("index", _data)
  2735. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2736. let _data = {
  2737. classid: e.data.classid || '',
  2738. }
  2739. U.MD.D.I.openInApplication("dataClass", _data)
  2740. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2741. let _data = {
  2742. cid: e.data.cid || '',
  2743. gid: e.data.gid || '',
  2744. }
  2745. U.MD.D.I.openInApplication("opencCscl", _data)
  2746. }
  2747. });
  2748. U.MD.D.I.selectUser = function() {
  2749. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid
  2750. if (res.value[0].length > 0) {
  2751. US.userInfo = res.value[0][0];
  2752. $(".userName")[0].innerHTML = US.userInfo.username;
  2753. }
  2754. }, [], { "type": "GET", "withCredentials": true });
  2755. }
  2756. U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
  2757. var _userinfo = US.userInfo, //登录用户信息
  2758. _userid = US.userInfo.userid, //登录用户id
  2759. _oid = _userinfo.organizeid,
  2760. _type = US.userInfo.type,
  2761. _org = US.userInfo.org,
  2762. _role = US.userInfo.role,
  2763. _classId = US.userInfo.classid;
  2764. if (_type == 4) {
  2765. tType = 4
  2766. }
  2767. switch (str) {
  2768. case "studyDetailNT": //无终端模式
  2769. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2770. setTimeout(() => {
  2771. U.MD.U.L.login();
  2772. }, 2000);
  2773. } else {
  2774. _formdiv = new U.UF.UI.form(
  2775. "课程详情",
  2776. $$("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 }), {
  2777. "id": "studyDetailNT",
  2778. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2779. "onresize": function() {}
  2780. }, {
  2781. closecallback: function() {}
  2782. }, { "style": { "height": "36px" } }).form; //创建窗体
  2783. _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); } }
  2784. break;
  2785. }
  2786. case "studyDetail":
  2787. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2788. setTimeout(() => {
  2789. U.MD.U.L.login();
  2790. }, 2000);
  2791. } else {
  2792. _formdiv = new U.UF.UI.form(
  2793. "课程详情",
  2794. $$("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 }), {
  2795. "id": "studyDetail",
  2796. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2797. "onresize": function() {}
  2798. }, {
  2799. closecallback: function() {}
  2800. }, { "style": { "height": "36px" } }).form; //创建窗体
  2801. _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); } }
  2802. break;
  2803. }
  2804. case "studyDetailS":
  2805. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2806. setTimeout(() => {
  2807. U.MD.U.L.login();
  2808. }, 2000);
  2809. } else {
  2810. _formdiv = new U.UF.UI.form(
  2811. "项目详情",
  2812. $$("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 }), {
  2813. "id": "studyDetailS",
  2814. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2815. "onresize": function() {}
  2816. }, {
  2817. closecallback: function() {}
  2818. }, { "style": { "height": "36px" } }).form; //创建窗体
  2819. _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); } }
  2820. break;
  2821. }
  2822. case "studyDetailStudio":
  2823. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2824. setTimeout(() => {
  2825. U.MD.U.L.login();
  2826. }, 2000);
  2827. } else {
  2828. _formdiv = new U.UF.UI.form(
  2829. "工作详情",
  2830. $$("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 }), {
  2831. "id": "studyDetailStudio",
  2832. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2833. "onresize": function() {}
  2834. }, {
  2835. closecallback: function() {}
  2836. }, { "style": { "height": "36px" } }).form; //创建窗体
  2837. _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); } }
  2838. break;
  2839. }
  2840. case "studyDetailS5":
  2841. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2842. setTimeout(() => {
  2843. U.MD.U.L.login();
  2844. }, 2000);
  2845. } else {
  2846. _formdiv = new U.UF.UI.form(
  2847. "项目详情",
  2848. $$("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 }), {
  2849. "id": "studyDetailS",
  2850. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2851. "onresize": function() {}
  2852. }, {
  2853. closecallback: function() {}
  2854. }, { "style": { "height": "36px" } }).form; //创建窗体
  2855. _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); } }
  2856. break;
  2857. }
  2858. case "studyDetailGM":
  2859. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2860. setTimeout(() => {
  2861. U.MD.U.L.login();
  2862. }, 2000);
  2863. } else {
  2864. _formdiv = new U.UF.UI.form(
  2865. "课程详情",
  2866. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2867. "id": "studyDetail",
  2868. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2869. "onresize": function() {}
  2870. }, {
  2871. closecallback: function() {}
  2872. }, { "style": { "height": "36px" } }).form; //创建窗体
  2873. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2874. break;
  2875. }
  2876. case "hanUrl":
  2877. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2878. setTimeout(() => {
  2879. U.MD.U.L.login();
  2880. }, 2000);
  2881. } else {
  2882. _formdiv = new U.UF.UI.form(
  2883. "汉字宫",
  2884. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//school.hanzigon.cn/?appid=734714090237947#/material/video?grade_id=62&lesson_code=621&id=2432" }), {
  2885. "id": "hanUrl",
  2886. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2887. "onresize": function() {}
  2888. }, {
  2889. closecallback: function() {}
  2890. }, { "style": { "height": "36px" } }).form; //创建窗体
  2891. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2892. break;
  2893. }
  2894. case "index":
  2895. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2896. setTimeout(() => {
  2897. U.MD.U.L.login();
  2898. }, 2000);
  2899. } else {
  2900. _formdiv = new U.UF.UI.form(
  2901. "Course Library",
  2902. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=2" + "&typea=" + data.typea + "&typeb=" + data.typeb + "&typed=" + data.typed }), {
  2903. "id": "study",
  2904. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2905. "onresize": function() {}
  2906. }, {
  2907. closecallback: function() {}
  2908. }, { "style": { "height": "36px" } }).form; //创建窗体
  2909. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2910. break;
  2911. }
  2912. case "dataClass":
  2913. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2914. setTimeout(() => {
  2915. U.MD.U.L.login();
  2916. }, 2000);
  2917. } else {
  2918. _formdiv = new U.UF.UI.form(
  2919. "数据报告",
  2920. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&cid=" + _classId + "&checkid=" + data.classid }), {
  2921. "id": "dataClass",
  2922. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2923. "onresize": function() {}
  2924. }, {
  2925. closecallback: function() {}
  2926. }, { "style": { "height": "36px" } }).form; //创建窗体
  2927. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "数据报告", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2928. break;
  2929. }
  2930. case "opencCscl":
  2931. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2932. setTimeout(() => {
  2933. U.MD.U.L.login();
  2934. }, 2000);
  2935. } else {
  2936. _formdiv = new U.UF.UI.form(
  2937. "CocoNote",
  2938. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.com?cid=" + data.cid + "&gid=" + data.gid }), {
  2939. "id": "futureClass",
  2940. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2941. "onresize": function() {}
  2942. }, {
  2943. closecallback: function() { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  2944. }, { "style": { "height": "36px" } }).form; //创建窗体
  2945. _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); } }
  2946. break;
  2947. }
  2948. }
  2949. }
  2950. U.MD.D.I.openApplication = function(str, obj, info) {
  2951. obj = obj || {};
  2952. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2953. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2954. _userinfo = US.userInfo, //登录用户信息
  2955. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2956. _oid = obj.organizeid || _userinfo.organizeid,
  2957. _type = US.userInfo.type,
  2958. _org = US.userInfo.org,
  2959. _role = US.userInfo.role,
  2960. _classId = US.userInfo.classid,
  2961. _TscreenType = 1
  2962. _screenType = 2,
  2963. _SscreenType = 3;
  2964. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2965. return;
  2966. }
  2967. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2968. switch (str) {
  2969. case "studnetProject": //好友打开
  2970. _formdiv = new U.UF.UI.form(
  2971. "我的项目",
  2972. $$("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 }), {
  2973. "id": "studnetProject",
  2974. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2975. "onresize": function() {}
  2976. }, {
  2977. closecallback: function() {}
  2978. }, { "style": { "height": "36px" } }).form; //创建窗体
  2979. _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); } }
  2980. break;
  2981. case "studentEvaluate": //好友打开
  2982. _formdiv = new U.UF.UI.form(
  2983. "我的评价",
  2984. $$("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 }), {
  2985. "id": "studentEvaluate",
  2986. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2987. "onresize": function() {}
  2988. }, {
  2989. closecallback: function() {}
  2990. }, { "style": { "height": "36px" } }).form; //创建窗体
  2991. _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); } }
  2992. break;
  2993. case "my":
  2994. _formdiv = new U.UF.UI.form(
  2995. "我的资料",
  2996. $$("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 }), {
  2997. "id": "my",
  2998. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2999. "onresize": function() {}
  3000. }, {
  3001. closecallback: function() {}
  3002. }, { "style": { "height": "36px" } }).form; //创建窗体
  3003. _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); } }
  3004. break;
  3005. case "program":
  3006. _formdiv = new U.UF.UI.form(
  3007. "编程平台",
  3008. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3009. "id": "program",
  3010. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3011. "onresize": function() {}
  3012. }, {
  3013. closecallback: function() {}
  3014. }, { "style": { "height": "36px" } }).form; //创建窗体
  3015. _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); } }
  3016. break;
  3017. case "library":
  3018. _formdiv = new U.UF.UI.form(
  3019. "素材库",
  3020. $$("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 }), {
  3021. "id": "library",
  3022. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3023. "onresize": function() {}
  3024. }, {
  3025. closecallback: function() {}
  3026. }, { "style": { "height": "36px" } }).form; //创建窗体
  3027. _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); } }
  3028. break;
  3029. case "whiteboard":
  3030. _formdiv = new U.UF.UI.form(
  3031. "电子白板",
  3032. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3033. "id": "whiteboard",
  3034. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3035. "onresize": function() {}
  3036. }, {
  3037. closecallback: function() {}
  3038. }, { "style": { "height": "36px" } }).form; //创建窗体
  3039. _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); } }
  3040. break;
  3041. case "investigation":
  3042. _formdiv = new U.UF.UI.form(
  3043. "问卷调查",
  3044. $$("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 }), {
  3045. "id": "investigation",
  3046. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3047. "onresize": function() {}
  3048. }, {
  3049. closecallback: function() {}
  3050. }, { "style": { "height": "36px" } }).form; //创建窗体
  3051. _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); } }
  3052. break;
  3053. case "note":
  3054. _formdiv = new U.UF.UI.form(
  3055. "便签分类",
  3056. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3057. "id": "note",
  3058. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3059. "onresize": function() {}
  3060. }, {
  3061. closecallback: function() {}
  3062. }, { "style": { "height": "36px" } }).form; //创建窗体
  3063. _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); } }
  3064. break;
  3065. // case "score":
  3066. // _formdiv = new U.UF.UI.form(
  3067. // "量规评分",
  3068. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3069. // "id": "score",
  3070. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3071. // "onresize": function() {}
  3072. // }, {
  3073. // closecallback: function() {}
  3074. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3075. // _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); } }
  3076. // break;
  3077. case "mind":
  3078. _formdiv = new U.UF.UI.form(
  3079. "思维导图",
  3080. $$("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"
  3081. "id": "mind",
  3082. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3083. "onresize": function() {}
  3084. }, {
  3085. closecallback: function() {}
  3086. }, { "style": { "height": "36px" } }).form; //创建窗体
  3087. _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); } }
  3088. break;
  3089. case "doc":
  3090. // U.MD.D.I.isRoom();
  3091. _formdiv = new U.UF.UI.form(
  3092. "协同文档",
  3093. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3094. "id": "doc",
  3095. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3096. "onresize": function() {}
  3097. }, {
  3098. closecallback: function() {}
  3099. }, { "style": { "height": "36px" } }).form; //创建窗体
  3100. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3101. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3102. // })
  3103. _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); } }
  3104. break;
  3105. case "studentStudy":
  3106. _formdiv = new U.UF.UI.form(
  3107. "Course Library",
  3108. $$("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
  3109. "id": "studentStudy",
  3110. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3111. "onresize": function() {}
  3112. }, {
  3113. closecallback: function() {}
  3114. }, { "style": { "height": "36px" } }).form; //创建窗体
  3115. _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); } }
  3116. break;
  3117. case "train": //好友打开
  3118. _formdiv = new U.UF.UI.form(
  3119. "训练平台",
  3120. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3121. "id": "train",
  3122. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3123. "onresize": function() {}
  3124. }, {
  3125. closecallback: function() {}
  3126. }, { "style": { "height": "36px" } }).form; //创建窗体
  3127. _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); } }
  3128. break;
  3129. case "mindNetwork": //好友打开
  3130. _formdiv = new U.UF.UI.form(
  3131. "思维网格",
  3132. $$("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 }), {
  3133. "id": "mindNetwork",
  3134. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3135. "onresize": function() {}
  3136. }, {
  3137. closecallback: function() {}
  3138. }, { "style": { "height": "36px" } }).form; //创建窗体
  3139. _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); } }
  3140. break;
  3141. case "studentClassRoom": //好友打开
  3142. _formdiv = new U.UF.UI.form(
  3143. "实时课堂",
  3144. $$("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 }), {
  3145. "id": "studentClassRoom",
  3146. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3147. "onresize": function() {}
  3148. }, {
  3149. closecallback: function() {}
  3150. }, { "style": { "height": "36px" } }).form; //创建窗体
  3151. _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); } }
  3152. setTimeout(() => {
  3153. U.UF.F.windowZooming(_formdiv)
  3154. }, 0);
  3155. break;
  3156. }
  3157. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3158. switch (str) {
  3159. case "studnetProject": //好友打开
  3160. _formdiv = new U.UF.UI.form(
  3161. "我的项目",
  3162. $$("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 }), {
  3163. "id": "studnetProject",
  3164. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3165. "onresize": function() {}
  3166. }, {
  3167. closecallback: function() {}
  3168. }, { "style": { "height": "36px" } }).form; //创建窗体
  3169. _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); } }
  3170. break;
  3171. case "studentEvaluate": //好友打开
  3172. _formdiv = new U.UF.UI.form(
  3173. "我的评价",
  3174. $$("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 }), {
  3175. "id": "studentEvaluate",
  3176. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3177. "onresize": function() {}
  3178. }, {
  3179. closecallback: function() {}
  3180. }, { "style": { "height": "36px" } }).form; //创建窗体
  3181. _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); } }
  3182. break;
  3183. case "my":
  3184. _formdiv = new U.UF.UI.form(
  3185. "我的资料",
  3186. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3187. "id": "my",
  3188. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3189. "onresize": function() {}
  3190. }, {
  3191. closecallback: function() {}
  3192. }, { "style": { "height": "36px" } }).form; //创建窗体
  3193. _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); } }
  3194. break;
  3195. case "program":
  3196. _formdiv = new U.UF.UI.form(
  3197. "编程平台",
  3198. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3199. "id": "program",
  3200. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3201. "onresize": function() {}
  3202. }, {
  3203. closecallback: function() {}
  3204. }, { "style": { "height": "36px" } }).form; //创建窗体
  3205. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3206. break;
  3207. case "library":
  3208. _formdiv = new U.UF.UI.form(
  3209. "素材库",
  3210. $$("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 }), {
  3211. "id": "library",
  3212. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3213. "onresize": function() {}
  3214. }, {
  3215. closecallback: function() {}
  3216. }, { "style": { "height": "36px" } }).form; //创建窗体
  3217. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3218. break;
  3219. case "whiteboard":
  3220. _formdiv = new U.UF.UI.form(
  3221. "电子白板",
  3222. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3223. "id": "whiteboard",
  3224. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3225. "onresize": function() {}
  3226. }, {
  3227. closecallback: function() {}
  3228. }, { "style": { "height": "36px" } }).form; //创建窗体
  3229. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3230. break;
  3231. case "investigation":
  3232. _formdiv = new U.UF.UI.form(
  3233. "问卷调查",
  3234. $$("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 }), {
  3235. "id": "investigation",
  3236. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3237. "onresize": function() {}
  3238. }, {
  3239. closecallback: function() {}
  3240. }, { "style": { "height": "36px" } }).form; //创建窗体
  3241. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3242. break;
  3243. case "note":
  3244. _formdiv = new U.UF.UI.form(
  3245. "便签分类",
  3246. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3247. "id": "note",
  3248. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3249. "onresize": function() {}
  3250. }, {
  3251. closecallback: function() {}
  3252. }, { "style": { "height": "36px" } }).form; //创建窗体
  3253. _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); } }
  3254. break;
  3255. // case "score":
  3256. // _formdiv = new U.UF.UI.form(
  3257. // "量规评分",
  3258. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3259. // "id": "score",
  3260. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3261. // "onresize": function() {}
  3262. // }, {
  3263. // closecallback: function() {}
  3264. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3265. // _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); } }
  3266. // break;
  3267. case "mind":
  3268. _formdiv = new U.UF.UI.form(
  3269. "思维导图",
  3270. $$("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"
  3271. "id": "mind",
  3272. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3273. "onresize": function() {}
  3274. }, {
  3275. closecallback: function() {}
  3276. }, { "style": { "height": "36px" } }).form; //创建窗体
  3277. _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); } }
  3278. break;
  3279. case "doc":
  3280. // U.MD.D.I.isRoom();
  3281. _formdiv = new U.UF.UI.form(
  3282. "协同文档",
  3283. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3284. "id": "doc",
  3285. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3286. "onresize": function() {}
  3287. }, {
  3288. closecallback: function() {}
  3289. }, { "style": { "height": "36px" } }).form; //创建窗体
  3290. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3291. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3292. })
  3293. _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); } }
  3294. break;
  3295. case "train": //好友打开
  3296. _formdiv = new U.UF.UI.form(
  3297. "训练平台",
  3298. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3299. "id": "train",
  3300. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3301. "onresize": function() {}
  3302. }, {
  3303. closecallback: function() {}
  3304. }, { "style": { "height": "36px" } }).form; //创建窗体
  3305. _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); } }
  3306. break;
  3307. case "studentStudy":
  3308. _formdiv = new U.UF.UI.form(
  3309. "Course Library",
  3310. $$("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
  3311. "id": "studentStudy",
  3312. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3313. "onresize": function() {}
  3314. }, {
  3315. closecallback: function() {}
  3316. }, { "style": { "height": "36px" } }).form; //创建窗体
  3317. _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); } }
  3318. break;
  3319. case "mindNetwork": //好友打开
  3320. _formdiv = new U.UF.UI.form(
  3321. "思维网格",
  3322. $$("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 }), {
  3323. "id": "mindNetwork",
  3324. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3325. "onresize": function() {}
  3326. }, {
  3327. closecallback: function() {}
  3328. }, { "style": { "height": "36px" } }).form; //创建窗体
  3329. _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); } }
  3330. break;
  3331. case "studentClassRoom": //好友打开
  3332. _formdiv = new U.UF.UI.form(
  3333. "实时课堂",
  3334. $$("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 }), {
  3335. "id": "studentClassRoom",
  3336. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3337. "onresize": function() {}
  3338. }, {
  3339. closecallback: function() {}
  3340. }, { "style": { "height": "36px" } }).form; //创建窗体
  3341. _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); } }
  3342. setTimeout(() => {
  3343. U.UF.F.windowZooming(_formdiv)
  3344. }, 0);
  3345. break;
  3346. }
  3347. } else if (_type == 2 && _org == "777559d2-7239-11ee-b98c-005056b86db5") {
  3348. switch (str) {
  3349. case "studentStudy":
  3350. _formdiv = new U.UF.UI.form(
  3351. "Course Library",
  3352. $$("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
  3353. "id": "studentStudy",
  3354. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3355. "onresize": function() {}
  3356. }, {
  3357. closecallback: function() {}
  3358. }, { "style": { "height": "36px" } }).form; //创建窗体
  3359. _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); } }
  3360. break;
  3361. }
  3362. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3363. //选择应用处理
  3364. switch (str) {
  3365. case "project": //好友打开
  3366. _formdiv = new U.UF.UI.form(
  3367. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "Course Planning",
  3368. $$("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 }), {
  3369. "id": "project",
  3370. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3371. "onresize": function() {}
  3372. }, {
  3373. closecallback: function() {}
  3374. }, { "style": { "height": "36px" } }).form; //创建窗体
  3375. _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); } }
  3376. break;
  3377. case "student":
  3378. _formdiv = new U.UF.UI.form(
  3379. "Students Management",
  3380. $$("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 }), {
  3381. "id": "student",
  3382. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3383. "onresize": function() {}
  3384. }, {
  3385. closecallback: function() {}
  3386. }, { "style": { "height": "36px" } }).form; //创建窗体
  3387. _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); } }
  3388. break;
  3389. case "evaluate":
  3390. _formdiv = new U.UF.UI.form(
  3391. "Course Assessment",
  3392. $$("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 }), {
  3393. "id": "evaluate",
  3394. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3395. "onresize": function() {}
  3396. }, {
  3397. closecallback: function() {}
  3398. }, { "style": { "height": "36px" } }).form; //创建窗体
  3399. _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); } }
  3400. break;
  3401. case "sys":
  3402. _formdiv = new U.UF.UI.form(
  3403. "目标管理",
  3404. $$("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 }), {
  3405. "id": "sys",
  3406. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3407. "onresize": function() {}
  3408. }, {
  3409. closecallback: function() {}
  3410. }, { "style": { "height": "36px" } }).form; //创建窗体
  3411. _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); } }
  3412. break;
  3413. case "courseDesign":
  3414. _formdiv = new U.UF.UI.form(
  3415. "项目设计",
  3416. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3417. "id": "courseDesign",
  3418. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3419. "onresize": function() {}
  3420. }, {
  3421. closecallback: function() {}
  3422. }, { "style": { "height": "36px" } }).form; //创建窗体
  3423. _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); } }
  3424. break;
  3425. case "program":
  3426. _formdiv = new U.UF.UI.form(
  3427. "编程平台",
  3428. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3429. "id": "program",
  3430. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3431. "onresize": function() {}
  3432. }, {
  3433. closecallback: function() {}
  3434. }, { "style": { "height": "36px" } }).form; //创建窗体
  3435. _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); } }
  3436. break;
  3437. case "class":
  3438. _formdiv = new U.UF.UI.form(
  3439. "班级管理",
  3440. $$("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 }), {
  3441. "id": "class",
  3442. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3443. "onresize": function() {}
  3444. }, {
  3445. closecallback: function() {}
  3446. }, { "style": { "height": "36px" } }).form; //创建窗体
  3447. _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); } }
  3448. break;
  3449. case "Grade":
  3450. _formdiv = new U.UF.UI.form(
  3451. "年级管理",
  3452. $$("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 }), {
  3453. "id": "Grade",
  3454. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3455. "onresize": function() {}
  3456. }, {
  3457. closecallback: function() {}
  3458. }, { "style": { "height": "36px" } }).form; //创建窗体
  3459. _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); } }
  3460. break;
  3461. case "teacherOffice":
  3462. _formdiv = new U.UF.UI.form(
  3463. "Teachers Management",
  3464. $$("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 }), {
  3465. "id": "teacherOffice",
  3466. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3467. "onresize": function() {}
  3468. }, {
  3469. closecallback: function() {}
  3470. }, { "style": { "height": "36px" } }).form; //创建窗体
  3471. _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); } }
  3472. break;
  3473. case "my":
  3474. _formdiv = new U.UF.UI.form(
  3475. "我的资料",
  3476. $$("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 }), {
  3477. "id": "my",
  3478. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3479. "onresize": function() {}
  3480. }, {
  3481. closecallback: function() {}
  3482. }, { "style": { "height": "36px" } }).form; //创建窗体
  3483. _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); } }
  3484. break;
  3485. case "notice":
  3486. _formdiv = new U.UF.UI.form(
  3487. "通知公告",
  3488. $$("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 }), {
  3489. "id": "notice",
  3490. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3491. "onresize": function() {}
  3492. }, {
  3493. closecallback: function() {}
  3494. }, { "style": { "height": "36px" } }).form; //创建窗体
  3495. _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); } }
  3496. break;
  3497. case "library":
  3498. _formdiv = new U.UF.UI.form(
  3499. "素材库",
  3500. $$("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 }), {
  3501. "id": "library",
  3502. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3503. "onresize": function() {}
  3504. }, {
  3505. closecallback: function() {}
  3506. }, { "style": { "height": "36px" } }).form; //创建窗体
  3507. _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); } }
  3508. break;
  3509. case "whiteboard":
  3510. _formdiv = new U.UF.UI.form(
  3511. "电子白板",
  3512. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3513. "id": "whiteboard",
  3514. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3515. "onresize": function() {}
  3516. }, {
  3517. closecallback: function() {}
  3518. }, { "style": { "height": "36px" } }).form; //创建窗体
  3519. _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); } }
  3520. break;
  3521. case "investigation":
  3522. _formdiv = new U.UF.UI.form(
  3523. "问卷调查",
  3524. $$("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 }), {
  3525. "id": "investigation",
  3526. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3527. "onresize": function() {}
  3528. }, {
  3529. closecallback: function() {}
  3530. }, { "style": { "height": "36px" } }).form; //创建窗体
  3531. _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); } }
  3532. break;
  3533. case "note":
  3534. _formdiv = new U.UF.UI.form(
  3535. "便签分类",
  3536. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3537. "id": "note",
  3538. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3539. "onresize": function() {}
  3540. }, {
  3541. closecallback: function() {}
  3542. }, { "style": { "height": "36px" } }).form; //创建窗体
  3543. _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); } }
  3544. break;
  3545. // case "score":
  3546. // _formdiv = new U.UF.UI.form(
  3547. // "量规评分",
  3548. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3549. // "id": "score",
  3550. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3551. // "onresize": function() {}
  3552. // }, {
  3553. // closecallback: function() {}
  3554. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3555. // _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); } }
  3556. // break;
  3557. case "mind":
  3558. _formdiv = new U.UF.UI.form(
  3559. "思维导图",
  3560. $$("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"
  3561. "id": "mind",
  3562. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3563. "onresize": function() {}
  3564. }, {
  3565. closecallback: function() {}
  3566. }, { "style": { "height": "36px" } }).form; //创建窗体
  3567. _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); } }
  3568. break;
  3569. case "doc":
  3570. // U.MD.D.I.isRoom();
  3571. _formdiv = new U.UF.UI.form(
  3572. "协同文档",
  3573. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3574. "id": "doc",
  3575. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3576. "onresize": function() {}
  3577. }, {
  3578. closecallback: function() {}
  3579. }, { "style": { "height": "36px" } }).form; //创建窗体
  3580. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3581. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3582. })
  3583. _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); } }
  3584. break;
  3585. case "study":
  3586. _formdiv = new U.UF.UI.form(
  3587. "Course Library",
  3588. $$("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
  3589. "id": "study",
  3590. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3591. "onresize": function() {}
  3592. }, {
  3593. closecallback: function() {}
  3594. }, { "style": { "height": "36px" } }).form; //创建窗体
  3595. _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); } }
  3596. break;
  3597. case "mindNetwork": //好友打开
  3598. _formdiv = new U.UF.UI.form(
  3599. "思维网格",
  3600. $$("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 }), {
  3601. "id": "mindNetwork",
  3602. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3603. "onresize": function() {}
  3604. }, {
  3605. closecallback: function() {}
  3606. }, { "style": { "height": "36px" } }).form; //创建窗体
  3607. _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); } }
  3608. break;
  3609. case "train": //好友打开
  3610. _formdiv = new U.UF.UI.form(
  3611. "训练平台",
  3612. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3613. "id": "mindNetwork",
  3614. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3615. "onresize": function() {}
  3616. }, {
  3617. closecallback: function() {}
  3618. }, { "style": { "height": "36px" } }).form; //创建窗体
  3619. _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); } }
  3620. break;
  3621. case "teacherClassRoom": //好友打开
  3622. _formdiv = new U.UF.UI.form(
  3623. "实时课堂",
  3624. $$("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 }), {
  3625. "id": "teacherClassRoom",
  3626. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3627. "onresize": function() {}
  3628. }, {
  3629. closecallback: function() {}
  3630. }, { "style": { "height": "36px" } }).form; //创建窗体
  3631. _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); } }
  3632. setTimeout(() => {
  3633. U.UF.F.windowZooming(_formdiv)
  3634. }, 0);
  3635. break;
  3636. }
  3637. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3638. switch (str) {
  3639. case "project": //好友打开
  3640. _formdiv = new U.UF.UI.form(
  3641. "Course Planning",
  3642. $$("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 }), {
  3643. "id": "project",
  3644. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3645. "onresize": function() {}
  3646. }, {
  3647. closecallback: function() {}
  3648. }, { "style": { "height": "36px" } }).form; //创建窗体
  3649. _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); } }
  3650. break;
  3651. case "evaluate":
  3652. _formdiv = new U.UF.UI.form(
  3653. "Course Assessment",
  3654. $$("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 }), {
  3655. "id": "evaluate",
  3656. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3657. "onresize": function() {}
  3658. }, {
  3659. closecallback: function() {}
  3660. }, { "style": { "height": "36px" } }).form; //创建窗体
  3661. _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); } }
  3662. break;
  3663. case "notice":
  3664. _formdiv = new U.UF.UI.form(
  3665. "通知公告",
  3666. $$("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 }), {
  3667. "id": "notice",
  3668. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3669. "onresize": function() {}
  3670. }, {
  3671. closecallback: function() {}
  3672. }, { "style": { "height": "36px" } }).form; //创建窗体
  3673. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3674. break;
  3675. case "stuLibrary":
  3676. _formdiv = new U.UF.UI.form(
  3677. "学习资料",
  3678. $$("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 }), {
  3679. "id": "stuLibrary",
  3680. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3681. "onresize": function() {}
  3682. }, {
  3683. closecallback: function() {}
  3684. }, { "style": { "height": "36px" } }).form; //创建窗体
  3685. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3686. break;
  3687. case "program":
  3688. _formdiv = new U.UF.UI.form(
  3689. "编程平台",
  3690. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3691. "id": "program",
  3692. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3693. "onresize": function() {}
  3694. }, {
  3695. closecallback: function() {}
  3696. }, { "style": { "height": "36px" } }).form; //创建窗体
  3697. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3698. break;
  3699. case "whiteboard":
  3700. _formdiv = new U.UF.UI.form(
  3701. "电子白板",
  3702. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3703. "id": "whiteboard",
  3704. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3705. "onresize": function() {}
  3706. }, {
  3707. closecallback: function() {}
  3708. }, { "style": { "height": "36px" } }).form; //创建窗体
  3709. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3710. break;
  3711. case "investigation":
  3712. _formdiv = new U.UF.UI.form(
  3713. "问卷调查",
  3714. $$("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 }), {
  3715. "id": "investigation",
  3716. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3717. "onresize": function() {}
  3718. }, {
  3719. closecallback: function() {}
  3720. }, { "style": { "height": "36px" } }).form; //创建窗体
  3721. _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); } }
  3722. break;
  3723. case "mind":
  3724. _formdiv = new U.UF.UI.form(
  3725. "思维导图",
  3726. $$("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"
  3727. "id": "mind",
  3728. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3729. "onresize": function() {}
  3730. }, {
  3731. closecallback: function() {}
  3732. }, { "style": { "height": "36px" } }).form; //创建窗体
  3733. _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); } }
  3734. break;
  3735. case "doc":
  3736. // U.MD.D.I.isRoom();
  3737. _formdiv = new U.UF.UI.form(
  3738. "协同文档",
  3739. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3740. "id": "doc",
  3741. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3742. "onresize": function() {}
  3743. }, {
  3744. closecallback: function() {}
  3745. }, { "style": { "height": "36px" } }).form; //创建窗体
  3746. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3747. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3748. })
  3749. _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); } }
  3750. break;
  3751. case "study":
  3752. _formdiv = new U.UF.UI.form(
  3753. "Course Library",
  3754. $$("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
  3755. "id": "study",
  3756. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3757. "onresize": function() {}
  3758. }, {
  3759. closecallback: function() {}
  3760. }, { "style": { "height": "36px" } }).form; //创建窗体
  3761. _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); } }
  3762. break;
  3763. case "mindNetwork": //好友打开
  3764. _formdiv = new U.UF.UI.form(
  3765. "思维网格",
  3766. $$("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 }), {
  3767. "id": "mindNetwork",
  3768. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3769. "onresize": function() {}
  3770. }, {
  3771. closecallback: function() {}
  3772. }, { "style": { "height": "36px" } }).form; //创建窗体
  3773. _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); } }
  3774. break;
  3775. case "train": //好友打开
  3776. _formdiv = new U.UF.UI.form(
  3777. "训练平台",
  3778. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3779. "id": "train",
  3780. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3781. "onresize": function() {}
  3782. }, {
  3783. closecallback: function() {}
  3784. }, { "style": { "height": "36px" } }).form; //创建窗体
  3785. _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); } }
  3786. break;
  3787. case "sys":
  3788. _formdiv = new U.UF.UI.form(
  3789. "目标管理",
  3790. $$("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 }), {
  3791. "id": "sys",
  3792. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3793. "onresize": function() {}
  3794. }, {
  3795. closecallback: function() {}
  3796. }, { "style": { "height": "36px" } }).form; //创建窗体
  3797. _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); } }
  3798. break;
  3799. case "courseDesign":
  3800. _formdiv = new U.UF.UI.form(
  3801. "项目设计",
  3802. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3803. "id": "courseDesign",
  3804. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3805. "onresize": function() {}
  3806. }, {
  3807. closecallback: function() {}
  3808. }, { "style": { "height": "36px" } }).form; //创建窗体
  3809. _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); } }
  3810. break;
  3811. }
  3812. } else if ((_type == 1 || _type == 4) && _org == "777559d2-7239-11ee-b98c-005056b86db5") {
  3813. switch (str) {
  3814. case "project": //好友打开
  3815. _formdiv = new U.UF.UI.form(
  3816. "Course Planning",
  3817. $$("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 }), {
  3818. "id": "project",
  3819. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3820. "onresize": function() {}
  3821. }, {
  3822. closecallback: function() {}
  3823. }, { "style": { "height": "36px" } }).form; //创建窗体
  3824. _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); } }
  3825. break;
  3826. case "study":
  3827. _formdiv = new U.UF.UI.form(
  3828. "Course Library",
  3829. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
  3830. "id": "study",
  3831. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3832. "onresize": function() {}
  3833. }, {
  3834. closecallback: function() {}
  3835. }, { "style": { "height": "36px" } }).form; //创建窗体
  3836. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3837. break;
  3838. case "student":
  3839. _formdiv = new U.UF.UI.form(
  3840. "Students Management",
  3841. $$("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 }), {
  3842. "id": "student",
  3843. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3844. "onresize": function() {}
  3845. }, {
  3846. closecallback: function() {}
  3847. }, { "style": { "height": "36px" } }).form; //创建窗体
  3848. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "Students Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3849. break;
  3850. case "evaluate":
  3851. _formdiv = new U.UF.UI.form(
  3852. "Course Assessment",
  3853. $$("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 }), {
  3854. "id": "evaluate",
  3855. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3856. "onresize": function() {}
  3857. }, {
  3858. closecallback: function() {}
  3859. }, { "style": { "height": "36px" } }).form; //创建窗体
  3860. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "Course Assessment", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3861. break;
  3862. case "studentCourseS": //Project Planning 老师
  3863. _formdiv = new U.UF.UI.form(
  3864. "Project Planning",
  3865. $$("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 }), {
  3866. "id": "studentCourseS",
  3867. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3868. "onresize": function() {}
  3869. }, {
  3870. closecallback: function() {}
  3871. }, { "style": { "height": "36px" } }).form; //创建窗体
  3872. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3873. break;
  3874. case "studentIndex": //Project Library
  3875. _formdiv = new U.UF.UI.form(
  3876. "Project Library",
  3877. $$("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 }), {
  3878. "id": "studentIndex",
  3879. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3880. "onresize": function() {}
  3881. }, {
  3882. closecallback: function() {}
  3883. }, { "style": { "height": "36px" } }).form; //创建窗体
  3884. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "Project Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3885. break;
  3886. case "teacherOffice":
  3887. _formdiv = new U.UF.UI.form(
  3888. "Teachers Management",
  3889. $$("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 }), {
  3890. "id": "teacherOffice",
  3891. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3892. "onresize": function() {}
  3893. }, {
  3894. closecallback: function() {}
  3895. }, { "style": { "height": "36px" } }).form; //创建窗体
  3896. _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); } }
  3897. break;
  3898. case "learnAna": //好友打开
  3899. _formdiv = new U.UF.UI.form(
  3900. "Learning Analytics",
  3901. $$("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 }), {
  3902. "id": "learnAna",
  3903. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3904. "onresize": function() {}
  3905. }, {
  3906. closecallback: function() {}
  3907. }, { "style": { "height": "36px" } }).form; //创建窗体
  3908. _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); } }
  3909. break;
  3910. case "AIprogram2": //AI Chat
  3911. _formdiv = new U.UF.UI.form(
  3912. "AI Chat",
  3913. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3914. "id": "AIprogram2",
  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/AIprogram2.png)" }, "name": "AI Chat", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3921. break;
  3922. }
  3923. } else if (!_type) {
  3924. switch (str) {
  3925. case "my":
  3926. _formdiv = new U.UF.UI.form(
  3927. "我的资料",
  3928. $$("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 }), {
  3929. "id": "my",
  3930. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3931. "onresize": function() {}
  3932. }, {
  3933. closecallback: function() {}
  3934. }, { "style": { "height": "36px" } }).form; //创建窗体
  3935. _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); } }
  3936. break;
  3937. }
  3938. }
  3939. switch (str) {
  3940. // AIprogram2 AI Chat aihub.cocorobo.cn
  3941. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3942. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3943. case "formulaEdi": //公式编辑
  3944. _formdiv = new U.UF.UI.form(
  3945. "公式编辑",
  3946. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3947. "id": "formulaEdi",
  3948. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3949. "onresize": function() {}
  3950. }, {
  3951. closecallback: function() {}
  3952. }, { "style": { "height": "36px" } }).form; //创建窗体
  3953. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3954. break;
  3955. case "molStr": //分子结构
  3956. _formdiv = new U.UF.UI.form(
  3957. "分子结构",
  3958. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3959. "id": "molStr",
  3960. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3961. "onresize": function() {}
  3962. }, {
  3963. closecallback: function() {}
  3964. }, { "style": { "height": "36px" } }).form; //创建窗体
  3965. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3966. break;
  3967. case "timeAxis": //时间轴
  3968. _formdiv = new U.UF.UI.form(
  3969. "时间轴",
  3970. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3971. "id": "timeAxis",
  3972. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3973. "onresize": function() {}
  3974. }, {
  3975. closecallback: function() {}
  3976. }, { "style": { "height": "36px" } }).form; //创建窗体
  3977. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3978. break;
  3979. case "AIprogram2": //AI Chat
  3980. _formdiv = new U.UF.UI.form(
  3981. "AI Chat",
  3982. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3983. "id": "AIprogram2",
  3984. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3985. "onresize": function() {}
  3986. }, {
  3987. closecallback: function() {}
  3988. }, { "style": { "height": "36px" } }).form; //创建窗体
  3989. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Chat", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3990. break;
  3991. case "Pythonprogram": //python编程
  3992. _formdiv = new U.UF.UI.form(
  3993. "Python编程",
  3994. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3995. "id": "Pythonprogram",
  3996. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3997. "onresize": function() {}
  3998. }, {
  3999. closecallback: function() {}
  4000. }, { "style": { "height": "36px" } }).form; //创建窗体
  4001. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Pythonprogram.png)" }, "name": "Python编程", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4002. break;
  4003. case "AIprogram": //ai编程
  4004. _formdiv = new U.UF.UI.form(
  4005. "AI编程平台",
  4006. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4007. "id": "AIprogram",
  4008. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4009. "onresize": function() {}
  4010. }, {
  4011. closecallback: function() {}
  4012. }, { "style": { "height": "36px" } }).form; //创建窗体
  4013. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram.png)" }, "name": "AI编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4014. break;
  4015. case "CocoPi": //CocoPi
  4016. _formdiv = new U.UF.UI.form(
  4017. "CocoPi",
  4018. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pi.cocorobo.cn" }), {
  4019. "id": "CocoPi",
  4020. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4021. "onresize": function() {}
  4022. }, {
  4023. closecallback: function() {}
  4024. }, { "style": { "height": "36px" } }).form; //创建窗体
  4025. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4026. break;
  4027. case "Wood": //Wood
  4028. _formdiv = new U.UF.UI.form(
  4029. "海龟编程",
  4030. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://wood.codemao.cn/" }), {
  4031. "id": "Wood",
  4032. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4033. "onresize": function() {}
  4034. }, {
  4035. closecallback: function() {}
  4036. }, { "style": { "height": "36px" } }).form; //创建窗体
  4037. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Wood.png)" }, "name": "海龟编程", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4038. break;
  4039. case "car": //模拟驾驶
  4040. _formdiv = new U.UF.UI.form(
  4041. "模拟驾驶",
  4042. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://slowroads.io/" }), {
  4043. "id": "car",
  4044. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4045. "onresize": function() {}
  4046. }, {
  4047. closecallback: function() {}
  4048. }, { "style": { "height": "36px" } }).form; //创建窗体
  4049. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/car.png)" }, "name": "模拟驾驶", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4050. break;
  4051. case "lineSearch": //路径搜索
  4052. _formdiv = new U.UF.UI.form(
  4053. "路径搜索",
  4054. $$("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/" }), {
  4055. "id": "lineSearch",
  4056. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4057. "onresize": function() {}
  4058. }, {
  4059. closecallback: function() {}
  4060. }, { "style": { "height": "36px" } }).form; //创建窗体
  4061. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/lineSearch.png)" }, "name": "路径搜索", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4062. break;
  4063. case "deepLearning": //深度学习
  4064. _formdiv = new U.UF.UI.form(
  4065. "深度学习",
  4066. $$("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/#" }), {
  4067. "id": "deepLearning",
  4068. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4069. "onresize": function() {}
  4070. }, {
  4071. closecallback: function() {}
  4072. }, { "style": { "height": "36px" } }).form; //创建窗体
  4073. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/deepLearning.png)" }, "name": "深度学习", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4074. break;
  4075. case "allHistory": //深度学习
  4076. _formdiv = new U.UF.UI.form(
  4077. "全历史",
  4078. $$("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/" }), {
  4079. "id": "allHistory",
  4080. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4081. "onresize": function() {}
  4082. }, {
  4083. closecallback: function() {}
  4084. }, { "style": { "height": "36px" } }).form; //创建窗体
  4085. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/allHistory.png)" }, "name": "全历史", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4086. break;
  4087. case "chatPDF": //ai编程
  4088. _formdiv = new U.UF.UI.form(
  4089. "chatPDF",
  4090. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4091. "id": "chatPDF",
  4092. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4093. "onresize": function() {}
  4094. }, {
  4095. closecallback: function() {}
  4096. }, { "style": { "height": "36px" } }).form; //创建窗体
  4097. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4098. break;
  4099. case "resources": //国家教育
  4100. _formdiv = new U.UF.UI.form(
  4101. "国家教育",
  4102. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4103. "id": "resources",
  4104. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4105. "onresize": function() {}
  4106. }, {
  4107. closecallback: function() {}
  4108. }, { "style": { "height": "36px" } }).form; //创建窗体
  4109. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/resources.png)" }, "name": "国家教育", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4110. break;
  4111. case "codeEdit": //源码编辑
  4112. _formdiv = new U.UF.UI.form(
  4113. "源码编辑",
  4114. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4115. "id": "codeEdit",
  4116. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4117. "onresize": function() {}
  4118. }, {
  4119. closecallback: function() {}
  4120. }, { "style": { "height": "36px" } }).form; //创建窗体
  4121. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/code.png)" }, "name": "源码编辑", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4122. break; //
  4123. case "MindMap": //MindMap
  4124. _formdiv = new U.UF.UI.form(
  4125. "MindMap",
  4126. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4127. "id": "MindMap",
  4128. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4129. "onresize": function() {}
  4130. }, {
  4131. closecallback: function() {}
  4132. }, { "style": { "height": "36px" } }).form; //创建窗体
  4133. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/MIndMap.png)" }, "name": "MindMap", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4134. break;
  4135. case "netWorkPanel": //netWorkPanel
  4136. _formdiv = new U.UF.UI.form(
  4137. "netWorkPanel",
  4138. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4139. "id": "netWorkPanel",
  4140. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4141. "onresize": function() {}
  4142. }, {
  4143. closecallback: function() {}
  4144. }, { "style": { "height": "36px" } }).form; //创建窗体
  4145. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4146. break;
  4147. case "GeoGebra": //GeoGebra
  4148. _formdiv = new U.UF.UI.form(
  4149. "GeoGebra",
  4150. $$("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" }), {
  4151. "id": "GeoGebra",
  4152. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4153. "onresize": function() {}
  4154. }, {
  4155. closecallback: function() {}
  4156. }, { "style": { "height": "36px" } }).form; //创建窗体
  4157. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4158. break;
  4159. case "translation": //翻译
  4160. _formdiv = new U.UF.UI.form(
  4161. "翻译",
  4162. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4163. "id": "translation",
  4164. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4165. "onresize": function() {}
  4166. }, {
  4167. closecallback: function() {}
  4168. }, { "style": { "height": "36px" } }).form; //创建窗体
  4169. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4170. break;
  4171. case "mohe": //魔盒
  4172. _formdiv = new U.UF.UI.form(
  4173. "魔盒识字",
  4174. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4175. "id": "mohe",
  4176. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4177. "onresize": function() {}
  4178. }, {
  4179. closecallback: function() {}
  4180. }, { "style": { "height": "36px" } }).form; //创建窗体
  4181. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4182. break;
  4183. case "24game": //24点
  4184. _formdiv = new U.UF.UI.form(
  4185. "24点",
  4186. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4187. "id": "24game",
  4188. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4189. "onresize": function() {}
  4190. }, {
  4191. closecallback: function() {}
  4192. }, { "style": { "height": "36px" } }).form; //创建窗体
  4193. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4194. break;
  4195. case "case":
  4196. _formdiv = new U.UF.UI.form(
  4197. "课程进展",
  4198. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesign?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4199. "id": "case",
  4200. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4201. "onresize": function() {}
  4202. }, {
  4203. closecallback: function() {}
  4204. }, { "style": { "height": "36px" } }).form; //创建窗体
  4205. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4206. break;
  4207. case "snf":
  4208. _formdiv = new U.UF.UI.form(
  4209. "赛诺梵",
  4210. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//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" }), {
  4211. "id": "snf",
  4212. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4213. "onresize": function() {}
  4214. }, {
  4215. closecallback: function() {}
  4216. }, { "style": { "height": "36px" } }).form; //创建窗体
  4217. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4218. break;
  4219. case "hanFamily":
  4220. _formdiv = new U.UF.UI.form(
  4221. "汉字家族",
  4222. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4223. "id": "hanFamily",
  4224. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4225. "onresize": function() {}
  4226. }, {
  4227. closecallback: function() {}
  4228. }, { "style": { "height": "36px" } }).form; //创建窗体
  4229. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4230. break;
  4231. case "hanClassics":
  4232. _formdiv = new U.UF.UI.form(
  4233. "国学经典",
  4234. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4235. "id": "hanClassics",
  4236. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4237. "onresize": function() {}
  4238. }, {
  4239. closecallback: function() {}
  4240. }, { "style": { "height": "36px" } }).form; //创建窗体
  4241. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4242. break;
  4243. case "hanTraining":
  4244. _formdiv = new U.UF.UI.form(
  4245. "笔画训练",
  4246. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4247. "id": "hanTraining",
  4248. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4249. "onresize": function() {}
  4250. }, {
  4251. closecallback: function() {}
  4252. }, { "style": { "height": "36px" } }).form; //创建窗体
  4253. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4254. break;
  4255. case "hanClass":
  4256. _formdiv = new U.UF.UI.form(
  4257. "书法课堂",
  4258. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4259. "id": "hanClass",
  4260. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4261. "onresize": function() {}
  4262. }, {
  4263. closecallback: function() {}
  4264. }, { "style": { "height": "36px" } }).form; //创建窗体
  4265. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4266. break;
  4267. case "han":
  4268. _formdiv = new U.UF.UI.form(
  4269. "汉字宫",
  4270. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4271. "id": "han",
  4272. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4273. "onresize": function() {}
  4274. }, {
  4275. closecallback: function() {}
  4276. }, { "style": { "height": "36px" } }).form; //创建窗体
  4277. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4278. break;
  4279. case "projectGM": //Course Planning
  4280. _formdiv = new U.UF.UI.form(
  4281. "Course Planning",
  4282. $$("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 }), {
  4283. "id": "projectGM",
  4284. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4285. "onresize": function() {}
  4286. }, {
  4287. closecallback: function() {}
  4288. }, { "style": { "height": "36px" } }).form; //创建窗体
  4289. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "Course Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4290. break;
  4291. case "studyGM": //Course Library
  4292. _formdiv = new U.UF.UI.form(
  4293. "Course Library",
  4294. $$("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
  4295. "id": "study",
  4296. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4297. "onresize": function() {}
  4298. }, {
  4299. closecallback: function() {}
  4300. }, { "style": { "height": "36px" } }).form; //创建窗体
  4301. _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); } }
  4302. break;
  4303. // studentGM
  4304. case "studentGM": //Students Management
  4305. _formdiv = new U.UF.UI.form(
  4306. "Students Management",
  4307. $$("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 }), {
  4308. "id": "studentGM",
  4309. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4310. "onresize": function() {}
  4311. }, {
  4312. closecallback: function() {}
  4313. }, { "style": { "height": "36px" } }).form; //创建窗体
  4314. _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); } }
  4315. break;
  4316. case "evaluateGM": //Course Assessment
  4317. _formdiv = new U.UF.UI.form(
  4318. "Course Assessment",
  4319. $$("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 }), {
  4320. "id": "evaluateGM",
  4321. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4322. "onresize": function() {}
  4323. }, {
  4324. closecallback: function() {}
  4325. }, { "style": { "height": "36px" } }).form; //创建窗体
  4326. _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); } }
  4327. break;
  4328. // classGM
  4329. case "classGM": //班级管理
  4330. _formdiv = new U.UF.UI.form(
  4331. "班级管理",
  4332. $$("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 }), {
  4333. "id": "classGM",
  4334. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4335. "onresize": function() {}
  4336. }, {
  4337. closecallback: function() {}
  4338. }, { "style": { "height": "36px" } }).form; //创建窗体
  4339. _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); } }
  4340. break;
  4341. // dataGM
  4342. case "dataGM":
  4343. _formdiv = new U.UF.UI.form(
  4344. "我的资料",
  4345. $$("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 }), {
  4346. "id": "dataGM",
  4347. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4348. "onresize": function() {}
  4349. }, {
  4350. closecallback: function() {}
  4351. }, { "style": { "height": "36px" } }).form; //创建窗体
  4352. _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); } }
  4353. break;
  4354. // caseGM
  4355. case "caseGM": //课程进展
  4356. _formdiv = new U.UF.UI.form(
  4357. "课程进展",
  4358. $$("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 }), {
  4359. "id": "caseGM",
  4360. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4361. "onresize": function() {}
  4362. }, {
  4363. closecallback: function() {}
  4364. }, { "style": { "height": "36px" } }).form; //创建窗体
  4365. _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); } }
  4366. break;
  4367. // meterialGM
  4368. case "meterialGM": //素材库
  4369. _formdiv = new U.UF.UI.form(
  4370. "素材库",
  4371. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/libraryGM?userid=" + _userid + "&org=" + _org }), {
  4372. "id": "meterialGM",
  4373. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4374. "onresize": function() {}
  4375. }, {
  4376. closecallback: function() {}
  4377. }, { "style": { "height": "36px" } }).form; //创建窗体
  4378. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/material.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4379. break;
  4380. // evaluateSGM
  4381. case "evaluateSGM": //我的评价
  4382. _formdiv = new U.UF.UI.form(
  4383. "我的评价",
  4384. $$("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 }), {
  4385. "id": "evaluateSGM",
  4386. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4387. "onresize": function() {}
  4388. }, {
  4389. closecallback: function() {}
  4390. }, { "style": { "height": "36px" } }).form; //创建窗体
  4391. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4392. break;
  4393. case "jupyter": //jupyter
  4394. _formdiv = new U.UF.UI.form(
  4395. "jupyter",
  4396. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4397. "id": "jupyter",
  4398. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4399. "onresize": function() {}
  4400. }, {
  4401. closecallback: function() {}
  4402. }, { "style": { "height": "36px" } }).form; //创建窗体
  4403. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/jupyter.png)" }, "name": "jupyter", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4404. break;
  4405. case "number": //数字实验室
  4406. _formdiv = new U.UF.UI.form(
  4407. "数字实验室",
  4408. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4409. "id": "number",
  4410. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4411. "onresize": function() {}
  4412. }, {
  4413. closecallback: function() {}
  4414. }, { "style": { "height": "36px" } }).form; //创建窗体
  4415. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/number.png)" }, "name": "数字实验室", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4416. break;
  4417. case "studentCourse": //Project Planning 学生
  4418. _formdiv = new U.UF.UI.form(
  4419. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "Project Planning",
  4420. $$("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 }), {
  4421. "id": "studentCourse",
  4422. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4423. "onresize": function() {}
  4424. }, {
  4425. closecallback: function() {}
  4426. }, { "style": { "height": "36px" } }).form; //创建窗体
  4427. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4428. break;
  4429. case "studentCourseS": //Project Planning 老师
  4430. _formdiv = new U.UF.UI.form(
  4431. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "Project Planning",
  4432. $$("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 }), {
  4433. "id": "studentCourseS",
  4434. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4435. "onresize": function() {}
  4436. }, {
  4437. closecallback: function() {}
  4438. }, { "style": { "height": "36px" } }).form; //创建窗体
  4439. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4440. break;
  4441. case "studentIndex": //Project Library
  4442. _formdiv = new U.UF.UI.form(
  4443. "Project Library",
  4444. $$("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 }), {
  4445. "id": "studentIndex",
  4446. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4447. "onresize": function() {}
  4448. }, {
  4449. closecallback: function() {}
  4450. }, { "style": { "height": "36px" } }).form; //创建窗体
  4451. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4452. break;
  4453. case "CaseDesignS":
  4454. _formdiv = new U.UF.UI.form(
  4455. "项目进展",
  4456. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4457. "id": "case",
  4458. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4459. "onresize": function() {}
  4460. }, {
  4461. closecallback: function() {}
  4462. }, { "style": { "height": "36px" } }).form; //创建窗体
  4463. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/CaseDesignS.png)" }, "name": "项目进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4464. break;
  4465. case "tcStudent": //腾讯学生管理
  4466. _formdiv = new U.UF.UI.form(
  4467. "Students Management",
  4468. $$("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 }), {
  4469. "id": "tcStudent",
  4470. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4471. "onresize": function() {}
  4472. }, {
  4473. closecallback: function() {}
  4474. }, { "style": { "height": "36px" } }).form; //创建窗体
  4475. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "Students Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4476. break;
  4477. case "tcSchool": //腾讯学校管理
  4478. _formdiv = new U.UF.UI.form(
  4479. "学校管理",
  4480. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcSchool?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4481. "id": "tcSchool",
  4482. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4483. "onresize": function() {}
  4484. }, {
  4485. closecallback: function() {}
  4486. }, { "style": { "height": "36px" } }).form; //创建窗体
  4487. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/school.png)" }, "name": "学校管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4488. break;
  4489. case "tcTeacher": //腾讯学校管理
  4490. _formdiv = new U.UF.UI.form(
  4491. "教师管理",
  4492. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcTeacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4493. "id": "tcTeacher",
  4494. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4495. "onresize": function() {}
  4496. }, {
  4497. closecallback: function() {}
  4498. }, { "style": { "height": "36px" } }).form; //创建窗体
  4499. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacher.png)" }, "name": "教师管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4500. break;
  4501. case "tcData": //腾讯我的资料
  4502. _formdiv = new U.UF.UI.form(
  4503. "我的资料",
  4504. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcData?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4505. "id": "tcData",
  4506. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4507. "onresize": function() {}
  4508. }, {
  4509. closecallback: function() {}
  4510. }, { "style": { "height": "36px" } }).form; //创建窗体
  4511. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4512. break;
  4513. case "tcNotice": //腾讯消息通知
  4514. _formdiv = new U.UF.UI.form(
  4515. "消息通知",
  4516. $$("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 }), {
  4517. "id": "tcNotice",
  4518. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4519. "onresize": function() {}
  4520. }, {
  4521. closecallback: function() {}
  4522. }, { "style": { "height": "36px" } }).form; //创建窗体
  4523. _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); } }
  4524. break;
  4525. case "myReport": //好友打开
  4526. _formdiv = new U.UF.UI.form(
  4527. "我的评价",
  4528. $$("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 }), {
  4529. "id": "myReport",
  4530. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4531. "onresize": function() {}
  4532. }, {
  4533. closecallback: function() {}
  4534. }, { "style": { "height": "36px" } }).form; //创建窗体
  4535. _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); } }
  4536. break;
  4537. case "learnAna": //好友打开
  4538. _formdiv = new U.UF.UI.form(
  4539. "Learning Analytics",
  4540. $$("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 }), {
  4541. "id": "learnAna",
  4542. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4543. "onresize": function() {}
  4544. }, {
  4545. closecallback: function() {}
  4546. }, { "style": { "height": "36px" } }).form; //创建窗体
  4547. _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); } }
  4548. break;
  4549. case "AIChat": //AI共创
  4550. _formdiv = new U.UF.UI.form(
  4551. "AI共创",
  4552. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4553. "id": "AIChat",
  4554. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4555. "onresize": function() {}
  4556. }, {
  4557. istop: true,
  4558. closecallback: function() { $("#aichat_icon").remove(); },
  4559. narrowcallback: function() {
  4560. if (!$("#aichat_icon")[0]) {
  4561. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function() { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4562. }
  4563. },
  4564. }, { "style": { "height": "36px" } }).form; //创建窗体
  4565. _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); } }
  4566. break;
  4567. case "classroomObservation":
  4568. _formdiv = new U.UF.UI.form(
  4569. "课堂观察",
  4570. $$("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": "//pbl.cocorobo.cn/pbl-teacher-table/dist/#/classroomObservation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4571. "id": "classroomObservation",
  4572. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4573. "onresize": function () { }
  4574. }, {
  4575. closecallback: function () { }
  4576. }, { "style": { "height": "36px" } }).form; //创建窗体
  4577. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classroomObservation.png)" }, "name": "课堂观察", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4578. $("iframe", _formdiv)[0].contentWindow.location.reload()
  4579. break;
  4580. case "ainew": //AI共创
  4581. _formdiv = new U.UF.UI.form(
  4582. "AI协同",
  4583. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4584. "id": "ainew",
  4585. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4586. "onresize": function() {}
  4587. }, {
  4588. closecallback: function() {}
  4589. }, { "style": { "height": "36px" } }).form; //创建窗体
  4590. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI协同", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4591. break;
  4592. case "futureClass": //AI共创
  4593. _formdiv = new U.UF.UI.form(
  4594. "CocoNote",
  4595. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), { //https://cscl.cocorobo.com
  4596. "id": "synergyCourse",
  4597. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4598. "onresize": function() {}
  4599. }, {
  4600. closecallback: function() {
  4601. $("iframe", _formdiv)[0].contentWindow.loginout();
  4602. }
  4603. }, { "style": { "height": "36px" } }).form; //创建窗体
  4604. _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); } }
  4605. break;
  4606. case "aiagent": //ai agent
  4607. _formdiv = new U.UF.UI.form(
  4608. "AI Agent",
  4609. $$("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" }), {
  4610. "id": "AIAgent",
  4611. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4612. "onresize": function() {}
  4613. }, {
  4614. closecallback: function() {}
  4615. }, { "style": { "height": "36px" } }).form; //创建窗体
  4616. _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); } }
  4617. break;
  4618. case "aigpt": //gpt4
  4619. _formdiv = new U.UF.UI.form(
  4620. "AI Chat+",
  4621. $$("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 }), {
  4622. "id": "aigpt",
  4623. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4624. "onresize": function () { }
  4625. }, {
  4626. closecallback: function () {
  4627. $("iframe", _formdiv)[0].contentWindow.app.log_out();
  4628. }
  4629. }, { "style": { "height": "36px" } }).form; //创建窗体
  4630. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigpt.png)" }, "name": "AI Chat+", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4631. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4632. $("iframe", _formdiv)[0].contentWindow.app.log_in();
  4633. })
  4634. break;
  4635. case "dataBoard": //数据看板
  4636. _formdiv = new U.UF.UI.form(
  4637. "数据看板",
  4638. $$("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 }), {
  4639. "id": "dataBoard",
  4640. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4641. "onresize": function() {}
  4642. }, {
  4643. closecallback: function() {}
  4644. }, { "style": { "height": "36px" } }).form; //创建窗体
  4645. _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); } }
  4646. break;
  4647. case "dataBoardSies": //数据融合
  4648. _formdiv = new U.UF.UI.form(
  4649. "数据融合",
  4650. $$("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 }), {
  4651. "id": "dataBoardSies",
  4652. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4653. "onresize": function() {}
  4654. }, {
  4655. closecallback: function() {}
  4656. }, { "style": { "height": "36px" } }).form; //创建窗体
  4657. _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); } }
  4658. break;
  4659. case "dataBoardNew": //数据看板
  4660. _formdiv = new U.UF.UI.form(
  4661. "综合看板",
  4662. $$("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 }), {
  4663. "id": "dataBoardNew",
  4664. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4665. "onresize": function() {}
  4666. }, {
  4667. closecallback: function() {}
  4668. }, { "style": { "height": "36px" } }).form; //创建窗体
  4669. _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); } }
  4670. break;
  4671. case "AIAnalyse": //AI共创
  4672. _formdiv = new U.UF.UI.form(
  4673. "AI分析",
  4674. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4675. "id": "AIAnalyse",
  4676. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4677. "onresize": function() {}
  4678. }, {
  4679. closecallback: function() {}
  4680. }, { "style": { "height": "36px" } }).form; //创建窗体
  4681. _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); } }
  4682. break;
  4683. case "studioCourse": //AI共创
  4684. _formdiv = new U.UF.UI.form(
  4685. "工作管理",
  4686. $$("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 }), {
  4687. "id": "studioCourse",
  4688. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4689. "onresize": function() {}
  4690. }, {
  4691. closecallback: function() {}
  4692. }, { "style": { "height": "36px" } }).form; //创建窗体
  4693. _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); } }
  4694. break;
  4695. case "studioIndex": //AI共创
  4696. _formdiv = new U.UF.UI.form(
  4697. "工作中心",
  4698. $$("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 }), {
  4699. "id": "studioIndex",
  4700. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4701. "onresize": function() {}
  4702. }, {
  4703. closecallback: function() {}
  4704. }, { "style": { "height": "36px" } }).form; //创建窗体
  4705. _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); } }
  4706. break;
  4707. case "source":
  4708. _formdiv = new U.UF.UI.form(
  4709. "教学资源",
  4710. $$("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 }), {
  4711. "id": "source",
  4712. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4713. "onresize": function() {}
  4714. }, {
  4715. closecallback: function() {}
  4716. }, { "style": { "height": "36px" } }).form; //创建窗体
  4717. _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); } }
  4718. break;
  4719. case "testTeacher":
  4720. _formdiv = new U.UF.UI.form(
  4721. "评测管理",
  4722. $$("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 }), {
  4723. "id": "testTeacher",
  4724. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4725. "onresize": function() {}
  4726. }, {
  4727. closecallback: function() {}
  4728. }, { "style": { "height": "36px" } }).form; //创建窗体
  4729. _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); } }
  4730. break;
  4731. case "testStudent":
  4732. _formdiv = new U.UF.UI.form(
  4733. "评测中心",
  4734. $$("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 }), {
  4735. "id": "testStudent",
  4736. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4737. "onresize": function() {}
  4738. }, {
  4739. closecallback: function() {}
  4740. }, { "style": { "height": "36px" } }).form; //创建窗体
  4741. _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); } }
  4742. break;
  4743. case "testTeacherSies":
  4744. _formdiv = new U.UF.UI.form(
  4745. "Teacher Management",
  4746. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/test?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4747. "id": "testTeacherSies",
  4748. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4749. "onresize": function () { }
  4750. }, {
  4751. closecallback: function () { }
  4752. }, { "style": { "height": "36px" } }).form; //创建窗体
  4753. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "Teacher Management", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4754. break;
  4755. case "testStudentSies":
  4756. _formdiv = new U.UF.UI.form(
  4757. "Teacher Center",
  4758. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testPerson?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  4759. "id": "testStudentSies",
  4760. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4761. "onresize": function () { }
  4762. }, {
  4763. closecallback: function () { }
  4764. }, { "style": { "height": "36px" } }).form; //创建窗体
  4765. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "Teacher Center", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4766. break;
  4767.         case "appStore":
  4768.                 _formdiv = new U.UF.UI.form(
  4769.                     "CocoFlow",
  4770.                     $$("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": "//cloud.cocorobo.com/aigpt/#/WorkSpace?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4771.                     "id": "appStore",
  4772.                     "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4773.                     "onresize": function () { }
  4774.                 }, {
  4775.                     closecallback: function () { }
  4776.                 }, { "style": { "height": "36px" } }).form; //创建窗体
  4777.                 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/appStore.png)" }, "name": "CocoFlow", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4778.                 break;
  4779. }
  4780. //U.MD.D.I.openClick(str);
  4781. //如果有任务栏信息
  4782. if (_taskbar) {
  4783. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4784. }
  4785. }
  4786. // U.MD.D.I.openClick = function(str){
  4787. // var click = '';
  4788. // switch(str){
  4789. // case 'friend':
  4790. // click = '我的好友';
  4791. // break;
  4792. // case 'domain':
  4793. // click = '域名管理';
  4794. // break;
  4795. // case 'disk':
  4796. // click = '我的云盘';
  4797. // break;
  4798. // case 'word':
  4799. // click = 'Word';
  4800. // break;
  4801. // case 'excel':
  4802. // click = 'Execl';
  4803. // break;
  4804. // case 'txt':
  4805. // click = '文本文件';
  4806. // break;
  4807. // case 'lookupFriend':
  4808. // click = '查找好友';
  4809. // break;
  4810. // case 'ftp':
  4811. // click = 'FTP';
  4812. // break;
  4813. // case 'group':
  4814. // click = '群组';
  4815. // break;
  4816. // case 'set':
  4817. // click = '我的设置';
  4818. // break;
  4819. // case 'systemSet':
  4820. // click = '系统设置';
  4821. // break;
  4822. // case 'boomYun':
  4823. // click = '互联办公';
  4824. // break;
  4825. // case 'xz':
  4826. // click = '云端下载';
  4827. // break;
  4828. // case 'client':
  4829. // click = '有思浏览器';
  4830. // break;
  4831. // case 'backEndProgramming':
  4832. // click = '在线后台编程';
  4833. // break;
  4834. // case 'frontEndProgramming':
  4835. // click = '在线前端编程';
  4836. // break;
  4837. // default: break;
  4838. // }
  4839. // if(U.MD.D.I.Ip && click){
  4840. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4841. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4842. // })
  4843. // }
  4844. // }
  4845. /**
  4846. *函数作用:ajax简易函数,使用post格式
  4847. *@param url {data} 后台地址
  4848. *@param data {data} 参数json
  4849. *@param fn {data} 回调函数
  4850. *
  4851. */
  4852. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4853. // var xhr = new XMLHttpRequest();
  4854. // xhr.open("GET",url,true);
  4855. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4856. // xhr.onreadystatechange = function(){
  4857. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4858. // fn.call(this,xhr.responseText);
  4859. // }
  4860. // };
  4861. // xhr.send();
  4862. // }
  4863. /*判断是否是内网IP*/
  4864. // U.MD.D.I.isInnerIPFn = function(str){
  4865. // var curPageUrl = str;
  4866. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4867. // curPageUrl =curPageUrl.replace(reg1,'');
  4868. // // console.log('curPageUrl-1 '+curPageUrl);
  4869. // var reg2 = /\:+/g;//替换冒号为一点
  4870. // curPageUrl =curPageUrl.replace(reg2,'.');
  4871. // // console.log('curPageUrl-2 '+curPageUrl);
  4872. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4873. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4874. // if(curPageUrl[2] != '16'){
  4875. // return ipAddress;
  4876. // }else{
  4877. // return false;
  4878. // }
  4879. // }
  4880. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4881. // //compatibility for firefox and chrome
  4882. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4883. // var pc = new myPeerConnection({
  4884. // iceServers: []
  4885. // }),
  4886. // noop = function() {},
  4887. // localIPs = {},
  4888. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4889. // key;
  4890. // function iterateIP(ip) {
  4891. // if (!localIPs[ip]) onNewIP(ip);
  4892. // localIPs[ip] = true;
  4893. // }
  4894. // //create a bogus data channel
  4895. // pc.createDataChannel("");
  4896. // // create offer and set local description
  4897. // pc.createOffer().then(function(sdp) {
  4898. // sdp.sdp.split('\n').forEach(function(line) {
  4899. // if (line.indexOf('candidate') < 0) return;
  4900. // line.match(ipRegex).forEach(iterateIP);
  4901. // });
  4902. // pc.setLocalDescription(sdp, noop, noop);
  4903. // }).catch(function(reason) {
  4904. // // An error occurred, so handle the failure to connect
  4905. // });
  4906. // //sten for candidate events
  4907. // pc.onicecandidate = function(ice) {
  4908. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4909. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4910. // };
  4911. // }
  4912. // U.MD.D.I.getUserIpBool = function(callback){
  4913. // U.MD.D.I.getUserIP(function(ip){
  4914. // alert("Got IP! :" + ip);
  4915. // });
  4916. //}
  4917. //#endregion
  4918. U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
  4919. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4920. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4921. _userinfo = US.userInfo, //登录用户信息
  4922. _userid = US.userInfo.userid //登录用户id
  4923. let _iframe;
  4924. let _cid = cid,
  4925. _stage = stage,
  4926. _task = task,
  4927. _tool = tool;
  4928. var _jie = $$("div", {
  4929. "style": {
  4930. "position": "absolute",
  4931. "bottom": "50px",
  4932. "right": "50px",
  4933. "zIndex": "9999",
  4934. "backgroundColor": "#2268bc",
  4935. "color": "#fff",
  4936. "padding": "12px 20px",
  4937. "cursor": "pointer",
  4938. "borderRadius": "4px",
  4939. },
  4940. "innerHTML": "提交作业"
  4941. })
  4942. let aTool = ''
  4943. let _loading = document.createElement('div')
  4944. _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;"
  4945. // _loading.id = "";
  4946. let _lchild = document.createElement('div')
  4947. let _limg = document.createElement('img')
  4948. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4949. _limg.style = "width: 26px;margin-right: 10px;"
  4950. _lchild.appendChild(_limg)
  4951. let _lspan = document.createElement('span')
  4952. _lspan.innerHTML = "上传中..."
  4953. _lchild.appendChild(_lspan)
  4954. _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%);"
  4955. _loading.appendChild(_lchild)
  4956. var _box = $$('div', {
  4957. "style": {
  4958. "position": "relative",
  4959. "width": "100%",
  4960. "height": "100%",
  4961. },
  4962. })
  4963. _box.appendChild(_loading)
  4964. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4965. switch (str) {
  4966. case "whiteboard":
  4967. aTool = 1;
  4968. _iframe = $$("iframe", {
  4969. "frameborder": "no",
  4970. "border": "0",
  4971. "scrolling ": "no",
  4972. "style": {
  4973. "cssText": "border:0;width:100%;height:100%"
  4974. },
  4975. "src": "https://iwb.cocorobo.cn/"
  4976. })
  4977. _box.appendChild(_iframe);
  4978. _box.appendChild(_jie);
  4979. _formdiv = new U.UF.UI.form(
  4980. "电子白板",
  4981. _box, {
  4982. "id": "whiteboard" + cid + stage + task + tool,
  4983. "style": {
  4984. "width": "90%",
  4985. "height": "90%",
  4986. "overflow": 'hidden'
  4987. },
  4988. "onresize": function() {}
  4989. }, {
  4990. closecallback: function() {}
  4991. }, {
  4992. "style": {
  4993. "height": "36px"
  4994. }
  4995. }).form; //创建窗体
  4996. _taskbar = {
  4997. "id": str + _formdiv.id,
  4998. "style": {
  4999. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5000. },
  5001. "name": "电子白板",
  5002. "forms": _formdiv,
  5003. "click": function() {
  5004. U.MD.D.I.openApplication(str, obj, info);
  5005. }
  5006. }
  5007. break;
  5008. case "mind":
  5009. aTool = 3;
  5010. _iframe = $$("iframe", {
  5011. "frameborder": "no",
  5012. "border": "0",
  5013. "scrolling ": "no",
  5014. "style": {
  5015. "cssText": "border:0;width:100%;height:100%"
  5016. },
  5017. "src": "/kityminder-editor/dist/index.html"
  5018. })
  5019. _box.appendChild(_iframe);
  5020. _box.appendChild(_jie);
  5021. _formdiv = new U.UF.UI.form(
  5022. "思维导图",
  5023. _box, { //"/jsmind/example/demo.html"
  5024. "id": "mind" + cid + stage + task + tool,
  5025. "style": {
  5026. "width": "90%",
  5027. "height": "90%",
  5028. "overflow": 'hidden'
  5029. },
  5030. "onresize": function() {}
  5031. }, {
  5032. closecallback: function() {}
  5033. }, {
  5034. "style": {
  5035. "height": "36px"
  5036. }
  5037. }).form; //创建窗体
  5038. _taskbar = {
  5039. "id": str + _formdiv.id,
  5040. "style": {
  5041. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5042. },
  5043. "name": "思维导图",
  5044. "forms": _formdiv,
  5045. "click": function() {
  5046. U.MD.D.I.openApplication(str, obj, info);
  5047. }
  5048. }
  5049. break;
  5050. case "MindMap":
  5051. aTool = 3;
  5052. _iframe = $$("iframe", {
  5053. "frameborder": "no",
  5054. "border": "0",
  5055. "scrolling ": "no",
  5056. "style": {
  5057. "cssText": "border:0;width:100%;height:100%"
  5058. },
  5059. "src": "//cloud.cocorobo.cn/mind/"
  5060. })
  5061. _box.appendChild(_iframe);
  5062. _box.appendChild(_jie);
  5063. _formdiv = new U.UF.UI.form(
  5064. "思维导图",
  5065. _box, { //"/jsmind/example/demo.html"
  5066. "id": "mind" + cid + stage + task + tool,
  5067. "style": {
  5068. "width": "90%",
  5069. "height": "90%",
  5070. "overflow": 'hidden'
  5071. },
  5072. "onresize": function() {}
  5073. }, {
  5074. closecallback: function() {}
  5075. }, {
  5076. "style": {
  5077. "height": "36px"
  5078. }
  5079. }).form; //创建窗体
  5080. _taskbar = {
  5081. "id": str + _formdiv.id,
  5082. "style": {
  5083. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5084. },
  5085. "name": "思维导图",
  5086. "forms": _formdiv,
  5087. "click": function() {
  5088. U.MD.D.I.openApplication(str, obj, info);
  5089. }
  5090. }
  5091. break;
  5092. case "doc":
  5093. aTool = 6;
  5094. _iframe = $$("iframe", {
  5095. "frameborder": "no",
  5096. "border": "0",
  5097. "scrolling ": "no",
  5098. "style": {
  5099. "cssText": "border:0;width:100%;height:100%"
  5100. },
  5101. "src": "/Office/Word/WordEditArea.htm"
  5102. })
  5103. _box.appendChild(_iframe);
  5104. _box.appendChild(_jie);
  5105. _formdiv = new U.UF.UI.form(
  5106. "协同文档",
  5107. _box, {
  5108. "id": "doc" + cid + stage + task + tool,
  5109. "style": {
  5110. "width": "90%",
  5111. "height": "90%",
  5112. "overflow": 'hidden'
  5113. },
  5114. "onresize": function() {}
  5115. }, {
  5116. closecallback: function() {}
  5117. }, {
  5118. "style": {
  5119. "height": "36px"
  5120. }
  5121. }).form; //创建窗体
  5122. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5123. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5124. })
  5125. _taskbar = {
  5126. "id": str + _formdiv.id,
  5127. "style": {
  5128. "backgroundImage": "url(/img/icon/doc.png)"
  5129. },
  5130. "name": "协同文档",
  5131. "forms": _formdiv,
  5132. "click": function() {
  5133. U.MD.D.I.openApplication(str, obj, info);
  5134. }
  5135. }
  5136. break;
  5137. case "mindNetwork": //好友打开
  5138. aTool = 7;
  5139. _iframe = $$("iframe", {
  5140. "webkitallowfullscreen": "",
  5141. "mozallowfullscreen": "",
  5142. "allowfullscreen": "",
  5143. "frameborder": "no",
  5144. "border": "0",
  5145. "scrolling ": "no",
  5146. "style": {
  5147. "cssText": "border:0; width:100%; height:100%;"
  5148. },
  5149. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5150. })
  5151. _box.appendChild(_iframe);
  5152. _box.appendChild(_jie);
  5153. _formdiv = new U.UF.UI.form(
  5154. "思维网格",
  5155. _box, {
  5156. "id": "mindNetwork" + cid + stage + task + tool,
  5157. "style": {
  5158. "width": "90%",
  5159. "height": "90%",
  5160. "overflow": 'hidden'
  5161. },
  5162. "onresize": function() {}
  5163. }, {
  5164. closecallback: function() {}
  5165. }, {
  5166. "style": {
  5167. "height": "36px"
  5168. }
  5169. }).form; //创建窗体
  5170. _taskbar = {
  5171. "id": str + _formdiv.id,
  5172. "style": {
  5173. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5174. },
  5175. "name": "思维网格",
  5176. "forms": _formdiv,
  5177. "click": function() {
  5178. U.MD.D.I.openApplication(str, obj, info);
  5179. }
  5180. }
  5181. break;
  5182. case "courseDesign":
  5183. _iframe = $$("iframe", {
  5184. "webkitallowfullscreen": "",
  5185. "mozallowfullscreen": "",
  5186. "allowfullscreen": "",
  5187. "frameborder": "no",
  5188. "border": "0",
  5189. "scrolling ": "no",
  5190. "style": {
  5191. "cssText": "border:0; width:100%; height:100%;"
  5192. },
  5193. "src": "/course-design-vue"
  5194. })
  5195. _box.appendChild(_iframe);
  5196. _box.appendChild(_jie);
  5197. _formdiv = new U.UF.UI.form(
  5198. "项目设计",
  5199. _box, {
  5200. "id": "courseDesign" + cid + stage + task + tool,
  5201. "style": {
  5202. "width": "90%",
  5203. "height": "90%",
  5204. "overflow": 'hidden'
  5205. },
  5206. "onresize": function() {}
  5207. }, {
  5208. closecallback: function() {}
  5209. }, {
  5210. "style": {
  5211. "height": "36px"
  5212. }
  5213. }).form; //创建窗体
  5214. _taskbar = {
  5215. "id": str + _formdiv.id,
  5216. "style": {
  5217. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5218. },
  5219. "name": "项目设计",
  5220. "forms": _formdiv,
  5221. "click": function() {
  5222. U.MD.D.I.openApplication(str, obj, info);
  5223. }
  5224. }
  5225. break;
  5226. }
  5227. const script1 = document.createElement("script");
  5228. script1.type = "text/javascript";
  5229. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5230. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5231. const script2 = document.createElement("script");
  5232. script2.type = "text/javascript";
  5233. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5234. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5235. const script3 = document.createElement("script");
  5236. script3.type = "text/javascript";
  5237. script3.charset = "UTF-8";
  5238. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5239. const script4 = document.createElement("script");
  5240. script4.type = "text/javascript";
  5241. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5242. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5243. if (_iframe) {
  5244. if (str == 'doc') {
  5245. _iframe = _formdiv.querySelector('iframe')
  5246. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5247. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5248. _iframe.contentWindow.document.body.appendChild(script1);
  5249. _iframe.contentWindow.document.body.appendChild(script2);
  5250. // _iframe.contentWindow.document.body.appendChild(script3);
  5251. _iframe.contentWindow.document.body.appendChild(script4);
  5252. })
  5253. if (onloadListener) {
  5254. _iframe.contentDocument.location.reload()
  5255. } else {
  5256. _iframe.contentDocument.location.reload()
  5257. }
  5258. } else if (str == 'courseDesign') {
  5259. U.UF.DL.iframeLoad(_iframe, function() {
  5260. // _iframe.contentWindow.U.MD.O.W.load();
  5261. // _iframe.contentWindow.document.body.appendChild(script1);
  5262. _iframe.contentWindow.document.body.appendChild(script2);
  5263. _iframe.contentWindow.document.body.appendChild(script4);
  5264. })
  5265. } else if (str == 'mind') {
  5266. _iframe = _formdiv.querySelector('iframe')
  5267. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5268. //
  5269. _iframe.contentWindow.document.body.appendChild(script1);
  5270. _iframe.contentWindow.document.body.appendChild(script2);
  5271. _iframe.contentWindow.document.body.appendChild(script4);
  5272. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5273. })
  5274. if (onloadListener) {
  5275. _iframe.contentDocument.location.reload()
  5276. } else {
  5277. _iframe.contentDocument.location.reload()
  5278. }
  5279. } else if (str == 'whiteboard') {
  5280. _iframe = _formdiv.querySelector('iframe')
  5281. let onloadListener = _iframe.onload = () => {
  5282. _iframe.contentWindow.document.body.appendChild(script1);
  5283. _iframe.contentWindow.document.body.appendChild(script2);
  5284. _iframe.contentWindow.document.body.appendChild(script4);
  5285. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5286. };
  5287. if (onloadListener) {
  5288. _iframe.contentDocument.location.reload()
  5289. } else {
  5290. _iframe.contentDocument.location.reload()
  5291. }
  5292. } else {
  5293. _iframe.onload = () => {
  5294. _iframe.contentWindow.document.body.appendChild(script1);
  5295. _iframe.contentWindow.document.body.appendChild(script2);
  5296. // _iframe.contentWindow.document.body.appendChild(script3);
  5297. _iframe.contentWindow.document.body.appendChild(script4);
  5298. };
  5299. }
  5300. _jie.onclick = async() => {
  5301. let text = ''
  5302. if (aTool == 1) {
  5303. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5304. } else if (aTool == 6) {
  5305. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5306. } else if (aTool == 3) {
  5307. text = await U.MD.D.I.getEditorContent(_iframe);
  5308. }
  5309. _loading.style.display = 'flex'
  5310. console.log(_loading);
  5311. var _ajs = _iframe.contentWindow.document.createElement("script");
  5312. _ajs.type = "text/javascript";
  5313. _ajs.innerHTML =
  5314. // 'console.log(' + _loading + ');\n' +
  5315. 'var _js = document.createElement("script");\n' +
  5316. '_js.type="text/javascript";\n' +
  5317. '_js.charset="UTF-8";\n' +
  5318. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5319. "_js.onload = function(){\n" +
  5320. ' var a = document.getElementsByTagName("img")\n' +
  5321. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5322. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5323. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5324. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5325. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5326. "beforeUpload_shishi(file," +
  5327. "'" +
  5328. _userid +
  5329. "'" +
  5330. ", " +
  5331. "'" +
  5332. _cid +
  5333. "'" +
  5334. ", " +
  5335. "'" +
  5336. _stage +
  5337. "'" +
  5338. ", " +
  5339. "'" +
  5340. _task +
  5341. "'" +
  5342. ", " +
  5343. "'" +
  5344. _tool +
  5345. "'" +
  5346. ", " +
  5347. "'" +
  5348. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5349. "'" +
  5350. ", " +
  5351. "'" +
  5352. aTool +
  5353. "'" +
  5354. ", " +
  5355. "`" +
  5356. text +
  5357. "`" +
  5358. ")\n" +
  5359. " });\n" +
  5360. "}\n" +
  5361. "document.head.appendChild(_js);\n";
  5362. _iframe.contentWindow.document.head.appendChild(_ajs);
  5363. }
  5364. }
  5365. //U.MD.D.I.openClick(str);
  5366. //如果有任务栏信息
  5367. // if (_taskbar) {
  5368. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5369. // }
  5370. }
  5371. U.MD.D.I.openApplicationJieE = function(str, cid, stage, task, tool) {
  5372. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5373. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5374. _userinfo = US.userInfo, //登录用户信息
  5375. _userid = US.userInfo.userid //登录用户id
  5376. let _iframe;
  5377. let _cid = cid,
  5378. _stage = stage,
  5379. _task = task,
  5380. _tool = tool;
  5381. var _jie = $$("div", {
  5382. "style": {
  5383. "position": "absolute",
  5384. "bottom": "50px",
  5385. "right": "50px",
  5386. "zIndex": "9999",
  5387. "backgroundColor": "#2268bc",
  5388. "color": "#fff",
  5389. "padding": "12px 20px",
  5390. "cursor": "pointer",
  5391. "borderRadius": "4px",
  5392. },
  5393. "innerHTML": "提交作业"
  5394. })
  5395. let aTool = ''
  5396. let _loading = document.createElement('div')
  5397. _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;"
  5398. // _loading.id = "";
  5399. let _lchild = document.createElement('div')
  5400. let _limg = document.createElement('img')
  5401. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5402. _limg.style = "width: 26px;margin-right: 10px;"
  5403. _lchild.appendChild(_limg)
  5404. let _lspan = document.createElement('span')
  5405. _lspan.innerHTML = "上传中..."
  5406. _lchild.appendChild(_lspan)
  5407. _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%);"
  5408. _loading.appendChild(_lchild)
  5409. var _box = $$('div', {
  5410. "style": {
  5411. "position": "relative",
  5412. "width": "100%",
  5413. "height": "100%",
  5414. },
  5415. })
  5416. _box.appendChild(_loading)
  5417. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5418. switch (str) {
  5419. case "whiteboard":
  5420. aTool = 1;
  5421. _iframe = $$("iframe", {
  5422. "frameborder": "no",
  5423. "border": "0",
  5424. "scrolling ": "no",
  5425. "style": {
  5426. "cssText": "border:0;width:100%;height:100%"
  5427. },
  5428. "src": "https://iwb.cocorobo.cn/"
  5429. })
  5430. _box.appendChild(_iframe);
  5431. _box.appendChild(_jie);
  5432. _formdiv = new U.UF.UI.form(
  5433. "电子白板",
  5434. _box, {
  5435. "id": "whiteboard" + cid + stage + task + tool,
  5436. "style": {
  5437. "width": "90%",
  5438. "height": "90%",
  5439. "overflow": 'hidden'
  5440. },
  5441. "onresize": function() {}
  5442. }, {
  5443. closecallback: function() {}
  5444. }, {
  5445. "style": {
  5446. "height": "36px"
  5447. }
  5448. }).form; //创建窗体
  5449. _taskbar = {
  5450. "id": str + _formdiv.id,
  5451. "style": {
  5452. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5453. },
  5454. "name": "电子白板",
  5455. "forms": _formdiv,
  5456. "click": function() {
  5457. U.MD.D.I.openApplication(str, obj, info);
  5458. }
  5459. }
  5460. break;
  5461. case "mind":
  5462. aTool = 3;
  5463. _iframe = $$("iframe", {
  5464. "frameborder": "no",
  5465. "border": "0",
  5466. "scrolling ": "no",
  5467. "style": {
  5468. "cssText": "border:0;width:100%;height:100%"
  5469. },
  5470. "src": "/kityminder-editor/dist/index.html"
  5471. })
  5472. _box.appendChild(_iframe);
  5473. _box.appendChild(_jie);
  5474. _formdiv = new U.UF.UI.form(
  5475. "思维导图",
  5476. _box, { //"/jsmind/example/demo.html"
  5477. "id": "mind" + cid + stage + task + tool,
  5478. "style": {
  5479. "width": "90%",
  5480. "height": "90%",
  5481. "overflow": 'hidden'
  5482. },
  5483. "onresize": function() {}
  5484. }, {
  5485. closecallback: function() {}
  5486. }, {
  5487. "style": {
  5488. "height": "36px"
  5489. }
  5490. }).form; //创建窗体
  5491. _taskbar = {
  5492. "id": str + _formdiv.id,
  5493. "style": {
  5494. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5495. },
  5496. "name": "思维导图",
  5497. "forms": _formdiv,
  5498. "click": function() {
  5499. U.MD.D.I.openApplication(str, obj, info);
  5500. }
  5501. }
  5502. break;
  5503. case "MindMap":
  5504. aTool = 3;
  5505. _iframe = $$("iframe", {
  5506. "frameborder": "no",
  5507. "border": "0",
  5508. "scrolling ": "no",
  5509. "style": {
  5510. "cssText": "border:0;width:100%;height:100%"
  5511. },
  5512. "src": "//cloud.cocorobo.cn/mind/"
  5513. })
  5514. _box.appendChild(_iframe);
  5515. _box.appendChild(_jie);
  5516. _formdiv = new U.UF.UI.form(
  5517. "思维导图",
  5518. _box, { //"/jsmind/example/demo.html"
  5519. "id": "mind" + cid + stage + task + tool,
  5520. "style": {
  5521. "width": "90%",
  5522. "height": "90%",
  5523. "overflow": 'hidden'
  5524. },
  5525. "onresize": function() {}
  5526. }, {
  5527. closecallback: function() {}
  5528. }, {
  5529. "style": {
  5530. "height": "36px"
  5531. }
  5532. }).form; //创建窗体
  5533. _taskbar = {
  5534. "id": str + _formdiv.id,
  5535. "style": {
  5536. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5537. },
  5538. "name": "思维导图",
  5539. "forms": _formdiv,
  5540. "click": function() {
  5541. U.MD.D.I.openApplication(str, obj, info);
  5542. }
  5543. }
  5544. break;
  5545. case "doc":
  5546. aTool = 6;
  5547. _iframe = $$("iframe", {
  5548. "frameborder": "no",
  5549. "border": "0",
  5550. "scrolling ": "no",
  5551. "style": {
  5552. "cssText": "border:0;width:100%;height:100%"
  5553. },
  5554. "src": "/Office/Word/WordEditArea.htm"
  5555. })
  5556. _box.appendChild(_iframe);
  5557. _box.appendChild(_jie);
  5558. _formdiv = new U.UF.UI.form(
  5559. "协同文档",
  5560. _box, {
  5561. "id": "doc" + cid + stage + task + tool,
  5562. "style": {
  5563. "width": "90%",
  5564. "height": "90%",
  5565. "overflow": 'hidden'
  5566. },
  5567. "onresize": function() {}
  5568. }, {
  5569. closecallback: function() {}
  5570. }, {
  5571. "style": {
  5572. "height": "36px"
  5573. }
  5574. }).form; //创建窗体
  5575. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5576. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5577. })
  5578. _taskbar = {
  5579. "id": str + _formdiv.id,
  5580. "style": {
  5581. "backgroundImage": "url(/img/icon/doc.png)"
  5582. },
  5583. "name": "协同文档",
  5584. "forms": _formdiv,
  5585. "click": function() {
  5586. U.MD.D.I.openApplication(str, obj, info);
  5587. }
  5588. }
  5589. break;
  5590. case "mindNetwork": //好友打开
  5591. aTool = 7;
  5592. _iframe = $$("iframe", {
  5593. "webkitallowfullscreen": "",
  5594. "mozallowfullscreen": "",
  5595. "allowfullscreen": "",
  5596. "frameborder": "no",
  5597. "border": "0",
  5598. "scrolling ": "no",
  5599. "style": {
  5600. "cssText": "border:0; width:100%; height:100%;"
  5601. },
  5602. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5603. })
  5604. _box.appendChild(_iframe);
  5605. _box.appendChild(_jie);
  5606. _formdiv = new U.UF.UI.form(
  5607. "思维网格",
  5608. _box, {
  5609. "id": "mindNetwork" + cid + stage + task + tool,
  5610. "style": {
  5611. "width": "90%",
  5612. "height": "90%",
  5613. "overflow": 'hidden'
  5614. },
  5615. "onresize": function() {}
  5616. }, {
  5617. closecallback: function() {}
  5618. }, {
  5619. "style": {
  5620. "height": "36px"
  5621. }
  5622. }).form; //创建窗体
  5623. _taskbar = {
  5624. "id": str + _formdiv.id,
  5625. "style": {
  5626. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5627. },
  5628. "name": "思维网格",
  5629. "forms": _formdiv,
  5630. "click": function() {
  5631. U.MD.D.I.openApplication(str, obj, info);
  5632. }
  5633. }
  5634. break;
  5635. case "courseDesign":
  5636. _iframe = $$("iframe", {
  5637. "webkitallowfullscreen": "",
  5638. "mozallowfullscreen": "",
  5639. "allowfullscreen": "",
  5640. "frameborder": "no",
  5641. "border": "0",
  5642. "scrolling ": "no",
  5643. "style": {
  5644. "cssText": "border:0; width:100%; height:100%;"
  5645. },
  5646. "src": "/course-design-vue"
  5647. })
  5648. _box.appendChild(_iframe);
  5649. _box.appendChild(_jie);
  5650. _formdiv = new U.UF.UI.form(
  5651. "项目设计",
  5652. _box, {
  5653. "id": "courseDesign" + cid + stage + task + tool,
  5654. "style": {
  5655. "width": "90%",
  5656. "height": "90%",
  5657. "overflow": 'hidden'
  5658. },
  5659. "onresize": function() {}
  5660. }, {
  5661. closecallback: function() {}
  5662. }, {
  5663. "style": {
  5664. "height": "36px"
  5665. }
  5666. }).form; //创建窗体
  5667. _taskbar = {
  5668. "id": str + _formdiv.id,
  5669. "style": {
  5670. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5671. },
  5672. "name": "项目设计",
  5673. "forms": _formdiv,
  5674. "click": function() {
  5675. U.MD.D.I.openApplication(str, obj, info);
  5676. }
  5677. }
  5678. break;
  5679. }
  5680. const script1 = document.createElement("script");
  5681. script1.type = "text/javascript";
  5682. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5683. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5684. const script2 = document.createElement("script");
  5685. script2.type = "text/javascript";
  5686. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5687. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5688. const script3 = document.createElement("script");
  5689. script3.type = "text/javascript";
  5690. script3.charset = "UTF-8";
  5691. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5692. const script4 = document.createElement("script");
  5693. script4.type = "text/javascript";
  5694. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5695. script4.src = window.origin + "/js/Common/jietu2E.js";
  5696. if (_iframe) {
  5697. if (str == 'doc') {
  5698. _iframe = _formdiv.querySelector('iframe')
  5699. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5700. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5701. _iframe.contentWindow.document.body.appendChild(script1);
  5702. _iframe.contentWindow.document.body.appendChild(script2);
  5703. // _iframe.contentWindow.document.body.appendChild(script3);
  5704. _iframe.contentWindow.document.body.appendChild(script4);
  5705. })
  5706. if (onloadListener) {
  5707. _iframe.contentDocument.location.reload()
  5708. } else {
  5709. _iframe.contentDocument.location.reload()
  5710. }
  5711. } else if (str == 'courseDesign') {
  5712. U.UF.DL.iframeLoad(_iframe, function() {
  5713. // _iframe.contentWindow.U.MD.O.W.load();
  5714. // _iframe.contentWindow.document.body.appendChild(script1);
  5715. _iframe.contentWindow.document.body.appendChild(script2);
  5716. _iframe.contentWindow.document.body.appendChild(script4);
  5717. })
  5718. } else if (str == 'mind') {
  5719. _iframe = _formdiv.querySelector('iframe')
  5720. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5721. //
  5722. _iframe.contentWindow.document.body.appendChild(script1);
  5723. _iframe.contentWindow.document.body.appendChild(script2);
  5724. _iframe.contentWindow.document.body.appendChild(script4);
  5725. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5726. })
  5727. if (onloadListener) {
  5728. _iframe.contentDocument.location.reload()
  5729. } else {
  5730. _iframe.contentDocument.location.reload()
  5731. }
  5732. } else if (str == 'whiteboard') {
  5733. _iframe = _formdiv.querySelector('iframe')
  5734. let onloadListener = _iframe.onload = () => {
  5735. _iframe.contentWindow.document.body.appendChild(script1);
  5736. _iframe.contentWindow.document.body.appendChild(script2);
  5737. _iframe.contentWindow.document.body.appendChild(script4);
  5738. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5739. };
  5740. if (onloadListener) {
  5741. _iframe.contentDocument.location.reload()
  5742. } else {
  5743. _iframe.contentDocument.location.reload()
  5744. }
  5745. } else {
  5746. _iframe.onload = () => {
  5747. _iframe.contentWindow.document.body.appendChild(script1);
  5748. _iframe.contentWindow.document.body.appendChild(script2);
  5749. // _iframe.contentWindow.document.body.appendChild(script3);
  5750. _iframe.contentWindow.document.body.appendChild(script4);
  5751. };
  5752. }
  5753. _jie.onclick = async() => {
  5754. let text = ''
  5755. if (aTool == 1) {
  5756. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5757. } else if (aTool == 6) {
  5758. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5759. } else if (aTool == 3) {
  5760. text = await U.MD.D.I.getEditorContent(_iframe);
  5761. }
  5762. _loading.style.display = 'flex'
  5763. console.log(_loading);
  5764. var _ajs = _iframe.contentWindow.document.createElement("script");
  5765. _ajs.type = "text/javascript";
  5766. _ajs.innerHTML =
  5767. // 'console.log(' + _loading + ');\n' +
  5768. 'var _js = document.createElement("script");\n' +
  5769. '_js.type="text/javascript";\n' +
  5770. '_js.charset="UTF-8";\n' +
  5771. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5772. "_js.onload = function(){\n" +
  5773. ' var a = document.getElementsByTagName("img")\n' +
  5774. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5775. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5776. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5777. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5778. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5779. "beforeUpload_shishi(file," +
  5780. "'" +
  5781. _userid +
  5782. "'" +
  5783. ", " +
  5784. "'" +
  5785. _cid +
  5786. "'" +
  5787. ", " +
  5788. "'" +
  5789. _stage +
  5790. "'" +
  5791. ", " +
  5792. "'" +
  5793. _task +
  5794. "'" +
  5795. ", " +
  5796. "'" +
  5797. _tool +
  5798. "'" +
  5799. ", " +
  5800. "'" +
  5801. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5802. "'" +
  5803. ", " +
  5804. "'" +
  5805. aTool +
  5806. "'" +
  5807. ", " +
  5808. "`" +
  5809. text +
  5810. "`" +
  5811. ")\n" +
  5812. " });\n" +
  5813. "}\n" +
  5814. "document.head.appendChild(_js);\n";
  5815. _iframe.contentWindow.document.head.appendChild(_ajs);
  5816. }
  5817. }
  5818. //U.MD.D.I.openClick(str);
  5819. //如果有任务栏信息
  5820. // if (_taskbar) {
  5821. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5822. // }
  5823. }
  5824. U.MD.D.I.openApplicationJieTeacher = function(str, cid, stage, task, tool, student) {
  5825. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5826. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5827. _userid = student.userid, //登录用户id
  5828. _username = student.student //用户名字
  5829. let _iframe;
  5830. let _cid = cid,
  5831. _stage = stage,
  5832. _task = task,
  5833. _tool = tool;
  5834. var _jie = $$("div", {
  5835. "style": {
  5836. "position": "absolute",
  5837. "bottom": "50px",
  5838. "right": "50px",
  5839. "zIndex": "9999",
  5840. "backgroundColor": "#2268bc",
  5841. "color": "#fff",
  5842. "padding": "12px 20px",
  5843. "cursor": "pointer",
  5844. "borderRadius": "4px",
  5845. },
  5846. "innerHTML": "提交作业"
  5847. })
  5848. let aTool = ''
  5849. let _loading = document.createElement('div')
  5850. _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;"
  5851. // _loading.id = "";
  5852. let _lchild = document.createElement('div')
  5853. let _limg = document.createElement('img')
  5854. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5855. _limg.style = "width: 26px;margin-right: 10px;"
  5856. _lchild.appendChild(_limg)
  5857. let _lspan = document.createElement('span')
  5858. _lspan.innerHTML = "上传中..."
  5859. _lchild.appendChild(_lspan)
  5860. _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%);"
  5861. _loading.appendChild(_lchild)
  5862. var _box = $$('div', {
  5863. "style": {
  5864. "position": "relative",
  5865. "width": "100%",
  5866. "height": "100%",
  5867. },
  5868. })
  5869. _box.appendChild(_loading)
  5870. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5871. switch (str) {
  5872. case "whiteboard":
  5873. aTool = 1;
  5874. _iframe = $$("iframe", {
  5875. "frameborder": "no",
  5876. "border": "0",
  5877. "scrolling ": "no",
  5878. "style": {
  5879. "cssText": "border:0;width:100%;height:100%"
  5880. },
  5881. "src": "https://iwb.cocorobo.cn/"
  5882. })
  5883. _box.appendChild(_iframe);
  5884. _box.appendChild(_jie);
  5885. _formdiv = new U.UF.UI.form(
  5886. "电子白板-" + _username,
  5887. _box, {
  5888. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5889. "style": {
  5890. "width": "90%",
  5891. "height": "90%",
  5892. "overflow": 'hidden'
  5893. },
  5894. "onresize": function() {}
  5895. }, {
  5896. closecallback: function() {}
  5897. }, {
  5898. "style": {
  5899. "height": "36px"
  5900. }
  5901. }).form; //创建窗体
  5902. _taskbar = {
  5903. "id": str + _formdiv.id,
  5904. "style": {
  5905. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5906. },
  5907. "name": "电子白板",
  5908. "forms": _formdiv,
  5909. "click": function() {
  5910. U.MD.D.I.openApplication(str, obj, info);
  5911. }
  5912. }
  5913. break;
  5914. case "mind":
  5915. aTool = 3;
  5916. _iframe = $$("iframe", {
  5917. "frameborder": "no",
  5918. "border": "0",
  5919. "scrolling ": "no",
  5920. "style": {
  5921. "cssText": "border:0;width:100%;height:100%"
  5922. },
  5923. "src": "/kityminder-editor/dist/index.html"
  5924. })
  5925. _box.appendChild(_iframe);
  5926. _box.appendChild(_jie);
  5927. _formdiv = new U.UF.UI.form(
  5928. "思维导图-" + _username,
  5929. _box, { //"/jsmind/example/demo.html"
  5930. "id": "mind" + cid + stage + task + tool + _userid,
  5931. "style": {
  5932. "width": "90%",
  5933. "height": "90%",
  5934. "overflow": 'hidden'
  5935. },
  5936. "onresize": function() {}
  5937. }, {
  5938. closecallback: function() {}
  5939. }, {
  5940. "style": {
  5941. "height": "36px"
  5942. }
  5943. }).form; //创建窗体
  5944. _taskbar = {
  5945. "id": str + _formdiv.id,
  5946. "style": {
  5947. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5948. },
  5949. "name": "思维导图",
  5950. "forms": _formdiv,
  5951. "click": function() {
  5952. U.MD.D.I.openApplication(str, obj, info);
  5953. }
  5954. }
  5955. break;
  5956. case "MindMap":
  5957. aTool = 3;
  5958. _iframe = $$("iframe", {
  5959. "frameborder": "no",
  5960. "border": "0",
  5961. "scrolling ": "no",
  5962. "style": {
  5963. "cssText": "border:0;width:100%;height:100%"
  5964. },
  5965. "src": "//cloud.cocorobo.cn/mind/"
  5966. })
  5967. _box.appendChild(_iframe);
  5968. _box.appendChild(_jie);
  5969. _formdiv = new U.UF.UI.form(
  5970. "思维导图-" + _username,
  5971. _box, { //"/jsmind/example/demo.html"
  5972. "id": "mind" + cid + stage + task + tool + _userid,
  5973. "style": {
  5974. "width": "90%",
  5975. "height": "90%",
  5976. "overflow": 'hidden'
  5977. },
  5978. "onresize": function() {}
  5979. }, {
  5980. closecallback: function() {}
  5981. }, {
  5982. "style": {
  5983. "height": "36px"
  5984. }
  5985. }).form; //创建窗体
  5986. _taskbar = {
  5987. "id": str + _formdiv.id,
  5988. "style": {
  5989. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5990. },
  5991. "name": "思维导图",
  5992. "forms": _formdiv,
  5993. "click": function() {
  5994. U.MD.D.I.openApplication(str, obj, info);
  5995. }
  5996. }
  5997. break;
  5998. case "doc":
  5999. aTool = 6;
  6000. _iframe = $$("iframe", {
  6001. "frameborder": "no",
  6002. "border": "0",
  6003. "scrolling ": "no",
  6004. "style": {
  6005. "cssText": "border:0;width:100%;height:100%"
  6006. },
  6007. "src": "/Office/Word/WordEditArea.htm"
  6008. })
  6009. _box.appendChild(_iframe);
  6010. _box.appendChild(_jie);
  6011. _formdiv = new U.UF.UI.form(
  6012. "协同文档-" + _username,
  6013. _box, {
  6014. "id": "doc" + cid + stage + task + tool + _userid,
  6015. "style": {
  6016. "width": "90%",
  6017. "height": "90%",
  6018. "overflow": 'hidden'
  6019. },
  6020. "onresize": function() {}
  6021. }, {
  6022. closecallback: function() {}
  6023. }, {
  6024. "style": {
  6025. "height": "36px"
  6026. }
  6027. }).form; //创建窗体
  6028. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6029. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6030. })
  6031. _taskbar = {
  6032. "id": str + _formdiv.id,
  6033. "style": {
  6034. "backgroundImage": "url(/img/icon/doc.png)"
  6035. },
  6036. "name": "协同文档",
  6037. "forms": _formdiv,
  6038. "click": function() {
  6039. U.MD.D.I.openApplication(str, obj, info);
  6040. }
  6041. }
  6042. break;
  6043. case "mindNetwork": //好友打开
  6044. aTool = 7;
  6045. _iframe = $$("iframe", {
  6046. "webkitallowfullscreen": "",
  6047. "mozallowfullscreen": "",
  6048. "allowfullscreen": "",
  6049. "frameborder": "no",
  6050. "border": "0",
  6051. "scrolling ": "no",
  6052. "style": {
  6053. "cssText": "border:0; width:100%; height:100%;"
  6054. },
  6055. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6056. })
  6057. _box.appendChild(_iframe);
  6058. _box.appendChild(_jie);
  6059. _formdiv = new U.UF.UI.form(
  6060. "思维网格-" + _username,
  6061. _box, {
  6062. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6063. "style": {
  6064. "width": "90%",
  6065. "height": "90%",
  6066. "overflow": 'hidden'
  6067. },
  6068. "onresize": function() {}
  6069. }, {
  6070. closecallback: function() {}
  6071. }, {
  6072. "style": {
  6073. "height": "36px"
  6074. }
  6075. }).form; //创建窗体
  6076. _taskbar = {
  6077. "id": str + _formdiv.id,
  6078. "style": {
  6079. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6080. },
  6081. "name": "思维网格",
  6082. "forms": _formdiv,
  6083. "click": function() {
  6084. U.MD.D.I.openApplication(str, obj, info);
  6085. }
  6086. }
  6087. break;
  6088. case "courseDesign":
  6089. _iframe = $$("iframe", {
  6090. "webkitallowfullscreen": "",
  6091. "mozallowfullscreen": "",
  6092. "allowfullscreen": "",
  6093. "frameborder": "no",
  6094. "border": "0",
  6095. "scrolling ": "no",
  6096. "style": {
  6097. "cssText": "border:0; width:100%; height:100%;"
  6098. },
  6099. "src": "/course-design-vue"
  6100. })
  6101. _box.appendChild(_iframe);
  6102. _box.appendChild(_jie);
  6103. _formdiv = new U.UF.UI.form(
  6104. "项目设计-" + _username,
  6105. _box, {
  6106. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6107. "style": {
  6108. "width": "90%",
  6109. "height": "90%",
  6110. "overflow": 'hidden'
  6111. },
  6112. "onresize": function() {}
  6113. }, {
  6114. closecallback: function() {}
  6115. }, {
  6116. "style": {
  6117. "height": "36px"
  6118. }
  6119. }).form; //创建窗体
  6120. _taskbar = {
  6121. "id": str + _formdiv.id,
  6122. "style": {
  6123. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6124. },
  6125. "name": "项目设计",
  6126. "forms": _formdiv,
  6127. "click": function() {
  6128. U.MD.D.I.openApplication(str, obj, info);
  6129. }
  6130. }
  6131. break;
  6132. }
  6133. const script1 = document.createElement("script");
  6134. script1.type = "text/javascript";
  6135. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6136. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6137. const script2 = document.createElement("script");
  6138. script2.type = "text/javascript";
  6139. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6140. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6141. const script3 = document.createElement("script");
  6142. script3.type = "text/javascript";
  6143. script3.charset = "UTF-8";
  6144. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6145. const script4 = document.createElement("script");
  6146. script4.type = "text/javascript";
  6147. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6148. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6149. if (_iframe) {
  6150. if (str == 'doc') {
  6151. _iframe = _formdiv.querySelector('iframe')
  6152. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6153. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6154. _iframe.contentWindow.document.body.appendChild(script1);
  6155. _iframe.contentWindow.document.body.appendChild(script2);
  6156. // _iframe.contentWindow.document.body.appendChild(script3);
  6157. _iframe.contentWindow.document.body.appendChild(script4);
  6158. })
  6159. if (onloadListener) {
  6160. _iframe.contentDocument.location.reload()
  6161. } else {
  6162. _iframe.contentDocument.location.reload()
  6163. }
  6164. } else if (str == 'courseDesign') {
  6165. U.UF.DL.iframeLoad(_iframe, function() {
  6166. // _iframe.contentWindow.U.MD.O.W.load();
  6167. // _iframe.contentWindow.document.body.appendChild(script1);
  6168. _iframe.contentWindow.document.body.appendChild(script2);
  6169. _iframe.contentWindow.document.body.appendChild(script4);
  6170. })
  6171. } else if (str == 'mind') {
  6172. _iframe = _formdiv.querySelector('iframe')
  6173. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6174. //
  6175. _iframe.contentWindow.document.body.appendChild(script1);
  6176. _iframe.contentWindow.document.body.appendChild(script2);
  6177. _iframe.contentWindow.document.body.appendChild(script4);
  6178. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6179. })
  6180. if (onloadListener) {
  6181. _iframe.contentDocument.location.reload()
  6182. } else {
  6183. _iframe.contentDocument.location.reload()
  6184. }
  6185. } else if (str == 'whiteboard') {
  6186. _iframe = _formdiv.querySelector('iframe')
  6187. let onloadListener = _iframe.onload = () => {
  6188. _iframe.contentWindow.document.body.appendChild(script1);
  6189. _iframe.contentWindow.document.body.appendChild(script2);
  6190. _iframe.contentWindow.document.body.appendChild(script4);
  6191. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6192. };
  6193. if (onloadListener) {
  6194. _iframe.contentDocument.location.reload()
  6195. } else {
  6196. _iframe.contentDocument.location.reload()
  6197. }
  6198. } else {
  6199. _iframe.onload = () => {
  6200. _iframe.contentWindow.document.body.appendChild(script1);
  6201. _iframe.contentWindow.document.body.appendChild(script2);
  6202. // _iframe.contentWindow.document.body.appendChild(script3);
  6203. _iframe.contentWindow.document.body.appendChild(script4);
  6204. };
  6205. }
  6206. _jie.onclick = async() => {
  6207. let text = ''
  6208. if (aTool == 1) {
  6209. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6210. } else if (aTool == 6) {
  6211. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6212. } else if (aTool == 3) {
  6213. text = await U.MD.D.I.getEditorContent(_iframe);
  6214. }
  6215. _loading.style.display = 'flex'
  6216. console.log(_loading);
  6217. var _ajs = _iframe.contentWindow.document.createElement("script");
  6218. _ajs.type = "text/javascript";
  6219. _ajs.innerHTML =
  6220. // 'console.log(' + _loading + ');\n' +
  6221. 'var _js = document.createElement("script");\n' +
  6222. '_js.type="text/javascript";\n' +
  6223. '_js.charset="UTF-8";\n' +
  6224. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6225. "_js.onload = function(){\n" +
  6226. ' var a = document.getElementsByTagName("img")\n' +
  6227. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6228. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6229. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6230. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6231. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6232. "beforeUpload_shishi(file," +
  6233. "'" +
  6234. _userid +
  6235. "'" +
  6236. ", " +
  6237. "'" +
  6238. _cid +
  6239. "'" +
  6240. ", " +
  6241. "'" +
  6242. _stage +
  6243. "'" +
  6244. ", " +
  6245. "'" +
  6246. _task +
  6247. "'" +
  6248. ", " +
  6249. "'" +
  6250. _tool +
  6251. "'" +
  6252. ", " +
  6253. "'" +
  6254. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6255. "'" +
  6256. ", " +
  6257. "'" +
  6258. aTool +
  6259. "'" +
  6260. ", " +
  6261. "`" +
  6262. text +
  6263. "`" +
  6264. ")\n" +
  6265. " });\n" +
  6266. "}\n" +
  6267. "document.head.appendChild(_js);\n";
  6268. _iframe.contentWindow.document.head.appendChild(_ajs);
  6269. }
  6270. }
  6271. }
  6272. U.MD.D.I.openApplicationJieTeacherE = function(str, cid, stage, task, tool, student) {
  6273. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6274. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6275. _userid = student.userid, //登录用户id
  6276. _username = student.student //用户名字
  6277. let _iframe;
  6278. let _cid = cid,
  6279. _stage = stage,
  6280. _task = task,
  6281. _tool = tool;
  6282. var _jie = $$("div", {
  6283. "style": {
  6284. "position": "absolute",
  6285. "bottom": "50px",
  6286. "right": "50px",
  6287. "zIndex": "9999",
  6288. "backgroundColor": "#2268bc",
  6289. "color": "#fff",
  6290. "padding": "12px 20px",
  6291. "cursor": "pointer",
  6292. "borderRadius": "4px",
  6293. },
  6294. "innerHTML": "提交作业"
  6295. })
  6296. let aTool = ''
  6297. let _loading = document.createElement('div')
  6298. _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;"
  6299. // _loading.id = "";
  6300. let _lchild = document.createElement('div')
  6301. let _limg = document.createElement('img')
  6302. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6303. _limg.style = "width: 26px;margin-right: 10px;"
  6304. _lchild.appendChild(_limg)
  6305. let _lspan = document.createElement('span')
  6306. _lspan.innerHTML = "上传中..."
  6307. _lchild.appendChild(_lspan)
  6308. _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%);"
  6309. _loading.appendChild(_lchild)
  6310. var _box = $$('div', {
  6311. "style": {
  6312. "position": "relative",
  6313. "width": "100%",
  6314. "height": "100%",
  6315. },
  6316. })
  6317. _box.appendChild(_loading)
  6318. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6319. switch (str) {
  6320. case "whiteboard":
  6321. aTool = 1;
  6322. _iframe = $$("iframe", {
  6323. "frameborder": "no",
  6324. "border": "0",
  6325. "scrolling ": "no",
  6326. "style": {
  6327. "cssText": "border:0;width:100%;height:100%"
  6328. },
  6329. "src": "https://iwb.cocorobo.cn/"
  6330. })
  6331. _box.appendChild(_iframe);
  6332. _box.appendChild(_jie);
  6333. _formdiv = new U.UF.UI.form(
  6334. "电子白板-" + _username,
  6335. _box, {
  6336. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6337. "style": {
  6338. "width": "90%",
  6339. "height": "90%",
  6340. "overflow": 'hidden'
  6341. },
  6342. "onresize": function() {}
  6343. }, {
  6344. closecallback: function() {}
  6345. }, {
  6346. "style": {
  6347. "height": "36px"
  6348. }
  6349. }).form; //创建窗体
  6350. _taskbar = {
  6351. "id": str + _formdiv.id,
  6352. "style": {
  6353. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6354. },
  6355. "name": "电子白板",
  6356. "forms": _formdiv,
  6357. "click": function() {
  6358. U.MD.D.I.openApplication(str, obj, info);
  6359. }
  6360. }
  6361. break;
  6362. case "mind":
  6363. aTool = 3;
  6364. _iframe = $$("iframe", {
  6365. "frameborder": "no",
  6366. "border": "0",
  6367. "scrolling ": "no",
  6368. "style": {
  6369. "cssText": "border:0;width:100%;height:100%"
  6370. },
  6371. "src": "/kityminder-editor/dist/index.html"
  6372. })
  6373. _box.appendChild(_iframe);
  6374. _box.appendChild(_jie);
  6375. _formdiv = new U.UF.UI.form(
  6376. "思维导图-" + _username,
  6377. _box, { //"/jsmind/example/demo.html"
  6378. "id": "mind" + cid + stage + task + tool + _userid,
  6379. "style": {
  6380. "width": "90%",
  6381. "height": "90%",
  6382. "overflow": 'hidden'
  6383. },
  6384. "onresize": function() {}
  6385. }, {
  6386. closecallback: function() {}
  6387. }, {
  6388. "style": {
  6389. "height": "36px"
  6390. }
  6391. }).form; //创建窗体
  6392. _taskbar = {
  6393. "id": str + _formdiv.id,
  6394. "style": {
  6395. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6396. },
  6397. "name": "思维导图",
  6398. "forms": _formdiv,
  6399. "click": function() {
  6400. U.MD.D.I.openApplication(str, obj, info);
  6401. }
  6402. }
  6403. break;
  6404. case "MindMap":
  6405. aTool = 3;
  6406. _iframe = $$("iframe", {
  6407. "frameborder": "no",
  6408. "border": "0",
  6409. "scrolling ": "no",
  6410. "style": {
  6411. "cssText": "border:0;width:100%;height:100%"
  6412. },
  6413. "src": "//cloud.cocorobo.cn/mind/"
  6414. })
  6415. _box.appendChild(_iframe);
  6416. _box.appendChild(_jie);
  6417. _formdiv = new U.UF.UI.form(
  6418. "思维导图-" + _username,
  6419. _box, { //"/jsmind/example/demo.html"
  6420. "id": "mind" + cid + stage + task + tool + _userid,
  6421. "style": {
  6422. "width": "90%",
  6423. "height": "90%",
  6424. "overflow": 'hidden'
  6425. },
  6426. "onresize": function() {}
  6427. }, {
  6428. closecallback: function() {}
  6429. }, {
  6430. "style": {
  6431. "height": "36px"
  6432. }
  6433. }).form; //创建窗体
  6434. _taskbar = {
  6435. "id": str + _formdiv.id,
  6436. "style": {
  6437. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6438. },
  6439. "name": "思维导图",
  6440. "forms": _formdiv,
  6441. "click": function() {
  6442. U.MD.D.I.openApplication(str, obj, info);
  6443. }
  6444. }
  6445. break;
  6446. case "doc":
  6447. aTool = 6;
  6448. _iframe = $$("iframe", {
  6449. "frameborder": "no",
  6450. "border": "0",
  6451. "scrolling ": "no",
  6452. "style": {
  6453. "cssText": "border:0;width:100%;height:100%"
  6454. },
  6455. "src": "/Office/Word/WordEditArea.htm"
  6456. })
  6457. _box.appendChild(_iframe);
  6458. _box.appendChild(_jie);
  6459. _formdiv = new U.UF.UI.form(
  6460. "协同文档-" + _username,
  6461. _box, {
  6462. "id": "doc" + cid + stage + task + tool + _userid,
  6463. "style": {
  6464. "width": "90%",
  6465. "height": "90%",
  6466. "overflow": 'hidden'
  6467. },
  6468. "onresize": function() {}
  6469. }, {
  6470. closecallback: function() {}
  6471. }, {
  6472. "style": {
  6473. "height": "36px"
  6474. }
  6475. }).form; //创建窗体
  6476. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6477. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6478. })
  6479. _taskbar = {
  6480. "id": str + _formdiv.id,
  6481. "style": {
  6482. "backgroundImage": "url(/img/icon/doc.png)"
  6483. },
  6484. "name": "协同文档",
  6485. "forms": _formdiv,
  6486. "click": function() {
  6487. U.MD.D.I.openApplication(str, obj, info);
  6488. }
  6489. }
  6490. break;
  6491. case "mindNetwork": //好友打开
  6492. aTool = 7;
  6493. _iframe = $$("iframe", {
  6494. "webkitallowfullscreen": "",
  6495. "mozallowfullscreen": "",
  6496. "allowfullscreen": "",
  6497. "frameborder": "no",
  6498. "border": "0",
  6499. "scrolling ": "no",
  6500. "style": {
  6501. "cssText": "border:0; width:100%; height:100%;"
  6502. },
  6503. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6504. })
  6505. _box.appendChild(_iframe);
  6506. _box.appendChild(_jie);
  6507. _formdiv = new U.UF.UI.form(
  6508. "思维网格-" + _username,
  6509. _box, {
  6510. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6511. "style": {
  6512. "width": "90%",
  6513. "height": "90%",
  6514. "overflow": 'hidden'
  6515. },
  6516. "onresize": function() {}
  6517. }, {
  6518. closecallback: function() {}
  6519. }, {
  6520. "style": {
  6521. "height": "36px"
  6522. }
  6523. }).form; //创建窗体
  6524. _taskbar = {
  6525. "id": str + _formdiv.id,
  6526. "style": {
  6527. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6528. },
  6529. "name": "思维网格",
  6530. "forms": _formdiv,
  6531. "click": function() {
  6532. U.MD.D.I.openApplication(str, obj, info);
  6533. }
  6534. }
  6535. break;
  6536. case "courseDesign":
  6537. _iframe = $$("iframe", {
  6538. "webkitallowfullscreen": "",
  6539. "mozallowfullscreen": "",
  6540. "allowfullscreen": "",
  6541. "frameborder": "no",
  6542. "border": "0",
  6543. "scrolling ": "no",
  6544. "style": {
  6545. "cssText": "border:0; width:100%; height:100%;"
  6546. },
  6547. "src": "/course-design-vue"
  6548. })
  6549. _box.appendChild(_iframe);
  6550. _box.appendChild(_jie);
  6551. _formdiv = new U.UF.UI.form(
  6552. "项目设计-" + _username,
  6553. _box, {
  6554. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6555. "style": {
  6556. "width": "90%",
  6557. "height": "90%",
  6558. "overflow": 'hidden'
  6559. },
  6560. "onresize": function() {}
  6561. }, {
  6562. closecallback: function() {}
  6563. }, {
  6564. "style": {
  6565. "height": "36px"
  6566. }
  6567. }).form; //创建窗体
  6568. _taskbar = {
  6569. "id": str + _formdiv.id,
  6570. "style": {
  6571. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6572. },
  6573. "name": "项目设计",
  6574. "forms": _formdiv,
  6575. "click": function() {
  6576. U.MD.D.I.openApplication(str, obj, info);
  6577. }
  6578. }
  6579. break;
  6580. }
  6581. const script1 = document.createElement("script");
  6582. script1.type = "text/javascript";
  6583. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6584. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6585. const script2 = document.createElement("script");
  6586. script2.type = "text/javascript";
  6587. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6588. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6589. const script3 = document.createElement("script");
  6590. script3.type = "text/javascript";
  6591. script3.charset = "UTF-8";
  6592. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6593. const script4 = document.createElement("script");
  6594. script4.type = "text/javascript";
  6595. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6596. script4.src = window.origin + "/js/Common/jietu2E.js";
  6597. if (_iframe) {
  6598. if (str == 'doc') {
  6599. _iframe = _formdiv.querySelector('iframe')
  6600. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6601. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6602. _iframe.contentWindow.document.body.appendChild(script1);
  6603. _iframe.contentWindow.document.body.appendChild(script2);
  6604. // _iframe.contentWindow.document.body.appendChild(script3);
  6605. _iframe.contentWindow.document.body.appendChild(script4);
  6606. })
  6607. if (onloadListener) {
  6608. _iframe.contentDocument.location.reload()
  6609. } else {
  6610. _iframe.contentDocument.location.reload()
  6611. }
  6612. } else if (str == 'courseDesign') {
  6613. U.UF.DL.iframeLoad(_iframe, function() {
  6614. // _iframe.contentWindow.U.MD.O.W.load();
  6615. // _iframe.contentWindow.document.body.appendChild(script1);
  6616. _iframe.contentWindow.document.body.appendChild(script2);
  6617. _iframe.contentWindow.document.body.appendChild(script4);
  6618. })
  6619. } else if (str == 'mind') {
  6620. _iframe = _formdiv.querySelector('iframe')
  6621. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6622. //
  6623. _iframe.contentWindow.document.body.appendChild(script1);
  6624. _iframe.contentWindow.document.body.appendChild(script2);
  6625. _iframe.contentWindow.document.body.appendChild(script4);
  6626. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6627. })
  6628. if (onloadListener) {
  6629. _iframe.contentDocument.location.reload()
  6630. } else {
  6631. _iframe.contentDocument.location.reload()
  6632. }
  6633. } else if (str == 'whiteboard') {
  6634. _iframe = _formdiv.querySelector('iframe')
  6635. let onloadListener = _iframe.onload = () => {
  6636. _iframe.contentWindow.document.body.appendChild(script1);
  6637. _iframe.contentWindow.document.body.appendChild(script2);
  6638. _iframe.contentWindow.document.body.appendChild(script4);
  6639. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6640. };
  6641. if (onloadListener) {
  6642. _iframe.contentDocument.location.reload()
  6643. } else {
  6644. _iframe.contentDocument.location.reload()
  6645. }
  6646. } else {
  6647. _iframe.onload = () => {
  6648. _iframe.contentWindow.document.body.appendChild(script1);
  6649. _iframe.contentWindow.document.body.appendChild(script2);
  6650. // _iframe.contentWindow.document.body.appendChild(script3);
  6651. _iframe.contentWindow.document.body.appendChild(script4);
  6652. };
  6653. }
  6654. _jie.onclick = async() => {
  6655. let text = ''
  6656. if (aTool == 1) {
  6657. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6658. } else if (aTool == 6) {
  6659. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6660. } else if (aTool == 3) {
  6661. text = await U.MD.D.I.getEditorContent(_iframe);
  6662. }
  6663. _loading.style.display = 'flex'
  6664. console.log(_loading);
  6665. var _ajs = _iframe.contentWindow.document.createElement("script");
  6666. _ajs.type = "text/javascript";
  6667. _ajs.innerHTML =
  6668. // 'console.log(' + _loading + ');\n' +
  6669. 'var _js = document.createElement("script");\n' +
  6670. '_js.type="text/javascript";\n' +
  6671. '_js.charset="UTF-8";\n' +
  6672. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6673. "_js.onload = function(){\n" +
  6674. ' var a = document.getElementsByTagName("img")\n' +
  6675. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6676. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6677. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6678. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6679. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6680. "beforeUpload_shishi(file," +
  6681. "'" +
  6682. _userid +
  6683. "'" +
  6684. ", " +
  6685. "'" +
  6686. _cid +
  6687. "'" +
  6688. ", " +
  6689. "'" +
  6690. _stage +
  6691. "'" +
  6692. ", " +
  6693. "'" +
  6694. _task +
  6695. "'" +
  6696. ", " +
  6697. "'" +
  6698. _tool +
  6699. "'" +
  6700. ", " +
  6701. "'" +
  6702. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6703. "'" +
  6704. ", " +
  6705. "'" +
  6706. aTool +
  6707. "'" +
  6708. ", " +
  6709. "`" +
  6710. text +
  6711. "`" +
  6712. ")\n" +
  6713. " });\n" +
  6714. "}\n" +
  6715. "document.head.appendChild(_js);\n";
  6716. _iframe.contentWindow.document.head.appendChild(_ajs);
  6717. }
  6718. }
  6719. }
  6720. U.MD.D.I.getEditorContent = function(iframe) {
  6721. return new Promise((resolve, reject) => {
  6722. iframe.contentWindow.editor.minder.exportData('json').then(function(content) {
  6723. console.log(content);
  6724. resolve(content)
  6725. });
  6726. });
  6727. }
  6728. U.MD.D.I.getContent = function(cid, s, task, t, uid, type, iframe) {
  6729. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6730. // if (res.value[0].length > 0) {
  6731. // // resolve(res.value[0][0].text);
  6732. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6733. // $(fileInput).val('');
  6734. // });
  6735. // }
  6736. // }, [], { "type": "GET", "withCredentials": true });
  6737. var xmlhttp;
  6738. var Mac, Sn, DeviceId
  6739. if (window.XMLHttpRequest) {
  6740. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6741. xmlhttp = new XMLHttpRequest();
  6742. } else {
  6743. // IE6, IE5 浏览器执行代码
  6744. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6745. }
  6746. xmlhttp.onreadystatechange = function() {
  6747. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6748. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6749. // resolve(res.value[0][0].text);
  6750. if (type == '2') {
  6751. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6752. } else if (type == '3') {
  6753. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6754. }
  6755. } else {
  6756. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6757. }
  6758. }
  6759. }
  6760. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6761. xmlhttp.send();
  6762. }
  6763. U.MD.D.I.openApplicationJieS = function(str, cid, stage, task, tool) {
  6764. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6765. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6766. _userinfo = US.userInfo, //登录用户信息
  6767. _userid = US.userInfo.userid //登录用户id
  6768. let _iframe;
  6769. let _cid = cid,
  6770. _stage = stage,
  6771. _task = task,
  6772. _tool = tool;
  6773. var _jie = $$("div", {
  6774. "style": {
  6775. "position": "absolute",
  6776. "bottom": "50px",
  6777. "right": "50px",
  6778. "zIndex": "9999",
  6779. "backgroundColor": "#2268bc",
  6780. "color": "#fff",
  6781. "padding": "12px 20px",
  6782. "cursor": "pointer",
  6783. "borderRadius": "4px",
  6784. },
  6785. "innerHTML": "确认并提交"
  6786. })
  6787. let aTool = ''
  6788. let _loading = document.createElement('div')
  6789. _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;"
  6790. // _loading.id = "";
  6791. let _lchild = document.createElement('div')
  6792. let _limg = document.createElement('img')
  6793. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6794. _limg.style = "width: 26px;margin-right: 10px;"
  6795. _lchild.appendChild(_limg)
  6796. let _lspan = document.createElement('span')
  6797. _lspan.innerHTML = "上传中..."
  6798. _lchild.appendChild(_lspan)
  6799. _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%);"
  6800. _loading.appendChild(_lchild)
  6801. var _box = $$('div', {
  6802. "style": {
  6803. "position": "relative",
  6804. "width": "100%",
  6805. "height": "100%",
  6806. },
  6807. })
  6808. _box.appendChild(_loading)
  6809. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6810. switch (str) {
  6811. case "whiteboard":
  6812. aTool = 1;
  6813. _iframe = $$("iframe", {
  6814. "frameborder": "no",
  6815. "border": "0",
  6816. "scrolling ": "no",
  6817. "style": {
  6818. "cssText": "border:0;width:100%;height:100%"
  6819. },
  6820. "src": "https://iwb.cocorobo.cn/"
  6821. })
  6822. _box.appendChild(_iframe);
  6823. _box.appendChild(_jie);
  6824. _formdiv = new U.UF.UI.form(
  6825. "电子白板",
  6826. _box, {
  6827. "id": "whiteboards" + cid + stage + task + tool,
  6828. "style": {
  6829. "width": "90%",
  6830. "height": "90%",
  6831. "overflow": 'hidden'
  6832. },
  6833. "onresize": function() {}
  6834. }, {
  6835. closecallback: function() {}
  6836. }, {
  6837. "style": {
  6838. "height": "36px"
  6839. }
  6840. }).form; //创建窗体
  6841. _taskbar = {
  6842. "id": str + _formdiv.id,
  6843. "style": {
  6844. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6845. },
  6846. "name": "电子白板",
  6847. "forms": _formdiv,
  6848. "click": function() {
  6849. U.MD.D.I.openApplication(str, obj, info);
  6850. }
  6851. }
  6852. break;
  6853. case "mind":
  6854. aTool = 3;
  6855. _iframe = $$("iframe", {
  6856. "frameborder": "no",
  6857. "border": "0",
  6858. "scrolling ": "no",
  6859. "style": {
  6860. "cssText": "border:0;width:100%;height:100%"
  6861. },
  6862. "src": "/kityminder-editor/dist/index.html"
  6863. });
  6864. _box.appendChild(_iframe);
  6865. _box.appendChild(_jie);
  6866. _formdiv = new U.UF.UI.form(
  6867. "思维导图",
  6868. _box, { //"/jsmind/example/demo.html"
  6869. "id": "minds" + cid + stage + task + tool,
  6870. "style": {
  6871. "width": "90%",
  6872. "height": "90%",
  6873. "overflow": 'hidden'
  6874. },
  6875. "onresize": function() {}
  6876. }, {
  6877. closecallback: function() {}
  6878. }, {
  6879. "style": {
  6880. "height": "36px"
  6881. }
  6882. }).form; //创建窗体
  6883. _taskbar = {
  6884. "id": str + _formdiv.id,
  6885. "style": {
  6886. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6887. },
  6888. "name": "思维导图",
  6889. "forms": _formdiv,
  6890. "click": function() {
  6891. U.MD.D.I.openApplication(str, obj, info);
  6892. }
  6893. }
  6894. break;
  6895. case "doc":
  6896. aTool = 6;
  6897. _iframe = $$("iframe", {
  6898. "frameborder": "no",
  6899. "border": "0",
  6900. "scrolling ": "no",
  6901. "style": {
  6902. "cssText": "border:0;width:100%;height:100%"
  6903. },
  6904. "src": "/Office/Word/WordEditArea.htm"
  6905. })
  6906. _box.appendChild(_iframe);
  6907. _box.appendChild(_jie);
  6908. _formdiv = new U.UF.UI.form(
  6909. "协同文档",
  6910. _box, {
  6911. "id": "docs" + cid + stage + task + tool,
  6912. "style": {
  6913. "width": "90%",
  6914. "height": "90%",
  6915. "overflow": 'hidden'
  6916. },
  6917. "onresize": function() {}
  6918. }, {
  6919. closecallback: function() {}
  6920. }, {
  6921. "style": {
  6922. "height": "36px"
  6923. }
  6924. }).form; //创建窗体
  6925. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6926. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6927. })
  6928. _taskbar = {
  6929. "id": str + _formdiv.id,
  6930. "style": {
  6931. "backgroundImage": "url(/img/icon/doc.png)"
  6932. },
  6933. "name": "协同文档",
  6934. "forms": _formdiv,
  6935. "click": function() {
  6936. U.MD.D.I.openApplication(str, obj, info);
  6937. }
  6938. }
  6939. break;
  6940. }
  6941. const script1 = document.createElement("script");
  6942. script1.type = "text/javascript";
  6943. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6944. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6945. const script2 = document.createElement("script");
  6946. script2.type = "text/javascript";
  6947. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6948. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6949. const script3 = document.createElement("script");
  6950. script3.type = "text/javascript";
  6951. script3.charset = "UTF-8";
  6952. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6953. const script4 = document.createElement("script");
  6954. script4.type = "text/javascript";
  6955. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6956. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6957. if (_iframe) {
  6958. if (str == 'doc') {
  6959. _iframe = _formdiv.querySelector('iframe')
  6960. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6961. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6962. _iframe.contentWindow.document.body.appendChild(script1);
  6963. _iframe.contentWindow.document.body.appendChild(script2);
  6964. // _iframe.contentWindow.document.body.appendChild(script3);
  6965. _iframe.contentWindow.document.body.appendChild(script4);
  6966. })
  6967. if (onloadListener) {
  6968. _iframe.contentDocument.location.reload()
  6969. } else {
  6970. _iframe.contentDocument.location.reload()
  6971. }
  6972. } else if (str == 'mind') {
  6973. _iframe = _formdiv.querySelector('iframe')
  6974. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6975. _iframe.contentWindow.document.body.appendChild(script1);
  6976. _iframe.contentWindow.document.body.appendChild(script2);
  6977. _iframe.contentWindow.document.body.appendChild(script4);
  6978. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6979. })
  6980. if (onloadListener) {
  6981. _iframe.contentDocument.location.reload()
  6982. } else {
  6983. _iframe.contentDocument.location.reload()
  6984. }
  6985. } else {
  6986. _iframe.onload = () => {
  6987. _iframe.contentWindow.document.body.appendChild(script1);
  6988. _iframe.contentWindow.document.body.appendChild(script2);
  6989. // _iframe.contentWindow.document.body.appendChild(script3);
  6990. _iframe.contentWindow.document.body.appendChild(script4);
  6991. };
  6992. }
  6993. _jie.onclick = async() => {
  6994. let text = ''
  6995. if (aTool == 6) {
  6996. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6997. } else if (aTool == 3) {
  6998. text = await U.MD.D.I.getEditorContent(_iframe);
  6999. }
  7000. _loading.style.display = 'flex'
  7001. console.log(_loading);
  7002. var _ajs = _iframe.contentWindow.document.createElement("script");
  7003. _ajs.type = "text/javascript";
  7004. _ajs.innerHTML =
  7005. // 'console.log(' + _loading + ');\n' +
  7006. 'var _js = document.createElement("script");\n' +
  7007. '_js.type="text/javascript";\n' +
  7008. '_js.charset="UTF-8";\n' +
  7009. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7010. "_js.onload = function(){\n" +
  7011. ' var a = document.getElementsByTagName("img")\n' +
  7012. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7013. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7014. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7015. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7016. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7017. "beforeUpload_shishi(file," +
  7018. "'" +
  7019. _userid +
  7020. "'" +
  7021. ", " +
  7022. "'" +
  7023. _cid +
  7024. "'" +
  7025. ", " +
  7026. "'" +
  7027. _stage +
  7028. "'" +
  7029. ", " +
  7030. "'" +
  7031. _task +
  7032. "'" +
  7033. ", " +
  7034. "'" +
  7035. _tool +
  7036. "'" +
  7037. ", " +
  7038. "'" +
  7039. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7040. "'" +
  7041. ", " +
  7042. "'" +
  7043. aTool +
  7044. "'" +
  7045. ", " +
  7046. "`" +
  7047. text +
  7048. "`" +
  7049. ")\n" +
  7050. " });\n" +
  7051. "}\n" +
  7052. "document.head.appendChild(_js);\n";
  7053. _iframe.contentWindow.document.head.appendChild(_ajs);
  7054. }
  7055. }
  7056. //U.MD.D.I.openClick(str);
  7057. //如果有任务栏信息
  7058. // if (_taskbar) {
  7059. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7060. // }
  7061. }
  7062. U.MD.D.I.openApplicationJieStudio = function(str, cid, stage, task, tool) {
  7063. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7064. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7065. _userinfo = US.userInfo, //登录用户信息
  7066. _userid = US.userInfo.userid //登录用户id
  7067. let _iframe;
  7068. let _cid = cid,
  7069. _stage = stage,
  7070. _task = task,
  7071. _tool = tool;
  7072. var _jie = $$("div", {
  7073. "style": {
  7074. "position": "absolute",
  7075. "bottom": "50px",
  7076. "right": "50px",
  7077. "zIndex": "9999",
  7078. "backgroundColor": "#2268bc",
  7079. "color": "#fff",
  7080. "padding": "12px 20px",
  7081. "cursor": "pointer",
  7082. "borderRadius": "4px",
  7083. },
  7084. "innerHTML": "确认并提交"
  7085. })
  7086. let aTool = ''
  7087. let _loading = document.createElement('div')
  7088. _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;"
  7089. // _loading.id = "";
  7090. let _lchild = document.createElement('div')
  7091. let _limg = document.createElement('img')
  7092. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7093. _limg.style = "width: 26px;margin-right: 10px;"
  7094. _lchild.appendChild(_limg)
  7095. let _lspan = document.createElement('span')
  7096. _lspan.innerHTML = "上传中..."
  7097. _lchild.appendChild(_lspan)
  7098. _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%);"
  7099. _loading.appendChild(_lchild)
  7100. var _box = $$('div', {
  7101. "style": {
  7102. "position": "relative",
  7103. "width": "100%",
  7104. "height": "100%",
  7105. },
  7106. })
  7107. _box.appendChild(_loading)
  7108. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7109. switch (str) {
  7110. case "whiteboard":
  7111. aTool = 1;
  7112. _iframe = $$("iframe", {
  7113. "frameborder": "no",
  7114. "border": "0",
  7115. "scrolling ": "no",
  7116. "style": {
  7117. "cssText": "border:0;width:100%;height:100%"
  7118. },
  7119. "src": "https://iwb.cocorobo.cn/"
  7120. })
  7121. _box.appendChild(_iframe);
  7122. _box.appendChild(_jie);
  7123. _formdiv = new U.UF.UI.form(
  7124. "电子白板",
  7125. _box, {
  7126. "id": "whiteboards" + cid + stage + task + tool,
  7127. "style": {
  7128. "width": "90%",
  7129. "height": "90%",
  7130. "overflow": 'hidden'
  7131. },
  7132. "onresize": function() {}
  7133. }, {
  7134. closecallback: function() {}
  7135. }, {
  7136. "style": {
  7137. "height": "36px"
  7138. }
  7139. }).form; //创建窗体
  7140. _taskbar = {
  7141. "id": str + _formdiv.id,
  7142. "style": {
  7143. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7144. },
  7145. "name": "电子白板",
  7146. "forms": _formdiv,
  7147. "click": function() {
  7148. U.MD.D.I.openApplication(str, obj, info);
  7149. }
  7150. }
  7151. break;
  7152. case "mind":
  7153. aTool = 3;
  7154. _iframe = $$("iframe", {
  7155. "frameborder": "no",
  7156. "border": "0",
  7157. "scrolling ": "no",
  7158. "style": {
  7159. "cssText": "border:0;width:100%;height:100%"
  7160. },
  7161. "src": "/kityminder-editor/dist/index.html"
  7162. });
  7163. _box.appendChild(_iframe);
  7164. _box.appendChild(_jie);
  7165. _formdiv = new U.UF.UI.form(
  7166. "思维导图",
  7167. _box, { //"/jsmind/example/demo.html"
  7168. "id": "minds" + cid + stage + task + tool,
  7169. "style": {
  7170. "width": "90%",
  7171. "height": "90%",
  7172. "overflow": 'hidden'
  7173. },
  7174. "onresize": function() {}
  7175. }, {
  7176. closecallback: function() {}
  7177. }, {
  7178. "style": {
  7179. "height": "36px"
  7180. }
  7181. }).form; //创建窗体
  7182. _taskbar = {
  7183. "id": str + _formdiv.id,
  7184. "style": {
  7185. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7186. },
  7187. "name": "思维导图",
  7188. "forms": _formdiv,
  7189. "click": function() {
  7190. U.MD.D.I.openApplication(str, obj, info);
  7191. }
  7192. }
  7193. break;
  7194. case "doc":
  7195. aTool = 6;
  7196. _iframe = $$("iframe", {
  7197. "frameborder": "no",
  7198. "border": "0",
  7199. "scrolling ": "no",
  7200. "style": {
  7201. "cssText": "border:0;width:100%;height:100%"
  7202. },
  7203. "src": "/Office/Word/WordEditArea.htm"
  7204. })
  7205. _box.appendChild(_iframe);
  7206. _box.appendChild(_jie);
  7207. _formdiv = new U.UF.UI.form(
  7208. "协同文档",
  7209. _box, {
  7210. "id": "docs" + cid + stage + task + tool,
  7211. "style": {
  7212. "width": "90%",
  7213. "height": "90%",
  7214. "overflow": 'hidden'
  7215. },
  7216. "onresize": function() {}
  7217. }, {
  7218. closecallback: function() {}
  7219. }, {
  7220. "style": {
  7221. "height": "36px"
  7222. }
  7223. }).form; //创建窗体
  7224. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  7225. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7226. })
  7227. _taskbar = {
  7228. "id": str + _formdiv.id,
  7229. "style": {
  7230. "backgroundImage": "url(/img/icon/doc.png)"
  7231. },
  7232. "name": "协同文档",
  7233. "forms": _formdiv,
  7234. "click": function() {
  7235. U.MD.D.I.openApplication(str, obj, info);
  7236. }
  7237. }
  7238. break;
  7239. }
  7240. const script1 = document.createElement("script");
  7241. script1.type = "text/javascript";
  7242. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7243. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7244. const script2 = document.createElement("script");
  7245. script2.type = "text/javascript";
  7246. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7247. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7248. const script3 = document.createElement("script");
  7249. script3.type = "text/javascript";
  7250. script3.charset = "UTF-8";
  7251. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7252. const script4 = document.createElement("script");
  7253. script4.type = "text/javascript";
  7254. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7255. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7256. if (_iframe) {
  7257. if (str == 'doc') {
  7258. _iframe = _formdiv.querySelector('iframe')
  7259. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7260. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7261. _iframe.contentWindow.document.body.appendChild(script1);
  7262. _iframe.contentWindow.document.body.appendChild(script2);
  7263. // _iframe.contentWindow.document.body.appendChild(script3);
  7264. _iframe.contentWindow.document.body.appendChild(script4);
  7265. })
  7266. if (onloadListener) {
  7267. _iframe.contentDocument.location.reload()
  7268. } else {
  7269. _iframe.contentDocument.location.reload()
  7270. }
  7271. } else if (str == 'mind') {
  7272. _iframe = _formdiv.querySelector('iframe')
  7273. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7274. _iframe.contentWindow.document.body.appendChild(script1);
  7275. _iframe.contentWindow.document.body.appendChild(script2);
  7276. _iframe.contentWindow.document.body.appendChild(script4);
  7277. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7278. })
  7279. if (onloadListener) {
  7280. _iframe.contentDocument.location.reload()
  7281. } else {
  7282. _iframe.contentDocument.location.reload()
  7283. }
  7284. } else {
  7285. _iframe.onload = () => {
  7286. _iframe.contentWindow.document.body.appendChild(script1);
  7287. _iframe.contentWindow.document.body.appendChild(script2);
  7288. // _iframe.contentWindow.document.body.appendChild(script3);
  7289. _iframe.contentWindow.document.body.appendChild(script4);
  7290. };
  7291. }
  7292. _jie.onclick = async() => {
  7293. let text = ''
  7294. if (aTool == 6) {
  7295. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7296. } else if (aTool == 3) {
  7297. text = await U.MD.D.I.getEditorContent(_iframe);
  7298. }
  7299. _loading.style.display = 'flex'
  7300. console.log(_loading);
  7301. var _ajs = _iframe.contentWindow.document.createElement("script");
  7302. _ajs.type = "text/javascript";
  7303. _ajs.innerHTML =
  7304. // 'console.log(' + _loading + ');\n' +
  7305. 'var _js = document.createElement("script");\n' +
  7306. '_js.type="text/javascript";\n' +
  7307. '_js.charset="UTF-8";\n' +
  7308. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7309. "_js.onload = function(){\n" +
  7310. ' var a = document.getElementsByTagName("img")\n' +
  7311. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7312. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7313. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7314. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7315. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7316. "beforeUpload_shishi(file," +
  7317. "'" +
  7318. _userid +
  7319. "'" +
  7320. ", " +
  7321. "'" +
  7322. _cid +
  7323. "'" +
  7324. ", " +
  7325. "'" +
  7326. _stage +
  7327. "'" +
  7328. ", " +
  7329. "'" +
  7330. _task +
  7331. "'" +
  7332. ", " +
  7333. "'" +
  7334. _tool +
  7335. "'" +
  7336. ", " +
  7337. "'" +
  7338. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7339. "'" +
  7340. ", " +
  7341. "'" +
  7342. aTool +
  7343. "'" +
  7344. ", " +
  7345. "`" +
  7346. text +
  7347. "`" +
  7348. ")\n" +
  7349. " });\n" +
  7350. "}\n" +
  7351. "document.head.appendChild(_js);\n";
  7352. _iframe.contentWindow.document.head.appendChild(_ajs);
  7353. }
  7354. }
  7355. //U.MD.D.I.openClick(str);
  7356. //如果有任务栏信息
  7357. // if (_taskbar) {
  7358. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7359. // }
  7360. }
  7361. U.MD.D.I.openApplicationYu = function(str, cid, stage, task, tool) {
  7362. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7363. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7364. _userinfo = US.userInfo, //登录用户信息
  7365. _userid = US.userInfo.userid //登录用户id
  7366. let _iframe;
  7367. let _cid = cid,
  7368. _stage = stage,
  7369. _task = task,
  7370. _tool = tool;
  7371. var _jie = $$("div", {
  7372. "style": {
  7373. "position": "absolute",
  7374. "bottom": "50px",
  7375. "right": "50px",
  7376. "zIndex": "9999",
  7377. "backgroundColor": "#2268bc",
  7378. "color": "#fff",
  7379. "padding": "12px 20px",
  7380. "cursor": "pointer",
  7381. "borderRadius": "4px",
  7382. },
  7383. "innerHTML": "上传模板"
  7384. })
  7385. let aTool = ''
  7386. let _loading = document.createElement('div')
  7387. _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;"
  7388. // _loading.id = "";
  7389. let _lchild = document.createElement('div')
  7390. let _limg = document.createElement('img')
  7391. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7392. _limg.style = "width: 26px;margin-right: 10px;"
  7393. _lchild.appendChild(_limg)
  7394. let _lspan = document.createElement('span')
  7395. _lspan.innerHTML = "上传中..."
  7396. _lchild.appendChild(_lspan)
  7397. _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%);"
  7398. _loading.appendChild(_lchild)
  7399. var _box = $$('div', {
  7400. "style": {
  7401. "position": "relative",
  7402. "width": "100%",
  7403. "height": "100%",
  7404. },
  7405. })
  7406. _box.appendChild(_loading)
  7407. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7408. switch (str) {
  7409. case "whiteboard":
  7410. aTool = 1;
  7411. _iframe = $$("iframe", {
  7412. "frameborder": "no",
  7413. "border": "0",
  7414. "scrolling ": "no",
  7415. "style": {
  7416. "cssText": "border:0;width:100%;height:100%"
  7417. },
  7418. "src": "https://iwb.cocorobo.cn/"
  7419. })
  7420. _box.appendChild(_iframe);
  7421. _box.appendChild(_jie);
  7422. _formdiv = new U.UF.UI.form(
  7423. "电子白板",
  7424. _box, {
  7425. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7426. "style": {
  7427. "width": "90%",
  7428. "height": "90%",
  7429. "overflow": 'hidden'
  7430. },
  7431. "onresize": function() {}
  7432. }, {
  7433. closecallback: function() {}
  7434. }, {
  7435. "style": {
  7436. "height": "36px"
  7437. }
  7438. }).form; //创建窗体
  7439. _taskbar = {
  7440. "id": str + _formdiv.id,
  7441. "style": {
  7442. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7443. },
  7444. "name": "电子白板",
  7445. "forms": _formdiv,
  7446. "click": function() {
  7447. U.MD.D.I.openApplication(str, obj, info);
  7448. }
  7449. }
  7450. break;
  7451. case "mind":
  7452. aTool = 3;
  7453. _iframe = $$("iframe", {
  7454. "frameborder": "no",
  7455. "border": "0",
  7456. "scrolling ": "no",
  7457. "style": {
  7458. "cssText": "border:0;width:100%;height:100%"
  7459. },
  7460. "src": "/kityminder-editor/dist/index.html"
  7461. });
  7462. _box.appendChild(_iframe);
  7463. _box.appendChild(_jie);
  7464. _formdiv = new U.UF.UI.form(
  7465. "思维导图",
  7466. _box, { //"/jsmind/example/demo.html"
  7467. "id": "minds_Yu" + cid + stage + task + tool,
  7468. "style": {
  7469. "width": "90%",
  7470. "height": "90%",
  7471. "overflow": 'hidden'
  7472. },
  7473. "onresize": function() {}
  7474. }, {
  7475. closecallback: function() {}
  7476. }, {
  7477. "style": {
  7478. "height": "36px"
  7479. }
  7480. }).form; //创建窗体
  7481. _taskbar = {
  7482. "id": str + _formdiv.id,
  7483. "style": {
  7484. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7485. },
  7486. "name": "思维导图",
  7487. "forms": _formdiv,
  7488. "click": function() {
  7489. U.MD.D.I.openApplication(str, obj, info);
  7490. }
  7491. }
  7492. break;
  7493. case "doc":
  7494. aTool = 6;
  7495. _iframe = $$("iframe", {
  7496. "frameborder": "no",
  7497. "border": "0",
  7498. "scrolling ": "no",
  7499. "style": {
  7500. "cssText": "border:0;width:100%;height:100%"
  7501. },
  7502. "src": "/Office/Word/WordEditArea.htm"
  7503. })
  7504. _box.appendChild(_iframe);
  7505. _box.appendChild(_jie);
  7506. _formdiv = new U.UF.UI.form(
  7507. "协同文档",
  7508. _box, {
  7509. "id": "docs_Yu" + cid + stage + task + tool,
  7510. "style": {
  7511. "width": "90%",
  7512. "height": "90%",
  7513. "overflow": 'hidden'
  7514. },
  7515. "onresize": function() {}
  7516. }, {
  7517. closecallback: function() {}
  7518. }, {
  7519. "style": {
  7520. "height": "36px"
  7521. }
  7522. }).form; //创建窗体
  7523. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  7524. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7525. })
  7526. _taskbar = {
  7527. "id": str + _formdiv.id,
  7528. "style": {
  7529. "backgroundImage": "url(/img/icon/doc.png)"
  7530. },
  7531. "name": "协同文档",
  7532. "forms": _formdiv,
  7533. "click": function() {
  7534. U.MD.D.I.openApplication(str, obj, info);
  7535. }
  7536. }
  7537. break;
  7538. case "CocoPi":
  7539. aTool = 57;
  7540. _iframe = $$("iframe", {
  7541. "allowpaymentrequest": "allowpaymentrequest",
  7542. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7543. "webkitallowfullscreen": "",
  7544. "mozallowfullscreen": "",
  7545. "frameborder": "no",
  7546. "border": "0",
  7547. "scrolling ": "no",
  7548. "style": {
  7549. "cssText": "border:0;width:100%;height:100%"
  7550. },
  7551. "src": "https://pi.cocorobo.cn/"
  7552. })
  7553. _box.appendChild(_iframe);
  7554. _box.appendChild(_jie);
  7555. _formdiv = new U.UF.UI.form(
  7556. "CocoPi",
  7557. _box, {
  7558. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7559. "style": {
  7560. "width": "90%",
  7561. "height": "90%",
  7562. "overflow": 'hidden'
  7563. },
  7564. "onresize": function() {}
  7565. }, {
  7566. closecallback: function() {}
  7567. }, {
  7568. "style": {
  7569. "height": "36px"
  7570. }
  7571. }).form; //创建窗体
  7572. _taskbar = {
  7573. "id": str + _formdiv.id,
  7574. "style": {
  7575. "backgroundImage": "url(/img/icon/cocopi.png)"
  7576. },
  7577. "name": "CocoPi",
  7578. "forms": _formdiv,
  7579. "click": function() {
  7580. U.MD.D.I.openApplication(str, obj, info);
  7581. }
  7582. }
  7583. break;
  7584. }
  7585. if (_iframe) {
  7586. if (str == 'doc') {
  7587. _iframe = _formdiv.querySelector('iframe')
  7588. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7589. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7590. })
  7591. if (onloadListener) {
  7592. _iframe.contentDocument.location.reload()
  7593. } else {
  7594. _iframe.contentDocument.location.reload()
  7595. }
  7596. } else if (str == 'mind') {
  7597. _iframe = _formdiv.querySelector('iframe')
  7598. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7599. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7600. })
  7601. if (onloadListener) {
  7602. _iframe.contentDocument.location.reload()
  7603. } else {
  7604. _iframe.contentDocument.location.reload()
  7605. }
  7606. } else if (str == 'whiteboard') {
  7607. _iframe = _formdiv.querySelector('iframe')
  7608. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7609. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7610. })
  7611. if (onloadListener) {
  7612. _iframe.contentDocument.location.reload()
  7613. } else {
  7614. _iframe.contentDocument.location.reload()
  7615. }
  7616. } else if (str == 'CocoPi') {
  7617. _iframe = _formdiv.querySelector('iframe')
  7618. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7619. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7620. })
  7621. if (onloadListener) {
  7622. _iframe.contentDocument.location.reload()
  7623. } else {
  7624. _iframe.contentDocument.location.reload()
  7625. }
  7626. } else {
  7627. _iframe.onload = () => {};
  7628. }
  7629. _jie.onclick = async() => {
  7630. let text = ''
  7631. let type = '2'
  7632. if (aTool == 1) {
  7633. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7634. type = '3'
  7635. } else if (aTool == 6) {
  7636. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7637. type = '1'
  7638. } else if (aTool == 3) {
  7639. text = await U.MD.D.I.getEditorContent(_iframe);
  7640. type = '2'
  7641. } else if (aTool == 57) {
  7642. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7643. type = '4'
  7644. }
  7645. _loading.style.display = 'flex'
  7646. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7647. }
  7648. }
  7649. //U.MD.D.I.openClick(str);
  7650. //如果有任务栏信息
  7651. // if (_taskbar) {
  7652. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7653. // }
  7654. }
  7655. U.MD.D.I.getContents = function(cid, s, task, t, uid, type, iframe) {
  7656. var xmlhttp;
  7657. var Mac, Sn, DeviceId
  7658. if (window.XMLHttpRequest) {
  7659. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7660. xmlhttp = new XMLHttpRequest();
  7661. } else {
  7662. // IE6, IE5 浏览器执行代码
  7663. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7664. }
  7665. xmlhttp.onreadystatechange = function() {
  7666. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7667. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7668. // resolve(res.value[0][0].text);
  7669. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7670. }
  7671. }
  7672. }
  7673. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7674. xmlhttp.send();
  7675. }
  7676. U.MD.D.I.getContents2 = function(cid, s, task, t, uid, type, iframe) {
  7677. var xmlhttp;
  7678. var Mac, Sn, DeviceId
  7679. if (window.XMLHttpRequest) {
  7680. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7681. xmlhttp = new XMLHttpRequest();
  7682. } else {
  7683. // IE6, IE5 浏览器执行代码
  7684. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7685. }
  7686. xmlhttp.onreadystatechange = function() {
  7687. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7688. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7689. // resolve(res.value[0][0].text);
  7690. if (type == '2') {
  7691. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7692. } else if (type == '3') {
  7693. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7694. } else if (type == '4') {
  7695. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7696. }
  7697. } else {
  7698. if (type == '2') {
  7699. iframe.contentWindow.editor.minder.importData('json', '')
  7700. } else if (type == '3') {
  7701. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7702. } else if (type == '4') {
  7703. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7704. }
  7705. }
  7706. }
  7707. }
  7708. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7709. xmlhttp.send();
  7710. }
  7711. U.MD.D.I.setContents = function(cid, s, task, t, uid, type, text, loading, span) {
  7712. var xmlhttp;
  7713. var Mac, Sn, DeviceId
  7714. if (window.XMLHttpRequest) {
  7715. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7716. xmlhttp = new XMLHttpRequest();
  7717. } else {
  7718. // IE6, IE5 浏览器执行代码
  7719. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7720. }
  7721. xmlhttp.onreadystatechange = function() {
  7722. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7723. if (xmlhttp.response) {
  7724. // resolve(res.value[0][0].text);
  7725. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7726. // $(fileInput).val('');
  7727. // });
  7728. span.innerHTML = '上传成功'
  7729. setTimeout(() => {
  7730. loading.style.display = 'none'
  7731. }, 1000);
  7732. }
  7733. }
  7734. }
  7735. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7736. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7737. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7738. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7739. // 设置请求头,表示请求体的编码格式
  7740. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7741. // 设置请求体,使用url-encoded格式的数据
  7742. }
  7743. U.MD.D.I.openApplicationUpload = function(str, cid, stage, task, tool) {
  7744. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7745. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7746. _userinfo = US.userInfo, //登录用户信息
  7747. _userid = US.userInfo.userid //登录用户id
  7748. let _iframe;
  7749. let _cid = cid,
  7750. _stage = stage,
  7751. _task = task,
  7752. _tool = tool;
  7753. var _jie = $$("div", {
  7754. "style": {
  7755. "position": "absolute",
  7756. "bottom": "50px",
  7757. "right": "50px",
  7758. "zIndex": "9999",
  7759. "backgroundColor": "#2268bc",
  7760. "color": "#fff",
  7761. "padding": "12px 20px",
  7762. "cursor": "pointer",
  7763. "borderRadius": "4px",
  7764. },
  7765. "innerHTML": "提交作业"
  7766. })
  7767. let aTool = ''
  7768. let _loading = document.createElement('div')
  7769. _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;"
  7770. // _loading.id = "";
  7771. let _lchild = document.createElement('div')
  7772. let _limg = document.createElement('img')
  7773. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7774. _limg.style = "width: 26px;margin-right: 10px;"
  7775. _lchild.appendChild(_limg)
  7776. let _lspan = document.createElement('span')
  7777. _lspan.innerHTML = "上传中..."
  7778. _lchild.appendChild(_lspan)
  7779. _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%);"
  7780. _loading.appendChild(_lchild)
  7781. var _box = $$('div', {
  7782. "style": {
  7783. "position": "relative",
  7784. "width": "100%",
  7785. "height": "100%",
  7786. },
  7787. })
  7788. _box.appendChild(_loading)
  7789. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7790. switch (str) {
  7791. case "CocoPi":
  7792. aTool = 57;
  7793. _iframe = $$("iframe", {
  7794. "allowpaymentrequest": "allowpaymentrequest",
  7795. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7796. "webkitallowfullscreen": "",
  7797. "mozallowfullscreen": "",
  7798. "frameborder": "no",
  7799. "border": "0",
  7800. "scrolling ": "no",
  7801. "style": {
  7802. "cssText": "border:0;width:100%;height:100%"
  7803. },
  7804. "src": "https://pi.cocorobo.cn/"
  7805. })
  7806. _box.appendChild(_iframe);
  7807. _box.appendChild(_jie);
  7808. _formdiv = new U.UF.UI.form(
  7809. "CocoPi",
  7810. _box, {
  7811. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7812. "style": {
  7813. "width": "90%",
  7814. "height": "90%",
  7815. "overflow": 'hidden'
  7816. },
  7817. "onresize": function() {}
  7818. }, {
  7819. closecallback: function() {}
  7820. }, {
  7821. "style": {
  7822. "height": "36px"
  7823. }
  7824. }).form; //创建窗体
  7825. _taskbar = {
  7826. "id": str + _formdiv.id,
  7827. "style": {
  7828. "backgroundImage": "url(/img/icon/cocopi.png)"
  7829. },
  7830. "name": "CocoPi",
  7831. "forms": _formdiv,
  7832. "click": function() {
  7833. U.MD.D.I.openApplication(str, obj, info);
  7834. }
  7835. }
  7836. break;
  7837. }
  7838. if (_iframe) {
  7839. if (str == 'CocoPi') {
  7840. _iframe = _formdiv.querySelector('iframe')
  7841. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7842. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7843. })
  7844. if (onloadListener) {
  7845. _iframe.contentDocument.location.reload()
  7846. } else {
  7847. _iframe.contentDocument.location.reload()
  7848. }
  7849. }
  7850. _jie.onclick = async() => {
  7851. let text = ''
  7852. if (aTool == 57) {
  7853. text = _iframe.contentWindow.getLoadXmlStr()
  7854. }
  7855. _loading.style.display = 'flex'
  7856. console.log(_loading);
  7857. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7858. _loading.style.display = 'none'
  7859. let _div = document.createElement('div')
  7860. _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;"
  7861. let _inner = document.createElement('div')
  7862. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7863. _inner.innerHTML = "上传成功"
  7864. _div.appendChild(_inner)
  7865. _iframe.contentWindow.window.document.body.appendChild(_div)
  7866. _div.onclick = () => {
  7867. _iframe.contentWindow.window.document.body.removeChild(_div)
  7868. }
  7869. setTimeout(() => {
  7870. _iframe.contentWindow.window.document.body.removeChild(_div)
  7871. }, 1000);
  7872. }, [], { "type": "POST", "withCredentials": true });
  7873. }
  7874. }
  7875. }
  7876. U.MD.D.I.openApplicationTeacherUpload = function(str, cid, stage, task, tool, student) {
  7877. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7878. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7879. _userid = student.userid, //登录用户id
  7880. _username = student.student //用户名字
  7881. let _iframe;
  7882. let _cid = cid,
  7883. _stage = stage,
  7884. _task = task,
  7885. _tool = tool;
  7886. var _jie = $$("div", {
  7887. "style": {
  7888. "position": "absolute",
  7889. "bottom": "50px",
  7890. "right": "50px",
  7891. "zIndex": "9999",
  7892. "backgroundColor": "#2268bc",
  7893. "color": "#fff",
  7894. "padding": "12px 20px",
  7895. "cursor": "pointer",
  7896. "borderRadius": "4px",
  7897. },
  7898. "innerHTML": "提交作业"
  7899. })
  7900. let aTool = ''
  7901. let _loading = document.createElement('div')
  7902. _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;"
  7903. // _loading.id = "";
  7904. let _lchild = document.createElement('div')
  7905. let _limg = document.createElement('img')
  7906. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7907. _limg.style = "width: 26px;margin-right: 10px;"
  7908. _lchild.appendChild(_limg)
  7909. let _lspan = document.createElement('span')
  7910. _lspan.innerHTML = "上传中..."
  7911. _lchild.appendChild(_lspan)
  7912. _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%);"
  7913. _loading.appendChild(_lchild)
  7914. var _box = $$('div', {
  7915. "style": {
  7916. "position": "relative",
  7917. "width": "100%",
  7918. "height": "100%",
  7919. },
  7920. })
  7921. _box.appendChild(_loading)
  7922. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7923. switch (str) {
  7924. case "CocoPi":
  7925. aTool = 57;
  7926. _iframe = $$("iframe", {
  7927. "allowpaymentrequest": "allowpaymentrequest",
  7928. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7929. "webkitallowfullscreen": "",
  7930. "mozallowfullscreen": "",
  7931. "frameborder": "no",
  7932. "border": "0",
  7933. "scrolling ": "no",
  7934. "style": {
  7935. "cssText": "border:0;width:100%;height:100%"
  7936. },
  7937. "src": "https://pi.cocorobo.cn/"
  7938. })
  7939. _box.appendChild(_iframe);
  7940. _box.appendChild(_jie);
  7941. _formdiv = new U.UF.UI.form(
  7942. "CocoPi-" + _username,
  7943. _box, {
  7944. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7945. "style": {
  7946. "width": "90%",
  7947. "height": "90%",
  7948. "overflow": 'hidden'
  7949. },
  7950. "onresize": function() {}
  7951. }, {
  7952. closecallback: function() {}
  7953. }, {
  7954. "style": {
  7955. "height": "36px"
  7956. }
  7957. }).form; //创建窗体
  7958. _taskbar = {
  7959. "id": str + _formdiv.id,
  7960. "style": {
  7961. "backgroundImage": "url(/img/icon/cocopi.png)"
  7962. },
  7963. "name": "CocoPi",
  7964. "forms": _formdiv,
  7965. "click": function() {
  7966. U.MD.D.I.openApplication(str, obj, info);
  7967. }
  7968. }
  7969. break;
  7970. }
  7971. if (_iframe) {
  7972. if (str == 'CocoPi') {
  7973. _iframe = _formdiv.querySelector('iframe')
  7974. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7975. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7976. })
  7977. if (onloadListener) {
  7978. _iframe.contentDocument.location.reload()
  7979. } else {
  7980. _iframe.contentDocument.location.reload()
  7981. }
  7982. }
  7983. _jie.onclick = async() => {
  7984. let text = ''
  7985. if (aTool == 57) {
  7986. text = _iframe.contentWindow.getLoadXmlStr()
  7987. }
  7988. _loading.style.display = 'flex'
  7989. console.log(_loading);
  7990. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7991. _loading.style.display = 'none'
  7992. let _div = document.createElement('div')
  7993. _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;"
  7994. let _inner = document.createElement('div')
  7995. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7996. _inner.innerHTML = "上传成功"
  7997. _div.appendChild(_inner)
  7998. _iframe.contentWindow.window.document.body.appendChild(_div)
  7999. _div.onclick = () => {
  8000. _iframe.contentWindow.window.document.body.removeChild(_div)
  8001. }
  8002. setTimeout(() => {
  8003. _iframe.contentWindow.window.document.body.removeChild(_div)
  8004. }, 1000);
  8005. }, [], { "type": "POST", "withCredentials": true });
  8006. }
  8007. }
  8008. }
  8009. U.MD.D.I.getUploadContent = function(cid, s, task, t, uid, atool, type, iframe) {
  8010. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function(res) {
  8011. if (res.value[0].length > 0) {
  8012. if (atool == 57) {
  8013. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8014. }
  8015. } else {
  8016. if (atool == 57) {
  8017. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8018. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8019. }
  8020. }
  8021. }, [], { "type": "POST", "withCredentials": true });
  8022. }