DeskTop.js 475 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. ];
  52. //极简模式
  53. U.MD.D.I.easyDeskIcon = [
  54. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  55. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  58. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  59. ];
  60. //教师桌面图标的全局变量
  61. U.MD.D.I.teacherDeskIcon2 = [
  62. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  63. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  64. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  65. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  66. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  67. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  68. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  69. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  70. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  71. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  72. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  73. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  74. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  75. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  76. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  77. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  78. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  79. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  80. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  81. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  82. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  83. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  84. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  85. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  86. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  87. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  88. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  89. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  90. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  91. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  92. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  93. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  94. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  95. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  96. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  97. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  98. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  99. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  100. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  101. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  102. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  103. ];
  104. U.MD.D.I.studentDeskIcon = [
  105. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  106. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  107. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  108. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  109. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  110. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  111. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  112. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  113. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  114. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  115. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  116. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  117. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  118. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  119. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  120. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  121. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  122. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  123. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  124. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  125. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  126. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  127. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  128. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  129. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  130. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  131. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  132. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  133. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  134. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  135. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  136. ];
  137. U.MD.D.I.studentDeskIcon2 = [
  138. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  139. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  140. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  141. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  142. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  143. ]
  144. U.MD.D.I.studentDeskIcon3 = [
  145. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  146. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  147. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  148. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  149. ]
  150. U.MD.D.I.schoolDeskIcon = [
  151. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  152. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  153. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  154. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  155. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  156. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  157. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  158. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  159. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  160. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  161. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  162. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  163. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  164. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  165. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  166. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  167. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  168. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  169. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  170. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  171. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  172. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  173. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  174. ];
  175. U.MD.D.I.orgDeskIcon = [
  176. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  177. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  178. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  179. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  180. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  181. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  182. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  183. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  184. ];
  185. U.MD.D.I.orgStemDeskIcon = [
  186. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  187. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  188. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  189. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  190. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  191. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  192. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  193. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  194. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  195. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  196. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  197. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  198. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  199. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  200. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  201. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  202. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  203. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  204. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  205. ];
  206. U.MD.D.I.szulsDeskIcon = [
  207. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  208. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  209. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  210. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  211. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  212. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  213. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  214. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  215. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  216. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  217. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  218. ];
  219. U.MD.D.I.hanDeskIcon = [
  220. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  221. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  222. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  223. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  224. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  225. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  226. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  227. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  228. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  229. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  230. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  231. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  232. ];
  233. U.MD.D.I.GMteacherDeskIcon = [
  234. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  235. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  236. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  237. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  238. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  239. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  240. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  241. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  242. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  243. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  244. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  245. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  246. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  247. ];
  248. U.MD.D.I.GMstudentDeskIcon = [
  249. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  250. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  251. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  252. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  253. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  254. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  255. ];
  256. //北师大
  257. U.MD.D.I.BSDNSteacherDeskIcon = [
  258. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  259. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  260. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  261. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  262. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  263. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  264. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  265. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  266. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  267. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  268. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  269. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  270. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  271. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  272. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  273. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  274. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  275. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  276. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  277. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  278. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  279. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  280. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  281. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  282. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  283. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  284. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  285. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  286. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  287. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  288. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  289. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  290. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  291. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  292. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  293. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  294. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  295. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  296. ];
  297. //松山湖
  298. U.MD.D.I.SONGteacherDeskIcon = [
  299. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  300. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  301. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  302. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  303. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  304. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  305. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  306. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  307. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  308. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  309. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  310. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  311. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  312. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  313. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  314. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  315. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  316. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  317. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  318. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  319. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  320. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  321. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  322. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  323. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  324. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  325. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  326. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  327. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  328. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  329. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  330. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  331. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  332. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  333. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  334. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  335. ];
  336. U.MD.D.I.tcStudentDeskIcon = [
  337. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  338. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  339. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  340. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  341. ];
  342. U.MD.D.I.tcTeacherDeskIcon = [
  343. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  344. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  345. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  346. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  347. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  348. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  349. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  350. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  351. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  352. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  353. ];
  354. U.MD.D.I.tcOrganizerDeskIcon = [
  355. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  356. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  357. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  358. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  359. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  360. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  361. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  362. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  363. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  364. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  365. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  366. ];
  367. U.MD.D.I.szscStudentDeskIcon = [
  368. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  369. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  370. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  371. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  372. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  373. ];
  374. U.MD.D.I.szscTeacherDeskIcon = [
  375. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  376. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  377. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  378. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  379. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  380. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  381. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  382. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  383. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  384. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  385. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  386. ];
  387. U.MD.D.I.szscOrganizerDeskIcon = [
  388. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  389. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  390. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  391. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  392. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  393. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  394. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  395. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  396. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  397. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  398. ];
  399. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  400. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  401. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  402. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  403. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  404. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  405. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  406. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  407. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  408. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  409. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  410. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  411. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  412. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  413. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  414. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  415. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  416. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  417. ];
  418. U.MD.D.I.wankeAdminDeskIcon = [
  419. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  420. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  421. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  422. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  423. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  424. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  425. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  426. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  427. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  428. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  429. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  430. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  431. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  432. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  433. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  434. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  435. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  436. ];
  437. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  438. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  439. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  440. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  441. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  442. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  443. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  444. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  445. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  446. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  447. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  448. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  449. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  450. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  451. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  452. ];
  453. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  454. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  455. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  456. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  457. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  458. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  459. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  460. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  461. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  462. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  463. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  464. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  465. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  466. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  467. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  468. ];
  469. //明德教师桌面图标的全局变量
  470. U.MD.D.I.MingdeTeacherDeskIcon = [
  471. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  472. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  473. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  474. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  475. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  476. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  477. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  478. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  479. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  480. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  481. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  482. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  483. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  484. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  485. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  486. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  487. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  488. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  489. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  490. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  491. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  492. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  493. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  494. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  495. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  496. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  497. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  498. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  499. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  500. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  501. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  502. ];
  503. //97c4ee8b-d010-4042-986d-e9d3c217264f
  504. //教师桌面图标的全局变量
  505. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  506. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  507. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  508. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  509. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  510. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  511. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  512. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  513. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  514. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  515. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  516. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  517. ];
  518. //福田
  519. U.MD.D.I.futianTeacherDeskIcon = [
  520. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  521. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  522. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  523. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  524. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  525. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  526. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  527. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  528. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  529. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  530. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  531. ];
  532. //福田
  533. U.MD.D.I.futianAdminDeskIcon = [
  534. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  535. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  536. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  537. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  538. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  539. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  540. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  541. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  542. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  543. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  544. ];
  545. //lotech
  546. U.MD.D.I.lotechTeacherDeskIcon = [
  547. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  548. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  549. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  550. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  551. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  552. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  553. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  554. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  555. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  556. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  557. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  558. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  559. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  560. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  561. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  562. ];
  563. //龙华中心小学教师桌面图标的全局变量
  564. U.MD.D.I.longhuateacherDeskIcon = [
  565. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  566. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  567. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  568. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  569. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  570. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  571. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  572. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  573. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  574. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  575. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  576. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  577. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  578. ];
  579. //教科院实小教师桌面图标的全局变量
  580. U.MD.D.I.siesteacherDeskIcon = [
  581. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  582. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  583. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  584. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  585. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  586. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  587. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  588. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  589. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  590. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  591. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  592. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  593. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  594. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  595. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  596. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  597. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  598. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  599. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  600. { "Name": "数据看板", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  601. ];
  602. //教科院实小教师桌面图标的全局变量
  603. U.MD.D.I.siesStudentDeskIcon = [
  604. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  605. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  606. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  607. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  608. ];
  609. //福田
  610. U.MD.D.I.gdjgTeacherDeskIcon = [
  611. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  612. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  613. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  614. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  615. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  616. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  617. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  618. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  619. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  620. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  621. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  622. ];
  623. //gdjg
  624. U.MD.D.I.gdjgAdminDeskIcon = [
  625. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  626. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  627. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  628. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  629. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  630. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  631. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  632. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  633. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  634. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  635. ];
  636. //hk
  637. U.MD.D.I.hkteacherDeskIcon = [
  638. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  639. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  640. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  641. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  642. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  643. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  644. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  645. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  646. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  647. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  648. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  649. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  650. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  651. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  652. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  653. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  654. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  655. ];
  656. //hk
  657. U.MD.D.I.hkStudentDeskIcon = [
  658. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  659. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  660. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  661. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  662. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  663. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  664. ];
  665. //香海正覺蓮社佛教正覺中學
  666. U.MD.D.I.hkZJLSteacherDeskIcon = [
  667. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  668. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  669. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  670. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  671. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  672. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  673. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  674. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  675. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  676. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  677. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  678. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  679. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  680. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  681. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  682. ];
  683. //香海正覺蓮社佛教正覺中學
  684. U.MD.D.I.hkZJLSStudentDeskIcon = [
  685. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  686. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  687. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  688. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  689. ];
  690. //云海
  691. U.MD.D.I.yunhaiTeacherDeskIcon = [
  692. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  693. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  694. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  695. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  696. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  697. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  698. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  699. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  700. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  701. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  702. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  703. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  704. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  705. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  706. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  707. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  708. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  709. ];
  710. //福田
  711. U.MD.D.I.heyuanTeacherDeskIcon = [
  712. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  713. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  714. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  715. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  716. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  717. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  718. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  719. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  720. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  721. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  722. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  723. ];
  724. //福田
  725. U.MD.D.I.heyuanAdminDeskIcon = [
  726. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  727. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  728. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  729. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  730. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  731. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  732. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  733. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  734. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  735. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  736. ];
  737. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  738. U.MD.D.I.szherTeacherDeskIcon = [
  739. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  740. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  741. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  742. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  743. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  744. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  745. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  746. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  747. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  748. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  749. ];
  750. //dsei
  751. U.MD.D.I.dseiTeacherDeskIcon = [
  752. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  753. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  754. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  755. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  756. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  757. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  758. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  759. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  760. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  761. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  762. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  763. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  764. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  765. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  766. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  767. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  768. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  769. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  770. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  771. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  772. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  773. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  774. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  775. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  776. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  777. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  778. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  779. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  780. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  781. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  782. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  783. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  784. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  785. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  786. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  787. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  788. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  789. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  790. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  791. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  792. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  793. ];
  794. //dsei
  795. U.MD.D.I.dseiAdminDeskIcon = [
  796. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  797. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  798. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  799. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  800. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  801. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  802. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  803. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  804. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  805. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  806. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  807. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  808. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  809. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  810. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  811. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  812. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  813. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  814. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  815. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  816. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  817. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  818. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  819. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  820. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  821. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  822. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  823. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  824. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  825. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  826. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  827. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  828. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  829. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  830. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  831. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  832. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  833. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  834. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  835. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  836. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  837. ];
  838. //dsei
  839. U.MD.D.I.dseiStudentDeskIcon = [
  840. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  841. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  842. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  843. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  844. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  845. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  846. ];
  847. //未来教育基地
  848. U.MD.D.I.szjkyTeacherDeskIcon = [
  849. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  850. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  851. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  852. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  853. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  854. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  855. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  856. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  857. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  858. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  859. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.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": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  863. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  864. ];
  865. //未来教育基地
  866. U.MD.D.I.szjkyAdminDeskIcon = [
  867. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  868. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  869. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  870. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  871. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  872. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  873. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  874. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  875. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  876. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  877. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  878. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  879. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  880. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  881. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  882. ];
  883. //未来教育基地
  884. U.MD.D.I.szjkyStudentDeskIcon = [
  885. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  886. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  887. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  888. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  889. ];
  890. //成华教育局
  891. U.MD.D.I.chjyjTeacherDeskIcon = [
  892. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  893. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  894. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  895. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  896. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  897. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  898. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  899. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  900. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  901. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  902. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  903. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  904. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  905. ];
  906. //成华教育局chjyj
  907. U.MD.D.I.chjyjAdminDeskIcon = [
  908. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  909. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  910. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  911. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  912. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  913. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  914. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  915. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  916. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  917. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  918. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  919. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  920. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  921. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  922. ];
  923. //成华教育局chjyj
  924. U.MD.D.I.chjyjStudentDeskIcon = [
  925. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  926. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  927. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  928. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  929. ];
  930. //tpc
  931. U.MD.D.I.tpcStudentDeskIcon = [
  932. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  933. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  934. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  935. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  936. ];
  937. //tpc
  938. U.MD.D.I.tpcTeacherDeskIcon = [
  939. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  940. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  941. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  942. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  943. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  944. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  945. ];
  946. //tpc
  947. U.MD.D.I.tpcAdminDeskIcon = [
  948. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  949. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  950. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  951. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  952. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  953. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  954. ];
  955. //THU-IOE
  956. U.MD.D.I.thuioeTeacherDeskIcon = [
  957. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  958. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  959. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  960. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  961. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  962. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  963. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  964. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  965. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  966. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  967. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  968. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  969. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  970. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  971. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  972. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  973. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  974. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  975. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  976. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  977. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  978. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  979. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  980. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  981. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  982. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  983. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  984. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  985. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  986. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  987. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  988. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  989. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  990. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  991. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  992. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  993. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  994. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  995. ];
  996. //THU-IOE
  997. U.MD.D.I.thuioeStudentDeskIcon = [
  998. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  999. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1000. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1001. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1002. ];
  1003. //jccssyl
  1004. U.MD.D.I.jccssylTeacherDeskIcon = [
  1005. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1006. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1007. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1008. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1009. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1010. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1011. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1012. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1013. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1014. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1015. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1016. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1017. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1018. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1019. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1020. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1021. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1022. ];
  1023. //jccssyl
  1024. U.MD.D.I.jccssylStudentDeskIcon = [
  1025. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1026. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1027. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1028. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1029. ];
  1030. //#region 桌面初始化a
  1031. /**
  1032. * 初始化桌面的起始函数
  1033. *
  1034. */
  1035. U.MD.D.I.init = function () {
  1036. if ($("#U_MD_D_K")[0]) {
  1037. //初始化桌面图标
  1038. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1039. // var clickUrl = ':12588/requestIp.php';
  1040. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1041. // U.MD.D.I.Ip = data;
  1042. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1043. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1044. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1045. // })
  1046. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1047. // })
  1048. }
  1049. }
  1050. /**
  1051. * 模式切换
  1052. *
  1053. */
  1054. U.MD.D.I.ModeCheck = function (type) {
  1055. if (US.Config.type == type) {
  1056. return
  1057. }
  1058. US.Config.type = type
  1059. $('.U_PBL_Check .active')[0].className = ''
  1060. if (type == 1) {
  1061. $('.U_PBL_Check div')[0].className = 'active'
  1062. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1063. } else {
  1064. $('.U_PBL_Check div')[1].className = 'active'
  1065. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1066. }
  1067. //初始化桌面图标
  1068. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1069. if (type == 2) {
  1070. U.MD.D.I.openApplication("project")
  1071. }
  1072. }
  1073. /**
  1074. * 隐藏任务栏
  1075. *
  1076. * @param {element} 桌面元素
  1077. */
  1078. U.MD.D.I.hiddenTaskbar = function (el) {
  1079. //任务栏位置变小
  1080. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1081. //桌面的位置变大
  1082. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1083. }
  1084. /**
  1085. * 隐藏任务栏
  1086. *
  1087. * @param {element} 桌面元素
  1088. */
  1089. U.MD.D.I.hiddenTaskbarout = function (el) {
  1090. //任务栏位置变小
  1091. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1092. //任务栏位置变化
  1093. U.selectEl(el).css({ "bottom": "-60px" });
  1094. //桌面的位置变大
  1095. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1096. }
  1097. }
  1098. /**
  1099. * 初始化打印桌面图标
  1100. *
  1101. * @param {element} 桌面元素
  1102. */
  1103. U.MD.D.I.initDesktopIcons = function (el, type) {
  1104. var i, //用于循环
  1105. _content, //桌面图标元素
  1106. _iconcontent, //桌面图标元素
  1107. _frag = $$("frag"), //定义一个碎片元素
  1108. _type = US.userInfo.type,
  1109. _org = US.userInfo.org,
  1110. _oid = US.userInfo.organizeid,
  1111. _role = US.userInfo.role,
  1112. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1113. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1114. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1115. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1116. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1117. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1118. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1119. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1120. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1121. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1122. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1123. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1124. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1125. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1126. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1127. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1128. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1129. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1130. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1131. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1132. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1133. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1134. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1135. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1136. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1137. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1138. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1139. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1140. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1141. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1142. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1143. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1144. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1145. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1146. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1147. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1148. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1149. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1150. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1151. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1152. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1153. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1154. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1155. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1156. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1157. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1158. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1159. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1160. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1161. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1162. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1163. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1164. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1165. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1166. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1167. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1168. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1169. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1170. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1171. 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'];
  1172. 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'];
  1173. //清楚桌面图标
  1174. el.innerHTML = "";
  1175. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1176. _teacherDesktopIconInfo.push(
  1177. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1178. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } }, { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } }, { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1179. )
  1180. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1181. }
  1182. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1183. _teacherDesktopIconInfo.push(
  1184. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1185. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1186. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1187. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1188. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1189. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1190. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1191. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1192. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1193. )
  1194. }
  1195. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1196. _teacherDesktopIconInfo.push(
  1197. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1198. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1199. )
  1200. }
  1201. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1202. _teacherDesktopIconInfo.push(
  1203. )
  1204. }
  1205. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1206. _teacherDesktopIconInfo.push(
  1207. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1208. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1209. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1210. )
  1211. _studentDesktopIconInfo.push(
  1212. )
  1213. }
  1214. //麒麟二中 和 民新小学
  1215. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1216. _teacherDesktopIconInfo.push(
  1217. )
  1218. }
  1219. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1220. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1221. _teacherDesktopIconInfo.push(
  1222. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1223. )
  1224. }
  1225. //麒麟二中
  1226. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1227. _studentDesktopIconInfo.push(
  1228. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1229. )
  1230. }
  1231. //万科双语
  1232. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1233. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1234. if (el.Name == '项目管理') {
  1235. el.Name = 'PBL项目'
  1236. }
  1237. return el
  1238. })
  1239. _studentDesktopIconInfo3.push(
  1240. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1241. )
  1242. }
  1243. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1244. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1245. return el.Name != '魔盒识字' && el.Name != '24点'
  1246. })
  1247. }
  1248. 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) {
  1249. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },)
  1250. }
  1251. //循环创建桌面图标
  1252. if (type == 1) {
  1253. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1254. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1255. _content = $$("div", {
  1256. className: "U_MD_D_KO",
  1257. "onmousedown": U.UF.C.closure(function (obj) {
  1258. //防止拖动图标即打开了桌面应用
  1259. U.MD.D.click(this, obj);
  1260. }, [_studentDesktopIconInfo[i]]),
  1261. "onclick": U.UF.C.closure(function (obj) {
  1262. //防止拖动图标即打开了桌面应用
  1263. U.MD.D.click(this, obj);
  1264. }, [_studentDesktopIconInfo[i]])
  1265. }, _frag); //
  1266. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1267. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1268. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1269. }
  1270. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1271. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1272. _content = $$("div", {
  1273. className: "U_MD_D_KO",
  1274. "onmousedown": U.UF.C.closure(function (obj) {
  1275. //防止拖动图标即打开了桌面应用
  1276. U.MD.D.click(this, obj);
  1277. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1278. "onclick": U.UF.C.closure(function (obj) {
  1279. //防止拖动图标即打开了桌面应用
  1280. U.MD.D.click(this, obj);
  1281. }, [_hkZJLSStudentDeskIconInfo[i]])
  1282. }, _frag); //
  1283. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1284. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1285. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1286. } //
  1287. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1288. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1289. _content = $$("div", {
  1290. className: "U_MD_D_KO",
  1291. "onmousedown": U.UF.C.closure(function (obj) {
  1292. //防止拖动图标即打开了桌面应用
  1293. U.MD.D.click(this, obj);
  1294. }, [_jccssylStudentDeskIconInfo[i]]),
  1295. "onclick": U.UF.C.closure(function (obj) {
  1296. //防止拖动图标即打开了桌面应用
  1297. U.MD.D.click(this, obj);
  1298. }, [_jccssylStudentDeskIconInfo[i]])
  1299. }, _frag); //
  1300. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1301. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1302. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1303. }
  1304. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1305. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1306. _content = $$("div", {
  1307. className: "U_MD_D_KO",
  1308. "onmousedown": U.UF.C.closure(function (obj) {
  1309. //防止拖动图标即打开了桌面应用
  1310. U.MD.D.click(this, obj);
  1311. }, [_thuioeStudentDeskIconInfo[i]]),
  1312. "onclick": U.UF.C.closure(function (obj) {
  1313. //防止拖动图标即打开了桌面应用
  1314. U.MD.D.click(this, obj);
  1315. }, [_thuioeStudentDeskIconInfo[i]])
  1316. }, _frag); //
  1317. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1318. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1319. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1320. }
  1321. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1322. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1323. _content = $$("div", {
  1324. className: "U_MD_D_KO",
  1325. "onmousedown": U.UF.C.closure(function (obj) {
  1326. //防止拖动图标即打开了桌面应用
  1327. U.MD.D.click(this, obj);
  1328. }, [_tpcStudentDeskIconInfo[i]]),
  1329. "onclick": U.UF.C.closure(function (obj) {
  1330. //防止拖动图标即打开了桌面应用
  1331. U.MD.D.click(this, obj);
  1332. }, [_tpcStudentDeskIconInfo[i]])
  1333. }, _frag); //
  1334. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1335. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1336. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1337. } //
  1338. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1339. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1340. _content = $$("div", {
  1341. className: "U_MD_D_KO",
  1342. "onmousedown": U.UF.C.closure(function (obj) {
  1343. //防止拖动图标即打开了桌面应用
  1344. U.MD.D.click(this, obj);
  1345. }, [_chjyjStudentDeskIconInfo[i]]),
  1346. "onclick": U.UF.C.closure(function (obj) {
  1347. //防止拖动图标即打开了桌面应用
  1348. U.MD.D.click(this, obj);
  1349. }, [_chjyjStudentDeskIconInfo[i]])
  1350. }, _frag); //
  1351. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1352. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1353. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1354. }
  1355. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1356. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1357. _content = $$("div", {
  1358. className: "U_MD_D_KO",
  1359. "onmousedown": U.UF.C.closure(function (obj) {
  1360. //防止拖动图标即打开了桌面应用
  1361. U.MD.D.click(this, obj);
  1362. }, [_szjkyStudentDeskIconInfo[i]]),
  1363. "onclick": U.UF.C.closure(function (obj) {
  1364. //防止拖动图标即打开了桌面应用
  1365. U.MD.D.click(this, obj);
  1366. }, [_szjkyStudentDeskIconInfo[i]])
  1367. }, _frag); //
  1368. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1369. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1370. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1371. }
  1372. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1373. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1374. _content = $$("div", {
  1375. className: "U_MD_D_KO",
  1376. "onmousedown": U.UF.C.closure(function (obj) {
  1377. //防止拖动图标即打开了桌面应用
  1378. U.MD.D.click(this, obj);
  1379. }, [_dseiStudentDeskIconInfo[i]]),
  1380. "onclick": U.UF.C.closure(function (obj) {
  1381. //防止拖动图标即打开了桌面应用
  1382. U.MD.D.click(this, obj);
  1383. }, [_dseiStudentDeskIconInfo[i]])
  1384. }, _frag); //
  1385. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1386. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1387. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1388. }
  1389. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1390. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1391. _content = $$("div", {
  1392. className: "U_MD_D_KO",
  1393. "onmousedown": U.UF.C.closure(function (obj) {
  1394. //防止拖动图标即打开了桌面应用
  1395. U.MD.D.click(this, obj);
  1396. }, [_siesStudentDeskIconInfo[i]]),
  1397. "onclick": U.UF.C.closure(function (obj) {
  1398. //防止拖动图标即打开了桌面应用
  1399. U.MD.D.click(this, obj);
  1400. }, [_siesStudentDeskIconInfo[i]])
  1401. }, _frag); //
  1402. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1403. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1404. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1405. }
  1406. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1407. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1408. _content = $$("div", {
  1409. className: "U_MD_D_KO",
  1410. "onmousedown": U.UF.C.closure(function (obj) {
  1411. //防止拖动图标即打开了桌面应用
  1412. U.MD.D.click(this, obj);
  1413. }, [_hkStudentDeskIconInfo[i]]),
  1414. "onclick": U.UF.C.closure(function (obj) {
  1415. //防止拖动图标即打开了桌面应用
  1416. U.MD.D.click(this, obj);
  1417. }, [_hkStudentDeskIconInfo[i]])
  1418. }, _frag); //
  1419. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1420. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1421. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1422. }
  1423. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1424. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1425. _content = $$("div", {
  1426. className: "U_MD_D_KO",
  1427. "onmousedown": U.UF.C.closure(function (obj) {
  1428. //防止拖动图标即打开了桌面应用
  1429. U.MD.D.click(this, obj);
  1430. }, [_studentDesktopIconInfo[i]]),
  1431. "onclick": U.UF.C.closure(function (obj) {
  1432. //防止拖动图标即打开了桌面应用
  1433. U.MD.D.click(this, obj);
  1434. }, [_studentDesktopIconInfo[i]])
  1435. }, _frag); //
  1436. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1437. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1438. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1439. }
  1440. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1441. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1442. _content = $$("div", {
  1443. className: "U_MD_D_KO",
  1444. "onmousedown": U.UF.C.closure(function (obj) {
  1445. //防止拖动图标即打开了桌面应用
  1446. U.MD.D.click(this, obj);
  1447. }, [_tcStudentDeskIconInfo[i]]),
  1448. "onclick": U.UF.C.closure(function (obj) {
  1449. //防止拖动图标即打开了桌面应用
  1450. U.MD.D.click(this, obj);
  1451. }, [_tcStudentDeskIconInfo[i]])
  1452. }, _frag); //
  1453. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1454. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1455. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1456. }
  1457. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1458. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1459. _content = $$("div", {
  1460. className: "U_MD_D_KO",
  1461. "onmousedown": U.UF.C.closure(function (obj) {
  1462. //防止拖动图标即打开了桌面应用
  1463. U.MD.D.click(this, obj);
  1464. }, [_szscStudentDeskIconInfo[i]]),
  1465. "onclick": U.UF.C.closure(function (obj) {
  1466. //防止拖动图标即打开了桌面应用
  1467. U.MD.D.click(this, obj);
  1468. }, [_szscStudentDeskIconInfo[i]])
  1469. }, _frag); //
  1470. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1471. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1472. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1473. }
  1474. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1475. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1476. _content = $$("div", {
  1477. className: "U_MD_D_KO",
  1478. "onmousedown": U.UF.C.closure(function (obj) {
  1479. //防止拖动图标即打开了桌面应用
  1480. U.MD.D.click(this, obj);
  1481. }, [_studentDesktopIconInfo3[i]]),
  1482. "onclick": U.UF.C.closure(function (obj) {
  1483. //防止拖动图标即打开了桌面应用
  1484. U.MD.D.click(this, obj);
  1485. }, [_studentDesktopIconInfo3[i]])
  1486. }, _frag); //
  1487. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1488. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1489. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1490. }
  1491. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1492. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1493. _content = $$("div", {
  1494. className: "U_MD_D_KO",
  1495. "onmousedown": U.UF.C.closure(function (obj) {
  1496. //防止拖动图标即打开了桌面应用
  1497. U.MD.D.click(this, obj);
  1498. }, [_studentDesktopIconInfo2[i]]),
  1499. "onclick": U.UF.C.closure(function (obj) {
  1500. //防止拖动图标即打开了桌面应用
  1501. U.MD.D.click(this, obj);
  1502. }, [_studentDesktopIconInfo2[i]])
  1503. }, _frag); //
  1504. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1505. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1506. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1507. }
  1508. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1509. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1510. _content = $$("div", {
  1511. className: "U_MD_D_KO",
  1512. "onmousedown": U.UF.C.closure(function (obj) {
  1513. //防止拖动图标即打开了桌面应用
  1514. U.MD.D.click(this, obj);
  1515. }, [_wanketeacherDesktopIconInfo[i]]),
  1516. "onclick": U.UF.C.closure(function (obj) {
  1517. //防止拖动图标即打开了桌面应用
  1518. U.MD.D.click(this, obj);
  1519. }, [_wanketeacherDesktopIconInfo[i]])
  1520. }, _frag); //
  1521. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1522. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1523. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1524. }
  1525. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1526. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1527. _content = $$("div", {
  1528. className: "U_MD_D_KO",
  1529. "onmousedown": U.UF.C.closure(function (obj) {
  1530. //防止拖动图标即打开了桌面应用
  1531. U.MD.D.click(this, obj);
  1532. }, [_wankeAdminDesktopIconInfo[i]]),
  1533. "onclick": U.UF.C.closure(function (obj) {
  1534. //防止拖动图标即打开了桌面应用
  1535. U.MD.D.click(this, obj);
  1536. }, [_wankeAdminDesktopIconInfo[i]])
  1537. }, _frag); //
  1538. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1539. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1540. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1541. }
  1542. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1543. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1544. _content = $$("div", {
  1545. className: "U_MD_D_KO",
  1546. "onmousedown": U.UF.C.closure(function (obj) {
  1547. //防止拖动图标即打开了桌面应用
  1548. U.MD.D.click(this, obj);
  1549. }, [_jccssylTeacherDeskIconInfo[i]]),
  1550. "onclick": U.UF.C.closure(function (obj) {
  1551. //防止拖动图标即打开了桌面应用
  1552. U.MD.D.click(this, obj);
  1553. }, [_jccssylTeacherDeskIconInfo[i]])
  1554. }, _frag); //
  1555. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1556. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1557. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1558. }
  1559. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1560. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1561. _content = $$("div", {
  1562. className: "U_MD_D_KO",
  1563. "onmousedown": U.UF.C.closure(function (obj) {
  1564. //防止拖动图标即打开了桌面应用
  1565. U.MD.D.click(this, obj);
  1566. }, [_tpcOrganizerDeskIconInfo[i]]),
  1567. "onclick": U.UF.C.closure(function (obj) {
  1568. //防止拖动图标即打开了桌面应用
  1569. U.MD.D.click(this, obj);
  1570. }, [_tpcOrganizerDeskIconInfo[i]])
  1571. }, _frag); //
  1572. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1573. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1574. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1575. }
  1576. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1577. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1578. _content = $$("div", {
  1579. className: "U_MD_D_KO",
  1580. "onmousedown": U.UF.C.closure(function (obj) {
  1581. //防止拖动图标即打开了桌面应用
  1582. U.MD.D.click(this, obj);
  1583. }, [_tpcTeacherDeskIconInfo[i]]),
  1584. "onclick": U.UF.C.closure(function (obj) {
  1585. //防止拖动图标即打开了桌面应用
  1586. U.MD.D.click(this, obj);
  1587. }, [_tpcTeacherDeskIconInfo[i]])
  1588. }, _frag); //
  1589. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1590. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1591. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1592. }
  1593. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1594. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1595. _content = $$("div", {
  1596. className: "U_MD_D_KO",
  1597. "onmousedown": U.UF.C.closure(function (obj) {
  1598. //防止拖动图标即打开了桌面应用
  1599. U.MD.D.click(this, obj);
  1600. }, [_teacherDesktopIconInfo2[i]]),
  1601. "onclick": U.UF.C.closure(function (obj) {
  1602. //防止拖动图标即打开了桌面应用
  1603. U.MD.D.click(this, obj);
  1604. }, [_teacherDesktopIconInfo2[i]])
  1605. }, _frag); //
  1606. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1607. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1608. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1609. }
  1610. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1611. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1612. _content = $$("div", {
  1613. className: "U_MD_D_KO",
  1614. "onmousedown": U.UF.C.closure(function (obj) {
  1615. //防止拖动图标即打开了桌面应用
  1616. U.MD.D.click(this, obj);
  1617. }, [_thuioeTeacherDeskIconInfo[i]]),
  1618. "onclick": U.UF.C.closure(function (obj) {
  1619. //防止拖动图标即打开了桌面应用
  1620. U.MD.D.click(this, obj);
  1621. }, [_thuioeTeacherDeskIconInfo[i]])
  1622. }, _frag); //
  1623. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1624. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1625. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1626. }
  1627. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1628. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1629. _content = $$("div", {
  1630. className: "U_MD_D_KO",
  1631. "onmousedown": U.UF.C.closure(function (obj) {
  1632. //防止拖动图标即打开了桌面应用
  1633. U.MD.D.click(this, obj);
  1634. }, [_lotechTeacherDeskIconInfo[i]]),
  1635. "onclick": U.UF.C.closure(function (obj) {
  1636. //防止拖动图标即打开了桌面应用
  1637. U.MD.D.click(this, obj);
  1638. }, [_lotechTeacherDeskIconInfo[i]])
  1639. }, _frag); //
  1640. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1641. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1642. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1643. }//
  1644. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1645. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1646. _content = $$("div", {
  1647. className: "U_MD_D_KO",
  1648. "onmousedown": U.UF.C.closure(function (obj) {
  1649. //防止拖动图标即打开了桌面应用
  1650. U.MD.D.click(this, obj);
  1651. }, [_siesTeacherDeskIconInfo[i]]),
  1652. "onclick": U.UF.C.closure(function (obj) {
  1653. //防止拖动图标即打开了桌面应用
  1654. U.MD.D.click(this, obj);
  1655. }, [_siesTeacherDeskIconInfo[i]])
  1656. }, _frag); //
  1657. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1658. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1659. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1660. }
  1661. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1662. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1663. _content = $$("div", {
  1664. className: "U_MD_D_KO",
  1665. "onmousedown": U.UF.C.closure(function (obj) {
  1666. //防止拖动图标即打开了桌面应用
  1667. U.MD.D.click(this, obj);
  1668. }, [_longhuaTeacherDeskIconInfo[i]]),
  1669. "onclick": U.UF.C.closure(function (obj) {
  1670. //防止拖动图标即打开了桌面应用
  1671. U.MD.D.click(this, obj);
  1672. }, [_longhuaTeacherDeskIconInfo[i]])
  1673. }, _frag); //
  1674. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1675. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1676. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1677. }
  1678. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1679. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1680. _content = $$("div", {
  1681. className: "U_MD_D_KO",
  1682. "onmousedown": U.UF.C.closure(function (obj) {
  1683. //防止拖动图标即打开了桌面应用
  1684. U.MD.D.click(this, obj);
  1685. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1686. "onclick": U.UF.C.closure(function (obj) {
  1687. //防止拖动图标即打开了桌面应用
  1688. U.MD.D.click(this, obj);
  1689. }, [_yunhaiTeacherDeskIconInfo[i]])
  1690. }, _frag); //
  1691. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1692. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1693. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1694. } //_hkStudentDeskIconInfo
  1695. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1696. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1697. _content = $$("div", {
  1698. className: "U_MD_D_KO",
  1699. "onmousedown": U.UF.C.closure(function (obj) {
  1700. //防止拖动图标即打开了桌面应用
  1701. U.MD.D.click(this, obj);
  1702. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1703. "onclick": U.UF.C.closure(function (obj) {
  1704. //防止拖动图标即打开了桌面应用
  1705. U.MD.D.click(this, obj);
  1706. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1707. }, _frag); //
  1708. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1709. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1710. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1711. }
  1712. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1713. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1714. _content = $$("div", {
  1715. className: "U_MD_D_KO",
  1716. "onmousedown": U.UF.C.closure(function (obj) {
  1717. //防止拖动图标即打开了桌面应用
  1718. U.MD.D.click(this, obj);
  1719. }, [_hkTeacherDeskIconInfo[i]]),
  1720. "onclick": U.UF.C.closure(function (obj) {
  1721. //防止拖动图标即打开了桌面应用
  1722. U.MD.D.click(this, obj);
  1723. }, [_hkTeacherDeskIconInfo[i]])
  1724. }, _frag); //
  1725. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1726. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1727. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1728. }
  1729. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1730. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1731. _content = $$("div", {
  1732. className: "U_MD_D_KO",
  1733. "onmousedown": U.UF.C.closure(function (obj) {
  1734. //防止拖动图标即打开了桌面应用
  1735. U.MD.D.click(this, obj);
  1736. }, [_gdjgAdminDeskIconInfo[i]]),
  1737. "onclick": U.UF.C.closure(function (obj) {
  1738. //防止拖动图标即打开了桌面应用
  1739. U.MD.D.click(this, obj);
  1740. }, [_gdjgAdminDeskIconInfo[i]])
  1741. }, _frag); //
  1742. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1743. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1744. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1745. }
  1746. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1747. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1748. _content = $$("div", {
  1749. className: "U_MD_D_KO",
  1750. "onmousedown": U.UF.C.closure(function (obj) {
  1751. //防止拖动图标即打开了桌面应用
  1752. U.MD.D.click(this, obj);
  1753. }, [_gdjgTeacherDeskIconInfo[i]]),
  1754. "onclick": U.UF.C.closure(function (obj) {
  1755. //防止拖动图标即打开了桌面应用
  1756. U.MD.D.click(this, obj);
  1757. }, [_gdjgTeacherDeskIconInfo[i]])
  1758. }, _frag); //
  1759. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1760. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1761. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1762. }
  1763. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1764. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1765. _content = $$("div", {
  1766. className: "U_MD_D_KO",
  1767. "onmousedown": U.UF.C.closure(function (obj) {
  1768. //防止拖动图标即打开了桌面应用
  1769. U.MD.D.click(this, obj);
  1770. }, [_szherTeacherDeskIconInfo[i]]),
  1771. "onclick": U.UF.C.closure(function (obj) {
  1772. //防止拖动图标即打开了桌面应用
  1773. U.MD.D.click(this, obj);
  1774. }, [_szherTeacherDeskIconInfo[i]])
  1775. }, _frag); //
  1776. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1777. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1778. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1779. }
  1780. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1781. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1782. _content = $$("div", {
  1783. className: "U_MD_D_KO",
  1784. "onmousedown": U.UF.C.closure(function (obj) {
  1785. //防止拖动图标即打开了桌面应用
  1786. U.MD.D.click(this, obj);
  1787. }, [_heyuannAdminDeskIconInfo[i]]),
  1788. "onclick": U.UF.C.closure(function (obj) {
  1789. //防止拖动图标即打开了桌面应用
  1790. U.MD.D.click(this, obj);
  1791. }, [_heyuannAdminDeskIconInfo[i]])
  1792. }, _frag); //
  1793. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1794. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1795. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1796. }
  1797. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1798. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1799. _content = $$("div", {
  1800. className: "U_MD_D_KO",
  1801. "onmousedown": U.UF.C.closure(function (obj) {
  1802. //防止拖动图标即打开了桌面应用
  1803. U.MD.D.click(this, obj);
  1804. }, [_heyuanTeacherDeskIconInfo[i]]),
  1805. "onclick": U.UF.C.closure(function (obj) {
  1806. //防止拖动图标即打开了桌面应用
  1807. U.MD.D.click(this, obj);
  1808. }, [_heyuanTeacherDeskIconInfo[i]])
  1809. }, _frag); //
  1810. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1811. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1812. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1813. } //
  1814. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1815. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1816. _content = $$("div", {
  1817. className: "U_MD_D_KO",
  1818. "onmousedown": U.UF.C.closure(function (obj) {
  1819. //防止拖动图标即打开了桌面应用
  1820. U.MD.D.click(this, obj);
  1821. }, [_dseiAdminDeskIconInfo[i]]),
  1822. "onclick": U.UF.C.closure(function (obj) {
  1823. //防止拖动图标即打开了桌面应用
  1824. U.MD.D.click(this, obj);
  1825. }, [_dseiAdminDeskIconInfo[i]])
  1826. }, _frag); //
  1827. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1828. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1829. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1830. }
  1831. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1832. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1833. _content = $$("div", {
  1834. className: "U_MD_D_KO",
  1835. "onmousedown": U.UF.C.closure(function (obj) {
  1836. //防止拖动图标即打开了桌面应用
  1837. U.MD.D.click(this, obj);
  1838. }, [_dseiTeacherDeskIconInfo[i]]),
  1839. "onclick": U.UF.C.closure(function (obj) {
  1840. //防止拖动图标即打开了桌面应用
  1841. U.MD.D.click(this, obj);
  1842. }, [_dseiTeacherDeskIconInfo[i]])
  1843. }, _frag); //
  1844. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1845. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1846. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1847. } //
  1848. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1849. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1850. _content = $$("div", {
  1851. className: "U_MD_D_KO",
  1852. "onmousedown": U.UF.C.closure(function (obj) {
  1853. //防止拖动图标即打开了桌面应用
  1854. U.MD.D.click(this, obj);
  1855. }, [_chjyjAdminDeskIconInfo[i]]),
  1856. "onclick": U.UF.C.closure(function (obj) {
  1857. //防止拖动图标即打开了桌面应用
  1858. U.MD.D.click(this, obj);
  1859. }, [_chjyjAdminDeskIconInfo[i]])
  1860. }, _frag); //
  1861. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1862. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1863. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1864. }//
  1865. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1866. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1867. _content = $$("div", {
  1868. className: "U_MD_D_KO",
  1869. "onmousedown": U.UF.C.closure(function (obj) {
  1870. //防止拖动图标即打开了桌面应用
  1871. U.MD.D.click(this, obj);
  1872. }, [_chjyjTeacherDeskIconInfo[i]]),
  1873. "onclick": U.UF.C.closure(function (obj) {
  1874. //防止拖动图标即打开了桌面应用
  1875. U.MD.D.click(this, obj);
  1876. }, [_chjyjTeacherDeskIconInfo[i]])
  1877. }, _frag); //
  1878. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1879. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1880. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1881. }
  1882. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1883. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1884. _content = $$("div", {
  1885. className: "U_MD_D_KO",
  1886. "onmousedown": U.UF.C.closure(function (obj) {
  1887. //防止拖动图标即打开了桌面应用
  1888. U.MD.D.click(this, obj);
  1889. }, [_szjkyAdminDeskIconInfo[i]]),
  1890. "onclick": U.UF.C.closure(function (obj) {
  1891. //防止拖动图标即打开了桌面应用
  1892. U.MD.D.click(this, obj);
  1893. }, [_szjkyAdminDeskIconInfo[i]])
  1894. }, _frag); //
  1895. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1896. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1897. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1898. }//
  1899. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1900. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1901. _content = $$("div", {
  1902. className: "U_MD_D_KO",
  1903. "onmousedown": U.UF.C.closure(function (obj) {
  1904. //防止拖动图标即打开了桌面应用
  1905. U.MD.D.click(this, obj);
  1906. }, [_szjkyTeacherDeskIconInfo[i]]),
  1907. "onclick": U.UF.C.closure(function (obj) {
  1908. //防止拖动图标即打开了桌面应用
  1909. U.MD.D.click(this, obj);
  1910. }, [_szjkyTeacherDeskIconInfo[i]])
  1911. }, _frag); //
  1912. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1913. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1914. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1915. }
  1916. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1917. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1918. _content = $$("div", {
  1919. className: "U_MD_D_KO",
  1920. "onmousedown": U.UF.C.closure(function (obj) {
  1921. //防止拖动图标即打开了桌面应用
  1922. U.MD.D.click(this, obj);
  1923. }, [_futianAdminDeskIconInfo[i]]),
  1924. "onclick": U.UF.C.closure(function (obj) {
  1925. //防止拖动图标即打开了桌面应用
  1926. U.MD.D.click(this, obj);
  1927. }, [_futianAdminDeskIconInfo[i]])
  1928. }, _frag); //
  1929. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1930. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1931. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1932. }
  1933. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1934. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1935. _content = $$("div", {
  1936. className: "U_MD_D_KO",
  1937. "onmousedown": U.UF.C.closure(function (obj) {
  1938. //防止拖动图标即打开了桌面应用
  1939. U.MD.D.click(this, obj);
  1940. }, [_futianTeacherDeskIconInfo[i]]),
  1941. "onclick": U.UF.C.closure(function (obj) {
  1942. //防止拖动图标即打开了桌面应用
  1943. U.MD.D.click(this, obj);
  1944. }, [_futianTeacherDeskIconInfo[i]])
  1945. }, _frag); //
  1946. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1947. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1948. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1949. }
  1950. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1951. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1952. _content = $$("div", {
  1953. className: "U_MD_D_KO",
  1954. "onmousedown": U.UF.C.closure(function (obj) {
  1955. //防止拖动图标即打开了桌面应用
  1956. U.MD.D.click(this, obj);
  1957. }, [_MingdeTeacherDeskIcon[i]]),
  1958. "onclick": U.UF.C.closure(function (obj) {
  1959. //防止拖动图标即打开了桌面应用
  1960. U.MD.D.click(this, obj);
  1961. }, [_MingdeTeacherDeskIcon[i]])
  1962. }, _frag); //
  1963. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1964. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1965. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1966. }
  1967. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1968. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1969. _content = $$("div", {
  1970. className: "U_MD_D_KO",
  1971. "onmousedown": U.UF.C.closure(function (obj) {
  1972. //防止拖动图标即打开了桌面应用
  1973. U.MD.D.click(this, obj);
  1974. }, [_lhsAdminDesktopIconInfo[i]]),
  1975. "onclick": U.UF.C.closure(function (obj) {
  1976. //防止拖动图标即打开了桌面应用
  1977. U.MD.D.click(this, obj);
  1978. }, [_lhsAdminDesktopIconInfo[i]])
  1979. }, _frag); //
  1980. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1981. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1982. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1983. }
  1984. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1985. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1986. _content = $$("div", {
  1987. className: "U_MD_D_KO",
  1988. "onmousedown": U.UF.C.closure(function (obj) {
  1989. //防止拖动图标即打开了桌面应用
  1990. U.MD.D.click(this, obj);
  1991. }, [_lhsteacherDesktopIconInfo[i]]),
  1992. "onclick": U.UF.C.closure(function (obj) {
  1993. //防止拖动图标即打开了桌面应用
  1994. U.MD.D.click(this, obj);
  1995. }, [_lhsteacherDesktopIconInfo[i]])
  1996. }, _frag); //
  1997. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1998. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1999. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2000. }
  2001. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2002. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2003. _content = $$("div", {
  2004. className: "U_MD_D_KO",
  2005. "onmousedown": U.UF.C.closure(function (obj) {
  2006. //防止拖动图标即打开了桌面应用
  2007. U.MD.D.click(this, obj);
  2008. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2009. "onclick": U.UF.C.closure(function (obj) {
  2010. //防止拖动图标即打开了桌面应用
  2011. U.MD.D.click(this, obj);
  2012. }, [_zhoujiateacherDesktopIconInfo[i]])
  2013. }, _frag); //
  2014. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2015. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2016. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2017. }
  2018. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2019. for (i = 0; i < _hanDeskIcon.length; i++) {
  2020. _content = $$("div", {
  2021. className: "U_MD_D_KO",
  2022. "onmousedown": U.UF.C.closure(function (obj) {
  2023. //防止拖动图标即打开了桌面应用
  2024. U.MD.D.click(this, obj);
  2025. }, [_hanDeskIcon[i]]),
  2026. "onclick": U.UF.C.closure(function (obj) {
  2027. //防止拖动图标即打开了桌面应用
  2028. U.MD.D.click(this, obj);
  2029. }, [_hanDeskIcon[i]])
  2030. }, _frag); //
  2031. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2032. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2033. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2034. }
  2035. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2036. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2037. _content = $$("div", {
  2038. className: "U_MD_D_KO",
  2039. "onmousedown": U.UF.C.closure(function (obj) {
  2040. //防止拖动图标即打开了桌面应用
  2041. U.MD.D.click(this, obj);
  2042. }, [_orgStemDeskIcon[i]]),
  2043. "onclick": U.UF.C.closure(function (obj) {
  2044. //防止拖动图标即打开了桌面应用
  2045. U.MD.D.click(this, obj);
  2046. }, [_orgStemDeskIcon[i]])
  2047. }, _frag); //
  2048. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2049. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2050. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2051. }
  2052. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2053. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2054. _content = $$("div", {
  2055. className: "U_MD_D_KO",
  2056. "onmousedown": U.UF.C.closure(function (obj) {
  2057. //防止拖动图标即打开了桌面应用
  2058. U.MD.D.click(this, obj);
  2059. }, [_szulsDeskIcon[i]]),
  2060. "onclick": U.UF.C.closure(function (obj) {
  2061. //防止拖动图标即打开了桌面应用
  2062. U.MD.D.click(this, obj);
  2063. }, [_szulsDeskIcon[i]])
  2064. }, _frag); //
  2065. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2066. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2067. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2068. }
  2069. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2070. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2071. _content = $$("div", {
  2072. className: "U_MD_D_KO",
  2073. "onmousedown": U.UF.C.closure(function (obj) {
  2074. //防止拖动图标即打开了桌面应用
  2075. U.MD.D.click(this, obj);
  2076. }, [_orgDesktopIconInfo[i]]),
  2077. "onclick": U.UF.C.closure(function (obj) {
  2078. //防止拖动图标即打开了桌面应用
  2079. U.MD.D.click(this, obj);
  2080. }, [_orgDesktopIconInfo[i]])
  2081. }, _frag); //
  2082. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2083. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2084. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2085. }
  2086. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2087. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2088. _content = $$("div", {
  2089. className: "U_MD_D_KO",
  2090. "onmousedown": U.UF.C.closure(function (obj) {
  2091. //防止拖动图标即打开了桌面应用
  2092. U.MD.D.click(this, obj);
  2093. }, [_schoolDesktopIconInfo[i]]),
  2094. "onclick": U.UF.C.closure(function (obj) {
  2095. //防止拖动图标即打开了桌面应用
  2096. U.MD.D.click(this, obj);
  2097. }, [_schoolDesktopIconInfo[i]])
  2098. }, _frag); //
  2099. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2100. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2101. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2102. }
  2103. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2104. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2105. _content = $$("div", {
  2106. className: "U_MD_D_KO",
  2107. "onmousedown": U.UF.C.closure(function (obj) {
  2108. //防止拖动图标即打开了桌面应用
  2109. U.MD.D.click(this, obj);
  2110. }, [_GMteacherDesktopIconInfo[i]]),
  2111. "onclick": U.UF.C.closure(function (obj) {
  2112. //防止拖动图标即打开了桌面应用
  2113. U.MD.D.click(this, obj);
  2114. }, [_GMteacherDesktopIconInfo[i]])
  2115. }, _frag); //
  2116. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2117. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2118. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2119. }
  2120. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2121. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2122. _content = $$("div", {
  2123. className: "U_MD_D_KO",
  2124. "onmousedown": U.UF.C.closure(function (obj) {
  2125. //防止拖动图标即打开了桌面应用
  2126. U.MD.D.click(this, obj);
  2127. }, [_SONGteacherDesktopIconInfo[i]]),
  2128. "onclick": U.UF.C.closure(function (obj) {
  2129. //防止拖动图标即打开了桌面应用
  2130. U.MD.D.click(this, obj);
  2131. }, [_SONGteacherDesktopIconInfo[i]])
  2132. }, _frag); //
  2133. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2134. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2135. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2136. }
  2137. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2138. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2139. _content = $$("div", {
  2140. className: "U_MD_D_KO",
  2141. "onmousedown": U.UF.C.closure(function (obj) {
  2142. //防止拖动图标即打开了桌面应用
  2143. U.MD.D.click(this, obj);
  2144. }, [_GMstudentDesktopIconInfo[i]]),
  2145. "onclick": U.UF.C.closure(function (obj) {
  2146. //防止拖动图标即打开了桌面应用
  2147. U.MD.D.click(this, obj);
  2148. }, [_GMstudentDesktopIconInfo[i]])
  2149. }, _frag); //
  2150. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2151. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2152. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2153. }
  2154. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2155. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2156. _content = $$("div", {
  2157. className: "U_MD_D_KO",
  2158. "onmousedown": U.UF.C.closure(function (obj) {
  2159. //防止拖动图标即打开了桌面应用
  2160. U.MD.D.click(this, obj);
  2161. }, [_tcTeacherDeskIconInfo[i]]),
  2162. "onclick": U.UF.C.closure(function (obj) {
  2163. //防止拖动图标即打开了桌面应用
  2164. U.MD.D.click(this, obj);
  2165. }, [_tcTeacherDeskIconInfo[i]])
  2166. }, _frag); //
  2167. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2168. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2169. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2170. }
  2171. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2172. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2173. _content = $$("div", {
  2174. className: "U_MD_D_KO",
  2175. "onmousedown": U.UF.C.closure(function (obj) {
  2176. //防止拖动图标即打开了桌面应用
  2177. U.MD.D.click(this, obj);
  2178. }, [_tcOrganizerDeskIconInfo[i]]),
  2179. "onclick": U.UF.C.closure(function (obj) {
  2180. //防止拖动图标即打开了桌面应用
  2181. U.MD.D.click(this, obj);
  2182. }, [_tcOrganizerDeskIconInfo[i]])
  2183. }, _frag); //
  2184. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2185. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2186. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2187. }
  2188. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2189. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2190. _content = $$("div", {
  2191. className: "U_MD_D_KO",
  2192. "onmousedown": U.UF.C.closure(function (obj) {
  2193. //防止拖动图标即打开了桌面应用
  2194. U.MD.D.click(this, obj);
  2195. }, [_szscTeacherDeskIconInfo[i]]),
  2196. "onclick": U.UF.C.closure(function (obj) {
  2197. //防止拖动图标即打开了桌面应用
  2198. U.MD.D.click(this, obj);
  2199. }, [_szscTeacherDeskIconInfo[i]])
  2200. }, _frag); //
  2201. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2202. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2203. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2204. }
  2205. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2206. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2207. _content = $$("div", {
  2208. className: "U_MD_D_KO",
  2209. "onmousedown": U.UF.C.closure(function (obj) {
  2210. //防止拖动图标即打开了桌面应用
  2211. U.MD.D.click(this, obj);
  2212. }, [_szscOrganizerDeskIconInfo[i]]),
  2213. "onclick": U.UF.C.closure(function (obj) {
  2214. //防止拖动图标即打开了桌面应用
  2215. U.MD.D.click(this, obj);
  2216. }, [_szscOrganizerDeskIconInfo[i]])
  2217. }, _frag); //
  2218. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2219. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2220. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2221. }
  2222. } else {
  2223. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2224. _content = $$("div", {
  2225. className: "U_MD_D_KO",
  2226. "onmousedown": U.UF.C.closure(function (obj) {
  2227. //防止拖动图标即打开了桌面应用
  2228. U.MD.D.click(this, obj);
  2229. }, [_teacherDesktopIconInfo[i]]),
  2230. "onclick": U.UF.C.closure(function (obj) {
  2231. //防止拖动图标即打开了桌面应用
  2232. U.MD.D.click(this, obj);
  2233. }, [_teacherDesktopIconInfo[i]])
  2234. }, _frag); //
  2235. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2236. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2237. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2238. }
  2239. }
  2240. } else {
  2241. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2242. _content = $$("div", {
  2243. className: "U_MD_D_KO",
  2244. style: { 'width': '124px', 'height': '145px' },
  2245. "onmousedown": U.UF.C.closure(function (obj) {
  2246. //防止拖动图标即打开了桌面应用
  2247. U.MD.D.click(this, obj);
  2248. }, [_easyDesktopIconInfo[i]]),
  2249. "onclick": U.UF.C.closure(function (obj) {
  2250. //防止拖动图标即打开了桌面应用
  2251. U.MD.D.click(this, obj);
  2252. }, [_easyDesktopIconInfo[i]])
  2253. }, _frag); //
  2254. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2255. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2256. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2257. }
  2258. }
  2259. if (type == 1) {
  2260. //加载好后给图标定位
  2261. U.MD.D.iconPostion($(_frag).Child());
  2262. } else {
  2263. //加载好后给图标定位
  2264. U.MD.D.iconPostion2($(_frag).Child());
  2265. }
  2266. //把图标加载到页面
  2267. el.appendChild(_frag);
  2268. }
  2269. /**
  2270. * 显示任务栏
  2271. *
  2272. * @param {element} 桌面元素
  2273. */
  2274. U.MD.D.I.displayTaskbar = function (el) {
  2275. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2276. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2277. //任务栏位置变化
  2278. U.selectEl(el).css({ "bottom": "0px" });
  2279. //桌面位置变话
  2280. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2281. }
  2282. }
  2283. //#region 桌面图标拖动逻辑
  2284. /**
  2285. * 桌面排列图标
  2286. *
  2287. * @param {element} 桌面元素
  2288. * @param {object} 上下相距的距离
  2289. * @param {object} 左右相距的距离
  2290. * @return {object} 命名空间
  2291. */
  2292. U.MD.D.iconPostion = function (childs, top, left) {
  2293. var i; //用于循环处理
  2294. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2295. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2296. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2297. for (i = 0; i < childs.length; i++) {
  2298. //如果竖排top超过了范围处理
  2299. if (top + 95 > US.height - 10) {
  2300. //left超过了页面范围处理,则向上重叠打印处理
  2301. if ((left + 180) > US.width) {
  2302. top -= 110;
  2303. left -= 90;
  2304. }
  2305. //没有超过范围,那么left+90添加到下一个竖排打印
  2306. else {
  2307. left += 90;
  2308. top = 15;
  2309. };
  2310. }
  2311. //给图标的位置赋值
  2312. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2313. if (i < childs.length - 1) {
  2314. //页面图标每次向下加95
  2315. top += 95;
  2316. }
  2317. }
  2318. //返回最后调用的图标的位置
  2319. return [top, left];
  2320. }
  2321. /**
  2322. * 桌面排列图标
  2323. *
  2324. * @param {element} 桌面元素
  2325. * @param {object} 上下相距的距离
  2326. * @param {object} 左右相距的距离
  2327. * @return {object} 命名空间
  2328. */
  2329. U.MD.D.iconPostion2 = function (childs, top, left) {
  2330. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2331. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2332. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2333. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2334. for (i = 0; i < childs.length; i++) {
  2335. //如果竖排top超过了范围处理
  2336. if (left + 150 > US.width - 10) {
  2337. //left超过了页面范围处理,则向上重叠打印处理
  2338. if ((top + 180) > US.Height) {
  2339. top -= 150;
  2340. left -= 150;
  2341. }
  2342. //没有超过范围,那么left+90添加到下一个竖排打印
  2343. else {
  2344. top += 150;
  2345. left = ol;
  2346. };
  2347. }
  2348. //给图标的位置赋值
  2349. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2350. if (i < childs.length - 1) {
  2351. //页面图标每次向下加95
  2352. left += 150;
  2353. }
  2354. }
  2355. //返回最后调用的图标的位置
  2356. return [top, left];
  2357. }
  2358. /**
  2359. * 桌面点击事件逻辑
  2360. *
  2361. * @param {element} 桌面元素
  2362. * @param {object} 上下相距的距离
  2363. * @param {object} 左右相距的距离
  2364. * @return {object} 命名空间
  2365. */
  2366. U.MD.D.click = function (el, obj) {
  2367. var _buttonnumber = event.button; //点击的按钮的事件值
  2368. var _userinfo = US.userInfo;
  2369. U.UF.EV.stopBubble(); //阻止向上冒泡
  2370. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2371. if (_buttonnumber < 2) {
  2372. //如果是click事件的处理
  2373. if (event.type == "click") {
  2374. //如果元素在mousemove事件中没有移动则出发click事件
  2375. if (!U.MD.D.I.IsDrag) {
  2376. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2377. U.alert("请先登录您的账号!");
  2378. setTimeout(() => {
  2379. U.MD.U.L.login();
  2380. }, 2000);
  2381. } else {
  2382. //打开应用处理
  2383. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2384. }
  2385. }
  2386. }
  2387. //如果是mouse事件的处理
  2388. else {
  2389. if (US.Config.type == '1') {
  2390. //拖动处理,添加拖动和拖动结束事件
  2391. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2392. }
  2393. }
  2394. U.MD.D.I.IsDrag = false;
  2395. }
  2396. }
  2397. /**
  2398. * 拖动的处理
  2399. *
  2400. */
  2401. U.MD.D.iconMove = function () {
  2402. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2403. U.MD.D.I.IsDrag = true;
  2404. }
  2405. /**
  2406. * 拖动结束后,这里是定位处理,以网状的形式定位
  2407. *
  2408. * @param {element} 拖动的元素
  2409. * @return {object} 命名空间
  2410. */
  2411. U.MD.D.iconUp = function (el) {
  2412. var _top = 15,
  2413. _left = 20,
  2414. _margin,
  2415. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2416. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2417. if (_positioninfo["OT"] > 15) {
  2418. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2419. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2420. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2421. }
  2422. if (_positioninfo["OL"] > 20) {
  2423. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2424. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2425. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2426. }
  2427. //while循环判断么一个重叠的元素
  2428. do {
  2429. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2430. _top = _positioninfo[0] + 95; //得到定位后的top
  2431. _left = _positioninfo[1]; //得到定位后的left
  2432. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2433. }
  2434. /**
  2435. * 判断拖动后图标是否重叠
  2436. *
  2437. * @param {element} 拖动的元素
  2438. * @param {element} 桌面所有的元素
  2439. * @param {array} 拖动元素的位置
  2440. ----------[0] 上 top
  2441. ----------[1] 左 left
  2442. * @return {object} 命名空间
  2443. */
  2444. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2445. //循环所有的图标
  2446. for (var i = 0; i < childs.length; i++) {
  2447. //判断有没有和该图标诶子重叠的元素
  2448. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2449. return childs[i]; //如果有返回
  2450. }
  2451. }
  2452. }
  2453. //#endregion
  2454. //#endregion
  2455. //#region 桌面应用
  2456. /**
  2457. * 打开应用
  2458. *
  2459. * @param {string} 类型
  2460. -----------------Disk 网盘系统
  2461. -----------------PDisk 学习系统网盘
  2462. -----------------Poto 图片
  2463. -----------------Video 视频
  2464. -----------------Music 音乐
  2465. -----------------Word word
  2466. -----------------Excel excel
  2467. -----------------Txt 记事本
  2468. -----------------PB 学习系统
  2469. -----------------Blog 朋友圈系统
  2470. -----------------FTP ftp系统
  2471. -----------------Group 好友群
  2472. -----------------SY 首页系统
  2473. -----------------Set 个人设置
  2474. -----------------XSet 系统设置
  2475. -----------------App 我们所有的app
  2476. -----------------BC c.1473.cn 平台
  2477. -----------------CWeb d.1473.cn 变成平台
  2478. -----------------其他的外联系统 我们统一用iframe打开
  2479. * @param {array} 类型
  2480. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2481. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2482. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2483. 如果第一个参数为其他,则无第二个参数
  2484. * @returns {array}
  2485. */
  2486. window.addEventListener('message', function (e) { // 监听 message 事件
  2487. // alert(e.data.type);
  2488. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2489. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2490. //3是展示全部阶段 2学生 1老师 4专家
  2491. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2492. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2493. //3是展示全部阶段 2学生 1老师 4专家
  2494. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2495. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2496. //3是展示全部阶段 2学生 1老师 4专家
  2497. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2498. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2499. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2500. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2501. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2502. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2503. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2504. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2505. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2506. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2507. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2508. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2509. //3是展示全部阶段 2学生 1老师 4专家
  2510. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2511. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2512. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2513. U.MD.D.I.selectUser();
  2514. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2515. var _formel = document.getElementById("study");
  2516. U.UF.F.windowZooming(_formel);
  2517. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2518. var _formel = document.getElementById("studyDetail");
  2519. U.UF.F.windowZooming(_formel);
  2520. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2521. var _formel = document.getElementById("studyDetail");
  2522. U.UF.F.windowZooming(_formel);
  2523. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2524. var _formel = document.getElementById("studentStudy");
  2525. U.UF.F.windowZooming(_formel);
  2526. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2527. // var _formel = document.getElementById("study");
  2528. //如果最大化了,那么就把他缩小
  2529. // if (_formel.ismaximize) {
  2530. // return;
  2531. // }
  2532. // U.UF.F.windowZooming(_formel);
  2533. // U.UF.F.topWindow(_formel);
  2534. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2535. // var _formel = document.getElementById("studyDetail");
  2536. //如果最大化了,那么就把他缩小
  2537. // if (_formel.ismaximize) {
  2538. // return;
  2539. // }
  2540. // U.UF.F.windowZooming(_formel);
  2541. // U.UF.F.topWindow(_formel);
  2542. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2543. // var _formel = document.getElementById("studentStudy");
  2544. // if (_formel.ismaximize) {
  2545. // return;
  2546. // }
  2547. // U.UF.F.windowZooming(_formel);
  2548. // U.UF.F.topWindow(_formel);
  2549. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2550. var _formel = document.getElementById("study");
  2551. // if (_formel.ismaximize) {
  2552. // return;
  2553. // }
  2554. // U.UF.F.windowZooming(_formel);
  2555. U.UF.F.topWindow(_formel);
  2556. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2557. var _formel = document.getElementById("studentIndex");
  2558. U.UF.F.windowZooming(_formel);
  2559. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2560. var _formel = document.getElementById("studyDetailS");
  2561. U.UF.F.windowZooming(_formel);
  2562. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2563. var _formel = document.getElementById("studioIndex");
  2564. U.UF.F.windowZooming(_formel);
  2565. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2566. var _formel = document.getElementById("studyDetailStudio");
  2567. U.UF.F.windowZooming(_formel);
  2568. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2569. var _formel = document.getElementById("studyDetailStudio");
  2570. U.UF.F.windowZooming(_formel);
  2571. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2572. var _formel = document.getElementById("studyDetailNT");
  2573. U.UF.F.windowZooming(_formel);
  2574. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2575. var _formel = document.getElementById("studyDetailS");
  2576. U.UF.F.windowZooming(_formel);
  2577. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2578. var _formel = document.getElementById("studyDetailS");
  2579. U.UF.F.topWindow(_formel);
  2580. } else if (e.data.tools && e.data.tools == "1") {
  2581. // U.MD.D.I.openApplication("whiteboard")
  2582. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2583. } else if (e.data.tools && e.data.tools == "2") {
  2584. U.MD.D.I.openApplication("note")
  2585. } else if (e.data.tools && e.data.tools == "3") {
  2586. // U.MD.D.I.openApplication("mind")
  2587. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2588. } else if (e.data.tools && e.data.tools == "4") {
  2589. U.MD.D.I.openApplication("investigation")
  2590. } else if (e.data.tools && e.data.tools == "6") {
  2591. // U.MD.D.I.openApplication("doc")
  2592. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2593. } else if (e.data.tools && e.data.tools == "7") {
  2594. // U.MD.D.I.openApplication("mindNetwork")
  2595. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2596. } else if (e.data.tools && e.data.tools == "8") {
  2597. U.MD.D.I.openApplication("library")
  2598. } else if (e.data.tools && e.data.tools == "17") {
  2599. U.MD.D.I.openApplication("stuLibrary")
  2600. } else if (e.data.tools && e.data.tools == "18") {
  2601. U.MD.D.I.openApplication("train")
  2602. } else if (e.data.tools && e.data.tools == "21") {
  2603. U.MD.D.I.openApplication("program")
  2604. } else if (e.data.tools && e.data.tools == "22") {
  2605. U.MD.D.I.openApplication("AIprogram2")
  2606. } else if (e.data.tools && e.data.tools == "23") {
  2607. U.MD.D.I.openApplication("Pythonprogram")
  2608. } else if (e.data.tools && e.data.tools == "24") {
  2609. U.MD.D.I.openApplication("AIprogram")
  2610. } else if (e.data.tools && e.data.tools == "25") {
  2611. U.MD.D.I.openApplication("sys")
  2612. } else if (e.data.tools && e.data.tools == "26") {
  2613. // U.MD.D.I.openApplication("courseDesign")
  2614. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2615. } else if (e.data.tools && e.data.tools == "31") {
  2616. U.MD.D.I.openApplication("netWorkPanel")
  2617. } else if (e.data.tools && e.data.tools == "32") {
  2618. U.MD.D.I.openApplication("codeEdit")
  2619. } else if (e.data.tools && e.data.tools == "57") {
  2620. U.MD.D.I.openApplication("CocoPi")
  2621. } else if (e.data.tools && e.data.tools == "63") {
  2622. U.MD.D.I.openApplication("Wood")
  2623. } else if (e.data.tools && e.data.tools == "58") {
  2624. U.MD.D.I.openApplication("car")
  2625. } else if (e.data.tools && e.data.tools == "59") {
  2626. U.MD.D.I.openApplication("lineSearch")
  2627. } else if (e.data.tools && e.data.tools == "60") {
  2628. U.MD.D.I.openApplication("deepLearning")
  2629. } else if (e.data.tools && e.data.tools == "61") {
  2630. U.MD.D.I.openApplication("allHistory")
  2631. } else if (e.data.tools && e.data.tools == "28") {
  2632. U.MD.D.I.openApplication("translation")
  2633. } else if (e.data.tools && e.data.tools == "37") {
  2634. U.MD.D.I.openApplication("mohe")
  2635. } else if (e.data.tools && e.data.tools == "38") {
  2636. U.MD.D.I.openApplication("24game")
  2637. } else if (e.data.tools && e.data.tools == "39") {
  2638. U.MD.D.I.openApplication("GeoGebra")
  2639. } else if (e.data.tools && e.data.tools == "43") {
  2640. U.MD.D.I.openApplication("studentEvaluate")
  2641. } else if (e.data.tools && e.data.tools == "44") {
  2642. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2643. } else if (e.data.tools && e.data.tools == "46") {
  2644. U.MD.D.I.openApplication("project")
  2645. } else if (e.data.tools && e.data.tools == "1s") {
  2646. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2647. } else if (e.data.tools && e.data.tools == "3s") {
  2648. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2649. } else if (e.data.tools && e.data.tools == "6s") {
  2650. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2651. } else if (e.data.tools && e.data.tools == "1studio") {
  2652. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2653. } else if (e.data.tools && e.data.tools == "3studio") {
  2654. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2655. } else if (e.data.tools && e.data.tools == "6studio") {
  2656. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2657. } else if (e.data.tools && e.data.tools == "3y") {
  2658. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2659. } else if (e.data.tools && e.data.tools == "1y") {
  2660. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2661. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2662. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2663. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2664. U.MD.D.I.openApplication("AIAnalyse")
  2665. } else if (e.data.tools && e.data.tools == "1teacher") {
  2666. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2667. } else if (e.data.tools && e.data.tools == "3teacher") {
  2668. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2669. } else if (e.data.tools && e.data.tools == "7teacher") {
  2670. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2671. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2672. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2673. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2674. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2675. } else if (e.data.tools && e.data.tools == "1E") {
  2676. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2677. } else if (e.data.tools && e.data.tools == "3E") {
  2678. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2679. } else if (e.data.tools && e.data.tools == "57y") {
  2680. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2681. } else if (e.data.tools && e.data.tools == "57u") {
  2682. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2683. } else if (e.data.tools && e.data.tools == "57teacher") {
  2684. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2685. } else if (e.data.tools && e.data.tools == "64") {
  2686. U.MD.D.I.openApplication("AIChat")
  2687. } else if (e.data.tools && e.data.tools == "66") {
  2688. U.MD.D.I.openApplication("formulaEdi")
  2689. } else if (e.data.tools && e.data.tools == "67") {
  2690. U.MD.D.I.openApplication("molStr")
  2691. } else if (e.data.tools && e.data.tools == "68") {
  2692. U.MD.D.I.openApplication("timeAxis")
  2693. } else if (e.data.tools && e.data.tools == "openCourse") {
  2694. let _data = {
  2695. typea: e.data.typea || '',
  2696. typeb: e.data.typeb || '',
  2697. typed: e.data.typed || '',
  2698. }
  2699. U.MD.D.I.openInApplication("index", _data)
  2700. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2701. let _data = {
  2702. classid: e.data.classid || '',
  2703. }
  2704. U.MD.D.I.openInApplication("dataClass", _data)
  2705. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2706. let _data = {
  2707. cid: e.data.cid || '',
  2708. gid: e.data.gid || '',
  2709. }
  2710. U.MD.D.I.openInApplication("opencCscl", _data)
  2711. }
  2712. });
  2713. U.MD.D.I.selectUser = function () {
  2714. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2715. if (res.value[0].length > 0) {
  2716. US.userInfo = res.value[0][0];
  2717. $(".userName")[0].innerHTML = US.userInfo.username;
  2718. }
  2719. }, [], { "type": "GET", "withCredentials": true });
  2720. }
  2721. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2722. var _userinfo = US.userInfo, //登录用户信息
  2723. _userid = US.userInfo.userid, //登录用户id
  2724. _oid = _userinfo.organizeid,
  2725. _type = US.userInfo.type,
  2726. _org = US.userInfo.org,
  2727. _role = US.userInfo.role,
  2728. _classId = US.userInfo.classid;
  2729. if (_type == 4) {
  2730. tType = 4
  2731. }
  2732. switch (str) {
  2733. case "studyDetailNT": //无终端模式
  2734. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2735. setTimeout(() => {
  2736. U.MD.U.L.login();
  2737. }, 2000);
  2738. } else {
  2739. _formdiv = new U.UF.UI.form(
  2740. "课程详情",
  2741. $$("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 }), {
  2742. "id": "studyDetailNT",
  2743. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2744. "onresize": function () { }
  2745. }, {
  2746. closecallback: function () { }
  2747. }, { "style": { "height": "36px" } }).form; //创建窗体
  2748. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2749. break;
  2750. }
  2751. case "studyDetail":
  2752. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2753. setTimeout(() => {
  2754. U.MD.U.L.login();
  2755. }, 2000);
  2756. } else {
  2757. _formdiv = new U.UF.UI.form(
  2758. "课程详情",
  2759. $$("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 }), {
  2760. "id": "studyDetail",
  2761. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2762. "onresize": function () { }
  2763. }, {
  2764. closecallback: function () { }
  2765. }, { "style": { "height": "36px" } }).form; //创建窗体
  2766. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2767. break;
  2768. }
  2769. case "studyDetailS":
  2770. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2771. setTimeout(() => {
  2772. U.MD.U.L.login();
  2773. }, 2000);
  2774. } else {
  2775. _formdiv = new U.UF.UI.form(
  2776. "项目详情",
  2777. $$("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 }), {
  2778. "id": "studyDetailS",
  2779. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2780. "onresize": function () { }
  2781. }, {
  2782. closecallback: function () { }
  2783. }, { "style": { "height": "36px" } }).form; //创建窗体
  2784. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2785. break;
  2786. }
  2787. case "studyDetailStudio":
  2788. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2789. setTimeout(() => {
  2790. U.MD.U.L.login();
  2791. }, 2000);
  2792. } else {
  2793. _formdiv = new U.UF.UI.form(
  2794. "工作详情",
  2795. $$("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 }), {
  2796. "id": "studyDetailStudio",
  2797. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2798. "onresize": function () { }
  2799. }, {
  2800. closecallback: function () { }
  2801. }, { "style": { "height": "36px" } }).form; //创建窗体
  2802. _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); } }
  2803. break;
  2804. }
  2805. case "studyDetailS5":
  2806. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2807. setTimeout(() => {
  2808. U.MD.U.L.login();
  2809. }, 2000);
  2810. } else {
  2811. _formdiv = new U.UF.UI.form(
  2812. "项目详情",
  2813. $$("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 }), {
  2814. "id": "studyDetailS",
  2815. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2816. "onresize": function () { }
  2817. }, {
  2818. closecallback: function () { }
  2819. }, { "style": { "height": "36px" } }).form; //创建窗体
  2820. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2821. break;
  2822. }
  2823. case "studyDetailGM":
  2824. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2825. setTimeout(() => {
  2826. U.MD.U.L.login();
  2827. }, 2000);
  2828. } else {
  2829. _formdiv = new U.UF.UI.form(
  2830. "课程详情",
  2831. $$("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 }), {
  2832. "id": "studyDetail",
  2833. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2834. "onresize": function () { }
  2835. }, {
  2836. closecallback: function () { }
  2837. }, { "style": { "height": "36px" } }).form; //创建窗体
  2838. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2839. break;
  2840. }
  2841. case "hanUrl":
  2842. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2843. setTimeout(() => {
  2844. U.MD.U.L.login();
  2845. }, 2000);
  2846. } else {
  2847. _formdiv = new U.UF.UI.form(
  2848. "汉字宫",
  2849. $$("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" }), {
  2850. "id": "hanUrl",
  2851. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2852. "onresize": function () { }
  2853. }, {
  2854. closecallback: function () { }
  2855. }, { "style": { "height": "36px" } }).form; //创建窗体
  2856. _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); } }
  2857. break;
  2858. }
  2859. case "index":
  2860. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2861. setTimeout(() => {
  2862. U.MD.U.L.login();
  2863. }, 2000);
  2864. } else {
  2865. _formdiv = new U.UF.UI.form(
  2866. "课程中心",
  2867. $$("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 }), {
  2868. "id": "study",
  2869. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2870. "onresize": function () { }
  2871. }, {
  2872. closecallback: function () { }
  2873. }, { "style": { "height": "36px" } }).form; //创建窗体
  2874. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2875. break;
  2876. }
  2877. case "dataClass":
  2878. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2879. setTimeout(() => {
  2880. U.MD.U.L.login();
  2881. }, 2000);
  2882. } else {
  2883. _formdiv = new U.UF.UI.form(
  2884. "数据报告",
  2885. $$("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 }), {
  2886. "id": "dataClass",
  2887. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2888. "onresize": function () { }
  2889. }, {
  2890. closecallback: function () { }
  2891. }, { "style": { "height": "36px" } }).form; //创建窗体
  2892. _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); } }
  2893. break;
  2894. }
  2895. case "opencCscl":
  2896. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2897. setTimeout(() => {
  2898. U.MD.U.L.login();
  2899. }, 2000);
  2900. } else {
  2901. _formdiv = new U.UF.UI.form(
  2902. "协同建构",
  2903. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  2904. "id": "futureClass",
  2905. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2906. "onresize": function () { }
  2907. }, {
  2908. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  2909. }, { "style": { "height": "36px" } }).form; //创建窗体
  2910. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "协同建构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2911. break;
  2912. }
  2913. }
  2914. }
  2915. U.MD.D.I.openApplication = function (str, obj, info) {
  2916. obj = obj || {};
  2917. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2918. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2919. _userinfo = US.userInfo, //登录用户信息
  2920. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2921. _oid = obj.organizeid || _userinfo.organizeid,
  2922. _type = US.userInfo.type,
  2923. _org = US.userInfo.org,
  2924. _role = US.userInfo.role,
  2925. _classId = US.userInfo.classid,
  2926. _TscreenType = 1
  2927. _screenType = 2,
  2928. _SscreenType = 3;
  2929. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2930. return;
  2931. }
  2932. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2933. switch (str) {
  2934. case "studnetProject": //好友打开
  2935. _formdiv = new U.UF.UI.form(
  2936. "我的项目",
  2937. $$("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 }), {
  2938. "id": "studnetProject",
  2939. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2940. "onresize": function () { }
  2941. }, {
  2942. closecallback: function () { }
  2943. }, { "style": { "height": "36px" } }).form; //创建窗体
  2944. _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); } }
  2945. break;
  2946. case "studentEvaluate": //好友打开
  2947. _formdiv = new U.UF.UI.form(
  2948. "我的评价",
  2949. $$("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 }), {
  2950. "id": "studentEvaluate",
  2951. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2952. "onresize": function () { }
  2953. }, {
  2954. closecallback: function () { }
  2955. }, { "style": { "height": "36px" } }).form; //创建窗体
  2956. _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); } }
  2957. break;
  2958. case "my":
  2959. _formdiv = new U.UF.UI.form(
  2960. "我的资料",
  2961. $$("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 }), {
  2962. "id": "my",
  2963. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2964. "onresize": function () { }
  2965. }, {
  2966. closecallback: function () { }
  2967. }, { "style": { "height": "36px" } }).form; //创建窗体
  2968. _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); } }
  2969. break;
  2970. case "program":
  2971. _formdiv = new U.UF.UI.form(
  2972. "编程平台",
  2973. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2974. "id": "program",
  2975. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2976. "onresize": function () { }
  2977. }, {
  2978. closecallback: function () { }
  2979. }, { "style": { "height": "36px" } }).form; //创建窗体
  2980. _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); } }
  2981. break;
  2982. case "library":
  2983. _formdiv = new U.UF.UI.form(
  2984. "素材库",
  2985. $$("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 }), {
  2986. "id": "library",
  2987. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2988. "onresize": function () { }
  2989. }, {
  2990. closecallback: function () { }
  2991. }, { "style": { "height": "36px" } }).form; //创建窗体
  2992. _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); } }
  2993. break;
  2994. case "whiteboard":
  2995. _formdiv = new U.UF.UI.form(
  2996. "电子白板",
  2997. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2998. "id": "whiteboard",
  2999. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3000. "onresize": function () { }
  3001. }, {
  3002. closecallback: function () { }
  3003. }, { "style": { "height": "36px" } }).form; //创建窗体
  3004. _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); } }
  3005. break;
  3006. case "investigation":
  3007. _formdiv = new U.UF.UI.form(
  3008. "问卷调查",
  3009. $$("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 }), {
  3010. "id": "investigation",
  3011. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3012. "onresize": function () { }
  3013. }, {
  3014. closecallback: function () { }
  3015. }, { "style": { "height": "36px" } }).form; //创建窗体
  3016. _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); } }
  3017. break;
  3018. case "note":
  3019. _formdiv = new U.UF.UI.form(
  3020. "便签分类",
  3021. $$("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 }), {
  3022. "id": "note",
  3023. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3024. "onresize": function () { }
  3025. }, {
  3026. closecallback: function () { }
  3027. }, { "style": { "height": "36px" } }).form; //创建窗体
  3028. _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); } }
  3029. break;
  3030. // case "score":
  3031. // _formdiv = new U.UF.UI.form(
  3032. // "量规评分",
  3033. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3034. // "id": "score",
  3035. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3036. // "onresize": function() {}
  3037. // }, {
  3038. // closecallback: function() {}
  3039. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3040. // _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); } }
  3041. // break;
  3042. case "mind":
  3043. _formdiv = new U.UF.UI.form(
  3044. "思维导图",
  3045. $$("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"
  3046. "id": "mind",
  3047. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3048. "onresize": function () { }
  3049. }, {
  3050. closecallback: function () { }
  3051. }, { "style": { "height": "36px" } }).form; //创建窗体
  3052. _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); } }
  3053. break;
  3054. case "doc":
  3055. // U.MD.D.I.isRoom();
  3056. _formdiv = new U.UF.UI.form(
  3057. "协同文档",
  3058. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3059. "id": "doc",
  3060. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3061. "onresize": function () { }
  3062. }, {
  3063. closecallback: function () { }
  3064. }, { "style": { "height": "36px" } }).form; //创建窗体
  3065. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3066. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3067. // })
  3068. _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); } }
  3069. break;
  3070. case "studentStudy":
  3071. _formdiv = new U.UF.UI.form(
  3072. "课程中心",
  3073. $$("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
  3074. "id": "studentStudy",
  3075. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3076. "onresize": function () { }
  3077. }, {
  3078. closecallback: function () { }
  3079. }, { "style": { "height": "36px" } }).form; //创建窗体
  3080. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3081. break;
  3082. case "train": //好友打开
  3083. _formdiv = new U.UF.UI.form(
  3084. "训练平台",
  3085. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3086. "id": "train",
  3087. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3088. "onresize": function () { }
  3089. }, {
  3090. closecallback: function () { }
  3091. }, { "style": { "height": "36px" } }).form; //创建窗体
  3092. _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); } }
  3093. break;
  3094. case "mindNetwork": //好友打开
  3095. _formdiv = new U.UF.UI.form(
  3096. "思维网格",
  3097. $$("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 }), {
  3098. "id": "mindNetwork",
  3099. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3100. "onresize": function () { }
  3101. }, {
  3102. closecallback: function () { }
  3103. }, { "style": { "height": "36px" } }).form; //创建窗体
  3104. _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); } }
  3105. break;
  3106. case "studentClassRoom": //好友打开
  3107. _formdiv = new U.UF.UI.form(
  3108. "实时课堂",
  3109. $$("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 }), {
  3110. "id": "studentClassRoom",
  3111. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3112. "onresize": function () { }
  3113. }, {
  3114. closecallback: function () { }
  3115. }, { "style": { "height": "36px" } }).form; //创建窗体
  3116. _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); } }
  3117. setTimeout(() => {
  3118. U.UF.F.windowZooming(_formdiv)
  3119. }, 0);
  3120. break;
  3121. }
  3122. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3123. switch (str) {
  3124. case "studnetProject": //好友打开
  3125. _formdiv = new U.UF.UI.form(
  3126. "我的项目",
  3127. $$("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 }), {
  3128. "id": "studnetProject",
  3129. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3130. "onresize": function () { }
  3131. }, {
  3132. closecallback: function () { }
  3133. }, { "style": { "height": "36px" } }).form; //创建窗体
  3134. _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); } }
  3135. break;
  3136. case "studentEvaluate": //好友打开
  3137. _formdiv = new U.UF.UI.form(
  3138. "我的评价",
  3139. $$("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 }), {
  3140. "id": "studentEvaluate",
  3141. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3142. "onresize": function () { }
  3143. }, {
  3144. closecallback: function () { }
  3145. }, { "style": { "height": "36px" } }).form; //创建窗体
  3146. _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); } }
  3147. break;
  3148. case "my":
  3149. _formdiv = new U.UF.UI.form(
  3150. "我的资料",
  3151. $$("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 }), {
  3152. "id": "my",
  3153. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3154. "onresize": function () { }
  3155. }, {
  3156. closecallback: function () { }
  3157. }, { "style": { "height": "36px" } }).form; //创建窗体
  3158. _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); } }
  3159. break;
  3160. case "program":
  3161. _formdiv = new U.UF.UI.form(
  3162. "编程平台",
  3163. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3164. "id": "program",
  3165. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3166. "onresize": function () { }
  3167. }, {
  3168. closecallback: function () { }
  3169. }, { "style": { "height": "36px" } }).form; //创建窗体
  3170. _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); } }
  3171. break;
  3172. case "library":
  3173. _formdiv = new U.UF.UI.form(
  3174. "素材库",
  3175. $$("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 }), {
  3176. "id": "library",
  3177. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3178. "onresize": function () { }
  3179. }, {
  3180. closecallback: function () { }
  3181. }, { "style": { "height": "36px" } }).form; //创建窗体
  3182. _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); } }
  3183. break;
  3184. case "whiteboard":
  3185. _formdiv = new U.UF.UI.form(
  3186. "电子白板",
  3187. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3188. "id": "whiteboard",
  3189. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3190. "onresize": function () { }
  3191. }, {
  3192. closecallback: function () { }
  3193. }, { "style": { "height": "36px" } }).form; //创建窗体
  3194. _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); } }
  3195. break;
  3196. case "investigation":
  3197. _formdiv = new U.UF.UI.form(
  3198. "问卷调查",
  3199. $$("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 }), {
  3200. "id": "investigation",
  3201. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3202. "onresize": function () { }
  3203. }, {
  3204. closecallback: function () { }
  3205. }, { "style": { "height": "36px" } }).form; //创建窗体
  3206. _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); } }
  3207. break;
  3208. case "note":
  3209. _formdiv = new U.UF.UI.form(
  3210. "便签分类",
  3211. $$("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 }), {
  3212. "id": "note",
  3213. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3214. "onresize": function () { }
  3215. }, {
  3216. closecallback: function () { }
  3217. }, { "style": { "height": "36px" } }).form; //创建窗体
  3218. _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); } }
  3219. break;
  3220. // case "score":
  3221. // _formdiv = new U.UF.UI.form(
  3222. // "量规评分",
  3223. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3224. // "id": "score",
  3225. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3226. // "onresize": function() {}
  3227. // }, {
  3228. // closecallback: function() {}
  3229. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3230. // _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); } }
  3231. // break;
  3232. case "mind":
  3233. _formdiv = new U.UF.UI.form(
  3234. "思维导图",
  3235. $$("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"
  3236. "id": "mind",
  3237. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3238. "onresize": function () { }
  3239. }, {
  3240. closecallback: function () { }
  3241. }, { "style": { "height": "36px" } }).form; //创建窗体
  3242. _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); } }
  3243. break;
  3244. case "doc":
  3245. // U.MD.D.I.isRoom();
  3246. _formdiv = new U.UF.UI.form(
  3247. "协同文档",
  3248. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3249. "id": "doc",
  3250. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3251. "onresize": function () { }
  3252. }, {
  3253. closecallback: function () { }
  3254. }, { "style": { "height": "36px" } }).form; //创建窗体
  3255. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3256. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3257. })
  3258. _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); } }
  3259. break;
  3260. case "train": //好友打开
  3261. _formdiv = new U.UF.UI.form(
  3262. "训练平台",
  3263. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3264. "id": "train",
  3265. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3266. "onresize": function () { }
  3267. }, {
  3268. closecallback: function () { }
  3269. }, { "style": { "height": "36px" } }).form; //创建窗体
  3270. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3271. break;
  3272. case "studentStudy":
  3273. _formdiv = new U.UF.UI.form(
  3274. "课程中心",
  3275. $$("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
  3276. "id": "studentStudy",
  3277. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3278. "onresize": function () { }
  3279. }, {
  3280. closecallback: function () { }
  3281. }, { "style": { "height": "36px" } }).form; //创建窗体
  3282. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3283. break;
  3284. case "mindNetwork": //好友打开
  3285. _formdiv = new U.UF.UI.form(
  3286. "思维网格",
  3287. $$("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 }), {
  3288. "id": "mindNetwork",
  3289. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3290. "onresize": function () { }
  3291. }, {
  3292. closecallback: function () { }
  3293. }, { "style": { "height": "36px" } }).form; //创建窗体
  3294. _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); } }
  3295. break;
  3296. case "studentClassRoom": //好友打开
  3297. _formdiv = new U.UF.UI.form(
  3298. "实时课堂",
  3299. $$("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 }), {
  3300. "id": "studentClassRoom",
  3301. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3302. "onresize": function () { }
  3303. }, {
  3304. closecallback: function () { }
  3305. }, { "style": { "height": "36px" } }).form; //创建窗体
  3306. _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); } }
  3307. setTimeout(() => {
  3308. U.UF.F.windowZooming(_formdiv)
  3309. }, 0);
  3310. break;
  3311. }
  3312. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3313. //选择应用处理
  3314. switch (str) {
  3315. case "project": //好友打开
  3316. _formdiv = new U.UF.UI.form(
  3317. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3318. $$("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 }), {
  3319. "id": "project",
  3320. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3321. "onresize": function () { }
  3322. }, {
  3323. closecallback: function () { }
  3324. }, { "style": { "height": "36px" } }).form; //创建窗体
  3325. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3326. break;
  3327. case "student":
  3328. _formdiv = new U.UF.UI.form(
  3329. "学生管理",
  3330. $$("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 }), {
  3331. "id": "student",
  3332. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3333. "onresize": function () { }
  3334. }, {
  3335. closecallback: function () { }
  3336. }, { "style": { "height": "36px" } }).form; //创建窗体
  3337. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3338. break;
  3339. case "evaluate":
  3340. _formdiv = new U.UF.UI.form(
  3341. "学生评价",
  3342. $$("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 }), {
  3343. "id": "evaluate",
  3344. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3345. "onresize": function () { }
  3346. }, {
  3347. closecallback: function () { }
  3348. }, { "style": { "height": "36px" } }).form; //创建窗体
  3349. _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); } }
  3350. break;
  3351. case "sys":
  3352. _formdiv = new U.UF.UI.form(
  3353. "目标管理",
  3354. $$("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 }), {
  3355. "id": "sys",
  3356. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3357. "onresize": function () { }
  3358. }, {
  3359. closecallback: function () { }
  3360. }, { "style": { "height": "36px" } }).form; //创建窗体
  3361. _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); } }
  3362. break;
  3363. case "courseDesign":
  3364. _formdiv = new U.UF.UI.form(
  3365. "项目设计",
  3366. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3367. "id": "courseDesign",
  3368. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3369. "onresize": function () { }
  3370. }, {
  3371. closecallback: function () { }
  3372. }, { "style": { "height": "36px" } }).form; //创建窗体
  3373. _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); } }
  3374. break;
  3375. case "program":
  3376. _formdiv = new U.UF.UI.form(
  3377. "编程平台",
  3378. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3379. "id": "program",
  3380. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3381. "onresize": function () { }
  3382. }, {
  3383. closecallback: function () { }
  3384. }, { "style": { "height": "36px" } }).form; //创建窗体
  3385. _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); } }
  3386. break;
  3387. case "class":
  3388. _formdiv = new U.UF.UI.form(
  3389. "班级管理",
  3390. $$("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 }), {
  3391. "id": "class",
  3392. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3393. "onresize": function () { }
  3394. }, {
  3395. closecallback: function () { }
  3396. }, { "style": { "height": "36px" } }).form; //创建窗体
  3397. _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); } }
  3398. break;
  3399. case "Grade":
  3400. _formdiv = new U.UF.UI.form(
  3401. "年级管理",
  3402. $$("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 }), {
  3403. "id": "Grade",
  3404. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3405. "onresize": function () { }
  3406. }, {
  3407. closecallback: function () { }
  3408. }, { "style": { "height": "36px" } }).form; //创建窗体
  3409. _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); } }
  3410. break;
  3411. case "teacherOffice":
  3412. _formdiv = new U.UF.UI.form(
  3413. "教研室",
  3414. $$("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 }), {
  3415. "id": "teacherOffice",
  3416. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3417. "onresize": function () { }
  3418. }, {
  3419. closecallback: function () { }
  3420. }, { "style": { "height": "36px" } }).form; //创建窗体
  3421. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "教研室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3422. break;
  3423. case "my":
  3424. _formdiv = new U.UF.UI.form(
  3425. "我的资料",
  3426. $$("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 }), {
  3427. "id": "my",
  3428. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3429. "onresize": function () { }
  3430. }, {
  3431. closecallback: function () { }
  3432. }, { "style": { "height": "36px" } }).form; //创建窗体
  3433. _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); } }
  3434. break;
  3435. case "notice":
  3436. _formdiv = new U.UF.UI.form(
  3437. "通知公告",
  3438. $$("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 }), {
  3439. "id": "notice",
  3440. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3441. "onresize": function () { }
  3442. }, {
  3443. closecallback: function () { }
  3444. }, { "style": { "height": "36px" } }).form; //创建窗体
  3445. _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); } }
  3446. break;
  3447. case "library":
  3448. _formdiv = new U.UF.UI.form(
  3449. "素材库",
  3450. $$("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 }), {
  3451. "id": "library",
  3452. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3453. "onresize": function () { }
  3454. }, {
  3455. closecallback: function () { }
  3456. }, { "style": { "height": "36px" } }).form; //创建窗体
  3457. _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); } }
  3458. break;
  3459. case "whiteboard":
  3460. _formdiv = new U.UF.UI.form(
  3461. "电子白板",
  3462. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3463. "id": "whiteboard",
  3464. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3465. "onresize": function () { }
  3466. }, {
  3467. closecallback: function () { }
  3468. }, { "style": { "height": "36px" } }).form; //创建窗体
  3469. _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); } }
  3470. break;
  3471. case "investigation":
  3472. _formdiv = new U.UF.UI.form(
  3473. "问卷调查",
  3474. $$("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 }), {
  3475. "id": "investigation",
  3476. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3477. "onresize": function () { }
  3478. }, {
  3479. closecallback: function () { }
  3480. }, { "style": { "height": "36px" } }).form; //创建窗体
  3481. _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); } }
  3482. break;
  3483. case "note":
  3484. _formdiv = new U.UF.UI.form(
  3485. "便签分类",
  3486. $$("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 }), {
  3487. "id": "note",
  3488. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3489. "onresize": function () { }
  3490. }, {
  3491. closecallback: function () { }
  3492. }, { "style": { "height": "36px" } }).form; //创建窗体
  3493. _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); } }
  3494. break;
  3495. // case "score":
  3496. // _formdiv = new U.UF.UI.form(
  3497. // "量规评分",
  3498. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3499. // "id": "score",
  3500. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3501. // "onresize": function() {}
  3502. // }, {
  3503. // closecallback: function() {}
  3504. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3505. // _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); } }
  3506. // break;
  3507. case "mind":
  3508. _formdiv = new U.UF.UI.form(
  3509. "思维导图",
  3510. $$("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"
  3511. "id": "mind",
  3512. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3513. "onresize": function () { }
  3514. }, {
  3515. closecallback: function () { }
  3516. }, { "style": { "height": "36px" } }).form; //创建窗体
  3517. _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); } }
  3518. break;
  3519. case "doc":
  3520. // U.MD.D.I.isRoom();
  3521. _formdiv = new U.UF.UI.form(
  3522. "协同文档",
  3523. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3524. "id": "doc",
  3525. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3526. "onresize": function () { }
  3527. }, {
  3528. closecallback: function () { }
  3529. }, { "style": { "height": "36px" } }).form; //创建窗体
  3530. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3531. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3532. })
  3533. _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); } }
  3534. break;
  3535. case "study":
  3536. _formdiv = new U.UF.UI.form(
  3537. "课程中心",
  3538. $$("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
  3539. "id": "study",
  3540. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3541. "onresize": function () { }
  3542. }, {
  3543. closecallback: function () { }
  3544. }, { "style": { "height": "36px" } }).form; //创建窗体
  3545. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3546. break;
  3547. case "mindNetwork": //好友打开
  3548. _formdiv = new U.UF.UI.form(
  3549. "思维网格",
  3550. $$("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 }), {
  3551. "id": "mindNetwork",
  3552. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3553. "onresize": function () { }
  3554. }, {
  3555. closecallback: function () { }
  3556. }, { "style": { "height": "36px" } }).form; //创建窗体
  3557. _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); } }
  3558. break;
  3559. case "train": //好友打开
  3560. _formdiv = new U.UF.UI.form(
  3561. "训练平台",
  3562. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3563. "id": "mindNetwork",
  3564. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3565. "onresize": function () { }
  3566. }, {
  3567. closecallback: function () { }
  3568. }, { "style": { "height": "36px" } }).form; //创建窗体
  3569. _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); } }
  3570. break;
  3571. case "teacherClassRoom": //好友打开
  3572. _formdiv = new U.UF.UI.form(
  3573. "实时课堂",
  3574. $$("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 }), {
  3575. "id": "teacherClassRoom",
  3576. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3577. "onresize": function () { }
  3578. }, {
  3579. closecallback: function () { }
  3580. }, { "style": { "height": "36px" } }).form; //创建窗体
  3581. _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); } }
  3582. setTimeout(() => {
  3583. U.UF.F.windowZooming(_formdiv)
  3584. }, 0);
  3585. break;
  3586. }
  3587. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3588. switch (str) {
  3589. case "project": //好友打开
  3590. _formdiv = new U.UF.UI.form(
  3591. "课程管理",
  3592. $$("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 }), {
  3593. "id": "project",
  3594. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3595. "onresize": function () { }
  3596. }, {
  3597. closecallback: function () { }
  3598. }, { "style": { "height": "36px" } }).form; //创建窗体
  3599. _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); } }
  3600. break;
  3601. case "evaluate":
  3602. _formdiv = new U.UF.UI.form(
  3603. "学生评价",
  3604. $$("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 }), {
  3605. "id": "evaluate",
  3606. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3607. "onresize": function () { }
  3608. }, {
  3609. closecallback: function () { }
  3610. }, { "style": { "height": "36px" } }).form; //创建窗体
  3611. _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); } }
  3612. break;
  3613. case "notice":
  3614. _formdiv = new U.UF.UI.form(
  3615. "通知公告",
  3616. $$("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 }), {
  3617. "id": "notice",
  3618. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3619. "onresize": function () { }
  3620. }, {
  3621. closecallback: function () { }
  3622. }, { "style": { "height": "36px" } }).form; //创建窗体
  3623. _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); } }
  3624. break;
  3625. case "stuLibrary":
  3626. _formdiv = new U.UF.UI.form(
  3627. "学习资料",
  3628. $$("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 }), {
  3629. "id": "stuLibrary",
  3630. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3631. "onresize": function () { }
  3632. }, {
  3633. closecallback: function () { }
  3634. }, { "style": { "height": "36px" } }).form; //创建窗体
  3635. _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); } }
  3636. break;
  3637. case "program":
  3638. _formdiv = new U.UF.UI.form(
  3639. "编程平台",
  3640. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3641. "id": "program",
  3642. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3643. "onresize": function () { }
  3644. }, {
  3645. closecallback: function () { }
  3646. }, { "style": { "height": "36px" } }).form; //创建窗体
  3647. _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); } }
  3648. break;
  3649. case "whiteboard":
  3650. _formdiv = new U.UF.UI.form(
  3651. "电子白板",
  3652. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3653. "id": "whiteboard",
  3654. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3655. "onresize": function () { }
  3656. }, {
  3657. closecallback: function () { }
  3658. }, { "style": { "height": "36px" } }).form; //创建窗体
  3659. _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); } }
  3660. break;
  3661. case "investigation":
  3662. _formdiv = new U.UF.UI.form(
  3663. "问卷调查",
  3664. $$("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 }), {
  3665. "id": "investigation",
  3666. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3667. "onresize": function () { }
  3668. }, {
  3669. closecallback: function () { }
  3670. }, { "style": { "height": "36px" } }).form; //创建窗体
  3671. _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); } }
  3672. break;
  3673. case "mind":
  3674. _formdiv = new U.UF.UI.form(
  3675. "思维导图",
  3676. $$("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"
  3677. "id": "mind",
  3678. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3679. "onresize": function () { }
  3680. }, {
  3681. closecallback: function () { }
  3682. }, { "style": { "height": "36px" } }).form; //创建窗体
  3683. _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); } }
  3684. break;
  3685. case "doc":
  3686. // U.MD.D.I.isRoom();
  3687. _formdiv = new U.UF.UI.form(
  3688. "协同文档",
  3689. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3690. "id": "doc",
  3691. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3692. "onresize": function () { }
  3693. }, {
  3694. closecallback: function () { }
  3695. }, { "style": { "height": "36px" } }).form; //创建窗体
  3696. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3697. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3698. })
  3699. _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); } }
  3700. break;
  3701. case "study":
  3702. _formdiv = new U.UF.UI.form(
  3703. "课程中心",
  3704. $$("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
  3705. "id": "study",
  3706. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3707. "onresize": function () { }
  3708. }, {
  3709. closecallback: function () { }
  3710. }, { "style": { "height": "36px" } }).form; //创建窗体
  3711. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3712. break;
  3713. case "mindNetwork": //好友打开
  3714. _formdiv = new U.UF.UI.form(
  3715. "思维网格",
  3716. $$("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 }), {
  3717. "id": "mindNetwork",
  3718. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3719. "onresize": function () { }
  3720. }, {
  3721. closecallback: function () { }
  3722. }, { "style": { "height": "36px" } }).form; //创建窗体
  3723. _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); } }
  3724. break;
  3725. case "train": //好友打开
  3726. _formdiv = new U.UF.UI.form(
  3727. "训练平台",
  3728. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3729. "id": "train",
  3730. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3731. "onresize": function () { }
  3732. }, {
  3733. closecallback: function () { }
  3734. }, { "style": { "height": "36px" } }).form; //创建窗体
  3735. _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); } }
  3736. break;
  3737. case "sys":
  3738. _formdiv = new U.UF.UI.form(
  3739. "目标管理",
  3740. $$("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 }), {
  3741. "id": "sys",
  3742. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3743. "onresize": function () { }
  3744. }, {
  3745. closecallback: function () { }
  3746. }, { "style": { "height": "36px" } }).form; //创建窗体
  3747. _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); } }
  3748. break;
  3749. case "courseDesign":
  3750. _formdiv = new U.UF.UI.form(
  3751. "项目设计",
  3752. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3753. "id": "courseDesign",
  3754. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3755. "onresize": function () { }
  3756. }, {
  3757. closecallback: function () { }
  3758. }, { "style": { "height": "36px" } }).form; //创建窗体
  3759. _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); } }
  3760. break;
  3761. }
  3762. } else if (!_type) {
  3763. switch (str) {
  3764. case "my":
  3765. _formdiv = new U.UF.UI.form(
  3766. "我的资料",
  3767. $$("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 }), {
  3768. "id": "my",
  3769. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3770. "onresize": function () { }
  3771. }, {
  3772. closecallback: function () { }
  3773. }, { "style": { "height": "36px" } }).form; //创建窗体
  3774. _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); } }
  3775. break;
  3776. }
  3777. }
  3778. switch (str) {
  3779. // AIprogram2 AI体验 aihub.cocorobo.cn
  3780. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3781. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3782. case "formulaEdi": //公式编辑
  3783. _formdiv = new U.UF.UI.form(
  3784. "公式编辑",
  3785. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3786. "id": "formulaEdi",
  3787. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3788. "onresize": function () { }
  3789. }, {
  3790. closecallback: function () { }
  3791. }, { "style": { "height": "36px" } }).form; //创建窗体
  3792. _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); } }
  3793. break;
  3794. case "molStr": //分子结构
  3795. _formdiv = new U.UF.UI.form(
  3796. "分子结构",
  3797. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3798. "id": "molStr",
  3799. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3800. "onresize": function () { }
  3801. }, {
  3802. closecallback: function () { }
  3803. }, { "style": { "height": "36px" } }).form; //创建窗体
  3804. _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); } }
  3805. break;
  3806. case "timeAxis": //时间轴
  3807. _formdiv = new U.UF.UI.form(
  3808. "时间轴",
  3809. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3810. "id": "timeAxis",
  3811. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3812. "onresize": function () { }
  3813. }, {
  3814. closecallback: function () { }
  3815. }, { "style": { "height": "36px" } }).form; //创建窗体
  3816. _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); } }
  3817. break;
  3818. case "AIprogram2": //AI体验
  3819. _formdiv = new U.UF.UI.form(
  3820. "AI体验",
  3821. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3822. "id": "AIprogram2",
  3823. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3824. "onresize": function () { }
  3825. }, {
  3826. closecallback: function () { }
  3827. }, { "style": { "height": "36px" } }).form; //创建窗体
  3828. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI体验", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3829. break;
  3830. case "Pythonprogram": //python编程
  3831. _formdiv = new U.UF.UI.form(
  3832. "Python编程",
  3833. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3834. "id": "Pythonprogram",
  3835. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3836. "onresize": function () { }
  3837. }, {
  3838. closecallback: function () { }
  3839. }, { "style": { "height": "36px" } }).form; //创建窗体
  3840. _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); } }
  3841. break;
  3842. case "AIprogram": //ai编程
  3843. _formdiv = new U.UF.UI.form(
  3844. "AI编程平台",
  3845. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3846. "id": "AIprogram",
  3847. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3848. "onresize": function () { }
  3849. }, {
  3850. closecallback: function () { }
  3851. }, { "style": { "height": "36px" } }).form; //创建窗体
  3852. _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); } }
  3853. break;
  3854. case "CocoPi": //CocoPi
  3855. _formdiv = new U.UF.UI.form(
  3856. "CocoPi",
  3857. $$("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" }), {
  3858. "id": "CocoPi",
  3859. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3860. "onresize": function () { }
  3861. }, {
  3862. closecallback: function () { }
  3863. }, { "style": { "height": "36px" } }).form; //创建窗体
  3864. _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); } }
  3865. break;
  3866. case "Wood": //Wood
  3867. _formdiv = new U.UF.UI.form(
  3868. "海龟编程",
  3869. $$("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/" }), {
  3870. "id": "Wood",
  3871. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3872. "onresize": function () { }
  3873. }, {
  3874. closecallback: function () { }
  3875. }, { "style": { "height": "36px" } }).form; //创建窗体
  3876. _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); } }
  3877. break;
  3878. case "car": //模拟驾驶
  3879. _formdiv = new U.UF.UI.form(
  3880. "模拟驾驶",
  3881. $$("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/" }), {
  3882. "id": "car",
  3883. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3884. "onresize": function () { }
  3885. }, {
  3886. closecallback: function () { }
  3887. }, { "style": { "height": "36px" } }).form; //创建窗体
  3888. _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); } }
  3889. break;
  3890. case "lineSearch": //路径搜索
  3891. _formdiv = new U.UF.UI.form(
  3892. "路径搜索",
  3893. $$("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/" }), {
  3894. "id": "lineSearch",
  3895. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3896. "onresize": function () { }
  3897. }, {
  3898. closecallback: function () { }
  3899. }, { "style": { "height": "36px" } }).form; //创建窗体
  3900. _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); } }
  3901. break;
  3902. case "deepLearning": //深度学习
  3903. _formdiv = new U.UF.UI.form(
  3904. "深度学习",
  3905. $$("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/#" }), {
  3906. "id": "deepLearning",
  3907. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3908. "onresize": function () { }
  3909. }, {
  3910. closecallback: function () { }
  3911. }, { "style": { "height": "36px" } }).form; //创建窗体
  3912. _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); } }
  3913. break;
  3914. case "allHistory": //深度学习
  3915. _formdiv = new U.UF.UI.form(
  3916. "全历史",
  3917. $$("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/" }), {
  3918. "id": "allHistory",
  3919. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3920. "onresize": function () { }
  3921. }, {
  3922. closecallback: function () { }
  3923. }, { "style": { "height": "36px" } }).form; //创建窗体
  3924. _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); } }
  3925. break;
  3926. case "chatPDF": //ai编程
  3927. _formdiv = new U.UF.UI.form(
  3928. "chatPDF",
  3929. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3930. "id": "chatPDF",
  3931. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3932. "onresize": function () { }
  3933. }, {
  3934. closecallback: function () { }
  3935. }, { "style": { "height": "36px" } }).form; //创建窗体
  3936. _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); } }
  3937. break;
  3938. case "resources": //国家教育
  3939. _formdiv = new U.UF.UI.form(
  3940. "国家教育",
  3941. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3942. "id": "resources",
  3943. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3944. "onresize": function () { }
  3945. }, {
  3946. closecallback: function () { }
  3947. }, { "style": { "height": "36px" } }).form; //创建窗体
  3948. _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); } }
  3949. break;
  3950. case "codeEdit": //源码编辑
  3951. _formdiv = new U.UF.UI.form(
  3952. "源码编辑",
  3953. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3954. "id": "codeEdit",
  3955. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3956. "onresize": function () { }
  3957. }, {
  3958. closecallback: function () { }
  3959. }, { "style": { "height": "36px" } }).form; //创建窗体
  3960. _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); } }
  3961. break; //
  3962. case "MindMap": //MindMap
  3963. _formdiv = new U.UF.UI.form(
  3964. "MindMap",
  3965. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3966. "id": "MindMap",
  3967. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3968. "onresize": function () { }
  3969. }, {
  3970. closecallback: function () { }
  3971. }, { "style": { "height": "36px" } }).form; //创建窗体
  3972. _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); } }
  3973. break;
  3974. case "netWorkPanel": //netWorkPanel
  3975. _formdiv = new U.UF.UI.form(
  3976. "netWorkPanel",
  3977. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3978. "id": "netWorkPanel",
  3979. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3980. "onresize": function () { }
  3981. }, {
  3982. closecallback: function () { }
  3983. }, { "style": { "height": "36px" } }).form; //创建窗体
  3984. _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); } }
  3985. break;
  3986. case "GeoGebra": //GeoGebra
  3987. _formdiv = new U.UF.UI.form(
  3988. "GeoGebra",
  3989. $$("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" }), {
  3990. "id": "GeoGebra",
  3991. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3992. "onresize": function () { }
  3993. }, {
  3994. closecallback: function () { }
  3995. }, { "style": { "height": "36px" } }).form; //创建窗体
  3996. _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); } }
  3997. break;
  3998. case "translation": //翻译
  3999. _formdiv = new U.UF.UI.form(
  4000. "翻译",
  4001. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4002. "id": "translation",
  4003. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4004. "onresize": function () { }
  4005. }, {
  4006. closecallback: function () { }
  4007. }, { "style": { "height": "36px" } }).form; //创建窗体
  4008. _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); } }
  4009. break;
  4010. case "mohe": //魔盒
  4011. _formdiv = new U.UF.UI.form(
  4012. "魔盒识字",
  4013. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4014. "id": "mohe",
  4015. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4016. "onresize": function () { }
  4017. }, {
  4018. closecallback: function () { }
  4019. }, { "style": { "height": "36px" } }).form; //创建窗体
  4020. _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); } }
  4021. break;
  4022. case "24game": //24点
  4023. _formdiv = new U.UF.UI.form(
  4024. "24点",
  4025. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4026. "id": "24game",
  4027. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4028. "onresize": function () { }
  4029. }, {
  4030. closecallback: function () { }
  4031. }, { "style": { "height": "36px" } }).form; //创建窗体
  4032. _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); } }
  4033. break;
  4034. case "case":
  4035. _formdiv = new U.UF.UI.form(
  4036. "课程进展",
  4037. $$("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 }), {
  4038. "id": "case",
  4039. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4040. "onresize": function () { }
  4041. }, {
  4042. closecallback: function () { }
  4043. }, { "style": { "height": "36px" } }).form; //创建窗体
  4044. _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); } }
  4045. break;
  4046. case "snf":
  4047. _formdiv = new U.UF.UI.form(
  4048. "赛诺梵",
  4049. $$("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" }), {
  4050. "id": "snf",
  4051. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4052. "onresize": function () { }
  4053. }, {
  4054. closecallback: function () { }
  4055. }, { "style": { "height": "36px" } }).form; //创建窗体
  4056. _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); } }
  4057. break;
  4058. case "hanFamily":
  4059. _formdiv = new U.UF.UI.form(
  4060. "汉字家族",
  4061. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4062. "id": "hanFamily",
  4063. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4064. "onresize": function () { }
  4065. }, {
  4066. closecallback: function () { }
  4067. }, { "style": { "height": "36px" } }).form; //创建窗体
  4068. _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); } }
  4069. break;
  4070. case "hanClassics":
  4071. _formdiv = new U.UF.UI.form(
  4072. "国学经典",
  4073. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4074. "id": "hanClassics",
  4075. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4076. "onresize": function () { }
  4077. }, {
  4078. closecallback: function () { }
  4079. }, { "style": { "height": "36px" } }).form; //创建窗体
  4080. _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); } }
  4081. break;
  4082. case "hanTraining":
  4083. _formdiv = new U.UF.UI.form(
  4084. "笔画训练",
  4085. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4086. "id": "hanTraining",
  4087. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4088. "onresize": function () { }
  4089. }, {
  4090. closecallback: function () { }
  4091. }, { "style": { "height": "36px" } }).form; //创建窗体
  4092. _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); } }
  4093. break;
  4094. case "hanClass":
  4095. _formdiv = new U.UF.UI.form(
  4096. "书法课堂",
  4097. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4098. "id": "hanClass",
  4099. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4100. "onresize": function () { }
  4101. }, {
  4102. closecallback: function () { }
  4103. }, { "style": { "height": "36px" } }).form; //创建窗体
  4104. _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); } }
  4105. break;
  4106. case "han":
  4107. _formdiv = new U.UF.UI.form(
  4108. "汉字宫",
  4109. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4110. "id": "han",
  4111. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4112. "onresize": function () { }
  4113. }, {
  4114. closecallback: function () { }
  4115. }, { "style": { "height": "36px" } }).form; //创建窗体
  4116. _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); } }
  4117. break;
  4118. case "projectGM": //课程管理
  4119. _formdiv = new U.UF.UI.form(
  4120. "课程管理",
  4121. $$("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 }), {
  4122. "id": "projectGM",
  4123. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4124. "onresize": function () { }
  4125. }, {
  4126. closecallback: function () { }
  4127. }, { "style": { "height": "36px" } }).form; //创建窗体
  4128. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4129. break;
  4130. case "studyGM": //课程中心
  4131. _formdiv = new U.UF.UI.form(
  4132. "课程中心",
  4133. $$("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
  4134. "id": "study",
  4135. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4136. "onresize": function () { }
  4137. }, {
  4138. closecallback: function () { }
  4139. }, { "style": { "height": "36px" } }).form; //创建窗体
  4140. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4141. break;
  4142. // studentGM
  4143. case "studentGM": //学生管理
  4144. _formdiv = new U.UF.UI.form(
  4145. "学生管理",
  4146. $$("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 }), {
  4147. "id": "studentGM",
  4148. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4149. "onresize": function () { }
  4150. }, {
  4151. closecallback: function () { }
  4152. }, { "style": { "height": "36px" } }).form; //创建窗体
  4153. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4154. break;
  4155. case "evaluateGM": //学生评价
  4156. _formdiv = new U.UF.UI.form(
  4157. "学生评价",
  4158. $$("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 }), {
  4159. "id": "evaluateGM",
  4160. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4161. "onresize": function () { }
  4162. }, {
  4163. closecallback: function () { }
  4164. }, { "style": { "height": "36px" } }).form; //创建窗体
  4165. _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); } }
  4166. break;
  4167. // classGM
  4168. case "classGM": //班级管理
  4169. _formdiv = new U.UF.UI.form(
  4170. "班级管理",
  4171. $$("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 }), {
  4172. "id": "classGM",
  4173. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4174. "onresize": function () { }
  4175. }, {
  4176. closecallback: function () { }
  4177. }, { "style": { "height": "36px" } }).form; //创建窗体
  4178. _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); } }
  4179. break;
  4180. // dataGM
  4181. case "dataGM":
  4182. _formdiv = new U.UF.UI.form(
  4183. "我的资料",
  4184. $$("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 }), {
  4185. "id": "dataGM",
  4186. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4187. "onresize": function () { }
  4188. }, {
  4189. closecallback: function () { }
  4190. }, { "style": { "height": "36px" } }).form; //创建窗体
  4191. _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); } }
  4192. break;
  4193. // caseGM
  4194. case "caseGM": //课程进展
  4195. _formdiv = new U.UF.UI.form(
  4196. "课程进展",
  4197. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4198. "id": "caseGM",
  4199. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4200. "onresize": function () { }
  4201. }, {
  4202. closecallback: function () { }
  4203. }, { "style": { "height": "36px" } }).form; //创建窗体
  4204. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4205. break;
  4206. // meterialGM
  4207. case "meterialGM": //素材库
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/libraryGM?userid=" + _userid + "&org=" + _org }), {
  4211. "id": "meterialGM",
  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/gm/material.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4218. break;
  4219. // evaluateSGM
  4220. case "evaluateSGM": //我的评价
  4221. _formdiv = new U.UF.UI.form(
  4222. "我的评价",
  4223. $$("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 }), {
  4224. "id": "evaluateSGM",
  4225. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4226. "onresize": function () { }
  4227. }, {
  4228. closecallback: function () { }
  4229. }, { "style": { "height": "36px" } }).form; //创建窗体
  4230. _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); } }
  4231. break;
  4232. case "jupyter": //jupyter
  4233. _formdiv = new U.UF.UI.form(
  4234. "jupyter",
  4235. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4236. "id": "jupyter",
  4237. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4238. "onresize": function () { }
  4239. }, {
  4240. closecallback: function () { }
  4241. }, { "style": { "height": "36px" } }).form; //创建窗体
  4242. _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); } }
  4243. break;
  4244. case "number": //数字实验室
  4245. _formdiv = new U.UF.UI.form(
  4246. "数字实验室",
  4247. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4248. "id": "number",
  4249. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4250. "onresize": function () { }
  4251. }, {
  4252. closecallback: function () { }
  4253. }, { "style": { "height": "36px" } }).form; //创建窗体
  4254. _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); } }
  4255. break;
  4256. case "studentCourse": //项目管理 学生
  4257. _formdiv = new U.UF.UI.form(
  4258. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4259. $$("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 }), {
  4260. "id": "studentCourse",
  4261. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4262. "onresize": function () { }
  4263. }, {
  4264. closecallback: function () { }
  4265. }, { "style": { "height": "36px" } }).form; //创建窗体
  4266. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4267. break;
  4268. case "studentCourseS": //项目管理 老师
  4269. _formdiv = new U.UF.UI.form(
  4270. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4271. $$("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 }), {
  4272. "id": "studentCourseS",
  4273. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4274. "onresize": function () { }
  4275. }, {
  4276. closecallback: function () { }
  4277. }, { "style": { "height": "36px" } }).form; //创建窗体
  4278. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4279. break;
  4280. case "studentIndex": //项目中心
  4281. _formdiv = new U.UF.UI.form(
  4282. "项目中心",
  4283. $$("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 }), {
  4284. "id": "studentIndex",
  4285. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4286. "onresize": function () { }
  4287. }, {
  4288. closecallback: function () { }
  4289. }, { "style": { "height": "36px" } }).form; //创建窗体
  4290. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4291. break;
  4292. case "CaseDesignS":
  4293. _formdiv = new U.UF.UI.form(
  4294. "项目进展",
  4295. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4296. "id": "case",
  4297. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4298. "onresize": function () { }
  4299. }, {
  4300. closecallback: function () { }
  4301. }, { "style": { "height": "36px" } }).form; //创建窗体
  4302. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/CaseDesignS.png)" }, "name": "项目进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4303. break;
  4304. case "tcStudent": //腾讯学生管理
  4305. _formdiv = new U.UF.UI.form(
  4306. "学生管理",
  4307. $$("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 }), {
  4308. "id": "tcStudent",
  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/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4315. break;
  4316. case "tcSchool": //腾讯学校管理
  4317. _formdiv = new U.UF.UI.form(
  4318. "学校管理",
  4319. $$("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 }), {
  4320. "id": "tcSchool",
  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/school.png)" }, "name": "学校管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4327. break;
  4328. case "tcTeacher": //腾讯学校管理
  4329. _formdiv = new U.UF.UI.form(
  4330. "教师管理",
  4331. $$("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 }), {
  4332. "id": "tcTeacher",
  4333. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4334. "onresize": function () { }
  4335. }, {
  4336. closecallback: function () { }
  4337. }, { "style": { "height": "36px" } }).form; //创建窗体
  4338. _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); } }
  4339. break;
  4340. case "tcData": //腾讯我的资料
  4341. _formdiv = new U.UF.UI.form(
  4342. "我的资料",
  4343. $$("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 }), {
  4344. "id": "tcData",
  4345. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4346. "onresize": function () { }
  4347. }, {
  4348. closecallback: function () { }
  4349. }, { "style": { "height": "36px" } }).form; //创建窗体
  4350. _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); } }
  4351. break;
  4352. case "tcNotice": //腾讯消息通知
  4353. _formdiv = new U.UF.UI.form(
  4354. "消息通知",
  4355. $$("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 }), {
  4356. "id": "tcNotice",
  4357. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4358. "onresize": function () { }
  4359. }, {
  4360. closecallback: function () { }
  4361. }, { "style": { "height": "36px" } }).form; //创建窗体
  4362. _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); } }
  4363. break;
  4364. case "myReport": //好友打开
  4365. _formdiv = new U.UF.UI.form(
  4366. "我的评价",
  4367. $$("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 }), {
  4368. "id": "myReport",
  4369. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4370. "onresize": function () { }
  4371. }, {
  4372. closecallback: function () { }
  4373. }, { "style": { "height": "36px" } }).form; //创建窗体
  4374. _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); } }
  4375. break;
  4376. case "learnAna": //好友打开
  4377. _formdiv = new U.UF.UI.form(
  4378. "学习分析",
  4379. $$("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 }), {
  4380. "id": "learnAna",
  4381. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4382. "onresize": function () { }
  4383. }, {
  4384. closecallback: function () { }
  4385. }, { "style": { "height": "36px" } }).form; //创建窗体
  4386. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "学习分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4387. break;
  4388. case "AIChat": //AI共创
  4389. _formdiv = new U.UF.UI.form(
  4390. "AI共创",
  4391. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4392. "id": "AIChat",
  4393. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4394. "onresize": function () { }
  4395. }, {
  4396. istop: true,
  4397. closecallback: function () { $("#aichat_icon").remove(); },
  4398. narrowcallback: function () {
  4399. if (!$("#aichat_icon")[0]) {
  4400. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4401. }
  4402. },
  4403. }, { "style": { "height": "36px" } }).form; //创建窗体
  4404. _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); } }
  4405. break;
  4406. case "ainew": //AI共创
  4407. _formdiv = new U.UF.UI.form(
  4408. "AI协同",
  4409. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4410. "id": "ainew",
  4411. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4412. "onresize": function () { }
  4413. }, {
  4414. closecallback: function () { }
  4415. }, { "style": { "height": "36px" } }).form; //创建窗体
  4416. _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); } }
  4417. break;
  4418. case "futureClass": //AI共创
  4419. _formdiv = new U.UF.UI.form(
  4420. "协同建构",
  4421. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://cscl.cocorobo.cn
  4422. "id": "synergyCourse",
  4423. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4424. "onresize": function () { }
  4425. }, {
  4426. closecallback: function () {
  4427. $("iframe", _formdiv)[0].contentWindow.loginout();
  4428. }
  4429. }, { "style": { "height": "36px" } }).form; //创建窗体
  4430. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "协同建构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4431. break;
  4432. case "aiagent": //ai agent
  4433. _formdiv = new U.UF.UI.form(
  4434. "AI Agent",
  4435. $$("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" }), {
  4436. "id": "AIAgent",
  4437. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4438. "onresize": function () { }
  4439. }, {
  4440. closecallback: function () { }
  4441. }, { "style": { "height": "36px" } }).form; //创建窗体
  4442. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Agent", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4443. break;
  4444. case "dataBoard": //数据看板
  4445. _formdiv = new U.UF.UI.form(
  4446. "数据看板",
  4447. $$("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 }), {
  4448. "id": "dataBoard",
  4449. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4450. "onresize": function () { }
  4451. }, {
  4452. closecallback: function () { }
  4453. }, { "style": { "height": "36px" } }).form; //创建窗体
  4454. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoard.png)" }, "name": "数据看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4455. break;
  4456. case "dataBoardSies": //数据看板
  4457. _formdiv = new U.UF.UI.form(
  4458. "数据看板",
  4459. $$("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 }), {
  4460. "id": "dataBoardSies",
  4461. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4462. "onresize": function () { }
  4463. }, {
  4464. closecallback: function () { }
  4465. }, { "style": { "height": "36px" } }).form; //创建窗体
  4466. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardSies.png)" }, "name": "数据看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4467. break;
  4468. case "AIAnalyse": //AI共创
  4469. _formdiv = new U.UF.UI.form(
  4470. "AI分析",
  4471. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4472. "id": "AIAnalyse",
  4473. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4474. "onresize": function () { }
  4475. }, {
  4476. closecallback: function () { }
  4477. }, { "style": { "height": "36px" } }).form; //创建窗体
  4478. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4479. break;
  4480. case "studioCourse": //AI共创
  4481. _formdiv = new U.UF.UI.form(
  4482. "工作管理",
  4483. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studioCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4484. "id": "studioCourse",
  4485. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4486. "onresize": function () { }
  4487. }, {
  4488. closecallback: function () { }
  4489. }, { "style": { "height": "36px" } }).form; //创建窗体
  4490. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4491. break;
  4492. case "studioIndex": //AI共创
  4493. _formdiv = new U.UF.UI.form(
  4494. "工作中心",
  4495. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studioIndex?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType + "&role=" + _role }), {
  4496. "id": "studioIndex",
  4497. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4498. "onresize": function () { }
  4499. }, {
  4500. closecallback: function () { }
  4501. }, { "style": { "height": "36px" } }).form; //创建窗体
  4502. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioIndex.png)" }, "name": "工作中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4503. break;
  4504. case "source":
  4505. _formdiv = new U.UF.UI.form(
  4506. "教学资源",
  4507. $$("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 }), {
  4508. "id": "source",
  4509. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4510. "onresize": function () { }
  4511. }, {
  4512. closecallback: function () { }
  4513. }, { "style": { "height": "36px" } }).form; //创建窗体
  4514. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/source.png)" }, "name": "教学资源", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4515. break;
  4516. case "testTeacher":
  4517. _formdiv = new U.UF.UI.form(
  4518. "评测管理",
  4519. $$("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 }), {
  4520. "id": "testTeacher",
  4521. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4522. "onresize": function () { }
  4523. }, {
  4524. closecallback: function () { }
  4525. }, { "style": { "height": "36px" } }).form; //创建窗体
  4526. _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); } }
  4527. break;
  4528. case "testStudent":
  4529. _formdiv = new U.UF.UI.form(
  4530. "评测中心",
  4531. $$("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 }), {
  4532. "id": "testStudent",
  4533. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4534. "onresize": function () { }
  4535. }, {
  4536. closecallback: function () { }
  4537. }, { "style": { "height": "36px" } }).form; //创建窗体
  4538. _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); } }
  4539. break;
  4540. }
  4541. //U.MD.D.I.openClick(str);
  4542. //如果有任务栏信息
  4543. if (_taskbar) {
  4544. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4545. }
  4546. }
  4547. // U.MD.D.I.openClick = function(str){
  4548. // var click = '';
  4549. // switch(str){
  4550. // case 'friend':
  4551. // click = '我的好友';
  4552. // break;
  4553. // case 'domain':
  4554. // click = '域名管理';
  4555. // break;
  4556. // case 'disk':
  4557. // click = '我的云盘';
  4558. // break;
  4559. // case 'word':
  4560. // click = 'Word';
  4561. // break;
  4562. // case 'excel':
  4563. // click = 'Execl';
  4564. // break;
  4565. // case 'txt':
  4566. // click = '文本文件';
  4567. // break;
  4568. // case 'lookupFriend':
  4569. // click = '查找好友';
  4570. // break;
  4571. // case 'ftp':
  4572. // click = 'FTP';
  4573. // break;
  4574. // case 'group':
  4575. // click = '群组';
  4576. // break;
  4577. // case 'set':
  4578. // click = '我的设置';
  4579. // break;
  4580. // case 'systemSet':
  4581. // click = '系统设置';
  4582. // break;
  4583. // case 'boomYun':
  4584. // click = '互联办公';
  4585. // break;
  4586. // case 'xz':
  4587. // click = '云端下载';
  4588. // break;
  4589. // case 'client':
  4590. // click = '有思浏览器';
  4591. // break;
  4592. // case 'backEndProgramming':
  4593. // click = '在线后台编程';
  4594. // break;
  4595. // case 'frontEndProgramming':
  4596. // click = '在线前端编程';
  4597. // break;
  4598. // default: break;
  4599. // }
  4600. // if(U.MD.D.I.Ip && click){
  4601. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4602. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4603. // })
  4604. // }
  4605. // }
  4606. /**
  4607. *函数作用:ajax简易函数,使用post格式
  4608. *@param url {data} 后台地址
  4609. *@param data {data} 参数json
  4610. *@param fn {data} 回调函数
  4611. *
  4612. */
  4613. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4614. // var xhr = new XMLHttpRequest();
  4615. // xhr.open("GET",url,true);
  4616. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4617. // xhr.onreadystatechange = function(){
  4618. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4619. // fn.call(this,xhr.responseText);
  4620. // }
  4621. // };
  4622. // xhr.send();
  4623. // }
  4624. /*判断是否是内网IP*/
  4625. // U.MD.D.I.isInnerIPFn = function(str){
  4626. // var curPageUrl = str;
  4627. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4628. // curPageUrl =curPageUrl.replace(reg1,'');
  4629. // // console.log('curPageUrl-1 '+curPageUrl);
  4630. // var reg2 = /\:+/g;//替换冒号为一点
  4631. // curPageUrl =curPageUrl.replace(reg2,'.');
  4632. // // console.log('curPageUrl-2 '+curPageUrl);
  4633. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4634. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4635. // if(curPageUrl[2] != '16'){
  4636. // return ipAddress;
  4637. // }else{
  4638. // return false;
  4639. // }
  4640. // }
  4641. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4642. // //compatibility for firefox and chrome
  4643. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4644. // var pc = new myPeerConnection({
  4645. // iceServers: []
  4646. // }),
  4647. // noop = function() {},
  4648. // localIPs = {},
  4649. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4650. // key;
  4651. // function iterateIP(ip) {
  4652. // if (!localIPs[ip]) onNewIP(ip);
  4653. // localIPs[ip] = true;
  4654. // }
  4655. // //create a bogus data channel
  4656. // pc.createDataChannel("");
  4657. // // create offer and set local description
  4658. // pc.createOffer().then(function(sdp) {
  4659. // sdp.sdp.split('\n').forEach(function(line) {
  4660. // if (line.indexOf('candidate') < 0) return;
  4661. // line.match(ipRegex).forEach(iterateIP);
  4662. // });
  4663. // pc.setLocalDescription(sdp, noop, noop);
  4664. // }).catch(function(reason) {
  4665. // // An error occurred, so handle the failure to connect
  4666. // });
  4667. // //sten for candidate events
  4668. // pc.onicecandidate = function(ice) {
  4669. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4670. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4671. // };
  4672. // }
  4673. // U.MD.D.I.getUserIpBool = function(callback){
  4674. // U.MD.D.I.getUserIP(function(ip){
  4675. // alert("Got IP! :" + ip);
  4676. // });
  4677. //}
  4678. //#endregion
  4679. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4680. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4681. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4682. _userinfo = US.userInfo, //登录用户信息
  4683. _userid = US.userInfo.userid //登录用户id
  4684. let _iframe;
  4685. let _cid = cid,
  4686. _stage = stage,
  4687. _task = task,
  4688. _tool = tool;
  4689. var _jie = $$("div", {
  4690. "style": {
  4691. "position": "absolute",
  4692. "bottom": "50px",
  4693. "right": "50px",
  4694. "zIndex": "9999",
  4695. "backgroundColor": "#2268bc",
  4696. "color": "#fff",
  4697. "padding": "12px 20px",
  4698. "cursor": "pointer",
  4699. "borderRadius": "4px",
  4700. },
  4701. "innerHTML": "提交作业"
  4702. })
  4703. let aTool = ''
  4704. let _loading = document.createElement('div')
  4705. _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;"
  4706. // _loading.id = "";
  4707. let _lchild = document.createElement('div')
  4708. let _limg = document.createElement('img')
  4709. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4710. _limg.style = "width: 26px;margin-right: 10px;"
  4711. _lchild.appendChild(_limg)
  4712. let _lspan = document.createElement('span')
  4713. _lspan.innerHTML = "上传中..."
  4714. _lchild.appendChild(_lspan)
  4715. _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%);"
  4716. _loading.appendChild(_lchild)
  4717. var _box = $$('div', {
  4718. "style": {
  4719. "position": "relative",
  4720. "width": "100%",
  4721. "height": "100%",
  4722. },
  4723. })
  4724. _box.appendChild(_loading)
  4725. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4726. switch (str) {
  4727. case "whiteboard":
  4728. aTool = 1;
  4729. _iframe = $$("iframe", {
  4730. "frameborder": "no",
  4731. "border": "0",
  4732. "scrolling ": "no",
  4733. "style": {
  4734. "cssText": "border:0;width:100%;height:100%"
  4735. },
  4736. "src": "https://iwb.cocorobo.cn/"
  4737. })
  4738. _box.appendChild(_iframe);
  4739. _box.appendChild(_jie);
  4740. _formdiv = new U.UF.UI.form(
  4741. "电子白板",
  4742. _box, {
  4743. "id": "whiteboard" + cid + stage + task + tool,
  4744. "style": {
  4745. "width": "90%",
  4746. "height": "90%",
  4747. "overflow": 'hidden'
  4748. },
  4749. "onresize": function () { }
  4750. }, {
  4751. closecallback: function () { }
  4752. }, {
  4753. "style": {
  4754. "height": "36px"
  4755. }
  4756. }).form; //创建窗体
  4757. _taskbar = {
  4758. "id": str + _formdiv.id,
  4759. "style": {
  4760. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4761. },
  4762. "name": "电子白板",
  4763. "forms": _formdiv,
  4764. "click": function () {
  4765. U.MD.D.I.openApplication(str, obj, info);
  4766. }
  4767. }
  4768. break;
  4769. case "mind":
  4770. aTool = 3;
  4771. _iframe = $$("iframe", {
  4772. "frameborder": "no",
  4773. "border": "0",
  4774. "scrolling ": "no",
  4775. "style": {
  4776. "cssText": "border:0;width:100%;height:100%"
  4777. },
  4778. "src": "/kityminder-editor/dist/index.html"
  4779. })
  4780. _box.appendChild(_iframe);
  4781. _box.appendChild(_jie);
  4782. _formdiv = new U.UF.UI.form(
  4783. "思维导图",
  4784. _box, { //"/jsmind/example/demo.html"
  4785. "id": "mind" + cid + stage + task + tool,
  4786. "style": {
  4787. "width": "90%",
  4788. "height": "90%",
  4789. "overflow": 'hidden'
  4790. },
  4791. "onresize": function () { }
  4792. }, {
  4793. closecallback: function () { }
  4794. }, {
  4795. "style": {
  4796. "height": "36px"
  4797. }
  4798. }).form; //创建窗体
  4799. _taskbar = {
  4800. "id": str + _formdiv.id,
  4801. "style": {
  4802. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4803. },
  4804. "name": "思维导图",
  4805. "forms": _formdiv,
  4806. "click": function () {
  4807. U.MD.D.I.openApplication(str, obj, info);
  4808. }
  4809. }
  4810. break;
  4811. case "MindMap":
  4812. aTool = 3;
  4813. _iframe = $$("iframe", {
  4814. "frameborder": "no",
  4815. "border": "0",
  4816. "scrolling ": "no",
  4817. "style": {
  4818. "cssText": "border:0;width:100%;height:100%"
  4819. },
  4820. "src": "//cloud.cocorobo.cn/mind/"
  4821. })
  4822. _box.appendChild(_iframe);
  4823. _box.appendChild(_jie);
  4824. _formdiv = new U.UF.UI.form(
  4825. "思维导图",
  4826. _box, { //"/jsmind/example/demo.html"
  4827. "id": "mind" + cid + stage + task + tool,
  4828. "style": {
  4829. "width": "90%",
  4830. "height": "90%",
  4831. "overflow": 'hidden'
  4832. },
  4833. "onresize": function () { }
  4834. }, {
  4835. closecallback: function () { }
  4836. }, {
  4837. "style": {
  4838. "height": "36px"
  4839. }
  4840. }).form; //创建窗体
  4841. _taskbar = {
  4842. "id": str + _formdiv.id,
  4843. "style": {
  4844. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4845. },
  4846. "name": "思维导图",
  4847. "forms": _formdiv,
  4848. "click": function () {
  4849. U.MD.D.I.openApplication(str, obj, info);
  4850. }
  4851. }
  4852. break;
  4853. case "doc":
  4854. aTool = 6;
  4855. _iframe = $$("iframe", {
  4856. "frameborder": "no",
  4857. "border": "0",
  4858. "scrolling ": "no",
  4859. "style": {
  4860. "cssText": "border:0;width:100%;height:100%"
  4861. },
  4862. "src": "/Office/Word/WordEditArea.htm"
  4863. })
  4864. _box.appendChild(_iframe);
  4865. _box.appendChild(_jie);
  4866. _formdiv = new U.UF.UI.form(
  4867. "协同文档",
  4868. _box, {
  4869. "id": "doc" + cid + stage + task + tool,
  4870. "style": {
  4871. "width": "90%",
  4872. "height": "90%",
  4873. "overflow": 'hidden'
  4874. },
  4875. "onresize": function () { }
  4876. }, {
  4877. closecallback: function () { }
  4878. }, {
  4879. "style": {
  4880. "height": "36px"
  4881. }
  4882. }).form; //创建窗体
  4883. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4884. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4885. })
  4886. _taskbar = {
  4887. "id": str + _formdiv.id,
  4888. "style": {
  4889. "backgroundImage": "url(/img/icon/doc.png)"
  4890. },
  4891. "name": "协同文档",
  4892. "forms": _formdiv,
  4893. "click": function () {
  4894. U.MD.D.I.openApplication(str, obj, info);
  4895. }
  4896. }
  4897. break;
  4898. case "mindNetwork": //好友打开
  4899. aTool = 7;
  4900. _iframe = $$("iframe", {
  4901. "webkitallowfullscreen": "",
  4902. "mozallowfullscreen": "",
  4903. "allowfullscreen": "",
  4904. "frameborder": "no",
  4905. "border": "0",
  4906. "scrolling ": "no",
  4907. "style": {
  4908. "cssText": "border:0; width:100%; height:100%;"
  4909. },
  4910. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4911. })
  4912. _box.appendChild(_iframe);
  4913. _box.appendChild(_jie);
  4914. _formdiv = new U.UF.UI.form(
  4915. "思维网格",
  4916. _box, {
  4917. "id": "mindNetwork" + cid + stage + task + tool,
  4918. "style": {
  4919. "width": "90%",
  4920. "height": "90%",
  4921. "overflow": 'hidden'
  4922. },
  4923. "onresize": function () { }
  4924. }, {
  4925. closecallback: function () { }
  4926. }, {
  4927. "style": {
  4928. "height": "36px"
  4929. }
  4930. }).form; //创建窗体
  4931. _taskbar = {
  4932. "id": str + _formdiv.id,
  4933. "style": {
  4934. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4935. },
  4936. "name": "思维网格",
  4937. "forms": _formdiv,
  4938. "click": function () {
  4939. U.MD.D.I.openApplication(str, obj, info);
  4940. }
  4941. }
  4942. break;
  4943. case "courseDesign":
  4944. _iframe = $$("iframe", {
  4945. "webkitallowfullscreen": "",
  4946. "mozallowfullscreen": "",
  4947. "allowfullscreen": "",
  4948. "frameborder": "no",
  4949. "border": "0",
  4950. "scrolling ": "no",
  4951. "style": {
  4952. "cssText": "border:0; width:100%; height:100%;"
  4953. },
  4954. "src": "/course-design-vue"
  4955. })
  4956. _box.appendChild(_iframe);
  4957. _box.appendChild(_jie);
  4958. _formdiv = new U.UF.UI.form(
  4959. "项目设计",
  4960. _box, {
  4961. "id": "courseDesign" + cid + stage + task + tool,
  4962. "style": {
  4963. "width": "90%",
  4964. "height": "90%",
  4965. "overflow": 'hidden'
  4966. },
  4967. "onresize": function () { }
  4968. }, {
  4969. closecallback: function () { }
  4970. }, {
  4971. "style": {
  4972. "height": "36px"
  4973. }
  4974. }).form; //创建窗体
  4975. _taskbar = {
  4976. "id": str + _formdiv.id,
  4977. "style": {
  4978. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4979. },
  4980. "name": "项目设计",
  4981. "forms": _formdiv,
  4982. "click": function () {
  4983. U.MD.D.I.openApplication(str, obj, info);
  4984. }
  4985. }
  4986. break;
  4987. }
  4988. const script1 = document.createElement("script");
  4989. script1.type = "text/javascript";
  4990. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4991. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4992. const script2 = document.createElement("script");
  4993. script2.type = "text/javascript";
  4994. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4995. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4996. const script3 = document.createElement("script");
  4997. script3.type = "text/javascript";
  4998. script3.charset = "UTF-8";
  4999. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5000. const script4 = document.createElement("script");
  5001. script4.type = "text/javascript";
  5002. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5003. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5004. if (_iframe) {
  5005. if (str == 'doc') {
  5006. _iframe = _formdiv.querySelector('iframe')
  5007. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5008. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5009. _iframe.contentWindow.document.body.appendChild(script1);
  5010. _iframe.contentWindow.document.body.appendChild(script2);
  5011. // _iframe.contentWindow.document.body.appendChild(script3);
  5012. _iframe.contentWindow.document.body.appendChild(script4);
  5013. })
  5014. if (onloadListener) {
  5015. _iframe.contentDocument.location.reload()
  5016. } else {
  5017. _iframe.contentDocument.location.reload()
  5018. }
  5019. } else if (str == 'courseDesign') {
  5020. U.UF.DL.iframeLoad(_iframe, function () {
  5021. // _iframe.contentWindow.U.MD.O.W.load();
  5022. // _iframe.contentWindow.document.body.appendChild(script1);
  5023. _iframe.contentWindow.document.body.appendChild(script2);
  5024. _iframe.contentWindow.document.body.appendChild(script4);
  5025. })
  5026. } else if (str == 'mind') {
  5027. _iframe = _formdiv.querySelector('iframe')
  5028. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5029. //
  5030. _iframe.contentWindow.document.body.appendChild(script1);
  5031. _iframe.contentWindow.document.body.appendChild(script2);
  5032. _iframe.contentWindow.document.body.appendChild(script4);
  5033. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5034. })
  5035. if (onloadListener) {
  5036. _iframe.contentDocument.location.reload()
  5037. } else {
  5038. _iframe.contentDocument.location.reload()
  5039. }
  5040. } else if (str == 'whiteboard') {
  5041. _iframe = _formdiv.querySelector('iframe')
  5042. let onloadListener = _iframe.onload = () => {
  5043. _iframe.contentWindow.document.body.appendChild(script1);
  5044. _iframe.contentWindow.document.body.appendChild(script2);
  5045. _iframe.contentWindow.document.body.appendChild(script4);
  5046. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5047. };
  5048. if (onloadListener) {
  5049. _iframe.contentDocument.location.reload()
  5050. } else {
  5051. _iframe.contentDocument.location.reload()
  5052. }
  5053. } else {
  5054. _iframe.onload = () => {
  5055. _iframe.contentWindow.document.body.appendChild(script1);
  5056. _iframe.contentWindow.document.body.appendChild(script2);
  5057. // _iframe.contentWindow.document.body.appendChild(script3);
  5058. _iframe.contentWindow.document.body.appendChild(script4);
  5059. };
  5060. }
  5061. _jie.onclick = async () => {
  5062. let text = ''
  5063. if (aTool == 1) {
  5064. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5065. } else if (aTool == 6) {
  5066. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5067. } else if (aTool == 3) {
  5068. text = await U.MD.D.I.getEditorContent(_iframe);
  5069. }
  5070. _loading.style.display = 'flex'
  5071. console.log(_loading);
  5072. var _ajs = _iframe.contentWindow.document.createElement("script");
  5073. _ajs.type = "text/javascript";
  5074. _ajs.innerHTML =
  5075. // 'console.log(' + _loading + ');\n' +
  5076. 'var _js = document.createElement("script");\n' +
  5077. '_js.type="text/javascript";\n' +
  5078. '_js.charset="UTF-8";\n' +
  5079. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5080. "_js.onload = function(){\n" +
  5081. ' var a = document.getElementsByTagName("img")\n' +
  5082. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5083. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5084. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5085. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5086. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5087. "beforeUpload_shishi(file," +
  5088. "'" +
  5089. _userid +
  5090. "'" +
  5091. ", " +
  5092. "'" +
  5093. _cid +
  5094. "'" +
  5095. ", " +
  5096. "'" +
  5097. _stage +
  5098. "'" +
  5099. ", " +
  5100. "'" +
  5101. _task +
  5102. "'" +
  5103. ", " +
  5104. "'" +
  5105. _tool +
  5106. "'" +
  5107. ", " +
  5108. "'" +
  5109. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5110. "'" +
  5111. ", " +
  5112. "'" +
  5113. aTool +
  5114. "'" +
  5115. ", " +
  5116. "`" +
  5117. text +
  5118. "`" +
  5119. ")\n" +
  5120. " });\n" +
  5121. "}\n" +
  5122. "document.head.appendChild(_js);\n";
  5123. _iframe.contentWindow.document.head.appendChild(_ajs);
  5124. }
  5125. }
  5126. //U.MD.D.I.openClick(str);
  5127. //如果有任务栏信息
  5128. // if (_taskbar) {
  5129. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5130. // }
  5131. }
  5132. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5133. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5134. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5135. _userinfo = US.userInfo, //登录用户信息
  5136. _userid = US.userInfo.userid //登录用户id
  5137. let _iframe;
  5138. let _cid = cid,
  5139. _stage = stage,
  5140. _task = task,
  5141. _tool = tool;
  5142. var _jie = $$("div", {
  5143. "style": {
  5144. "position": "absolute",
  5145. "bottom": "50px",
  5146. "right": "50px",
  5147. "zIndex": "9999",
  5148. "backgroundColor": "#2268bc",
  5149. "color": "#fff",
  5150. "padding": "12px 20px",
  5151. "cursor": "pointer",
  5152. "borderRadius": "4px",
  5153. },
  5154. "innerHTML": "提交作业"
  5155. })
  5156. let aTool = ''
  5157. let _loading = document.createElement('div')
  5158. _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;"
  5159. // _loading.id = "";
  5160. let _lchild = document.createElement('div')
  5161. let _limg = document.createElement('img')
  5162. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5163. _limg.style = "width: 26px;margin-right: 10px;"
  5164. _lchild.appendChild(_limg)
  5165. let _lspan = document.createElement('span')
  5166. _lspan.innerHTML = "上传中..."
  5167. _lchild.appendChild(_lspan)
  5168. _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%);"
  5169. _loading.appendChild(_lchild)
  5170. var _box = $$('div', {
  5171. "style": {
  5172. "position": "relative",
  5173. "width": "100%",
  5174. "height": "100%",
  5175. },
  5176. })
  5177. _box.appendChild(_loading)
  5178. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5179. switch (str) {
  5180. case "whiteboard":
  5181. aTool = 1;
  5182. _iframe = $$("iframe", {
  5183. "frameborder": "no",
  5184. "border": "0",
  5185. "scrolling ": "no",
  5186. "style": {
  5187. "cssText": "border:0;width:100%;height:100%"
  5188. },
  5189. "src": "https://iwb.cocorobo.cn/"
  5190. })
  5191. _box.appendChild(_iframe);
  5192. _box.appendChild(_jie);
  5193. _formdiv = new U.UF.UI.form(
  5194. "电子白板",
  5195. _box, {
  5196. "id": "whiteboard" + cid + stage + task + tool,
  5197. "style": {
  5198. "width": "90%",
  5199. "height": "90%",
  5200. "overflow": 'hidden'
  5201. },
  5202. "onresize": function () { }
  5203. }, {
  5204. closecallback: function () { }
  5205. }, {
  5206. "style": {
  5207. "height": "36px"
  5208. }
  5209. }).form; //创建窗体
  5210. _taskbar = {
  5211. "id": str + _formdiv.id,
  5212. "style": {
  5213. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5214. },
  5215. "name": "电子白板",
  5216. "forms": _formdiv,
  5217. "click": function () {
  5218. U.MD.D.I.openApplication(str, obj, info);
  5219. }
  5220. }
  5221. break;
  5222. case "mind":
  5223. aTool = 3;
  5224. _iframe = $$("iframe", {
  5225. "frameborder": "no",
  5226. "border": "0",
  5227. "scrolling ": "no",
  5228. "style": {
  5229. "cssText": "border:0;width:100%;height:100%"
  5230. },
  5231. "src": "/kityminder-editor/dist/index.html"
  5232. })
  5233. _box.appendChild(_iframe);
  5234. _box.appendChild(_jie);
  5235. _formdiv = new U.UF.UI.form(
  5236. "思维导图",
  5237. _box, { //"/jsmind/example/demo.html"
  5238. "id": "mind" + cid + stage + task + tool,
  5239. "style": {
  5240. "width": "90%",
  5241. "height": "90%",
  5242. "overflow": 'hidden'
  5243. },
  5244. "onresize": function () { }
  5245. }, {
  5246. closecallback: function () { }
  5247. }, {
  5248. "style": {
  5249. "height": "36px"
  5250. }
  5251. }).form; //创建窗体
  5252. _taskbar = {
  5253. "id": str + _formdiv.id,
  5254. "style": {
  5255. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5256. },
  5257. "name": "思维导图",
  5258. "forms": _formdiv,
  5259. "click": function () {
  5260. U.MD.D.I.openApplication(str, obj, info);
  5261. }
  5262. }
  5263. break;
  5264. case "MindMap":
  5265. aTool = 3;
  5266. _iframe = $$("iframe", {
  5267. "frameborder": "no",
  5268. "border": "0",
  5269. "scrolling ": "no",
  5270. "style": {
  5271. "cssText": "border:0;width:100%;height:100%"
  5272. },
  5273. "src": "//cloud.cocorobo.cn/mind/"
  5274. })
  5275. _box.appendChild(_iframe);
  5276. _box.appendChild(_jie);
  5277. _formdiv = new U.UF.UI.form(
  5278. "思维导图",
  5279. _box, { //"/jsmind/example/demo.html"
  5280. "id": "mind" + cid + stage + task + tool,
  5281. "style": {
  5282. "width": "90%",
  5283. "height": "90%",
  5284. "overflow": 'hidden'
  5285. },
  5286. "onresize": function () { }
  5287. }, {
  5288. closecallback: function () { }
  5289. }, {
  5290. "style": {
  5291. "height": "36px"
  5292. }
  5293. }).form; //创建窗体
  5294. _taskbar = {
  5295. "id": str + _formdiv.id,
  5296. "style": {
  5297. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5298. },
  5299. "name": "思维导图",
  5300. "forms": _formdiv,
  5301. "click": function () {
  5302. U.MD.D.I.openApplication(str, obj, info);
  5303. }
  5304. }
  5305. break;
  5306. case "doc":
  5307. aTool = 6;
  5308. _iframe = $$("iframe", {
  5309. "frameborder": "no",
  5310. "border": "0",
  5311. "scrolling ": "no",
  5312. "style": {
  5313. "cssText": "border:0;width:100%;height:100%"
  5314. },
  5315. "src": "/Office/Word/WordEditArea.htm"
  5316. })
  5317. _box.appendChild(_iframe);
  5318. _box.appendChild(_jie);
  5319. _formdiv = new U.UF.UI.form(
  5320. "协同文档",
  5321. _box, {
  5322. "id": "doc" + cid + stage + task + tool,
  5323. "style": {
  5324. "width": "90%",
  5325. "height": "90%",
  5326. "overflow": 'hidden'
  5327. },
  5328. "onresize": function () { }
  5329. }, {
  5330. closecallback: function () { }
  5331. }, {
  5332. "style": {
  5333. "height": "36px"
  5334. }
  5335. }).form; //创建窗体
  5336. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5337. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5338. })
  5339. _taskbar = {
  5340. "id": str + _formdiv.id,
  5341. "style": {
  5342. "backgroundImage": "url(/img/icon/doc.png)"
  5343. },
  5344. "name": "协同文档",
  5345. "forms": _formdiv,
  5346. "click": function () {
  5347. U.MD.D.I.openApplication(str, obj, info);
  5348. }
  5349. }
  5350. break;
  5351. case "mindNetwork": //好友打开
  5352. aTool = 7;
  5353. _iframe = $$("iframe", {
  5354. "webkitallowfullscreen": "",
  5355. "mozallowfullscreen": "",
  5356. "allowfullscreen": "",
  5357. "frameborder": "no",
  5358. "border": "0",
  5359. "scrolling ": "no",
  5360. "style": {
  5361. "cssText": "border:0; width:100%; height:100%;"
  5362. },
  5363. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5364. })
  5365. _box.appendChild(_iframe);
  5366. _box.appendChild(_jie);
  5367. _formdiv = new U.UF.UI.form(
  5368. "思维网格",
  5369. _box, {
  5370. "id": "mindNetwork" + cid + stage + task + tool,
  5371. "style": {
  5372. "width": "90%",
  5373. "height": "90%",
  5374. "overflow": 'hidden'
  5375. },
  5376. "onresize": function () { }
  5377. }, {
  5378. closecallback: function () { }
  5379. }, {
  5380. "style": {
  5381. "height": "36px"
  5382. }
  5383. }).form; //创建窗体
  5384. _taskbar = {
  5385. "id": str + _formdiv.id,
  5386. "style": {
  5387. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5388. },
  5389. "name": "思维网格",
  5390. "forms": _formdiv,
  5391. "click": function () {
  5392. U.MD.D.I.openApplication(str, obj, info);
  5393. }
  5394. }
  5395. break;
  5396. case "courseDesign":
  5397. _iframe = $$("iframe", {
  5398. "webkitallowfullscreen": "",
  5399. "mozallowfullscreen": "",
  5400. "allowfullscreen": "",
  5401. "frameborder": "no",
  5402. "border": "0",
  5403. "scrolling ": "no",
  5404. "style": {
  5405. "cssText": "border:0; width:100%; height:100%;"
  5406. },
  5407. "src": "/course-design-vue"
  5408. })
  5409. _box.appendChild(_iframe);
  5410. _box.appendChild(_jie);
  5411. _formdiv = new U.UF.UI.form(
  5412. "项目设计",
  5413. _box, {
  5414. "id": "courseDesign" + cid + stage + task + tool,
  5415. "style": {
  5416. "width": "90%",
  5417. "height": "90%",
  5418. "overflow": 'hidden'
  5419. },
  5420. "onresize": function () { }
  5421. }, {
  5422. closecallback: function () { }
  5423. }, {
  5424. "style": {
  5425. "height": "36px"
  5426. }
  5427. }).form; //创建窗体
  5428. _taskbar = {
  5429. "id": str + _formdiv.id,
  5430. "style": {
  5431. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5432. },
  5433. "name": "项目设计",
  5434. "forms": _formdiv,
  5435. "click": function () {
  5436. U.MD.D.I.openApplication(str, obj, info);
  5437. }
  5438. }
  5439. break;
  5440. }
  5441. const script1 = document.createElement("script");
  5442. script1.type = "text/javascript";
  5443. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5444. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5445. const script2 = document.createElement("script");
  5446. script2.type = "text/javascript";
  5447. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5448. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5449. const script3 = document.createElement("script");
  5450. script3.type = "text/javascript";
  5451. script3.charset = "UTF-8";
  5452. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5453. const script4 = document.createElement("script");
  5454. script4.type = "text/javascript";
  5455. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5456. script4.src = window.origin + "/js/Common/jietu2E.js";
  5457. if (_iframe) {
  5458. if (str == 'doc') {
  5459. _iframe = _formdiv.querySelector('iframe')
  5460. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5461. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5462. _iframe.contentWindow.document.body.appendChild(script1);
  5463. _iframe.contentWindow.document.body.appendChild(script2);
  5464. // _iframe.contentWindow.document.body.appendChild(script3);
  5465. _iframe.contentWindow.document.body.appendChild(script4);
  5466. })
  5467. if (onloadListener) {
  5468. _iframe.contentDocument.location.reload()
  5469. } else {
  5470. _iframe.contentDocument.location.reload()
  5471. }
  5472. } else if (str == 'courseDesign') {
  5473. U.UF.DL.iframeLoad(_iframe, function () {
  5474. // _iframe.contentWindow.U.MD.O.W.load();
  5475. // _iframe.contentWindow.document.body.appendChild(script1);
  5476. _iframe.contentWindow.document.body.appendChild(script2);
  5477. _iframe.contentWindow.document.body.appendChild(script4);
  5478. })
  5479. } else if (str == 'mind') {
  5480. _iframe = _formdiv.querySelector('iframe')
  5481. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5482. //
  5483. _iframe.contentWindow.document.body.appendChild(script1);
  5484. _iframe.contentWindow.document.body.appendChild(script2);
  5485. _iframe.contentWindow.document.body.appendChild(script4);
  5486. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5487. })
  5488. if (onloadListener) {
  5489. _iframe.contentDocument.location.reload()
  5490. } else {
  5491. _iframe.contentDocument.location.reload()
  5492. }
  5493. } else if (str == 'whiteboard') {
  5494. _iframe = _formdiv.querySelector('iframe')
  5495. let onloadListener = _iframe.onload = () => {
  5496. _iframe.contentWindow.document.body.appendChild(script1);
  5497. _iframe.contentWindow.document.body.appendChild(script2);
  5498. _iframe.contentWindow.document.body.appendChild(script4);
  5499. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5500. };
  5501. if (onloadListener) {
  5502. _iframe.contentDocument.location.reload()
  5503. } else {
  5504. _iframe.contentDocument.location.reload()
  5505. }
  5506. } else {
  5507. _iframe.onload = () => {
  5508. _iframe.contentWindow.document.body.appendChild(script1);
  5509. _iframe.contentWindow.document.body.appendChild(script2);
  5510. // _iframe.contentWindow.document.body.appendChild(script3);
  5511. _iframe.contentWindow.document.body.appendChild(script4);
  5512. };
  5513. }
  5514. _jie.onclick = async () => {
  5515. let text = ''
  5516. if (aTool == 1) {
  5517. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5518. } else if (aTool == 6) {
  5519. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5520. } else if (aTool == 3) {
  5521. text = await U.MD.D.I.getEditorContent(_iframe);
  5522. }
  5523. _loading.style.display = 'flex'
  5524. console.log(_loading);
  5525. var _ajs = _iframe.contentWindow.document.createElement("script");
  5526. _ajs.type = "text/javascript";
  5527. _ajs.innerHTML =
  5528. // 'console.log(' + _loading + ');\n' +
  5529. 'var _js = document.createElement("script");\n' +
  5530. '_js.type="text/javascript";\n' +
  5531. '_js.charset="UTF-8";\n' +
  5532. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5533. "_js.onload = function(){\n" +
  5534. ' var a = document.getElementsByTagName("img")\n' +
  5535. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5536. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5537. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5538. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5539. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5540. "beforeUpload_shishi(file," +
  5541. "'" +
  5542. _userid +
  5543. "'" +
  5544. ", " +
  5545. "'" +
  5546. _cid +
  5547. "'" +
  5548. ", " +
  5549. "'" +
  5550. _stage +
  5551. "'" +
  5552. ", " +
  5553. "'" +
  5554. _task +
  5555. "'" +
  5556. ", " +
  5557. "'" +
  5558. _tool +
  5559. "'" +
  5560. ", " +
  5561. "'" +
  5562. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5563. "'" +
  5564. ", " +
  5565. "'" +
  5566. aTool +
  5567. "'" +
  5568. ", " +
  5569. "`" +
  5570. text +
  5571. "`" +
  5572. ")\n" +
  5573. " });\n" +
  5574. "}\n" +
  5575. "document.head.appendChild(_js);\n";
  5576. _iframe.contentWindow.document.head.appendChild(_ajs);
  5577. }
  5578. }
  5579. //U.MD.D.I.openClick(str);
  5580. //如果有任务栏信息
  5581. // if (_taskbar) {
  5582. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5583. // }
  5584. }
  5585. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5586. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5587. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5588. _userid = student.userid, //登录用户id
  5589. _username = student.student //用户名字
  5590. let _iframe;
  5591. let _cid = cid,
  5592. _stage = stage,
  5593. _task = task,
  5594. _tool = tool;
  5595. var _jie = $$("div", {
  5596. "style": {
  5597. "position": "absolute",
  5598. "bottom": "50px",
  5599. "right": "50px",
  5600. "zIndex": "9999",
  5601. "backgroundColor": "#2268bc",
  5602. "color": "#fff",
  5603. "padding": "12px 20px",
  5604. "cursor": "pointer",
  5605. "borderRadius": "4px",
  5606. },
  5607. "innerHTML": "提交作业"
  5608. })
  5609. let aTool = ''
  5610. let _loading = document.createElement('div')
  5611. _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;"
  5612. // _loading.id = "";
  5613. let _lchild = document.createElement('div')
  5614. let _limg = document.createElement('img')
  5615. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5616. _limg.style = "width: 26px;margin-right: 10px;"
  5617. _lchild.appendChild(_limg)
  5618. let _lspan = document.createElement('span')
  5619. _lspan.innerHTML = "上传中..."
  5620. _lchild.appendChild(_lspan)
  5621. _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%);"
  5622. _loading.appendChild(_lchild)
  5623. var _box = $$('div', {
  5624. "style": {
  5625. "position": "relative",
  5626. "width": "100%",
  5627. "height": "100%",
  5628. },
  5629. })
  5630. _box.appendChild(_loading)
  5631. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5632. switch (str) {
  5633. case "whiteboard":
  5634. aTool = 1;
  5635. _iframe = $$("iframe", {
  5636. "frameborder": "no",
  5637. "border": "0",
  5638. "scrolling ": "no",
  5639. "style": {
  5640. "cssText": "border:0;width:100%;height:100%"
  5641. },
  5642. "src": "https://iwb.cocorobo.cn/"
  5643. })
  5644. _box.appendChild(_iframe);
  5645. _box.appendChild(_jie);
  5646. _formdiv = new U.UF.UI.form(
  5647. "电子白板-" + _username,
  5648. _box, {
  5649. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5650. "style": {
  5651. "width": "90%",
  5652. "height": "90%",
  5653. "overflow": 'hidden'
  5654. },
  5655. "onresize": function () { }
  5656. }, {
  5657. closecallback: function () { }
  5658. }, {
  5659. "style": {
  5660. "height": "36px"
  5661. }
  5662. }).form; //创建窗体
  5663. _taskbar = {
  5664. "id": str + _formdiv.id,
  5665. "style": {
  5666. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5667. },
  5668. "name": "电子白板",
  5669. "forms": _formdiv,
  5670. "click": function () {
  5671. U.MD.D.I.openApplication(str, obj, info);
  5672. }
  5673. }
  5674. break;
  5675. case "mind":
  5676. aTool = 3;
  5677. _iframe = $$("iframe", {
  5678. "frameborder": "no",
  5679. "border": "0",
  5680. "scrolling ": "no",
  5681. "style": {
  5682. "cssText": "border:0;width:100%;height:100%"
  5683. },
  5684. "src": "/kityminder-editor/dist/index.html"
  5685. })
  5686. _box.appendChild(_iframe);
  5687. _box.appendChild(_jie);
  5688. _formdiv = new U.UF.UI.form(
  5689. "思维导图-" + _username,
  5690. _box, { //"/jsmind/example/demo.html"
  5691. "id": "mind" + cid + stage + task + tool + _userid,
  5692. "style": {
  5693. "width": "90%",
  5694. "height": "90%",
  5695. "overflow": 'hidden'
  5696. },
  5697. "onresize": function () { }
  5698. }, {
  5699. closecallback: function () { }
  5700. }, {
  5701. "style": {
  5702. "height": "36px"
  5703. }
  5704. }).form; //创建窗体
  5705. _taskbar = {
  5706. "id": str + _formdiv.id,
  5707. "style": {
  5708. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5709. },
  5710. "name": "思维导图",
  5711. "forms": _formdiv,
  5712. "click": function () {
  5713. U.MD.D.I.openApplication(str, obj, info);
  5714. }
  5715. }
  5716. break;
  5717. case "MindMap":
  5718. aTool = 3;
  5719. _iframe = $$("iframe", {
  5720. "frameborder": "no",
  5721. "border": "0",
  5722. "scrolling ": "no",
  5723. "style": {
  5724. "cssText": "border:0;width:100%;height:100%"
  5725. },
  5726. "src": "//cloud.cocorobo.cn/mind/"
  5727. })
  5728. _box.appendChild(_iframe);
  5729. _box.appendChild(_jie);
  5730. _formdiv = new U.UF.UI.form(
  5731. "思维导图-" + _username,
  5732. _box, { //"/jsmind/example/demo.html"
  5733. "id": "mind" + cid + stage + task + tool + _userid,
  5734. "style": {
  5735. "width": "90%",
  5736. "height": "90%",
  5737. "overflow": 'hidden'
  5738. },
  5739. "onresize": function () { }
  5740. }, {
  5741. closecallback: function () { }
  5742. }, {
  5743. "style": {
  5744. "height": "36px"
  5745. }
  5746. }).form; //创建窗体
  5747. _taskbar = {
  5748. "id": str + _formdiv.id,
  5749. "style": {
  5750. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5751. },
  5752. "name": "思维导图",
  5753. "forms": _formdiv,
  5754. "click": function () {
  5755. U.MD.D.I.openApplication(str, obj, info);
  5756. }
  5757. }
  5758. break;
  5759. case "doc":
  5760. aTool = 6;
  5761. _iframe = $$("iframe", {
  5762. "frameborder": "no",
  5763. "border": "0",
  5764. "scrolling ": "no",
  5765. "style": {
  5766. "cssText": "border:0;width:100%;height:100%"
  5767. },
  5768. "src": "/Office/Word/WordEditArea.htm"
  5769. })
  5770. _box.appendChild(_iframe);
  5771. _box.appendChild(_jie);
  5772. _formdiv = new U.UF.UI.form(
  5773. "协同文档-" + _username,
  5774. _box, {
  5775. "id": "doc" + cid + stage + task + tool + _userid,
  5776. "style": {
  5777. "width": "90%",
  5778. "height": "90%",
  5779. "overflow": 'hidden'
  5780. },
  5781. "onresize": function () { }
  5782. }, {
  5783. closecallback: function () { }
  5784. }, {
  5785. "style": {
  5786. "height": "36px"
  5787. }
  5788. }).form; //创建窗体
  5789. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5790. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5791. })
  5792. _taskbar = {
  5793. "id": str + _formdiv.id,
  5794. "style": {
  5795. "backgroundImage": "url(/img/icon/doc.png)"
  5796. },
  5797. "name": "协同文档",
  5798. "forms": _formdiv,
  5799. "click": function () {
  5800. U.MD.D.I.openApplication(str, obj, info);
  5801. }
  5802. }
  5803. break;
  5804. case "mindNetwork": //好友打开
  5805. aTool = 7;
  5806. _iframe = $$("iframe", {
  5807. "webkitallowfullscreen": "",
  5808. "mozallowfullscreen": "",
  5809. "allowfullscreen": "",
  5810. "frameborder": "no",
  5811. "border": "0",
  5812. "scrolling ": "no",
  5813. "style": {
  5814. "cssText": "border:0; width:100%; height:100%;"
  5815. },
  5816. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5817. })
  5818. _box.appendChild(_iframe);
  5819. _box.appendChild(_jie);
  5820. _formdiv = new U.UF.UI.form(
  5821. "思维网格-" + _username,
  5822. _box, {
  5823. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5824. "style": {
  5825. "width": "90%",
  5826. "height": "90%",
  5827. "overflow": 'hidden'
  5828. },
  5829. "onresize": function () { }
  5830. }, {
  5831. closecallback: function () { }
  5832. }, {
  5833. "style": {
  5834. "height": "36px"
  5835. }
  5836. }).form; //创建窗体
  5837. _taskbar = {
  5838. "id": str + _formdiv.id,
  5839. "style": {
  5840. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5841. },
  5842. "name": "思维网格",
  5843. "forms": _formdiv,
  5844. "click": function () {
  5845. U.MD.D.I.openApplication(str, obj, info);
  5846. }
  5847. }
  5848. break;
  5849. case "courseDesign":
  5850. _iframe = $$("iframe", {
  5851. "webkitallowfullscreen": "",
  5852. "mozallowfullscreen": "",
  5853. "allowfullscreen": "",
  5854. "frameborder": "no",
  5855. "border": "0",
  5856. "scrolling ": "no",
  5857. "style": {
  5858. "cssText": "border:0; width:100%; height:100%;"
  5859. },
  5860. "src": "/course-design-vue"
  5861. })
  5862. _box.appendChild(_iframe);
  5863. _box.appendChild(_jie);
  5864. _formdiv = new U.UF.UI.form(
  5865. "项目设计-" + _username,
  5866. _box, {
  5867. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5868. "style": {
  5869. "width": "90%",
  5870. "height": "90%",
  5871. "overflow": 'hidden'
  5872. },
  5873. "onresize": function () { }
  5874. }, {
  5875. closecallback: function () { }
  5876. }, {
  5877. "style": {
  5878. "height": "36px"
  5879. }
  5880. }).form; //创建窗体
  5881. _taskbar = {
  5882. "id": str + _formdiv.id,
  5883. "style": {
  5884. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5885. },
  5886. "name": "项目设计",
  5887. "forms": _formdiv,
  5888. "click": function () {
  5889. U.MD.D.I.openApplication(str, obj, info);
  5890. }
  5891. }
  5892. break;
  5893. }
  5894. const script1 = document.createElement("script");
  5895. script1.type = "text/javascript";
  5896. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5897. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5898. const script2 = document.createElement("script");
  5899. script2.type = "text/javascript";
  5900. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5901. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5902. const script3 = document.createElement("script");
  5903. script3.type = "text/javascript";
  5904. script3.charset = "UTF-8";
  5905. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5906. const script4 = document.createElement("script");
  5907. script4.type = "text/javascript";
  5908. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5909. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5910. if (_iframe) {
  5911. if (str == 'doc') {
  5912. _iframe = _formdiv.querySelector('iframe')
  5913. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5914. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5915. _iframe.contentWindow.document.body.appendChild(script1);
  5916. _iframe.contentWindow.document.body.appendChild(script2);
  5917. // _iframe.contentWindow.document.body.appendChild(script3);
  5918. _iframe.contentWindow.document.body.appendChild(script4);
  5919. })
  5920. if (onloadListener) {
  5921. _iframe.contentDocument.location.reload()
  5922. } else {
  5923. _iframe.contentDocument.location.reload()
  5924. }
  5925. } else if (str == 'courseDesign') {
  5926. U.UF.DL.iframeLoad(_iframe, function () {
  5927. // _iframe.contentWindow.U.MD.O.W.load();
  5928. // _iframe.contentWindow.document.body.appendChild(script1);
  5929. _iframe.contentWindow.document.body.appendChild(script2);
  5930. _iframe.contentWindow.document.body.appendChild(script4);
  5931. })
  5932. } else if (str == 'mind') {
  5933. _iframe = _formdiv.querySelector('iframe')
  5934. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5935. //
  5936. _iframe.contentWindow.document.body.appendChild(script1);
  5937. _iframe.contentWindow.document.body.appendChild(script2);
  5938. _iframe.contentWindow.document.body.appendChild(script4);
  5939. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5940. })
  5941. if (onloadListener) {
  5942. _iframe.contentDocument.location.reload()
  5943. } else {
  5944. _iframe.contentDocument.location.reload()
  5945. }
  5946. } else if (str == 'whiteboard') {
  5947. _iframe = _formdiv.querySelector('iframe')
  5948. let onloadListener = _iframe.onload = () => {
  5949. _iframe.contentWindow.document.body.appendChild(script1);
  5950. _iframe.contentWindow.document.body.appendChild(script2);
  5951. _iframe.contentWindow.document.body.appendChild(script4);
  5952. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5953. };
  5954. if (onloadListener) {
  5955. _iframe.contentDocument.location.reload()
  5956. } else {
  5957. _iframe.contentDocument.location.reload()
  5958. }
  5959. } else {
  5960. _iframe.onload = () => {
  5961. _iframe.contentWindow.document.body.appendChild(script1);
  5962. _iframe.contentWindow.document.body.appendChild(script2);
  5963. // _iframe.contentWindow.document.body.appendChild(script3);
  5964. _iframe.contentWindow.document.body.appendChild(script4);
  5965. };
  5966. }
  5967. _jie.onclick = async () => {
  5968. let text = ''
  5969. if (aTool == 1) {
  5970. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5971. } else if (aTool == 6) {
  5972. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5973. } else if (aTool == 3) {
  5974. text = await U.MD.D.I.getEditorContent(_iframe);
  5975. }
  5976. _loading.style.display = 'flex'
  5977. console.log(_loading);
  5978. var _ajs = _iframe.contentWindow.document.createElement("script");
  5979. _ajs.type = "text/javascript";
  5980. _ajs.innerHTML =
  5981. // 'console.log(' + _loading + ');\n' +
  5982. 'var _js = document.createElement("script");\n' +
  5983. '_js.type="text/javascript";\n' +
  5984. '_js.charset="UTF-8";\n' +
  5985. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5986. "_js.onload = function(){\n" +
  5987. ' var a = document.getElementsByTagName("img")\n' +
  5988. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5989. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5990. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5991. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5992. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5993. "beforeUpload_shishi(file," +
  5994. "'" +
  5995. _userid +
  5996. "'" +
  5997. ", " +
  5998. "'" +
  5999. _cid +
  6000. "'" +
  6001. ", " +
  6002. "'" +
  6003. _stage +
  6004. "'" +
  6005. ", " +
  6006. "'" +
  6007. _task +
  6008. "'" +
  6009. ", " +
  6010. "'" +
  6011. _tool +
  6012. "'" +
  6013. ", " +
  6014. "'" +
  6015. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6016. "'" +
  6017. ", " +
  6018. "'" +
  6019. aTool +
  6020. "'" +
  6021. ", " +
  6022. "`" +
  6023. text +
  6024. "`" +
  6025. ")\n" +
  6026. " });\n" +
  6027. "}\n" +
  6028. "document.head.appendChild(_js);\n";
  6029. _iframe.contentWindow.document.head.appendChild(_ajs);
  6030. }
  6031. }
  6032. }
  6033. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6034. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6035. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6036. _userid = student.userid, //登录用户id
  6037. _username = student.student //用户名字
  6038. let _iframe;
  6039. let _cid = cid,
  6040. _stage = stage,
  6041. _task = task,
  6042. _tool = tool;
  6043. var _jie = $$("div", {
  6044. "style": {
  6045. "position": "absolute",
  6046. "bottom": "50px",
  6047. "right": "50px",
  6048. "zIndex": "9999",
  6049. "backgroundColor": "#2268bc",
  6050. "color": "#fff",
  6051. "padding": "12px 20px",
  6052. "cursor": "pointer",
  6053. "borderRadius": "4px",
  6054. },
  6055. "innerHTML": "提交作业"
  6056. })
  6057. let aTool = ''
  6058. let _loading = document.createElement('div')
  6059. _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;"
  6060. // _loading.id = "";
  6061. let _lchild = document.createElement('div')
  6062. let _limg = document.createElement('img')
  6063. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6064. _limg.style = "width: 26px;margin-right: 10px;"
  6065. _lchild.appendChild(_limg)
  6066. let _lspan = document.createElement('span')
  6067. _lspan.innerHTML = "上传中..."
  6068. _lchild.appendChild(_lspan)
  6069. _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%);"
  6070. _loading.appendChild(_lchild)
  6071. var _box = $$('div', {
  6072. "style": {
  6073. "position": "relative",
  6074. "width": "100%",
  6075. "height": "100%",
  6076. },
  6077. })
  6078. _box.appendChild(_loading)
  6079. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6080. switch (str) {
  6081. case "whiteboard":
  6082. aTool = 1;
  6083. _iframe = $$("iframe", {
  6084. "frameborder": "no",
  6085. "border": "0",
  6086. "scrolling ": "no",
  6087. "style": {
  6088. "cssText": "border:0;width:100%;height:100%"
  6089. },
  6090. "src": "https://iwb.cocorobo.cn/"
  6091. })
  6092. _box.appendChild(_iframe);
  6093. _box.appendChild(_jie);
  6094. _formdiv = new U.UF.UI.form(
  6095. "电子白板-" + _username,
  6096. _box, {
  6097. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6098. "style": {
  6099. "width": "90%",
  6100. "height": "90%",
  6101. "overflow": 'hidden'
  6102. },
  6103. "onresize": function () { }
  6104. }, {
  6105. closecallback: function () { }
  6106. }, {
  6107. "style": {
  6108. "height": "36px"
  6109. }
  6110. }).form; //创建窗体
  6111. _taskbar = {
  6112. "id": str + _formdiv.id,
  6113. "style": {
  6114. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6115. },
  6116. "name": "电子白板",
  6117. "forms": _formdiv,
  6118. "click": function () {
  6119. U.MD.D.I.openApplication(str, obj, info);
  6120. }
  6121. }
  6122. break;
  6123. case "mind":
  6124. aTool = 3;
  6125. _iframe = $$("iframe", {
  6126. "frameborder": "no",
  6127. "border": "0",
  6128. "scrolling ": "no",
  6129. "style": {
  6130. "cssText": "border:0;width:100%;height:100%"
  6131. },
  6132. "src": "/kityminder-editor/dist/index.html"
  6133. })
  6134. _box.appendChild(_iframe);
  6135. _box.appendChild(_jie);
  6136. _formdiv = new U.UF.UI.form(
  6137. "思维导图-" + _username,
  6138. _box, { //"/jsmind/example/demo.html"
  6139. "id": "mind" + cid + stage + task + tool + _userid,
  6140. "style": {
  6141. "width": "90%",
  6142. "height": "90%",
  6143. "overflow": 'hidden'
  6144. },
  6145. "onresize": function () { }
  6146. }, {
  6147. closecallback: function () { }
  6148. }, {
  6149. "style": {
  6150. "height": "36px"
  6151. }
  6152. }).form; //创建窗体
  6153. _taskbar = {
  6154. "id": str + _formdiv.id,
  6155. "style": {
  6156. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6157. },
  6158. "name": "思维导图",
  6159. "forms": _formdiv,
  6160. "click": function () {
  6161. U.MD.D.I.openApplication(str, obj, info);
  6162. }
  6163. }
  6164. break;
  6165. case "MindMap":
  6166. aTool = 3;
  6167. _iframe = $$("iframe", {
  6168. "frameborder": "no",
  6169. "border": "0",
  6170. "scrolling ": "no",
  6171. "style": {
  6172. "cssText": "border:0;width:100%;height:100%"
  6173. },
  6174. "src": "//cloud.cocorobo.cn/mind/"
  6175. })
  6176. _box.appendChild(_iframe);
  6177. _box.appendChild(_jie);
  6178. _formdiv = new U.UF.UI.form(
  6179. "思维导图-" + _username,
  6180. _box, { //"/jsmind/example/demo.html"
  6181. "id": "mind" + cid + stage + task + tool + _userid,
  6182. "style": {
  6183. "width": "90%",
  6184. "height": "90%",
  6185. "overflow": 'hidden'
  6186. },
  6187. "onresize": function () { }
  6188. }, {
  6189. closecallback: function () { }
  6190. }, {
  6191. "style": {
  6192. "height": "36px"
  6193. }
  6194. }).form; //创建窗体
  6195. _taskbar = {
  6196. "id": str + _formdiv.id,
  6197. "style": {
  6198. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6199. },
  6200. "name": "思维导图",
  6201. "forms": _formdiv,
  6202. "click": function () {
  6203. U.MD.D.I.openApplication(str, obj, info);
  6204. }
  6205. }
  6206. break;
  6207. case "doc":
  6208. aTool = 6;
  6209. _iframe = $$("iframe", {
  6210. "frameborder": "no",
  6211. "border": "0",
  6212. "scrolling ": "no",
  6213. "style": {
  6214. "cssText": "border:0;width:100%;height:100%"
  6215. },
  6216. "src": "/Office/Word/WordEditArea.htm"
  6217. })
  6218. _box.appendChild(_iframe);
  6219. _box.appendChild(_jie);
  6220. _formdiv = new U.UF.UI.form(
  6221. "协同文档-" + _username,
  6222. _box, {
  6223. "id": "doc" + cid + stage + task + tool + _userid,
  6224. "style": {
  6225. "width": "90%",
  6226. "height": "90%",
  6227. "overflow": 'hidden'
  6228. },
  6229. "onresize": function () { }
  6230. }, {
  6231. closecallback: function () { }
  6232. }, {
  6233. "style": {
  6234. "height": "36px"
  6235. }
  6236. }).form; //创建窗体
  6237. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6238. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6239. })
  6240. _taskbar = {
  6241. "id": str + _formdiv.id,
  6242. "style": {
  6243. "backgroundImage": "url(/img/icon/doc.png)"
  6244. },
  6245. "name": "协同文档",
  6246. "forms": _formdiv,
  6247. "click": function () {
  6248. U.MD.D.I.openApplication(str, obj, info);
  6249. }
  6250. }
  6251. break;
  6252. case "mindNetwork": //好友打开
  6253. aTool = 7;
  6254. _iframe = $$("iframe", {
  6255. "webkitallowfullscreen": "",
  6256. "mozallowfullscreen": "",
  6257. "allowfullscreen": "",
  6258. "frameborder": "no",
  6259. "border": "0",
  6260. "scrolling ": "no",
  6261. "style": {
  6262. "cssText": "border:0; width:100%; height:100%;"
  6263. },
  6264. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6265. })
  6266. _box.appendChild(_iframe);
  6267. _box.appendChild(_jie);
  6268. _formdiv = new U.UF.UI.form(
  6269. "思维网格-" + _username,
  6270. _box, {
  6271. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6272. "style": {
  6273. "width": "90%",
  6274. "height": "90%",
  6275. "overflow": 'hidden'
  6276. },
  6277. "onresize": function () { }
  6278. }, {
  6279. closecallback: function () { }
  6280. }, {
  6281. "style": {
  6282. "height": "36px"
  6283. }
  6284. }).form; //创建窗体
  6285. _taskbar = {
  6286. "id": str + _formdiv.id,
  6287. "style": {
  6288. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6289. },
  6290. "name": "思维网格",
  6291. "forms": _formdiv,
  6292. "click": function () {
  6293. U.MD.D.I.openApplication(str, obj, info);
  6294. }
  6295. }
  6296. break;
  6297. case "courseDesign":
  6298. _iframe = $$("iframe", {
  6299. "webkitallowfullscreen": "",
  6300. "mozallowfullscreen": "",
  6301. "allowfullscreen": "",
  6302. "frameborder": "no",
  6303. "border": "0",
  6304. "scrolling ": "no",
  6305. "style": {
  6306. "cssText": "border:0; width:100%; height:100%;"
  6307. },
  6308. "src": "/course-design-vue"
  6309. })
  6310. _box.appendChild(_iframe);
  6311. _box.appendChild(_jie);
  6312. _formdiv = new U.UF.UI.form(
  6313. "项目设计-" + _username,
  6314. _box, {
  6315. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6316. "style": {
  6317. "width": "90%",
  6318. "height": "90%",
  6319. "overflow": 'hidden'
  6320. },
  6321. "onresize": function () { }
  6322. }, {
  6323. closecallback: function () { }
  6324. }, {
  6325. "style": {
  6326. "height": "36px"
  6327. }
  6328. }).form; //创建窗体
  6329. _taskbar = {
  6330. "id": str + _formdiv.id,
  6331. "style": {
  6332. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6333. },
  6334. "name": "项目设计",
  6335. "forms": _formdiv,
  6336. "click": function () {
  6337. U.MD.D.I.openApplication(str, obj, info);
  6338. }
  6339. }
  6340. break;
  6341. }
  6342. const script1 = document.createElement("script");
  6343. script1.type = "text/javascript";
  6344. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6345. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6346. const script2 = document.createElement("script");
  6347. script2.type = "text/javascript";
  6348. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6349. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6350. const script3 = document.createElement("script");
  6351. script3.type = "text/javascript";
  6352. script3.charset = "UTF-8";
  6353. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6354. const script4 = document.createElement("script");
  6355. script4.type = "text/javascript";
  6356. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6357. script4.src = window.origin + "/js/Common/jietu2E.js";
  6358. if (_iframe) {
  6359. if (str == 'doc') {
  6360. _iframe = _formdiv.querySelector('iframe')
  6361. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6362. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6363. _iframe.contentWindow.document.body.appendChild(script1);
  6364. _iframe.contentWindow.document.body.appendChild(script2);
  6365. // _iframe.contentWindow.document.body.appendChild(script3);
  6366. _iframe.contentWindow.document.body.appendChild(script4);
  6367. })
  6368. if (onloadListener) {
  6369. _iframe.contentDocument.location.reload()
  6370. } else {
  6371. _iframe.contentDocument.location.reload()
  6372. }
  6373. } else if (str == 'courseDesign') {
  6374. U.UF.DL.iframeLoad(_iframe, function () {
  6375. // _iframe.contentWindow.U.MD.O.W.load();
  6376. // _iframe.contentWindow.document.body.appendChild(script1);
  6377. _iframe.contentWindow.document.body.appendChild(script2);
  6378. _iframe.contentWindow.document.body.appendChild(script4);
  6379. })
  6380. } else if (str == 'mind') {
  6381. _iframe = _formdiv.querySelector('iframe')
  6382. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6383. //
  6384. _iframe.contentWindow.document.body.appendChild(script1);
  6385. _iframe.contentWindow.document.body.appendChild(script2);
  6386. _iframe.contentWindow.document.body.appendChild(script4);
  6387. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6388. })
  6389. if (onloadListener) {
  6390. _iframe.contentDocument.location.reload()
  6391. } else {
  6392. _iframe.contentDocument.location.reload()
  6393. }
  6394. } else if (str == 'whiteboard') {
  6395. _iframe = _formdiv.querySelector('iframe')
  6396. let onloadListener = _iframe.onload = () => {
  6397. _iframe.contentWindow.document.body.appendChild(script1);
  6398. _iframe.contentWindow.document.body.appendChild(script2);
  6399. _iframe.contentWindow.document.body.appendChild(script4);
  6400. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6401. };
  6402. if (onloadListener) {
  6403. _iframe.contentDocument.location.reload()
  6404. } else {
  6405. _iframe.contentDocument.location.reload()
  6406. }
  6407. } else {
  6408. _iframe.onload = () => {
  6409. _iframe.contentWindow.document.body.appendChild(script1);
  6410. _iframe.contentWindow.document.body.appendChild(script2);
  6411. // _iframe.contentWindow.document.body.appendChild(script3);
  6412. _iframe.contentWindow.document.body.appendChild(script4);
  6413. };
  6414. }
  6415. _jie.onclick = async () => {
  6416. let text = ''
  6417. if (aTool == 1) {
  6418. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6419. } else if (aTool == 6) {
  6420. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6421. } else if (aTool == 3) {
  6422. text = await U.MD.D.I.getEditorContent(_iframe);
  6423. }
  6424. _loading.style.display = 'flex'
  6425. console.log(_loading);
  6426. var _ajs = _iframe.contentWindow.document.createElement("script");
  6427. _ajs.type = "text/javascript";
  6428. _ajs.innerHTML =
  6429. // 'console.log(' + _loading + ');\n' +
  6430. 'var _js = document.createElement("script");\n' +
  6431. '_js.type="text/javascript";\n' +
  6432. '_js.charset="UTF-8";\n' +
  6433. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6434. "_js.onload = function(){\n" +
  6435. ' var a = document.getElementsByTagName("img")\n' +
  6436. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6437. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6438. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6439. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6440. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6441. "beforeUpload_shishi(file," +
  6442. "'" +
  6443. _userid +
  6444. "'" +
  6445. ", " +
  6446. "'" +
  6447. _cid +
  6448. "'" +
  6449. ", " +
  6450. "'" +
  6451. _stage +
  6452. "'" +
  6453. ", " +
  6454. "'" +
  6455. _task +
  6456. "'" +
  6457. ", " +
  6458. "'" +
  6459. _tool +
  6460. "'" +
  6461. ", " +
  6462. "'" +
  6463. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6464. "'" +
  6465. ", " +
  6466. "'" +
  6467. aTool +
  6468. "'" +
  6469. ", " +
  6470. "`" +
  6471. text +
  6472. "`" +
  6473. ")\n" +
  6474. " });\n" +
  6475. "}\n" +
  6476. "document.head.appendChild(_js);\n";
  6477. _iframe.contentWindow.document.head.appendChild(_ajs);
  6478. }
  6479. }
  6480. }
  6481. U.MD.D.I.getEditorContent = function (iframe) {
  6482. return new Promise((resolve, reject) => {
  6483. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6484. console.log(content);
  6485. resolve(content)
  6486. });
  6487. });
  6488. }
  6489. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6490. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6491. // if (res.value[0].length > 0) {
  6492. // // resolve(res.value[0][0].text);
  6493. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6494. // $(fileInput).val('');
  6495. // });
  6496. // }
  6497. // }, [], { "type": "GET", "withCredentials": true });
  6498. var xmlhttp;
  6499. var Mac, Sn, DeviceId
  6500. if (window.XMLHttpRequest) {
  6501. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6502. xmlhttp = new XMLHttpRequest();
  6503. } else {
  6504. // IE6, IE5 浏览器执行代码
  6505. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6506. }
  6507. xmlhttp.onreadystatechange = function () {
  6508. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6509. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6510. // resolve(res.value[0][0].text);
  6511. if (type == '2') {
  6512. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6513. } else if (type == '3') {
  6514. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6515. }
  6516. } else {
  6517. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6518. }
  6519. }
  6520. }
  6521. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6522. xmlhttp.send();
  6523. }
  6524. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6525. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6526. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6527. _userinfo = US.userInfo, //登录用户信息
  6528. _userid = US.userInfo.userid //登录用户id
  6529. let _iframe;
  6530. let _cid = cid,
  6531. _stage = stage,
  6532. _task = task,
  6533. _tool = tool;
  6534. var _jie = $$("div", {
  6535. "style": {
  6536. "position": "absolute",
  6537. "bottom": "50px",
  6538. "right": "50px",
  6539. "zIndex": "9999",
  6540. "backgroundColor": "#2268bc",
  6541. "color": "#fff",
  6542. "padding": "12px 20px",
  6543. "cursor": "pointer",
  6544. "borderRadius": "4px",
  6545. },
  6546. "innerHTML": "确认并提交"
  6547. })
  6548. let aTool = ''
  6549. let _loading = document.createElement('div')
  6550. _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;"
  6551. // _loading.id = "";
  6552. let _lchild = document.createElement('div')
  6553. let _limg = document.createElement('img')
  6554. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6555. _limg.style = "width: 26px;margin-right: 10px;"
  6556. _lchild.appendChild(_limg)
  6557. let _lspan = document.createElement('span')
  6558. _lspan.innerHTML = "上传中..."
  6559. _lchild.appendChild(_lspan)
  6560. _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%);"
  6561. _loading.appendChild(_lchild)
  6562. var _box = $$('div', {
  6563. "style": {
  6564. "position": "relative",
  6565. "width": "100%",
  6566. "height": "100%",
  6567. },
  6568. })
  6569. _box.appendChild(_loading)
  6570. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6571. switch (str) {
  6572. case "whiteboard":
  6573. aTool = 1;
  6574. _iframe = $$("iframe", {
  6575. "frameborder": "no",
  6576. "border": "0",
  6577. "scrolling ": "no",
  6578. "style": {
  6579. "cssText": "border:0;width:100%;height:100%"
  6580. },
  6581. "src": "https://iwb.cocorobo.cn/"
  6582. })
  6583. _box.appendChild(_iframe);
  6584. _box.appendChild(_jie);
  6585. _formdiv = new U.UF.UI.form(
  6586. "电子白板",
  6587. _box, {
  6588. "id": "whiteboards" + cid + stage + task + tool,
  6589. "style": {
  6590. "width": "90%",
  6591. "height": "90%",
  6592. "overflow": 'hidden'
  6593. },
  6594. "onresize": function () { }
  6595. }, {
  6596. closecallback: function () { }
  6597. }, {
  6598. "style": {
  6599. "height": "36px"
  6600. }
  6601. }).form; //创建窗体
  6602. _taskbar = {
  6603. "id": str + _formdiv.id,
  6604. "style": {
  6605. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6606. },
  6607. "name": "电子白板",
  6608. "forms": _formdiv,
  6609. "click": function () {
  6610. U.MD.D.I.openApplication(str, obj, info);
  6611. }
  6612. }
  6613. break;
  6614. case "mind":
  6615. aTool = 3;
  6616. _iframe = $$("iframe", {
  6617. "frameborder": "no",
  6618. "border": "0",
  6619. "scrolling ": "no",
  6620. "style": {
  6621. "cssText": "border:0;width:100%;height:100%"
  6622. },
  6623. "src": "/kityminder-editor/dist/index.html"
  6624. });
  6625. _box.appendChild(_iframe);
  6626. _box.appendChild(_jie);
  6627. _formdiv = new U.UF.UI.form(
  6628. "思维导图",
  6629. _box, { //"/jsmind/example/demo.html"
  6630. "id": "minds" + cid + stage + task + tool,
  6631. "style": {
  6632. "width": "90%",
  6633. "height": "90%",
  6634. "overflow": 'hidden'
  6635. },
  6636. "onresize": function () { }
  6637. }, {
  6638. closecallback: function () { }
  6639. }, {
  6640. "style": {
  6641. "height": "36px"
  6642. }
  6643. }).form; //创建窗体
  6644. _taskbar = {
  6645. "id": str + _formdiv.id,
  6646. "style": {
  6647. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6648. },
  6649. "name": "思维导图",
  6650. "forms": _formdiv,
  6651. "click": function () {
  6652. U.MD.D.I.openApplication(str, obj, info);
  6653. }
  6654. }
  6655. break;
  6656. case "doc":
  6657. aTool = 6;
  6658. _iframe = $$("iframe", {
  6659. "frameborder": "no",
  6660. "border": "0",
  6661. "scrolling ": "no",
  6662. "style": {
  6663. "cssText": "border:0;width:100%;height:100%"
  6664. },
  6665. "src": "/Office/Word/WordEditArea.htm"
  6666. })
  6667. _box.appendChild(_iframe);
  6668. _box.appendChild(_jie);
  6669. _formdiv = new U.UF.UI.form(
  6670. "协同文档",
  6671. _box, {
  6672. "id": "docs" + cid + stage + task + tool,
  6673. "style": {
  6674. "width": "90%",
  6675. "height": "90%",
  6676. "overflow": 'hidden'
  6677. },
  6678. "onresize": function () { }
  6679. }, {
  6680. closecallback: function () { }
  6681. }, {
  6682. "style": {
  6683. "height": "36px"
  6684. }
  6685. }).form; //创建窗体
  6686. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6687. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6688. })
  6689. _taskbar = {
  6690. "id": str + _formdiv.id,
  6691. "style": {
  6692. "backgroundImage": "url(/img/icon/doc.png)"
  6693. },
  6694. "name": "协同文档",
  6695. "forms": _formdiv,
  6696. "click": function () {
  6697. U.MD.D.I.openApplication(str, obj, info);
  6698. }
  6699. }
  6700. break;
  6701. }
  6702. const script1 = document.createElement("script");
  6703. script1.type = "text/javascript";
  6704. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6705. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6706. const script2 = document.createElement("script");
  6707. script2.type = "text/javascript";
  6708. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6709. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6710. const script3 = document.createElement("script");
  6711. script3.type = "text/javascript";
  6712. script3.charset = "UTF-8";
  6713. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6714. const script4 = document.createElement("script");
  6715. script4.type = "text/javascript";
  6716. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6717. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6718. if (_iframe) {
  6719. if (str == 'doc') {
  6720. _iframe = _formdiv.querySelector('iframe')
  6721. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6722. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6723. _iframe.contentWindow.document.body.appendChild(script1);
  6724. _iframe.contentWindow.document.body.appendChild(script2);
  6725. // _iframe.contentWindow.document.body.appendChild(script3);
  6726. _iframe.contentWindow.document.body.appendChild(script4);
  6727. })
  6728. if (onloadListener) {
  6729. _iframe.contentDocument.location.reload()
  6730. } else {
  6731. _iframe.contentDocument.location.reload()
  6732. }
  6733. } else if (str == 'mind') {
  6734. _iframe = _formdiv.querySelector('iframe')
  6735. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6736. _iframe.contentWindow.document.body.appendChild(script1);
  6737. _iframe.contentWindow.document.body.appendChild(script2);
  6738. _iframe.contentWindow.document.body.appendChild(script4);
  6739. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6740. })
  6741. if (onloadListener) {
  6742. _iframe.contentDocument.location.reload()
  6743. } else {
  6744. _iframe.contentDocument.location.reload()
  6745. }
  6746. } else {
  6747. _iframe.onload = () => {
  6748. _iframe.contentWindow.document.body.appendChild(script1);
  6749. _iframe.contentWindow.document.body.appendChild(script2);
  6750. // _iframe.contentWindow.document.body.appendChild(script3);
  6751. _iframe.contentWindow.document.body.appendChild(script4);
  6752. };
  6753. }
  6754. _jie.onclick = async () => {
  6755. let text = ''
  6756. if (aTool == 6) {
  6757. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6758. } else if (aTool == 3) {
  6759. text = await U.MD.D.I.getEditorContent(_iframe);
  6760. }
  6761. _loading.style.display = 'flex'
  6762. console.log(_loading);
  6763. var _ajs = _iframe.contentWindow.document.createElement("script");
  6764. _ajs.type = "text/javascript";
  6765. _ajs.innerHTML =
  6766. // 'console.log(' + _loading + ');\n' +
  6767. 'var _js = document.createElement("script");\n' +
  6768. '_js.type="text/javascript";\n' +
  6769. '_js.charset="UTF-8";\n' +
  6770. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6771. "_js.onload = function(){\n" +
  6772. ' var a = document.getElementsByTagName("img")\n' +
  6773. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6774. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6775. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6776. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6777. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6778. "beforeUpload_shishi(file," +
  6779. "'" +
  6780. _userid +
  6781. "'" +
  6782. ", " +
  6783. "'" +
  6784. _cid +
  6785. "'" +
  6786. ", " +
  6787. "'" +
  6788. _stage +
  6789. "'" +
  6790. ", " +
  6791. "'" +
  6792. _task +
  6793. "'" +
  6794. ", " +
  6795. "'" +
  6796. _tool +
  6797. "'" +
  6798. ", " +
  6799. "'" +
  6800. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6801. "'" +
  6802. ", " +
  6803. "'" +
  6804. aTool +
  6805. "'" +
  6806. ", " +
  6807. "`" +
  6808. text +
  6809. "`" +
  6810. ")\n" +
  6811. " });\n" +
  6812. "}\n" +
  6813. "document.head.appendChild(_js);\n";
  6814. _iframe.contentWindow.document.head.appendChild(_ajs);
  6815. }
  6816. }
  6817. //U.MD.D.I.openClick(str);
  6818. //如果有任务栏信息
  6819. // if (_taskbar) {
  6820. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6821. // }
  6822. }
  6823. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6824. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6825. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6826. _userinfo = US.userInfo, //登录用户信息
  6827. _userid = US.userInfo.userid //登录用户id
  6828. let _iframe;
  6829. let _cid = cid,
  6830. _stage = stage,
  6831. _task = task,
  6832. _tool = tool;
  6833. var _jie = $$("div", {
  6834. "style": {
  6835. "position": "absolute",
  6836. "bottom": "50px",
  6837. "right": "50px",
  6838. "zIndex": "9999",
  6839. "backgroundColor": "#2268bc",
  6840. "color": "#fff",
  6841. "padding": "12px 20px",
  6842. "cursor": "pointer",
  6843. "borderRadius": "4px",
  6844. },
  6845. "innerHTML": "确认并提交"
  6846. })
  6847. let aTool = ''
  6848. let _loading = document.createElement('div')
  6849. _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;"
  6850. // _loading.id = "";
  6851. let _lchild = document.createElement('div')
  6852. let _limg = document.createElement('img')
  6853. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6854. _limg.style = "width: 26px;margin-right: 10px;"
  6855. _lchild.appendChild(_limg)
  6856. let _lspan = document.createElement('span')
  6857. _lspan.innerHTML = "上传中..."
  6858. _lchild.appendChild(_lspan)
  6859. _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%);"
  6860. _loading.appendChild(_lchild)
  6861. var _box = $$('div', {
  6862. "style": {
  6863. "position": "relative",
  6864. "width": "100%",
  6865. "height": "100%",
  6866. },
  6867. })
  6868. _box.appendChild(_loading)
  6869. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6870. switch (str) {
  6871. case "whiteboard":
  6872. aTool = 1;
  6873. _iframe = $$("iframe", {
  6874. "frameborder": "no",
  6875. "border": "0",
  6876. "scrolling ": "no",
  6877. "style": {
  6878. "cssText": "border:0;width:100%;height:100%"
  6879. },
  6880. "src": "https://iwb.cocorobo.cn/"
  6881. })
  6882. _box.appendChild(_iframe);
  6883. _box.appendChild(_jie);
  6884. _formdiv = new U.UF.UI.form(
  6885. "电子白板",
  6886. _box, {
  6887. "id": "whiteboards" + cid + stage + task + tool,
  6888. "style": {
  6889. "width": "90%",
  6890. "height": "90%",
  6891. "overflow": 'hidden'
  6892. },
  6893. "onresize": function () { }
  6894. }, {
  6895. closecallback: function () { }
  6896. }, {
  6897. "style": {
  6898. "height": "36px"
  6899. }
  6900. }).form; //创建窗体
  6901. _taskbar = {
  6902. "id": str + _formdiv.id,
  6903. "style": {
  6904. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6905. },
  6906. "name": "电子白板",
  6907. "forms": _formdiv,
  6908. "click": function () {
  6909. U.MD.D.I.openApplication(str, obj, info);
  6910. }
  6911. }
  6912. break;
  6913. case "mind":
  6914. aTool = 3;
  6915. _iframe = $$("iframe", {
  6916. "frameborder": "no",
  6917. "border": "0",
  6918. "scrolling ": "no",
  6919. "style": {
  6920. "cssText": "border:0;width:100%;height:100%"
  6921. },
  6922. "src": "/kityminder-editor/dist/index.html"
  6923. });
  6924. _box.appendChild(_iframe);
  6925. _box.appendChild(_jie);
  6926. _formdiv = new U.UF.UI.form(
  6927. "思维导图",
  6928. _box, { //"/jsmind/example/demo.html"
  6929. "id": "minds" + cid + stage + task + tool,
  6930. "style": {
  6931. "width": "90%",
  6932. "height": "90%",
  6933. "overflow": 'hidden'
  6934. },
  6935. "onresize": function () { }
  6936. }, {
  6937. closecallback: function () { }
  6938. }, {
  6939. "style": {
  6940. "height": "36px"
  6941. }
  6942. }).form; //创建窗体
  6943. _taskbar = {
  6944. "id": str + _formdiv.id,
  6945. "style": {
  6946. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6947. },
  6948. "name": "思维导图",
  6949. "forms": _formdiv,
  6950. "click": function () {
  6951. U.MD.D.I.openApplication(str, obj, info);
  6952. }
  6953. }
  6954. break;
  6955. case "doc":
  6956. aTool = 6;
  6957. _iframe = $$("iframe", {
  6958. "frameborder": "no",
  6959. "border": "0",
  6960. "scrolling ": "no",
  6961. "style": {
  6962. "cssText": "border:0;width:100%;height:100%"
  6963. },
  6964. "src": "/Office/Word/WordEditArea.htm"
  6965. })
  6966. _box.appendChild(_iframe);
  6967. _box.appendChild(_jie);
  6968. _formdiv = new U.UF.UI.form(
  6969. "协同文档",
  6970. _box, {
  6971. "id": "docs" + cid + stage + task + tool,
  6972. "style": {
  6973. "width": "90%",
  6974. "height": "90%",
  6975. "overflow": 'hidden'
  6976. },
  6977. "onresize": function () { }
  6978. }, {
  6979. closecallback: function () { }
  6980. }, {
  6981. "style": {
  6982. "height": "36px"
  6983. }
  6984. }).form; //创建窗体
  6985. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6986. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6987. })
  6988. _taskbar = {
  6989. "id": str + _formdiv.id,
  6990. "style": {
  6991. "backgroundImage": "url(/img/icon/doc.png)"
  6992. },
  6993. "name": "协同文档",
  6994. "forms": _formdiv,
  6995. "click": function () {
  6996. U.MD.D.I.openApplication(str, obj, info);
  6997. }
  6998. }
  6999. break;
  7000. }
  7001. const script1 = document.createElement("script");
  7002. script1.type = "text/javascript";
  7003. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7004. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7005. const script2 = document.createElement("script");
  7006. script2.type = "text/javascript";
  7007. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7008. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7009. const script3 = document.createElement("script");
  7010. script3.type = "text/javascript";
  7011. script3.charset = "UTF-8";
  7012. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7013. const script4 = document.createElement("script");
  7014. script4.type = "text/javascript";
  7015. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7016. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7017. if (_iframe) {
  7018. if (str == 'doc') {
  7019. _iframe = _formdiv.querySelector('iframe')
  7020. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7021. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7022. _iframe.contentWindow.document.body.appendChild(script1);
  7023. _iframe.contentWindow.document.body.appendChild(script2);
  7024. // _iframe.contentWindow.document.body.appendChild(script3);
  7025. _iframe.contentWindow.document.body.appendChild(script4);
  7026. })
  7027. if (onloadListener) {
  7028. _iframe.contentDocument.location.reload()
  7029. } else {
  7030. _iframe.contentDocument.location.reload()
  7031. }
  7032. } else if (str == 'mind') {
  7033. _iframe = _formdiv.querySelector('iframe')
  7034. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7035. _iframe.contentWindow.document.body.appendChild(script1);
  7036. _iframe.contentWindow.document.body.appendChild(script2);
  7037. _iframe.contentWindow.document.body.appendChild(script4);
  7038. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7039. })
  7040. if (onloadListener) {
  7041. _iframe.contentDocument.location.reload()
  7042. } else {
  7043. _iframe.contentDocument.location.reload()
  7044. }
  7045. } else {
  7046. _iframe.onload = () => {
  7047. _iframe.contentWindow.document.body.appendChild(script1);
  7048. _iframe.contentWindow.document.body.appendChild(script2);
  7049. // _iframe.contentWindow.document.body.appendChild(script3);
  7050. _iframe.contentWindow.document.body.appendChild(script4);
  7051. };
  7052. }
  7053. _jie.onclick = async () => {
  7054. let text = ''
  7055. if (aTool == 6) {
  7056. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7057. } else if (aTool == 3) {
  7058. text = await U.MD.D.I.getEditorContent(_iframe);
  7059. }
  7060. _loading.style.display = 'flex'
  7061. console.log(_loading);
  7062. var _ajs = _iframe.contentWindow.document.createElement("script");
  7063. _ajs.type = "text/javascript";
  7064. _ajs.innerHTML =
  7065. // 'console.log(' + _loading + ');\n' +
  7066. 'var _js = document.createElement("script");\n' +
  7067. '_js.type="text/javascript";\n' +
  7068. '_js.charset="UTF-8";\n' +
  7069. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7070. "_js.onload = function(){\n" +
  7071. ' var a = document.getElementsByTagName("img")\n' +
  7072. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7073. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7074. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7075. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7076. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7077. "beforeUpload_shishi(file," +
  7078. "'" +
  7079. _userid +
  7080. "'" +
  7081. ", " +
  7082. "'" +
  7083. _cid +
  7084. "'" +
  7085. ", " +
  7086. "'" +
  7087. _stage +
  7088. "'" +
  7089. ", " +
  7090. "'" +
  7091. _task +
  7092. "'" +
  7093. ", " +
  7094. "'" +
  7095. _tool +
  7096. "'" +
  7097. ", " +
  7098. "'" +
  7099. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7100. "'" +
  7101. ", " +
  7102. "'" +
  7103. aTool +
  7104. "'" +
  7105. ", " +
  7106. "`" +
  7107. text +
  7108. "`" +
  7109. ")\n" +
  7110. " });\n" +
  7111. "}\n" +
  7112. "document.head.appendChild(_js);\n";
  7113. _iframe.contentWindow.document.head.appendChild(_ajs);
  7114. }
  7115. }
  7116. //U.MD.D.I.openClick(str);
  7117. //如果有任务栏信息
  7118. // if (_taskbar) {
  7119. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7120. // }
  7121. }
  7122. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7123. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7124. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7125. _userinfo = US.userInfo, //登录用户信息
  7126. _userid = US.userInfo.userid //登录用户id
  7127. let _iframe;
  7128. let _cid = cid,
  7129. _stage = stage,
  7130. _task = task,
  7131. _tool = tool;
  7132. var _jie = $$("div", {
  7133. "style": {
  7134. "position": "absolute",
  7135. "bottom": "50px",
  7136. "right": "50px",
  7137. "zIndex": "9999",
  7138. "backgroundColor": "#2268bc",
  7139. "color": "#fff",
  7140. "padding": "12px 20px",
  7141. "cursor": "pointer",
  7142. "borderRadius": "4px",
  7143. },
  7144. "innerHTML": "上传模板"
  7145. })
  7146. let aTool = ''
  7147. let _loading = document.createElement('div')
  7148. _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;"
  7149. // _loading.id = "";
  7150. let _lchild = document.createElement('div')
  7151. let _limg = document.createElement('img')
  7152. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7153. _limg.style = "width: 26px;margin-right: 10px;"
  7154. _lchild.appendChild(_limg)
  7155. let _lspan = document.createElement('span')
  7156. _lspan.innerHTML = "上传中..."
  7157. _lchild.appendChild(_lspan)
  7158. _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%);"
  7159. _loading.appendChild(_lchild)
  7160. var _box = $$('div', {
  7161. "style": {
  7162. "position": "relative",
  7163. "width": "100%",
  7164. "height": "100%",
  7165. },
  7166. })
  7167. _box.appendChild(_loading)
  7168. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7169. switch (str) {
  7170. case "whiteboard":
  7171. aTool = 1;
  7172. _iframe = $$("iframe", {
  7173. "frameborder": "no",
  7174. "border": "0",
  7175. "scrolling ": "no",
  7176. "style": {
  7177. "cssText": "border:0;width:100%;height:100%"
  7178. },
  7179. "src": "https://iwb.cocorobo.cn/"
  7180. })
  7181. _box.appendChild(_iframe);
  7182. _box.appendChild(_jie);
  7183. _formdiv = new U.UF.UI.form(
  7184. "电子白板",
  7185. _box, {
  7186. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7187. "style": {
  7188. "width": "90%",
  7189. "height": "90%",
  7190. "overflow": 'hidden'
  7191. },
  7192. "onresize": function () { }
  7193. }, {
  7194. closecallback: function () { }
  7195. }, {
  7196. "style": {
  7197. "height": "36px"
  7198. }
  7199. }).form; //创建窗体
  7200. _taskbar = {
  7201. "id": str + _formdiv.id,
  7202. "style": {
  7203. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7204. },
  7205. "name": "电子白板",
  7206. "forms": _formdiv,
  7207. "click": function () {
  7208. U.MD.D.I.openApplication(str, obj, info);
  7209. }
  7210. }
  7211. break;
  7212. case "mind":
  7213. aTool = 3;
  7214. _iframe = $$("iframe", {
  7215. "frameborder": "no",
  7216. "border": "0",
  7217. "scrolling ": "no",
  7218. "style": {
  7219. "cssText": "border:0;width:100%;height:100%"
  7220. },
  7221. "src": "/kityminder-editor/dist/index.html"
  7222. });
  7223. _box.appendChild(_iframe);
  7224. _box.appendChild(_jie);
  7225. _formdiv = new U.UF.UI.form(
  7226. "思维导图",
  7227. _box, { //"/jsmind/example/demo.html"
  7228. "id": "minds_Yu" + cid + stage + task + tool,
  7229. "style": {
  7230. "width": "90%",
  7231. "height": "90%",
  7232. "overflow": 'hidden'
  7233. },
  7234. "onresize": function () { }
  7235. }, {
  7236. closecallback: function () { }
  7237. }, {
  7238. "style": {
  7239. "height": "36px"
  7240. }
  7241. }).form; //创建窗体
  7242. _taskbar = {
  7243. "id": str + _formdiv.id,
  7244. "style": {
  7245. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7246. },
  7247. "name": "思维导图",
  7248. "forms": _formdiv,
  7249. "click": function () {
  7250. U.MD.D.I.openApplication(str, obj, info);
  7251. }
  7252. }
  7253. break;
  7254. case "doc":
  7255. aTool = 6;
  7256. _iframe = $$("iframe", {
  7257. "frameborder": "no",
  7258. "border": "0",
  7259. "scrolling ": "no",
  7260. "style": {
  7261. "cssText": "border:0;width:100%;height:100%"
  7262. },
  7263. "src": "/Office/Word/WordEditArea.htm"
  7264. })
  7265. _box.appendChild(_iframe);
  7266. _box.appendChild(_jie);
  7267. _formdiv = new U.UF.UI.form(
  7268. "协同文档",
  7269. _box, {
  7270. "id": "docs_Yu" + cid + stage + task + tool,
  7271. "style": {
  7272. "width": "90%",
  7273. "height": "90%",
  7274. "overflow": 'hidden'
  7275. },
  7276. "onresize": function () { }
  7277. }, {
  7278. closecallback: function () { }
  7279. }, {
  7280. "style": {
  7281. "height": "36px"
  7282. }
  7283. }).form; //创建窗体
  7284. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7285. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7286. })
  7287. _taskbar = {
  7288. "id": str + _formdiv.id,
  7289. "style": {
  7290. "backgroundImage": "url(/img/icon/doc.png)"
  7291. },
  7292. "name": "协同文档",
  7293. "forms": _formdiv,
  7294. "click": function () {
  7295. U.MD.D.I.openApplication(str, obj, info);
  7296. }
  7297. }
  7298. break;
  7299. case "CocoPi":
  7300. aTool = 57;
  7301. _iframe = $$("iframe", {
  7302. "allowpaymentrequest": "allowpaymentrequest",
  7303. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7304. "webkitallowfullscreen": "",
  7305. "mozallowfullscreen": "",
  7306. "frameborder": "no",
  7307. "border": "0",
  7308. "scrolling ": "no",
  7309. "style": {
  7310. "cssText": "border:0;width:100%;height:100%"
  7311. },
  7312. "src": "https://pi.cocorobo.cn/"
  7313. })
  7314. _box.appendChild(_iframe);
  7315. _box.appendChild(_jie);
  7316. _formdiv = new U.UF.UI.form(
  7317. "CocoPi",
  7318. _box, {
  7319. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7320. "style": {
  7321. "width": "90%",
  7322. "height": "90%",
  7323. "overflow": 'hidden'
  7324. },
  7325. "onresize": function () { }
  7326. }, {
  7327. closecallback: function () { }
  7328. }, {
  7329. "style": {
  7330. "height": "36px"
  7331. }
  7332. }).form; //创建窗体
  7333. _taskbar = {
  7334. "id": str + _formdiv.id,
  7335. "style": {
  7336. "backgroundImage": "url(/img/icon/cocopi.png)"
  7337. },
  7338. "name": "CocoPi",
  7339. "forms": _formdiv,
  7340. "click": function () {
  7341. U.MD.D.I.openApplication(str, obj, info);
  7342. }
  7343. }
  7344. break;
  7345. }
  7346. if (_iframe) {
  7347. if (str == 'doc') {
  7348. _iframe = _formdiv.querySelector('iframe')
  7349. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7350. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7351. })
  7352. if (onloadListener) {
  7353. _iframe.contentDocument.location.reload()
  7354. } else {
  7355. _iframe.contentDocument.location.reload()
  7356. }
  7357. } else if (str == 'mind') {
  7358. _iframe = _formdiv.querySelector('iframe')
  7359. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7360. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7361. })
  7362. if (onloadListener) {
  7363. _iframe.contentDocument.location.reload()
  7364. } else {
  7365. _iframe.contentDocument.location.reload()
  7366. }
  7367. } else if (str == 'whiteboard') {
  7368. _iframe = _formdiv.querySelector('iframe')
  7369. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7370. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7371. })
  7372. if (onloadListener) {
  7373. _iframe.contentDocument.location.reload()
  7374. } else {
  7375. _iframe.contentDocument.location.reload()
  7376. }
  7377. } else if (str == 'CocoPi') {
  7378. _iframe = _formdiv.querySelector('iframe')
  7379. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7380. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7381. })
  7382. if (onloadListener) {
  7383. _iframe.contentDocument.location.reload()
  7384. } else {
  7385. _iframe.contentDocument.location.reload()
  7386. }
  7387. } else {
  7388. _iframe.onload = () => { };
  7389. }
  7390. _jie.onclick = async () => {
  7391. let text = ''
  7392. let type = '2'
  7393. if (aTool == 1) {
  7394. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7395. type = '3'
  7396. } else if (aTool == 6) {
  7397. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7398. type = '1'
  7399. } else if (aTool == 3) {
  7400. text = await U.MD.D.I.getEditorContent(_iframe);
  7401. type = '2'
  7402. } else if (aTool == 57) {
  7403. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7404. type = '4'
  7405. }
  7406. _loading.style.display = 'flex'
  7407. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7408. }
  7409. }
  7410. //U.MD.D.I.openClick(str);
  7411. //如果有任务栏信息
  7412. // if (_taskbar) {
  7413. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7414. // }
  7415. }
  7416. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7417. var xmlhttp;
  7418. var Mac, Sn, DeviceId
  7419. if (window.XMLHttpRequest) {
  7420. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7421. xmlhttp = new XMLHttpRequest();
  7422. } else {
  7423. // IE6, IE5 浏览器执行代码
  7424. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7425. }
  7426. xmlhttp.onreadystatechange = function () {
  7427. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7428. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7429. // resolve(res.value[0][0].text);
  7430. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7431. }
  7432. }
  7433. }
  7434. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7435. xmlhttp.send();
  7436. }
  7437. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7438. var xmlhttp;
  7439. var Mac, Sn, DeviceId
  7440. if (window.XMLHttpRequest) {
  7441. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7442. xmlhttp = new XMLHttpRequest();
  7443. } else {
  7444. // IE6, IE5 浏览器执行代码
  7445. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7446. }
  7447. xmlhttp.onreadystatechange = function () {
  7448. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7449. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7450. // resolve(res.value[0][0].text);
  7451. if (type == '2') {
  7452. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7453. } else if (type == '3') {
  7454. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7455. } else if (type == '4') {
  7456. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7457. }
  7458. } else {
  7459. if (type == '2') {
  7460. iframe.contentWindow.editor.minder.importData('json', '')
  7461. } else if (type == '3') {
  7462. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7463. } else if (type == '4') {
  7464. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7465. }
  7466. }
  7467. }
  7468. }
  7469. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7470. xmlhttp.send();
  7471. }
  7472. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7473. var xmlhttp;
  7474. var Mac, Sn, DeviceId
  7475. if (window.XMLHttpRequest) {
  7476. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7477. xmlhttp = new XMLHttpRequest();
  7478. } else {
  7479. // IE6, IE5 浏览器执行代码
  7480. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7481. }
  7482. xmlhttp.onreadystatechange = function () {
  7483. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7484. if (xmlhttp.response) {
  7485. // resolve(res.value[0][0].text);
  7486. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7487. // $(fileInput).val('');
  7488. // });
  7489. span.innerHTML = '上传成功'
  7490. setTimeout(() => {
  7491. loading.style.display = 'none'
  7492. }, 1000);
  7493. }
  7494. }
  7495. }
  7496. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7497. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7498. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7499. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7500. // 设置请求头,表示请求体的编码格式
  7501. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7502. // 设置请求体,使用url-encoded格式的数据
  7503. }
  7504. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7505. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7506. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7507. _userinfo = US.userInfo, //登录用户信息
  7508. _userid = US.userInfo.userid //登录用户id
  7509. let _iframe;
  7510. let _cid = cid,
  7511. _stage = stage,
  7512. _task = task,
  7513. _tool = tool;
  7514. var _jie = $$("div", {
  7515. "style": {
  7516. "position": "absolute",
  7517. "bottom": "50px",
  7518. "right": "50px",
  7519. "zIndex": "9999",
  7520. "backgroundColor": "#2268bc",
  7521. "color": "#fff",
  7522. "padding": "12px 20px",
  7523. "cursor": "pointer",
  7524. "borderRadius": "4px",
  7525. },
  7526. "innerHTML": "提交作业"
  7527. })
  7528. let aTool = ''
  7529. let _loading = document.createElement('div')
  7530. _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;"
  7531. // _loading.id = "";
  7532. let _lchild = document.createElement('div')
  7533. let _limg = document.createElement('img')
  7534. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7535. _limg.style = "width: 26px;margin-right: 10px;"
  7536. _lchild.appendChild(_limg)
  7537. let _lspan = document.createElement('span')
  7538. _lspan.innerHTML = "上传中..."
  7539. _lchild.appendChild(_lspan)
  7540. _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%);"
  7541. _loading.appendChild(_lchild)
  7542. var _box = $$('div', {
  7543. "style": {
  7544. "position": "relative",
  7545. "width": "100%",
  7546. "height": "100%",
  7547. },
  7548. })
  7549. _box.appendChild(_loading)
  7550. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7551. switch (str) {
  7552. case "CocoPi":
  7553. aTool = 57;
  7554. _iframe = $$("iframe", {
  7555. "allowpaymentrequest": "allowpaymentrequest",
  7556. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7557. "webkitallowfullscreen": "",
  7558. "mozallowfullscreen": "",
  7559. "frameborder": "no",
  7560. "border": "0",
  7561. "scrolling ": "no",
  7562. "style": {
  7563. "cssText": "border:0;width:100%;height:100%"
  7564. },
  7565. "src": "https://pi.cocorobo.cn/"
  7566. })
  7567. _box.appendChild(_iframe);
  7568. _box.appendChild(_jie);
  7569. _formdiv = new U.UF.UI.form(
  7570. "CocoPi",
  7571. _box, {
  7572. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7573. "style": {
  7574. "width": "90%",
  7575. "height": "90%",
  7576. "overflow": 'hidden'
  7577. },
  7578. "onresize": function () { }
  7579. }, {
  7580. closecallback: function () { }
  7581. }, {
  7582. "style": {
  7583. "height": "36px"
  7584. }
  7585. }).form; //创建窗体
  7586. _taskbar = {
  7587. "id": str + _formdiv.id,
  7588. "style": {
  7589. "backgroundImage": "url(/img/icon/cocopi.png)"
  7590. },
  7591. "name": "CocoPi",
  7592. "forms": _formdiv,
  7593. "click": function () {
  7594. U.MD.D.I.openApplication(str, obj, info);
  7595. }
  7596. }
  7597. break;
  7598. }
  7599. if (_iframe) {
  7600. if (str == 'CocoPi') {
  7601. _iframe = _formdiv.querySelector('iframe')
  7602. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7603. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7604. })
  7605. if (onloadListener) {
  7606. _iframe.contentDocument.location.reload()
  7607. } else {
  7608. _iframe.contentDocument.location.reload()
  7609. }
  7610. }
  7611. _jie.onclick = async () => {
  7612. let text = ''
  7613. if (aTool == 57) {
  7614. text = _iframe.contentWindow.getLoadXmlStr()
  7615. }
  7616. _loading.style.display = 'flex'
  7617. console.log(_loading);
  7618. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7619. _loading.style.display = 'none'
  7620. let _div = document.createElement('div')
  7621. _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;"
  7622. let _inner = document.createElement('div')
  7623. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7624. _inner.innerHTML = "上传成功"
  7625. _div.appendChild(_inner)
  7626. _iframe.contentWindow.window.document.body.appendChild(_div)
  7627. _div.onclick = () => {
  7628. _iframe.contentWindow.window.document.body.removeChild(_div)
  7629. }
  7630. setTimeout(() => {
  7631. _iframe.contentWindow.window.document.body.removeChild(_div)
  7632. }, 1000);
  7633. }, [], { "type": "POST", "withCredentials": true });
  7634. }
  7635. }
  7636. }
  7637. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7638. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7639. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7640. _userid = student.userid, //登录用户id
  7641. _username = student.student //用户名字
  7642. let _iframe;
  7643. let _cid = cid,
  7644. _stage = stage,
  7645. _task = task,
  7646. _tool = tool;
  7647. var _jie = $$("div", {
  7648. "style": {
  7649. "position": "absolute",
  7650. "bottom": "50px",
  7651. "right": "50px",
  7652. "zIndex": "9999",
  7653. "backgroundColor": "#2268bc",
  7654. "color": "#fff",
  7655. "padding": "12px 20px",
  7656. "cursor": "pointer",
  7657. "borderRadius": "4px",
  7658. },
  7659. "innerHTML": "提交作业"
  7660. })
  7661. let aTool = ''
  7662. let _loading = document.createElement('div')
  7663. _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;"
  7664. // _loading.id = "";
  7665. let _lchild = document.createElement('div')
  7666. let _limg = document.createElement('img')
  7667. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7668. _limg.style = "width: 26px;margin-right: 10px;"
  7669. _lchild.appendChild(_limg)
  7670. let _lspan = document.createElement('span')
  7671. _lspan.innerHTML = "上传中..."
  7672. _lchild.appendChild(_lspan)
  7673. _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%);"
  7674. _loading.appendChild(_lchild)
  7675. var _box = $$('div', {
  7676. "style": {
  7677. "position": "relative",
  7678. "width": "100%",
  7679. "height": "100%",
  7680. },
  7681. })
  7682. _box.appendChild(_loading)
  7683. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7684. switch (str) {
  7685. case "CocoPi":
  7686. aTool = 57;
  7687. _iframe = $$("iframe", {
  7688. "allowpaymentrequest": "allowpaymentrequest",
  7689. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7690. "webkitallowfullscreen": "",
  7691. "mozallowfullscreen": "",
  7692. "frameborder": "no",
  7693. "border": "0",
  7694. "scrolling ": "no",
  7695. "style": {
  7696. "cssText": "border:0;width:100%;height:100%"
  7697. },
  7698. "src": "https://pi.cocorobo.cn/"
  7699. })
  7700. _box.appendChild(_iframe);
  7701. _box.appendChild(_jie);
  7702. _formdiv = new U.UF.UI.form(
  7703. "CocoPi-" + _username,
  7704. _box, {
  7705. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7706. "style": {
  7707. "width": "90%",
  7708. "height": "90%",
  7709. "overflow": 'hidden'
  7710. },
  7711. "onresize": function () { }
  7712. }, {
  7713. closecallback: function () { }
  7714. }, {
  7715. "style": {
  7716. "height": "36px"
  7717. }
  7718. }).form; //创建窗体
  7719. _taskbar = {
  7720. "id": str + _formdiv.id,
  7721. "style": {
  7722. "backgroundImage": "url(/img/icon/cocopi.png)"
  7723. },
  7724. "name": "CocoPi",
  7725. "forms": _formdiv,
  7726. "click": function () {
  7727. U.MD.D.I.openApplication(str, obj, info);
  7728. }
  7729. }
  7730. break;
  7731. }
  7732. if (_iframe) {
  7733. if (str == 'CocoPi') {
  7734. _iframe = _formdiv.querySelector('iframe')
  7735. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7736. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7737. })
  7738. if (onloadListener) {
  7739. _iframe.contentDocument.location.reload()
  7740. } else {
  7741. _iframe.contentDocument.location.reload()
  7742. }
  7743. }
  7744. _jie.onclick = async () => {
  7745. let text = ''
  7746. if (aTool == 57) {
  7747. text = _iframe.contentWindow.getLoadXmlStr()
  7748. }
  7749. _loading.style.display = 'flex'
  7750. console.log(_loading);
  7751. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7752. _loading.style.display = 'none'
  7753. let _div = document.createElement('div')
  7754. _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;"
  7755. let _inner = document.createElement('div')
  7756. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7757. _inner.innerHTML = "上传成功"
  7758. _div.appendChild(_inner)
  7759. _iframe.contentWindow.window.document.body.appendChild(_div)
  7760. _div.onclick = () => {
  7761. _iframe.contentWindow.window.document.body.removeChild(_div)
  7762. }
  7763. setTimeout(() => {
  7764. _iframe.contentWindow.window.document.body.removeChild(_div)
  7765. }, 1000);
  7766. }, [], { "type": "POST", "withCredentials": true });
  7767. }
  7768. }
  7769. }
  7770. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7771. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7772. if (res.value[0].length > 0) {
  7773. if (atool == 57) {
  7774. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7775. }
  7776. } else {
  7777. if (atool == 57) {
  7778. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7779. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7780. }
  7781. }
  7782. }, [], { "type": "POST", "withCredentials": true });
  7783. }