DeskTop.js 470 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035
  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. ];
  51. //极简模式
  52. U.MD.D.I.easyDeskIcon = [
  53. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  54. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  55. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  57. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  58. ];
  59. //教师桌面图标的全局变量
  60. U.MD.D.I.teacherDeskIcon2 = [
  61. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  62. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  63. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  64. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  65. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  66. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  67. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  68. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  69. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  70. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  71. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  72. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  73. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  74. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  75. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  76. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  77. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  78. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  79. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  80. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  81. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  82. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  83. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  84. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  85. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  86. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  87. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  88. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  89. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  90. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  91. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  92. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  93. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  94. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  95. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  96. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  97. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  98. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  99. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  100. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  101. ];
  102. U.MD.D.I.studentDeskIcon = [
  103. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  104. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  105. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  106. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  107. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  108. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  109. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  110. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  111. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  112. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  113. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  114. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  115. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  116. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  117. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  118. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  119. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  120. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  121. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  122. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  123. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  124. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  125. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  126. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  127. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  128. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  129. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  130. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  131. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  132. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  133. ];
  134. U.MD.D.I.studentDeskIcon2 = [
  135. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  136. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  137. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  138. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  139. ]
  140. U.MD.D.I.studentDeskIcon3 = [
  141. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  142. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  143. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  144. ]
  145. U.MD.D.I.schoolDeskIcon = [
  146. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  147. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  148. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  149. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  150. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  151. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  152. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  153. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  154. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  155. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  156. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  157. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  158. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  159. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  160. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  161. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  162. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  163. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  164. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  165. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  166. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  167. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  168. ];
  169. U.MD.D.I.orgDeskIcon = [
  170. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  171. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  172. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  173. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  174. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  175. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  176. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  177. ];
  178. U.MD.D.I.orgStemDeskIcon = [
  179. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  182. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  183. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  184. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  185. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  186. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  187. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  188. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  189. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  190. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  191. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  192. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  193. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  194. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  195. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  196. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  197. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  198. ];
  199. U.MD.D.I.szulsDeskIcon = [
  200. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  201. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  202. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  203. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  204. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  205. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  206. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  207. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  208. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  209. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  210. ];
  211. U.MD.D.I.hanDeskIcon = [
  212. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  213. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  214. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  215. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  216. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  217. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  218. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  219. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  220. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  221. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  222. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  223. ];
  224. U.MD.D.I.GMteacherDeskIcon = [
  225. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  226. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  227. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  228. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  229. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  230. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  231. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  232. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  233. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  234. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  235. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  236. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  237. ];
  238. U.MD.D.I.GMstudentDeskIcon = [
  239. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  240. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  241. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  242. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  243. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  244. ];
  245. //北师大
  246. U.MD.D.I.BSDNSteacherDeskIcon = [
  247. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  248. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  249. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  250. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  251. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  252. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  253. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  254. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  255. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  256. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  257. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  258. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  259. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  260. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  261. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  262. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  263. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  264. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  265. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  266. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  267. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  268. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  269. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  270. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  271. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  272. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  273. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  274. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  275. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  276. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  277. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  278. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  279. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  280. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  281. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  282. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  283. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  284. ];
  285. //松山湖
  286. U.MD.D.I.SONGteacherDeskIcon = [
  287. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  288. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  289. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  290. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  291. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  292. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  293. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  294. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  295. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  296. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  297. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  298. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  299. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  300. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  301. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  302. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  303. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  304. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  305. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  306. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  307. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  308. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  309. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  310. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  311. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  312. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  313. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  314. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  315. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  316. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  317. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  318. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  319. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  320. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  321. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  322. ];
  323. U.MD.D.I.tcStudentDeskIcon = [
  324. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  325. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  326. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  327. ];
  328. U.MD.D.I.tcTeacherDeskIcon = [
  329. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  330. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  331. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  332. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  333. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  334. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  335. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  336. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  337. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  338. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  339. ];
  340. U.MD.D.I.tcOrganizerDeskIcon = [
  341. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  342. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  343. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  344. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  345. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  346. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  347. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  348. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  349. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  350. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  351. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  352. ];
  353. U.MD.D.I.szscStudentDeskIcon = [
  354. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  355. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  356. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  357. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  358. ];
  359. U.MD.D.I.szscTeacherDeskIcon = [
  360. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  361. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  362. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  363. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  364. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  365. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  366. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  367. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  368. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  369. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  370. ];
  371. U.MD.D.I.szscOrganizerDeskIcon = [
  372. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  373. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  374. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  375. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  376. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  377. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  378. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  379. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  380. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  381. ];
  382. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  383. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  384. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  385. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  386. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  387. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  388. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  389. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  390. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  391. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  392. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  393. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  394. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  395. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  396. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  397. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  398. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  399. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  400. ];
  401. U.MD.D.I.wankeAdminDeskIcon = [
  402. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  403. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  404. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  405. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  406. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  407. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  408. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  409. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  410. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  411. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  412. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  413. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  414. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  415. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  416. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  417. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  418. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  419. ];
  420. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  421. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  422. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  423. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  424. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  425. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  426. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  427. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  428. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  429. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  430. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  431. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  432. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  433. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  434. ];
  435. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  436. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  437. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  438. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  439. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  440. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  441. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  442. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  443. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  444. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  445. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  446. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  447. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  448. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  449. ];
  450. //明德教师桌面图标的全局变量
  451. U.MD.D.I.MingdeTeacherDeskIcon = [
  452. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  453. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  454. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  455. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  456. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  457. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  458. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  459. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  460. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  461. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  462. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  463. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  464. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  465. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  466. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  467. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  468. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  469. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  470. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  471. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  472. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  473. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  474. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  475. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  476. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  477. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  478. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  479. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  480. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  481. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  482. ];
  483. //97c4ee8b-d010-4042-986d-e9d3c217264f
  484. //教师桌面图标的全局变量
  485. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  486. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  487. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  488. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  489. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  490. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  491. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  492. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  493. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  494. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  495. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  496. ];
  497. //福田
  498. U.MD.D.I.futianTeacherDeskIcon = [
  499. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  500. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  501. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  502. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  503. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  504. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  505. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  506. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  507. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  508. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  509. ];
  510. //福田
  511. U.MD.D.I.futianAdminDeskIcon = [
  512. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  513. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  514. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  515. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  516. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  517. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  518. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  519. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  520. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  521. ];
  522. //lotech
  523. U.MD.D.I.lotechTeacherDeskIcon = [
  524. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  525. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  526. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  527. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  528. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  529. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  530. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  531. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  532. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  533. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  534. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  535. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  536. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  537. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  538. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  539. ];
  540. //龙华中心小学教师桌面图标的全局变量
  541. U.MD.D.I.longhuateacherDeskIcon = [
  542. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  543. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  544. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  545. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  546. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  547. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  548. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  549. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  550. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  551. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  552. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  553. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  554. ];
  555. //教科院实小教师桌面图标的全局变量
  556. U.MD.D.I.siesteacherDeskIcon = [
  557. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  558. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  559. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  560. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  561. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  562. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  563. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  564. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  565. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  566. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  567. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  568. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  569. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  570. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  571. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  572. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  573. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  574. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  575. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  576. { "Name": "数据看板", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  577. ];
  578. //教科院实小教师桌面图标的全局变量
  579. U.MD.D.I.siesStudentDeskIcon = [
  580. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  581. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  582. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  583. ];
  584. //福田
  585. U.MD.D.I.gdjgTeacherDeskIcon = [
  586. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  587. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  588. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  589. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  590. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  591. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  592. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  593. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  594. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  595. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  596. ];
  597. //gdjg
  598. U.MD.D.I.gdjgAdminDeskIcon = [
  599. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  600. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  601. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  602. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  603. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  604. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  605. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  606. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  607. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  608. ];
  609. //hk
  610. U.MD.D.I.hkteacherDeskIcon = [
  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": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  614. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  615. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  616. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  617. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  618. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  619. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  620. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  621. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  622. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  623. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  624. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  625. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  627. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  628. ];
  629. //hk
  630. U.MD.D.I.hkStudentDeskIcon = [
  631. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  632. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  633. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  634. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  635. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  636. ];
  637. //香海正覺蓮社佛教正覺中學
  638. U.MD.D.I.hkZJLSteacherDeskIcon = [
  639. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  640. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  641. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  642. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  643. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  644. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  645. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  646. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  647. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  648. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  649. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  650. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  651. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  652. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  653. ];
  654. //香海正覺蓮社佛教正覺中學
  655. U.MD.D.I.hkZJLSStudentDeskIcon = [
  656. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  657. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  658. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  659. ];
  660. //云海
  661. U.MD.D.I.yunhaiTeacherDeskIcon = [
  662. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  663. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  664. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  665. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  666. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  667. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  668. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  669. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  670. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  671. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  672. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  673. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  674. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  675. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  676. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  677. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  678. ];
  679. //福田
  680. U.MD.D.I.heyuanTeacherDeskIcon = [
  681. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  682. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  683. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  684. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  685. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  686. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  687. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  688. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  689. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  690. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  691. ];
  692. //福田
  693. U.MD.D.I.heyuanAdminDeskIcon = [
  694. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  695. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.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": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  699. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  700. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  701. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  702. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  703. ];
  704. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  705. U.MD.D.I.szherTeacherDeskIcon = [
  706. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  707. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  708. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  709. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  710. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  711. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  712. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  713. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  714. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  715. ];
  716. //dsei
  717. U.MD.D.I.dseiTeacherDeskIcon = [
  718. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  719. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  720. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  721. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  722. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  723. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  724. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  725. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  726. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  727. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  728. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  729. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  730. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  731. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  732. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  733. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  734. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  735. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  736. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  737. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  738. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  739. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  740. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  741. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  742. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  743. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  744. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  745. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  746. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  747. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  748. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  749. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  750. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  751. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  752. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  753. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  754. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  755. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  756. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  757. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  758. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  759. ];
  760. //dsei
  761. U.MD.D.I.dseiAdminDeskIcon = [
  762. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  763. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  764. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  765. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  766. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  767. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  768. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  769. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  770. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  771. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  772. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  773. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  774. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  775. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  776. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  777. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  778. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  779. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  780. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  781. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  782. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  783. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  784. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  785. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  786. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  787. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  788. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  789. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  790. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  791. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  792. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  793. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  794. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  795. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  796. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  797. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  798. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  799. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  800. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  801. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  802. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  803. ];
  804. //dsei
  805. U.MD.D.I.dseiStudentDeskIcon = [
  806. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  807. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  808. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  809. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  810. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  811. ];
  812. //未来教育基地
  813. U.MD.D.I.szjkyTeacherDeskIcon = [
  814. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  815. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  816. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  817. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  818. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  819. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  820. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  821. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  822. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  823. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  824. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  825. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  826. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  827. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  828. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  829. ];
  830. //未来教育基地
  831. U.MD.D.I.szjkyAdminDeskIcon = [
  832. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  833. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  834. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  835. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  836. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  837. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  838. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  839. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  840. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  841. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  842. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.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. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  847. ];
  848. //未来教育基地
  849. U.MD.D.I.szjkyStudentDeskIcon = [
  850. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  851. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  852. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  853. ];
  854. //成华教育局
  855. U.MD.D.I.chjyjTeacherDeskIcon = [
  856. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  857. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  858. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  859. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  860. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  861. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  862. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  863. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  864. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  865. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  866. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  867. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  868. ];
  869. //成华教育局chjyj
  870. U.MD.D.I.chjyjAdminDeskIcon = [
  871. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  872. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  873. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  874. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  875. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  876. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  877. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  878. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  879. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  880. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  881. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  882. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  883. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  884. ];
  885. //成华教育局chjyj
  886. U.MD.D.I.chjyjStudentDeskIcon = [
  887. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  888. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  889. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  890. ];
  891. //tpc
  892. U.MD.D.I.tpcStudentDeskIcon = [
  893. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  894. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  895. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  896. ];
  897. //tpc
  898. U.MD.D.I.tpcTeacherDeskIcon = [
  899. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  900. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  901. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  902. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  903. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  904. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  905. ];
  906. //tpc
  907. U.MD.D.I.tpcAdminDeskIcon = [
  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": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  913. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  914. ];
  915. //THU-IOE
  916. U.MD.D.I.thuioeTeacherDeskIcon = [
  917. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  918. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  919. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  920. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  921. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  922. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  923. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  924. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  925. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  926. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  927. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  928. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  929. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  930. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  931. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  932. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  933. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  934. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  935. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  936. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  937. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  938. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  939. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  940. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  941. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  942. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  943. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  944. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  945. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  946. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  947. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  948. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  949. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  950. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  951. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  952. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  953. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  954. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  955. ];
  956. //THU-IOE
  957. U.MD.D.I.thuioeStudentDeskIcon = [
  958. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  959. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  960. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  961. ];
  962. //jccssyl
  963. U.MD.D.I.jccssylTeacherDeskIcon = [
  964. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  965. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  966. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  967. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  968. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  969. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  970. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  971. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  972. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  973. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  974. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  975. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  976. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  977. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  978. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  979. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  980. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  981. ];
  982. //jccssyl
  983. U.MD.D.I.jccssylStudentDeskIcon = [
  984. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  985. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  986. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  987. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  988. ];
  989. //#region 桌面初始化a
  990. /**
  991. * 初始化桌面的起始函数
  992. *
  993. */
  994. U.MD.D.I.init = function () {
  995. if ($("#U_MD_D_K")[0]) {
  996. //初始化桌面图标
  997. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  998. // var clickUrl = ':12588/requestIp.php';
  999. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1000. // U.MD.D.I.Ip = data;
  1001. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1002. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1003. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1004. // })
  1005. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1006. // })
  1007. }
  1008. }
  1009. /**
  1010. * 模式切换
  1011. *
  1012. */
  1013. U.MD.D.I.ModeCheck = function (type) {
  1014. if (US.Config.type == type) {
  1015. return
  1016. }
  1017. US.Config.type = type
  1018. $('.U_PBL_Check .active')[0].className = ''
  1019. if (type == 1) {
  1020. $('.U_PBL_Check div')[0].className = 'active'
  1021. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1022. } else {
  1023. $('.U_PBL_Check div')[1].className = 'active'
  1024. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1025. }
  1026. //初始化桌面图标
  1027. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1028. if (type == 2) {
  1029. U.MD.D.I.openApplication("project")
  1030. }
  1031. }
  1032. /**
  1033. * 隐藏任务栏
  1034. *
  1035. * @param {element} 桌面元素
  1036. */
  1037. U.MD.D.I.hiddenTaskbar = function (el) {
  1038. //任务栏位置变小
  1039. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1040. //桌面的位置变大
  1041. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1042. }
  1043. /**
  1044. * 隐藏任务栏
  1045. *
  1046. * @param {element} 桌面元素
  1047. */
  1048. U.MD.D.I.hiddenTaskbarout = function (el) {
  1049. //任务栏位置变小
  1050. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1051. //任务栏位置变化
  1052. U.selectEl(el).css({ "bottom": "-60px" });
  1053. //桌面的位置变大
  1054. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1055. }
  1056. }
  1057. /**
  1058. * 初始化打印桌面图标
  1059. *
  1060. * @param {element} 桌面元素
  1061. */
  1062. U.MD.D.I.initDesktopIcons = function (el, type) {
  1063. var i, //用于循环
  1064. _content, //桌面图标元素
  1065. _iconcontent, //桌面图标元素
  1066. _frag = $$("frag"), //定义一个碎片元素
  1067. _type = US.userInfo.type,
  1068. _org = US.userInfo.org,
  1069. _oid = US.userInfo.organizeid,
  1070. _role = US.userInfo.role,
  1071. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1072. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1073. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1074. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1075. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1076. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1077. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1078. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1079. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1080. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1081. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1082. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1083. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1084. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1085. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1086. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1087. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1088. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1089. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1090. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1091. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1092. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1093. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1094. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1095. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1096. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1097. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1098. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1099. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1100. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1101. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1102. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1103. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1104. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1105. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1106. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1107. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1108. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1109. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1110. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1111. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1112. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1113. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1114. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1115. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1116. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1117. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1118. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1119. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1120. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1121. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1122. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1123. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1124. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1125. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1126. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1127. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1128. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1129. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1130. 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'];
  1131. 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'];
  1132. //清楚桌面图标
  1133. el.innerHTML = "";
  1134. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1135. _teacherDesktopIconInfo.push(
  1136. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1137. { "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)" } },
  1138. )
  1139. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1140. }
  1141. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1142. _teacherDesktopIconInfo.push(
  1143. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1144. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1145. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1146. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1147. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1148. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1149. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1150. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1151. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1152. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1153. )
  1154. }
  1155. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1156. _teacherDesktopIconInfo.push(
  1157. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1158. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1159. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1160. )
  1161. }
  1162. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1163. _teacherDesktopIconInfo.push(
  1164. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1165. )
  1166. }
  1167. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1168. _teacherDesktopIconInfo.push(
  1169. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1170. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1171. )
  1172. _studentDesktopIconInfo.push(
  1173. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1174. )
  1175. }
  1176. //麒麟二中 和 民新小学
  1177. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1178. _teacherDesktopIconInfo.push(
  1179. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1180. )
  1181. }
  1182. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1183. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1184. _teacherDesktopIconInfo.push(
  1185. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1186. )
  1187. }
  1188. //麒麟二中
  1189. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1190. _studentDesktopIconInfo.push(
  1191. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1192. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1193. )
  1194. }
  1195. //万科双语
  1196. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1197. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1198. if (el.Name == '项目管理') {
  1199. el.Name = 'PBL项目'
  1200. }
  1201. return el
  1202. })
  1203. _studentDesktopIconInfo3.push(
  1204. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1205. )
  1206. }
  1207. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1208. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1209. return el.Name != '魔盒识字' && el.Name != '24点'
  1210. })
  1211. }
  1212. if ((_oid == '45facc0a-1211-11ec-80ad-005056b86db5' || _org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") && _type == 2) {
  1213. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },)
  1214. }
  1215. //循环创建桌面图标
  1216. if (type == 1) {
  1217. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1218. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1219. _content = $$("div", {
  1220. className: "U_MD_D_KO",
  1221. "onmousedown": U.UF.C.closure(function (obj) {
  1222. //防止拖动图标即打开了桌面应用
  1223. U.MD.D.click(this, obj);
  1224. }, [_studentDesktopIconInfo[i]]),
  1225. "onclick": U.UF.C.closure(function (obj) {
  1226. //防止拖动图标即打开了桌面应用
  1227. U.MD.D.click(this, obj);
  1228. }, [_studentDesktopIconInfo[i]])
  1229. }, _frag); //
  1230. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1231. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1232. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1233. }
  1234. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1235. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1236. _content = $$("div", {
  1237. className: "U_MD_D_KO",
  1238. "onmousedown": U.UF.C.closure(function (obj) {
  1239. //防止拖动图标即打开了桌面应用
  1240. U.MD.D.click(this, obj);
  1241. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1242. "onclick": U.UF.C.closure(function (obj) {
  1243. //防止拖动图标即打开了桌面应用
  1244. U.MD.D.click(this, obj);
  1245. }, [_hkZJLSStudentDeskIconInfo[i]])
  1246. }, _frag); //
  1247. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1248. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1249. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1250. } //
  1251. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1252. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1253. _content = $$("div", {
  1254. className: "U_MD_D_KO",
  1255. "onmousedown": U.UF.C.closure(function (obj) {
  1256. //防止拖动图标即打开了桌面应用
  1257. U.MD.D.click(this, obj);
  1258. }, [_jccssylStudentDeskIconInfo[i]]),
  1259. "onclick": U.UF.C.closure(function (obj) {
  1260. //防止拖动图标即打开了桌面应用
  1261. U.MD.D.click(this, obj);
  1262. }, [_jccssylStudentDeskIconInfo[i]])
  1263. }, _frag); //
  1264. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1265. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1266. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1267. }
  1268. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1269. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1270. _content = $$("div", {
  1271. className: "U_MD_D_KO",
  1272. "onmousedown": U.UF.C.closure(function (obj) {
  1273. //防止拖动图标即打开了桌面应用
  1274. U.MD.D.click(this, obj);
  1275. }, [_thuioeStudentDeskIconInfo[i]]),
  1276. "onclick": U.UF.C.closure(function (obj) {
  1277. //防止拖动图标即打开了桌面应用
  1278. U.MD.D.click(this, obj);
  1279. }, [_thuioeStudentDeskIconInfo[i]])
  1280. }, _frag); //
  1281. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1282. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1283. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1284. }
  1285. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1286. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1287. _content = $$("div", {
  1288. className: "U_MD_D_KO",
  1289. "onmousedown": U.UF.C.closure(function (obj) {
  1290. //防止拖动图标即打开了桌面应用
  1291. U.MD.D.click(this, obj);
  1292. }, [_tpcStudentDeskIconInfo[i]]),
  1293. "onclick": U.UF.C.closure(function (obj) {
  1294. //防止拖动图标即打开了桌面应用
  1295. U.MD.D.click(this, obj);
  1296. }, [_tpcStudentDeskIconInfo[i]])
  1297. }, _frag); //
  1298. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1299. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1300. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1301. } //
  1302. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1303. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1304. _content = $$("div", {
  1305. className: "U_MD_D_KO",
  1306. "onmousedown": U.UF.C.closure(function (obj) {
  1307. //防止拖动图标即打开了桌面应用
  1308. U.MD.D.click(this, obj);
  1309. }, [_chjyjStudentDeskIconInfo[i]]),
  1310. "onclick": U.UF.C.closure(function (obj) {
  1311. //防止拖动图标即打开了桌面应用
  1312. U.MD.D.click(this, obj);
  1313. }, [_chjyjStudentDeskIconInfo[i]])
  1314. }, _frag); //
  1315. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1316. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1317. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1318. }
  1319. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1320. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1321. _content = $$("div", {
  1322. className: "U_MD_D_KO",
  1323. "onmousedown": U.UF.C.closure(function (obj) {
  1324. //防止拖动图标即打开了桌面应用
  1325. U.MD.D.click(this, obj);
  1326. }, [_szjkyStudentDeskIconInfo[i]]),
  1327. "onclick": U.UF.C.closure(function (obj) {
  1328. //防止拖动图标即打开了桌面应用
  1329. U.MD.D.click(this, obj);
  1330. }, [_szjkyStudentDeskIconInfo[i]])
  1331. }, _frag); //
  1332. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1333. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1334. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1335. }
  1336. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1337. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1338. _content = $$("div", {
  1339. className: "U_MD_D_KO",
  1340. "onmousedown": U.UF.C.closure(function (obj) {
  1341. //防止拖动图标即打开了桌面应用
  1342. U.MD.D.click(this, obj);
  1343. }, [_dseiStudentDeskIconInfo[i]]),
  1344. "onclick": U.UF.C.closure(function (obj) {
  1345. //防止拖动图标即打开了桌面应用
  1346. U.MD.D.click(this, obj);
  1347. }, [_dseiStudentDeskIconInfo[i]])
  1348. }, _frag); //
  1349. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1350. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1351. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1352. }
  1353. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1354. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1355. _content = $$("div", {
  1356. className: "U_MD_D_KO",
  1357. "onmousedown": U.UF.C.closure(function (obj) {
  1358. //防止拖动图标即打开了桌面应用
  1359. U.MD.D.click(this, obj);
  1360. }, [_siesStudentDeskIconInfo[i]]),
  1361. "onclick": U.UF.C.closure(function (obj) {
  1362. //防止拖动图标即打开了桌面应用
  1363. U.MD.D.click(this, obj);
  1364. }, [_siesStudentDeskIconInfo[i]])
  1365. }, _frag); //
  1366. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1367. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1368. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1369. }
  1370. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1371. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1372. _content = $$("div", {
  1373. className: "U_MD_D_KO",
  1374. "onmousedown": U.UF.C.closure(function (obj) {
  1375. //防止拖动图标即打开了桌面应用
  1376. U.MD.D.click(this, obj);
  1377. }, [_hkStudentDeskIconInfo[i]]),
  1378. "onclick": U.UF.C.closure(function (obj) {
  1379. //防止拖动图标即打开了桌面应用
  1380. U.MD.D.click(this, obj);
  1381. }, [_hkStudentDeskIconInfo[i]])
  1382. }, _frag); //
  1383. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1384. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1385. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1386. }
  1387. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1388. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1389. _content = $$("div", {
  1390. className: "U_MD_D_KO",
  1391. "onmousedown": U.UF.C.closure(function (obj) {
  1392. //防止拖动图标即打开了桌面应用
  1393. U.MD.D.click(this, obj);
  1394. }, [_studentDesktopIconInfo[i]]),
  1395. "onclick": U.UF.C.closure(function (obj) {
  1396. //防止拖动图标即打开了桌面应用
  1397. U.MD.D.click(this, obj);
  1398. }, [_studentDesktopIconInfo[i]])
  1399. }, _frag); //
  1400. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1401. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1402. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1403. }
  1404. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1405. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1406. _content = $$("div", {
  1407. className: "U_MD_D_KO",
  1408. "onmousedown": U.UF.C.closure(function (obj) {
  1409. //防止拖动图标即打开了桌面应用
  1410. U.MD.D.click(this, obj);
  1411. }, [_tcStudentDeskIconInfo[i]]),
  1412. "onclick": U.UF.C.closure(function (obj) {
  1413. //防止拖动图标即打开了桌面应用
  1414. U.MD.D.click(this, obj);
  1415. }, [_tcStudentDeskIconInfo[i]])
  1416. }, _frag); //
  1417. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1418. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1419. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1420. }
  1421. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1422. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1423. _content = $$("div", {
  1424. className: "U_MD_D_KO",
  1425. "onmousedown": U.UF.C.closure(function (obj) {
  1426. //防止拖动图标即打开了桌面应用
  1427. U.MD.D.click(this, obj);
  1428. }, [_szscStudentDeskIconInfo[i]]),
  1429. "onclick": U.UF.C.closure(function (obj) {
  1430. //防止拖动图标即打开了桌面应用
  1431. U.MD.D.click(this, obj);
  1432. }, [_szscStudentDeskIconInfo[i]])
  1433. }, _frag); //
  1434. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1435. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1436. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1437. }
  1438. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1439. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1440. _content = $$("div", {
  1441. className: "U_MD_D_KO",
  1442. "onmousedown": U.UF.C.closure(function (obj) {
  1443. //防止拖动图标即打开了桌面应用
  1444. U.MD.D.click(this, obj);
  1445. }, [_studentDesktopIconInfo3[i]]),
  1446. "onclick": U.UF.C.closure(function (obj) {
  1447. //防止拖动图标即打开了桌面应用
  1448. U.MD.D.click(this, obj);
  1449. }, [_studentDesktopIconInfo3[i]])
  1450. }, _frag); //
  1451. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1452. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1453. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1454. }
  1455. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1456. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1457. _content = $$("div", {
  1458. className: "U_MD_D_KO",
  1459. "onmousedown": U.UF.C.closure(function (obj) {
  1460. //防止拖动图标即打开了桌面应用
  1461. U.MD.D.click(this, obj);
  1462. }, [_studentDesktopIconInfo2[i]]),
  1463. "onclick": U.UF.C.closure(function (obj) {
  1464. //防止拖动图标即打开了桌面应用
  1465. U.MD.D.click(this, obj);
  1466. }, [_studentDesktopIconInfo2[i]])
  1467. }, _frag); //
  1468. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1469. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1470. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1471. }
  1472. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1473. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1474. _content = $$("div", {
  1475. className: "U_MD_D_KO",
  1476. "onmousedown": U.UF.C.closure(function (obj) {
  1477. //防止拖动图标即打开了桌面应用
  1478. U.MD.D.click(this, obj);
  1479. }, [_wanketeacherDesktopIconInfo[i]]),
  1480. "onclick": U.UF.C.closure(function (obj) {
  1481. //防止拖动图标即打开了桌面应用
  1482. U.MD.D.click(this, obj);
  1483. }, [_wanketeacherDesktopIconInfo[i]])
  1484. }, _frag); //
  1485. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1486. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1487. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1488. }
  1489. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1490. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1491. _content = $$("div", {
  1492. className: "U_MD_D_KO",
  1493. "onmousedown": U.UF.C.closure(function (obj) {
  1494. //防止拖动图标即打开了桌面应用
  1495. U.MD.D.click(this, obj);
  1496. }, [_wankeAdminDesktopIconInfo[i]]),
  1497. "onclick": U.UF.C.closure(function (obj) {
  1498. //防止拖动图标即打开了桌面应用
  1499. U.MD.D.click(this, obj);
  1500. }, [_wankeAdminDesktopIconInfo[i]])
  1501. }, _frag); //
  1502. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1503. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1504. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1505. }
  1506. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1507. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1508. _content = $$("div", {
  1509. className: "U_MD_D_KO",
  1510. "onmousedown": U.UF.C.closure(function (obj) {
  1511. //防止拖动图标即打开了桌面应用
  1512. U.MD.D.click(this, obj);
  1513. }, [_jccssylTeacherDeskIconInfo[i]]),
  1514. "onclick": U.UF.C.closure(function (obj) {
  1515. //防止拖动图标即打开了桌面应用
  1516. U.MD.D.click(this, obj);
  1517. }, [_jccssylTeacherDeskIconInfo[i]])
  1518. }, _frag); //
  1519. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1520. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1521. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1522. }
  1523. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1524. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1525. _content = $$("div", {
  1526. className: "U_MD_D_KO",
  1527. "onmousedown": U.UF.C.closure(function (obj) {
  1528. //防止拖动图标即打开了桌面应用
  1529. U.MD.D.click(this, obj);
  1530. }, [_tpcOrganizerDeskIconInfo[i]]),
  1531. "onclick": U.UF.C.closure(function (obj) {
  1532. //防止拖动图标即打开了桌面应用
  1533. U.MD.D.click(this, obj);
  1534. }, [_tpcOrganizerDeskIconInfo[i]])
  1535. }, _frag); //
  1536. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1537. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1538. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1539. }
  1540. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1541. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1542. _content = $$("div", {
  1543. className: "U_MD_D_KO",
  1544. "onmousedown": U.UF.C.closure(function (obj) {
  1545. //防止拖动图标即打开了桌面应用
  1546. U.MD.D.click(this, obj);
  1547. }, [_tpcTeacherDeskIconInfo[i]]),
  1548. "onclick": U.UF.C.closure(function (obj) {
  1549. //防止拖动图标即打开了桌面应用
  1550. U.MD.D.click(this, obj);
  1551. }, [_tpcTeacherDeskIconInfo[i]])
  1552. }, _frag); //
  1553. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1554. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1555. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1556. }
  1557. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1558. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1559. _content = $$("div", {
  1560. className: "U_MD_D_KO",
  1561. "onmousedown": U.UF.C.closure(function (obj) {
  1562. //防止拖动图标即打开了桌面应用
  1563. U.MD.D.click(this, obj);
  1564. }, [_teacherDesktopIconInfo2[i]]),
  1565. "onclick": U.UF.C.closure(function (obj) {
  1566. //防止拖动图标即打开了桌面应用
  1567. U.MD.D.click(this, obj);
  1568. }, [_teacherDesktopIconInfo2[i]])
  1569. }, _frag); //
  1570. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1571. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1572. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1573. }
  1574. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1575. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1576. _content = $$("div", {
  1577. className: "U_MD_D_KO",
  1578. "onmousedown": U.UF.C.closure(function (obj) {
  1579. //防止拖动图标即打开了桌面应用
  1580. U.MD.D.click(this, obj);
  1581. }, [_thuioeTeacherDeskIconInfo[i]]),
  1582. "onclick": U.UF.C.closure(function (obj) {
  1583. //防止拖动图标即打开了桌面应用
  1584. U.MD.D.click(this, obj);
  1585. }, [_thuioeTeacherDeskIconInfo[i]])
  1586. }, _frag); //
  1587. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1588. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1589. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1590. }
  1591. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1592. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1593. _content = $$("div", {
  1594. className: "U_MD_D_KO",
  1595. "onmousedown": U.UF.C.closure(function (obj) {
  1596. //防止拖动图标即打开了桌面应用
  1597. U.MD.D.click(this, obj);
  1598. }, [_lotechTeacherDeskIconInfo[i]]),
  1599. "onclick": U.UF.C.closure(function (obj) {
  1600. //防止拖动图标即打开了桌面应用
  1601. U.MD.D.click(this, obj);
  1602. }, [_lotechTeacherDeskIconInfo[i]])
  1603. }, _frag); //
  1604. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1605. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1606. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1607. }//
  1608. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1609. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1610. _content = $$("div", {
  1611. className: "U_MD_D_KO",
  1612. "onmousedown": U.UF.C.closure(function (obj) {
  1613. //防止拖动图标即打开了桌面应用
  1614. U.MD.D.click(this, obj);
  1615. }, [_siesTeacherDeskIconInfo[i]]),
  1616. "onclick": U.UF.C.closure(function (obj) {
  1617. //防止拖动图标即打开了桌面应用
  1618. U.MD.D.click(this, obj);
  1619. }, [_siesTeacherDeskIconInfo[i]])
  1620. }, _frag); //
  1621. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1622. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1623. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1624. }
  1625. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1626. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1627. _content = $$("div", {
  1628. className: "U_MD_D_KO",
  1629. "onmousedown": U.UF.C.closure(function (obj) {
  1630. //防止拖动图标即打开了桌面应用
  1631. U.MD.D.click(this, obj);
  1632. }, [_longhuaTeacherDeskIconInfo[i]]),
  1633. "onclick": U.UF.C.closure(function (obj) {
  1634. //防止拖动图标即打开了桌面应用
  1635. U.MD.D.click(this, obj);
  1636. }, [_longhuaTeacherDeskIconInfo[i]])
  1637. }, _frag); //
  1638. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1639. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1640. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1641. }
  1642. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1643. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1644. _content = $$("div", {
  1645. className: "U_MD_D_KO",
  1646. "onmousedown": U.UF.C.closure(function (obj) {
  1647. //防止拖动图标即打开了桌面应用
  1648. U.MD.D.click(this, obj);
  1649. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1650. "onclick": U.UF.C.closure(function (obj) {
  1651. //防止拖动图标即打开了桌面应用
  1652. U.MD.D.click(this, obj);
  1653. }, [_yunhaiTeacherDeskIconInfo[i]])
  1654. }, _frag); //
  1655. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1656. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1657. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1658. } //_hkStudentDeskIconInfo
  1659. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1660. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1661. _content = $$("div", {
  1662. className: "U_MD_D_KO",
  1663. "onmousedown": U.UF.C.closure(function (obj) {
  1664. //防止拖动图标即打开了桌面应用
  1665. U.MD.D.click(this, obj);
  1666. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1667. "onclick": U.UF.C.closure(function (obj) {
  1668. //防止拖动图标即打开了桌面应用
  1669. U.MD.D.click(this, obj);
  1670. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1671. }, _frag); //
  1672. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1673. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1674. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1675. }
  1676. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1677. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1678. _content = $$("div", {
  1679. className: "U_MD_D_KO",
  1680. "onmousedown": U.UF.C.closure(function (obj) {
  1681. //防止拖动图标即打开了桌面应用
  1682. U.MD.D.click(this, obj);
  1683. }, [_hkTeacherDeskIconInfo[i]]),
  1684. "onclick": U.UF.C.closure(function (obj) {
  1685. //防止拖动图标即打开了桌面应用
  1686. U.MD.D.click(this, obj);
  1687. }, [_hkTeacherDeskIconInfo[i]])
  1688. }, _frag); //
  1689. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1690. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1691. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1692. }
  1693. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1694. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1695. _content = $$("div", {
  1696. className: "U_MD_D_KO",
  1697. "onmousedown": U.UF.C.closure(function (obj) {
  1698. //防止拖动图标即打开了桌面应用
  1699. U.MD.D.click(this, obj);
  1700. }, [_gdjgAdminDeskIconInfo[i]]),
  1701. "onclick": U.UF.C.closure(function (obj) {
  1702. //防止拖动图标即打开了桌面应用
  1703. U.MD.D.click(this, obj);
  1704. }, [_gdjgAdminDeskIconInfo[i]])
  1705. }, _frag); //
  1706. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1707. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1708. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1709. }
  1710. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1711. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1712. _content = $$("div", {
  1713. className: "U_MD_D_KO",
  1714. "onmousedown": U.UF.C.closure(function (obj) {
  1715. //防止拖动图标即打开了桌面应用
  1716. U.MD.D.click(this, obj);
  1717. }, [_gdjgTeacherDeskIconInfo[i]]),
  1718. "onclick": U.UF.C.closure(function (obj) {
  1719. //防止拖动图标即打开了桌面应用
  1720. U.MD.D.click(this, obj);
  1721. }, [_gdjgTeacherDeskIconInfo[i]])
  1722. }, _frag); //
  1723. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1724. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1725. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1726. }
  1727. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1728. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1729. _content = $$("div", {
  1730. className: "U_MD_D_KO",
  1731. "onmousedown": U.UF.C.closure(function (obj) {
  1732. //防止拖动图标即打开了桌面应用
  1733. U.MD.D.click(this, obj);
  1734. }, [_szherTeacherDeskIconInfo[i]]),
  1735. "onclick": U.UF.C.closure(function (obj) {
  1736. //防止拖动图标即打开了桌面应用
  1737. U.MD.D.click(this, obj);
  1738. }, [_szherTeacherDeskIconInfo[i]])
  1739. }, _frag); //
  1740. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1741. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1742. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1743. }
  1744. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1745. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1746. _content = $$("div", {
  1747. className: "U_MD_D_KO",
  1748. "onmousedown": U.UF.C.closure(function (obj) {
  1749. //防止拖动图标即打开了桌面应用
  1750. U.MD.D.click(this, obj);
  1751. }, [_heyuannAdminDeskIconInfo[i]]),
  1752. "onclick": U.UF.C.closure(function (obj) {
  1753. //防止拖动图标即打开了桌面应用
  1754. U.MD.D.click(this, obj);
  1755. }, [_heyuannAdminDeskIconInfo[i]])
  1756. }, _frag); //
  1757. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1758. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1759. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1760. }
  1761. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1762. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1763. _content = $$("div", {
  1764. className: "U_MD_D_KO",
  1765. "onmousedown": U.UF.C.closure(function (obj) {
  1766. //防止拖动图标即打开了桌面应用
  1767. U.MD.D.click(this, obj);
  1768. }, [_heyuanTeacherDeskIconInfo[i]]),
  1769. "onclick": U.UF.C.closure(function (obj) {
  1770. //防止拖动图标即打开了桌面应用
  1771. U.MD.D.click(this, obj);
  1772. }, [_heyuanTeacherDeskIconInfo[i]])
  1773. }, _frag); //
  1774. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1775. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1776. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1777. } //
  1778. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1779. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1780. _content = $$("div", {
  1781. className: "U_MD_D_KO",
  1782. "onmousedown": U.UF.C.closure(function (obj) {
  1783. //防止拖动图标即打开了桌面应用
  1784. U.MD.D.click(this, obj);
  1785. }, [_dseiAdminDeskIconInfo[i]]),
  1786. "onclick": U.UF.C.closure(function (obj) {
  1787. //防止拖动图标即打开了桌面应用
  1788. U.MD.D.click(this, obj);
  1789. }, [_dseiAdminDeskIconInfo[i]])
  1790. }, _frag); //
  1791. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1792. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1793. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1794. }
  1795. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1796. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1797. _content = $$("div", {
  1798. className: "U_MD_D_KO",
  1799. "onmousedown": U.UF.C.closure(function (obj) {
  1800. //防止拖动图标即打开了桌面应用
  1801. U.MD.D.click(this, obj);
  1802. }, [_dseiTeacherDeskIconInfo[i]]),
  1803. "onclick": U.UF.C.closure(function (obj) {
  1804. //防止拖动图标即打开了桌面应用
  1805. U.MD.D.click(this, obj);
  1806. }, [_dseiTeacherDeskIconInfo[i]])
  1807. }, _frag); //
  1808. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1809. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1810. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1811. } //
  1812. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1813. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1814. _content = $$("div", {
  1815. className: "U_MD_D_KO",
  1816. "onmousedown": U.UF.C.closure(function (obj) {
  1817. //防止拖动图标即打开了桌面应用
  1818. U.MD.D.click(this, obj);
  1819. }, [_chjyjAdminDeskIconInfo[i]]),
  1820. "onclick": U.UF.C.closure(function (obj) {
  1821. //防止拖动图标即打开了桌面应用
  1822. U.MD.D.click(this, obj);
  1823. }, [_chjyjAdminDeskIconInfo[i]])
  1824. }, _frag); //
  1825. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1826. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1827. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1828. }//
  1829. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1830. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1831. _content = $$("div", {
  1832. className: "U_MD_D_KO",
  1833. "onmousedown": U.UF.C.closure(function (obj) {
  1834. //防止拖动图标即打开了桌面应用
  1835. U.MD.D.click(this, obj);
  1836. }, [_chjyjTeacherDeskIconInfo[i]]),
  1837. "onclick": U.UF.C.closure(function (obj) {
  1838. //防止拖动图标即打开了桌面应用
  1839. U.MD.D.click(this, obj);
  1840. }, [_chjyjTeacherDeskIconInfo[i]])
  1841. }, _frag); //
  1842. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1843. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1844. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1845. }
  1846. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1847. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1848. _content = $$("div", {
  1849. className: "U_MD_D_KO",
  1850. "onmousedown": U.UF.C.closure(function (obj) {
  1851. //防止拖动图标即打开了桌面应用
  1852. U.MD.D.click(this, obj);
  1853. }, [_szjkyAdminDeskIconInfo[i]]),
  1854. "onclick": U.UF.C.closure(function (obj) {
  1855. //防止拖动图标即打开了桌面应用
  1856. U.MD.D.click(this, obj);
  1857. }, [_szjkyAdminDeskIconInfo[i]])
  1858. }, _frag); //
  1859. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1860. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1861. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1862. }//
  1863. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1864. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1865. _content = $$("div", {
  1866. className: "U_MD_D_KO",
  1867. "onmousedown": U.UF.C.closure(function (obj) {
  1868. //防止拖动图标即打开了桌面应用
  1869. U.MD.D.click(this, obj);
  1870. }, [_szjkyTeacherDeskIconInfo[i]]),
  1871. "onclick": U.UF.C.closure(function (obj) {
  1872. //防止拖动图标即打开了桌面应用
  1873. U.MD.D.click(this, obj);
  1874. }, [_szjkyTeacherDeskIconInfo[i]])
  1875. }, _frag); //
  1876. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1877. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1878. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1879. }
  1880. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1881. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1882. _content = $$("div", {
  1883. className: "U_MD_D_KO",
  1884. "onmousedown": U.UF.C.closure(function (obj) {
  1885. //防止拖动图标即打开了桌面应用
  1886. U.MD.D.click(this, obj);
  1887. }, [_futianAdminDeskIconInfo[i]]),
  1888. "onclick": U.UF.C.closure(function (obj) {
  1889. //防止拖动图标即打开了桌面应用
  1890. U.MD.D.click(this, obj);
  1891. }, [_futianAdminDeskIconInfo[i]])
  1892. }, _frag); //
  1893. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1894. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1895. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1896. }
  1897. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1898. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1899. _content = $$("div", {
  1900. className: "U_MD_D_KO",
  1901. "onmousedown": U.UF.C.closure(function (obj) {
  1902. //防止拖动图标即打开了桌面应用
  1903. U.MD.D.click(this, obj);
  1904. }, [_futianTeacherDeskIconInfo[i]]),
  1905. "onclick": U.UF.C.closure(function (obj) {
  1906. //防止拖动图标即打开了桌面应用
  1907. U.MD.D.click(this, obj);
  1908. }, [_futianTeacherDeskIconInfo[i]])
  1909. }, _frag); //
  1910. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1911. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1912. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1913. }
  1914. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1915. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1916. _content = $$("div", {
  1917. className: "U_MD_D_KO",
  1918. "onmousedown": U.UF.C.closure(function (obj) {
  1919. //防止拖动图标即打开了桌面应用
  1920. U.MD.D.click(this, obj);
  1921. }, [_MingdeTeacherDeskIcon[i]]),
  1922. "onclick": U.UF.C.closure(function (obj) {
  1923. //防止拖动图标即打开了桌面应用
  1924. U.MD.D.click(this, obj);
  1925. }, [_MingdeTeacherDeskIcon[i]])
  1926. }, _frag); //
  1927. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1928. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1929. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1930. }
  1931. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1932. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1933. _content = $$("div", {
  1934. className: "U_MD_D_KO",
  1935. "onmousedown": U.UF.C.closure(function (obj) {
  1936. //防止拖动图标即打开了桌面应用
  1937. U.MD.D.click(this, obj);
  1938. }, [_lhsAdminDesktopIconInfo[i]]),
  1939. "onclick": U.UF.C.closure(function (obj) {
  1940. //防止拖动图标即打开了桌面应用
  1941. U.MD.D.click(this, obj);
  1942. }, [_lhsAdminDesktopIconInfo[i]])
  1943. }, _frag); //
  1944. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1945. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1946. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1947. }
  1948. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1949. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1950. _content = $$("div", {
  1951. className: "U_MD_D_KO",
  1952. "onmousedown": U.UF.C.closure(function (obj) {
  1953. //防止拖动图标即打开了桌面应用
  1954. U.MD.D.click(this, obj);
  1955. }, [_lhsteacherDesktopIconInfo[i]]),
  1956. "onclick": U.UF.C.closure(function (obj) {
  1957. //防止拖动图标即打开了桌面应用
  1958. U.MD.D.click(this, obj);
  1959. }, [_lhsteacherDesktopIconInfo[i]])
  1960. }, _frag); //
  1961. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1962. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1963. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1964. }
  1965. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1966. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1967. _content = $$("div", {
  1968. className: "U_MD_D_KO",
  1969. "onmousedown": U.UF.C.closure(function (obj) {
  1970. //防止拖动图标即打开了桌面应用
  1971. U.MD.D.click(this, obj);
  1972. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1973. "onclick": U.UF.C.closure(function (obj) {
  1974. //防止拖动图标即打开了桌面应用
  1975. U.MD.D.click(this, obj);
  1976. }, [_zhoujiateacherDesktopIconInfo[i]])
  1977. }, _frag); //
  1978. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1979. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1980. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1981. }
  1982. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1983. for (i = 0; i < _hanDeskIcon.length; i++) {
  1984. _content = $$("div", {
  1985. className: "U_MD_D_KO",
  1986. "onmousedown": U.UF.C.closure(function (obj) {
  1987. //防止拖动图标即打开了桌面应用
  1988. U.MD.D.click(this, obj);
  1989. }, [_hanDeskIcon[i]]),
  1990. "onclick": U.UF.C.closure(function (obj) {
  1991. //防止拖动图标即打开了桌面应用
  1992. U.MD.D.click(this, obj);
  1993. }, [_hanDeskIcon[i]])
  1994. }, _frag); //
  1995. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1996. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1997. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1998. }
  1999. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2000. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2001. _content = $$("div", {
  2002. className: "U_MD_D_KO",
  2003. "onmousedown": U.UF.C.closure(function (obj) {
  2004. //防止拖动图标即打开了桌面应用
  2005. U.MD.D.click(this, obj);
  2006. }, [_orgStemDeskIcon[i]]),
  2007. "onclick": U.UF.C.closure(function (obj) {
  2008. //防止拖动图标即打开了桌面应用
  2009. U.MD.D.click(this, obj);
  2010. }, [_orgStemDeskIcon[i]])
  2011. }, _frag); //
  2012. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2013. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2014. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2015. }
  2016. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2017. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2018. _content = $$("div", {
  2019. className: "U_MD_D_KO",
  2020. "onmousedown": U.UF.C.closure(function (obj) {
  2021. //防止拖动图标即打开了桌面应用
  2022. U.MD.D.click(this, obj);
  2023. }, [_szulsDeskIcon[i]]),
  2024. "onclick": U.UF.C.closure(function (obj) {
  2025. //防止拖动图标即打开了桌面应用
  2026. U.MD.D.click(this, obj);
  2027. }, [_szulsDeskIcon[i]])
  2028. }, _frag); //
  2029. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2030. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2031. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2032. }
  2033. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2034. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2035. _content = $$("div", {
  2036. className: "U_MD_D_KO",
  2037. "onmousedown": U.UF.C.closure(function (obj) {
  2038. //防止拖动图标即打开了桌面应用
  2039. U.MD.D.click(this, obj);
  2040. }, [_orgDesktopIconInfo[i]]),
  2041. "onclick": U.UF.C.closure(function (obj) {
  2042. //防止拖动图标即打开了桌面应用
  2043. U.MD.D.click(this, obj);
  2044. }, [_orgDesktopIconInfo[i]])
  2045. }, _frag); //
  2046. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2047. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2048. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2049. }
  2050. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2051. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2052. _content = $$("div", {
  2053. className: "U_MD_D_KO",
  2054. "onmousedown": U.UF.C.closure(function (obj) {
  2055. //防止拖动图标即打开了桌面应用
  2056. U.MD.D.click(this, obj);
  2057. }, [_schoolDesktopIconInfo[i]]),
  2058. "onclick": U.UF.C.closure(function (obj) {
  2059. //防止拖动图标即打开了桌面应用
  2060. U.MD.D.click(this, obj);
  2061. }, [_schoolDesktopIconInfo[i]])
  2062. }, _frag); //
  2063. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2064. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2065. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2066. }
  2067. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2068. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2069. _content = $$("div", {
  2070. className: "U_MD_D_KO",
  2071. "onmousedown": U.UF.C.closure(function (obj) {
  2072. //防止拖动图标即打开了桌面应用
  2073. U.MD.D.click(this, obj);
  2074. }, [_GMteacherDesktopIconInfo[i]]),
  2075. "onclick": U.UF.C.closure(function (obj) {
  2076. //防止拖动图标即打开了桌面应用
  2077. U.MD.D.click(this, obj);
  2078. }, [_GMteacherDesktopIconInfo[i]])
  2079. }, _frag); //
  2080. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2081. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2082. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2083. }
  2084. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2085. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2086. _content = $$("div", {
  2087. className: "U_MD_D_KO",
  2088. "onmousedown": U.UF.C.closure(function (obj) {
  2089. //防止拖动图标即打开了桌面应用
  2090. U.MD.D.click(this, obj);
  2091. }, [_SONGteacherDesktopIconInfo[i]]),
  2092. "onclick": U.UF.C.closure(function (obj) {
  2093. //防止拖动图标即打开了桌面应用
  2094. U.MD.D.click(this, obj);
  2095. }, [_SONGteacherDesktopIconInfo[i]])
  2096. }, _frag); //
  2097. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2098. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2099. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2100. }
  2101. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2102. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2103. _content = $$("div", {
  2104. className: "U_MD_D_KO",
  2105. "onmousedown": U.UF.C.closure(function (obj) {
  2106. //防止拖动图标即打开了桌面应用
  2107. U.MD.D.click(this, obj);
  2108. }, [_GMstudentDesktopIconInfo[i]]),
  2109. "onclick": U.UF.C.closure(function (obj) {
  2110. //防止拖动图标即打开了桌面应用
  2111. U.MD.D.click(this, obj);
  2112. }, [_GMstudentDesktopIconInfo[i]])
  2113. }, _frag); //
  2114. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2115. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2116. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2117. }
  2118. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2119. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2120. _content = $$("div", {
  2121. className: "U_MD_D_KO",
  2122. "onmousedown": U.UF.C.closure(function (obj) {
  2123. //防止拖动图标即打开了桌面应用
  2124. U.MD.D.click(this, obj);
  2125. }, [_tcTeacherDeskIconInfo[i]]),
  2126. "onclick": U.UF.C.closure(function (obj) {
  2127. //防止拖动图标即打开了桌面应用
  2128. U.MD.D.click(this, obj);
  2129. }, [_tcTeacherDeskIconInfo[i]])
  2130. }, _frag); //
  2131. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2132. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2133. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2134. }
  2135. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2136. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2137. _content = $$("div", {
  2138. className: "U_MD_D_KO",
  2139. "onmousedown": U.UF.C.closure(function (obj) {
  2140. //防止拖动图标即打开了桌面应用
  2141. U.MD.D.click(this, obj);
  2142. }, [_tcOrganizerDeskIconInfo[i]]),
  2143. "onclick": U.UF.C.closure(function (obj) {
  2144. //防止拖动图标即打开了桌面应用
  2145. U.MD.D.click(this, obj);
  2146. }, [_tcOrganizerDeskIconInfo[i]])
  2147. }, _frag); //
  2148. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2149. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2150. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2151. }
  2152. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2153. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2154. _content = $$("div", {
  2155. className: "U_MD_D_KO",
  2156. "onmousedown": U.UF.C.closure(function (obj) {
  2157. //防止拖动图标即打开了桌面应用
  2158. U.MD.D.click(this, obj);
  2159. }, [_szscTeacherDeskIconInfo[i]]),
  2160. "onclick": U.UF.C.closure(function (obj) {
  2161. //防止拖动图标即打开了桌面应用
  2162. U.MD.D.click(this, obj);
  2163. }, [_szscTeacherDeskIconInfo[i]])
  2164. }, _frag); //
  2165. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2166. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2167. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2168. }
  2169. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2170. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2171. _content = $$("div", {
  2172. className: "U_MD_D_KO",
  2173. "onmousedown": U.UF.C.closure(function (obj) {
  2174. //防止拖动图标即打开了桌面应用
  2175. U.MD.D.click(this, obj);
  2176. }, [_szscOrganizerDeskIconInfo[i]]),
  2177. "onclick": U.UF.C.closure(function (obj) {
  2178. //防止拖动图标即打开了桌面应用
  2179. U.MD.D.click(this, obj);
  2180. }, [_szscOrganizerDeskIconInfo[i]])
  2181. }, _frag); //
  2182. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2183. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2184. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2185. }
  2186. } else {
  2187. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2188. _content = $$("div", {
  2189. className: "U_MD_D_KO",
  2190. "onmousedown": U.UF.C.closure(function (obj) {
  2191. //防止拖动图标即打开了桌面应用
  2192. U.MD.D.click(this, obj);
  2193. }, [_teacherDesktopIconInfo[i]]),
  2194. "onclick": U.UF.C.closure(function (obj) {
  2195. //防止拖动图标即打开了桌面应用
  2196. U.MD.D.click(this, obj);
  2197. }, [_teacherDesktopIconInfo[i]])
  2198. }, _frag); //
  2199. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2200. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2201. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2202. }
  2203. }
  2204. } else {
  2205. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2206. _content = $$("div", {
  2207. className: "U_MD_D_KO",
  2208. style: { 'width': '124px', 'height': '145px' },
  2209. "onmousedown": U.UF.C.closure(function (obj) {
  2210. //防止拖动图标即打开了桌面应用
  2211. U.MD.D.click(this, obj);
  2212. }, [_easyDesktopIconInfo[i]]),
  2213. "onclick": U.UF.C.closure(function (obj) {
  2214. //防止拖动图标即打开了桌面应用
  2215. U.MD.D.click(this, obj);
  2216. }, [_easyDesktopIconInfo[i]])
  2217. }, _frag); //
  2218. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2219. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2220. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2221. }
  2222. }
  2223. if (type == 1) {
  2224. //加载好后给图标定位
  2225. U.MD.D.iconPostion($(_frag).Child());
  2226. } else {
  2227. //加载好后给图标定位
  2228. U.MD.D.iconPostion2($(_frag).Child());
  2229. }
  2230. //把图标加载到页面
  2231. el.appendChild(_frag);
  2232. }
  2233. /**
  2234. * 显示任务栏
  2235. *
  2236. * @param {element} 桌面元素
  2237. */
  2238. U.MD.D.I.displayTaskbar = function (el) {
  2239. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2240. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2241. //任务栏位置变化
  2242. U.selectEl(el).css({ "bottom": "0px" });
  2243. //桌面位置变话
  2244. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2245. }
  2246. }
  2247. //#region 桌面图标拖动逻辑
  2248. /**
  2249. * 桌面排列图标
  2250. *
  2251. * @param {element} 桌面元素
  2252. * @param {object} 上下相距的距离
  2253. * @param {object} 左右相距的距离
  2254. * @return {object} 命名空间
  2255. */
  2256. U.MD.D.iconPostion = function (childs, top, left) {
  2257. var i; //用于循环处理
  2258. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2259. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2260. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2261. for (i = 0; i < childs.length; i++) {
  2262. //如果竖排top超过了范围处理
  2263. if (top + 95 > US.height - 10) {
  2264. //left超过了页面范围处理,则向上重叠打印处理
  2265. if ((left + 180) > US.width) {
  2266. top -= 110;
  2267. left -= 90;
  2268. }
  2269. //没有超过范围,那么left+90添加到下一个竖排打印
  2270. else {
  2271. left += 90;
  2272. top = 15;
  2273. };
  2274. }
  2275. //给图标的位置赋值
  2276. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2277. if (i < childs.length - 1) {
  2278. //页面图标每次向下加95
  2279. top += 95;
  2280. }
  2281. }
  2282. //返回最后调用的图标的位置
  2283. return [top, left];
  2284. }
  2285. /**
  2286. * 桌面排列图标
  2287. *
  2288. * @param {element} 桌面元素
  2289. * @param {object} 上下相距的距离
  2290. * @param {object} 左右相距的距离
  2291. * @return {object} 命名空间
  2292. */
  2293. U.MD.D.iconPostion2 = function (childs, top, left) {
  2294. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2295. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2296. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2297. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2298. for (i = 0; i < childs.length; i++) {
  2299. //如果竖排top超过了范围处理
  2300. if (left + 150 > US.width - 10) {
  2301. //left超过了页面范围处理,则向上重叠打印处理
  2302. if ((top + 180) > US.Height) {
  2303. top -= 150;
  2304. left -= 150;
  2305. }
  2306. //没有超过范围,那么left+90添加到下一个竖排打印
  2307. else {
  2308. top += 150;
  2309. left = ol;
  2310. };
  2311. }
  2312. //给图标的位置赋值
  2313. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2314. if (i < childs.length - 1) {
  2315. //页面图标每次向下加95
  2316. left += 150;
  2317. }
  2318. }
  2319. //返回最后调用的图标的位置
  2320. return [top, left];
  2321. }
  2322. /**
  2323. * 桌面点击事件逻辑
  2324. *
  2325. * @param {element} 桌面元素
  2326. * @param {object} 上下相距的距离
  2327. * @param {object} 左右相距的距离
  2328. * @return {object} 命名空间
  2329. */
  2330. U.MD.D.click = function (el, obj) {
  2331. var _buttonnumber = event.button; //点击的按钮的事件值
  2332. var _userinfo = US.userInfo;
  2333. U.UF.EV.stopBubble(); //阻止向上冒泡
  2334. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2335. if (_buttonnumber < 2) {
  2336. //如果是click事件的处理
  2337. if (event.type == "click") {
  2338. //如果元素在mousemove事件中没有移动则出发click事件
  2339. if (!U.MD.D.I.IsDrag) {
  2340. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2341. U.alert("请先登录您的账号!");
  2342. setTimeout(() => {
  2343. U.MD.U.L.login();
  2344. }, 2000);
  2345. } else {
  2346. //打开应用处理
  2347. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2348. }
  2349. }
  2350. }
  2351. //如果是mouse事件的处理
  2352. else {
  2353. if (US.Config.type == '1') {
  2354. //拖动处理,添加拖动和拖动结束事件
  2355. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2356. }
  2357. }
  2358. U.MD.D.I.IsDrag = false;
  2359. }
  2360. }
  2361. /**
  2362. * 拖动的处理
  2363. *
  2364. */
  2365. U.MD.D.iconMove = function () {
  2366. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2367. U.MD.D.I.IsDrag = true;
  2368. }
  2369. /**
  2370. * 拖动结束后,这里是定位处理,以网状的形式定位
  2371. *
  2372. * @param {element} 拖动的元素
  2373. * @return {object} 命名空间
  2374. */
  2375. U.MD.D.iconUp = function (el) {
  2376. var _top = 15,
  2377. _left = 20,
  2378. _margin,
  2379. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2380. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2381. if (_positioninfo["OT"] > 15) {
  2382. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2383. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2384. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2385. }
  2386. if (_positioninfo["OL"] > 20) {
  2387. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2388. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2389. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2390. }
  2391. //while循环判断么一个重叠的元素
  2392. do {
  2393. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2394. _top = _positioninfo[0] + 95; //得到定位后的top
  2395. _left = _positioninfo[1]; //得到定位后的left
  2396. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2397. }
  2398. /**
  2399. * 判断拖动后图标是否重叠
  2400. *
  2401. * @param {element} 拖动的元素
  2402. * @param {element} 桌面所有的元素
  2403. * @param {array} 拖动元素的位置
  2404. ----------[0] 上 top
  2405. ----------[1] 左 left
  2406. * @return {object} 命名空间
  2407. */
  2408. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2409. //循环所有的图标
  2410. for (var i = 0; i < childs.length; i++) {
  2411. //判断有没有和该图标诶子重叠的元素
  2412. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2413. return childs[i]; //如果有返回
  2414. }
  2415. }
  2416. }
  2417. //#endregion
  2418. //#endregion
  2419. //#region 桌面应用
  2420. /**
  2421. * 打开应用
  2422. *
  2423. * @param {string} 类型
  2424. -----------------Disk 网盘系统
  2425. -----------------PDisk 学习系统网盘
  2426. -----------------Poto 图片
  2427. -----------------Video 视频
  2428. -----------------Music 音乐
  2429. -----------------Word word
  2430. -----------------Excel excel
  2431. -----------------Txt 记事本
  2432. -----------------PB 学习系统
  2433. -----------------Blog 朋友圈系统
  2434. -----------------FTP ftp系统
  2435. -----------------Group 好友群
  2436. -----------------SY 首页系统
  2437. -----------------Set 个人设置
  2438. -----------------XSet 系统设置
  2439. -----------------App 我们所有的app
  2440. -----------------BC c.1473.cn 平台
  2441. -----------------CWeb d.1473.cn 变成平台
  2442. -----------------其他的外联系统 我们统一用iframe打开
  2443. * @param {array} 类型
  2444. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2445. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2446. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2447. 如果第一个参数为其他,则无第二个参数
  2448. * @returns {array}
  2449. */
  2450. window.addEventListener('message', function (e) { // 监听 message 事件
  2451. // alert(e.data.type);
  2452. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2453. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2454. //3是展示全部阶段 2学生 1老师 4专家
  2455. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2456. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2457. //3是展示全部阶段 2学生 1老师 4专家
  2458. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2459. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2460. //3是展示全部阶段 2学生 1老师 4专家
  2461. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2462. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2463. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2464. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2465. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2466. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2467. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2468. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2469. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2470. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2471. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2472. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2473. //3是展示全部阶段 2学生 1老师 4专家
  2474. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2475. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2476. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2477. U.MD.D.I.selectUser();
  2478. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2479. var _formel = document.getElementById("study");
  2480. U.UF.F.windowZooming(_formel);
  2481. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2482. var _formel = document.getElementById("studyDetail");
  2483. U.UF.F.windowZooming(_formel);
  2484. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2485. var _formel = document.getElementById("studyDetail");
  2486. U.UF.F.windowZooming(_formel);
  2487. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2488. var _formel = document.getElementById("studentStudy");
  2489. U.UF.F.windowZooming(_formel);
  2490. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2491. // var _formel = document.getElementById("study");
  2492. //如果最大化了,那么就把他缩小
  2493. // if (_formel.ismaximize) {
  2494. // return;
  2495. // }
  2496. // U.UF.F.windowZooming(_formel);
  2497. // U.UF.F.topWindow(_formel);
  2498. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2499. // var _formel = document.getElementById("studyDetail");
  2500. //如果最大化了,那么就把他缩小
  2501. // if (_formel.ismaximize) {
  2502. // return;
  2503. // }
  2504. // U.UF.F.windowZooming(_formel);
  2505. // U.UF.F.topWindow(_formel);
  2506. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2507. // var _formel = document.getElementById("studentStudy");
  2508. // if (_formel.ismaximize) {
  2509. // return;
  2510. // }
  2511. // U.UF.F.windowZooming(_formel);
  2512. // U.UF.F.topWindow(_formel);
  2513. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2514. var _formel = document.getElementById("study");
  2515. // if (_formel.ismaximize) {
  2516. // return;
  2517. // }
  2518. // U.UF.F.windowZooming(_formel);
  2519. U.UF.F.topWindow(_formel);
  2520. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2521. var _formel = document.getElementById("studentIndex");
  2522. U.UF.F.windowZooming(_formel);
  2523. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2524. var _formel = document.getElementById("studyDetailS");
  2525. U.UF.F.windowZooming(_formel);
  2526. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2527. var _formel = document.getElementById("studioIndex");
  2528. U.UF.F.windowZooming(_formel);
  2529. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2530. var _formel = document.getElementById("studyDetailStudio");
  2531. U.UF.F.windowZooming(_formel);
  2532. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2533. var _formel = document.getElementById("studyDetailStudio");
  2534. U.UF.F.windowZooming(_formel);
  2535. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2536. var _formel = document.getElementById("studyDetailNT");
  2537. U.UF.F.windowZooming(_formel);
  2538. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2539. var _formel = document.getElementById("studyDetailS");
  2540. U.UF.F.windowZooming(_formel);
  2541. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2542. var _formel = document.getElementById("studyDetailS");
  2543. U.UF.F.topWindow(_formel);
  2544. } else if (e.data.tools && e.data.tools == "1") {
  2545. // U.MD.D.I.openApplication("whiteboard")
  2546. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2547. } else if (e.data.tools && e.data.tools == "2") {
  2548. U.MD.D.I.openApplication("note")
  2549. } else if (e.data.tools && e.data.tools == "3") {
  2550. // U.MD.D.I.openApplication("mind")
  2551. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2552. } else if (e.data.tools && e.data.tools == "4") {
  2553. U.MD.D.I.openApplication("investigation")
  2554. } else if (e.data.tools && e.data.tools == "6") {
  2555. // U.MD.D.I.openApplication("doc")
  2556. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2557. } else if (e.data.tools && e.data.tools == "7") {
  2558. // U.MD.D.I.openApplication("mindNetwork")
  2559. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2560. } else if (e.data.tools && e.data.tools == "8") {
  2561. U.MD.D.I.openApplication("library")
  2562. } else if (e.data.tools && e.data.tools == "17") {
  2563. U.MD.D.I.openApplication("stuLibrary")
  2564. } else if (e.data.tools && e.data.tools == "18") {
  2565. U.MD.D.I.openApplication("train")
  2566. } else if (e.data.tools && e.data.tools == "21") {
  2567. U.MD.D.I.openApplication("program")
  2568. } else if (e.data.tools && e.data.tools == "22") {
  2569. U.MD.D.I.openApplication("AIprogram2")
  2570. } else if (e.data.tools && e.data.tools == "23") {
  2571. U.MD.D.I.openApplication("Pythonprogram")
  2572. } else if (e.data.tools && e.data.tools == "24") {
  2573. U.MD.D.I.openApplication("AIprogram")
  2574. } else if (e.data.tools && e.data.tools == "25") {
  2575. U.MD.D.I.openApplication("sys")
  2576. } else if (e.data.tools && e.data.tools == "26") {
  2577. // U.MD.D.I.openApplication("courseDesign")
  2578. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2579. } else if (e.data.tools && e.data.tools == "31") {
  2580. U.MD.D.I.openApplication("netWorkPanel")
  2581. } else if (e.data.tools && e.data.tools == "32") {
  2582. U.MD.D.I.openApplication("codeEdit")
  2583. } else if (e.data.tools && e.data.tools == "57") {
  2584. U.MD.D.I.openApplication("CocoPi")
  2585. } else if (e.data.tools && e.data.tools == "63") {
  2586. U.MD.D.I.openApplication("Wood")
  2587. } else if (e.data.tools && e.data.tools == "58") {
  2588. U.MD.D.I.openApplication("car")
  2589. } else if (e.data.tools && e.data.tools == "59") {
  2590. U.MD.D.I.openApplication("lineSearch")
  2591. } else if (e.data.tools && e.data.tools == "60") {
  2592. U.MD.D.I.openApplication("deepLearning")
  2593. } else if (e.data.tools && e.data.tools == "61") {
  2594. U.MD.D.I.openApplication("allHistory")
  2595. } else if (e.data.tools && e.data.tools == "28") {
  2596. U.MD.D.I.openApplication("translation")
  2597. } else if (e.data.tools && e.data.tools == "37") {
  2598. U.MD.D.I.openApplication("mohe")
  2599. } else if (e.data.tools && e.data.tools == "38") {
  2600. U.MD.D.I.openApplication("24game")
  2601. } else if (e.data.tools && e.data.tools == "39") {
  2602. U.MD.D.I.openApplication("GeoGebra")
  2603. } else if (e.data.tools && e.data.tools == "43") {
  2604. U.MD.D.I.openApplication("studentEvaluate")
  2605. } else if (e.data.tools && e.data.tools == "44") {
  2606. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2607. } else if (e.data.tools && e.data.tools == "46") {
  2608. U.MD.D.I.openApplication("project")
  2609. } else if (e.data.tools && e.data.tools == "1s") {
  2610. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2611. } else if (e.data.tools && e.data.tools == "3s") {
  2612. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2613. } else if (e.data.tools && e.data.tools == "6s") {
  2614. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2615. } else if (e.data.tools && e.data.tools == "1studio") {
  2616. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2617. } else if (e.data.tools && e.data.tools == "3studio") {
  2618. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2619. } else if (e.data.tools && e.data.tools == "6studio") {
  2620. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2621. } else if (e.data.tools && e.data.tools == "3y") {
  2622. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2623. } else if (e.data.tools && e.data.tools == "1y") {
  2624. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2625. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2626. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2627. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2628. U.MD.D.I.openApplication("AIAnalyse")
  2629. } else if (e.data.tools && e.data.tools == "1teacher") {
  2630. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2631. } else if (e.data.tools && e.data.tools == "3teacher") {
  2632. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2633. } else if (e.data.tools && e.data.tools == "7teacher") {
  2634. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2635. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2636. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2637. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2638. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2639. } else if (e.data.tools && e.data.tools == "1E") {
  2640. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2641. } else if (e.data.tools && e.data.tools == "3E") {
  2642. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2643. } else if (e.data.tools && e.data.tools == "57y") {
  2644. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2645. } else if (e.data.tools && e.data.tools == "57u") {
  2646. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2647. } else if (e.data.tools && e.data.tools == "57teacher") {
  2648. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2649. } else if (e.data.tools && e.data.tools == "64") {
  2650. U.MD.D.I.openApplication("AIChat")
  2651. } else if (e.data.tools && e.data.tools == "66") {
  2652. U.MD.D.I.openApplication("formulaEdi")
  2653. } else if (e.data.tools && e.data.tools == "67") {
  2654. U.MD.D.I.openApplication("molStr")
  2655. } else if (e.data.tools && e.data.tools == "68") {
  2656. U.MD.D.I.openApplication("timeAxis")
  2657. } else if (e.data.tools && e.data.tools == "openCourse") {
  2658. let _data = {
  2659. typea: e.data.typea || '',
  2660. typeb: e.data.typeb || '',
  2661. typed: e.data.typed || '',
  2662. }
  2663. U.MD.D.I.openInApplication("index", _data)
  2664. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2665. let _data = {
  2666. classid: e.data.classid || '',
  2667. }
  2668. U.MD.D.I.openInApplication("dataClass", _data)
  2669. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2670. let _data = {
  2671. cid: e.data.cid || '',
  2672. gid: e.data.gid || '',
  2673. }
  2674. U.MD.D.I.openInApplication("opencCscl", _data)
  2675. }
  2676. });
  2677. U.MD.D.I.selectUser = function () {
  2678. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2679. if (res.value[0].length > 0) {
  2680. US.userInfo = res.value[0][0];
  2681. $(".userName")[0].innerHTML = US.userInfo.username;
  2682. }
  2683. }, [], { "type": "GET", "withCredentials": true });
  2684. }
  2685. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2686. var _userinfo = US.userInfo, //登录用户信息
  2687. _userid = US.userInfo.userid, //登录用户id
  2688. _oid = _userinfo.organizeid,
  2689. _type = US.userInfo.type,
  2690. _org = US.userInfo.org,
  2691. _role = US.userInfo.role,
  2692. _classId = US.userInfo.classid;
  2693. if (_type == 4) {
  2694. tType = 4
  2695. }
  2696. switch (str) {
  2697. case "studyDetailNT": //无终端模式
  2698. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2699. setTimeout(() => {
  2700. U.MD.U.L.login();
  2701. }, 2000);
  2702. } else {
  2703. _formdiv = new U.UF.UI.form(
  2704. "课程详情",
  2705. $$("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 }), {
  2706. "id": "studyDetailNT",
  2707. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2708. "onresize": function () { }
  2709. }, {
  2710. closecallback: function () { }
  2711. }, { "style": { "height": "36px" } }).form; //创建窗体
  2712. _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); } }
  2713. break;
  2714. }
  2715. case "studyDetail":
  2716. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2717. setTimeout(() => {
  2718. U.MD.U.L.login();
  2719. }, 2000);
  2720. } else {
  2721. _formdiv = new U.UF.UI.form(
  2722. "课程详情",
  2723. $$("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 }), {
  2724. "id": "studyDetail",
  2725. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2726. "onresize": function () { }
  2727. }, {
  2728. closecallback: function () { }
  2729. }, { "style": { "height": "36px" } }).form; //创建窗体
  2730. _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); } }
  2731. break;
  2732. }
  2733. case "studyDetailS":
  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/#/courseDetailS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2742. "id": "studyDetailS",
  2743. "style": { "width": "95%", "height": "95%", "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/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2749. break;
  2750. }
  2751. case "studyDetailStudio":
  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/#/courseDetailStudio?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2760. "id": "studyDetailStudio",
  2761. "style": { "width": "95%", "height": "95%", "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/studioCourse.png)" }, "name": "工作详情", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2767. break;
  2768. }
  2769. case "studyDetailS5":
  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/#/studyStudentS?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 "studyDetailGM":
  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/#/courseDetailGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2796. "id": "studyDetail",
  2797. "style": { "width": "100%", "height": "100%", "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/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2803. break;
  2804. }
  2805. case "hanUrl":
  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": "//school.hanzigon.cn/?appid=734714090237947#/material/video?grade_id=62&lesson_code=621&id=2432" }), {
  2814. "id": "hanUrl",
  2815. "style": { "width": "90%", "height": "90%", "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/hanClass.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2821. break;
  2822. }
  2823. case "index":
  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/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=2" + "&typea=" + data.typea + "&typeb=" + data.typeb + "&typed=" + data.typed }), {
  2832. "id": "study",
  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/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2839. break;
  2840. }
  2841. case "dataClass":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&cid=" + _classId + "&checkid=" + data.classid }), {
  2850. "id": "dataClass",
  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/evaluation.png)" }, "name": "数据报告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2857. break;
  2858. }
  2859. case "opencCscl":
  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": "https://cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  2868. "id": "futureClass",
  2869. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2870. "onresize": function () { }
  2871. }, {
  2872. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  2873. }, { "style": { "height": "36px" } }).form; //创建窗体
  2874. _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); } }
  2875. break;
  2876. }
  2877. }
  2878. }
  2879. U.MD.D.I.openApplication = function (str, obj, info) {
  2880. obj = obj || {};
  2881. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2882. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2883. _userinfo = US.userInfo, //登录用户信息
  2884. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2885. _oid = obj.organizeid || _userinfo.organizeid,
  2886. _type = US.userInfo.type,
  2887. _org = US.userInfo.org,
  2888. _role = US.userInfo.role,
  2889. _classId = US.userInfo.classid,
  2890. _TscreenType = 1
  2891. _screenType = 2,
  2892. _SscreenType = 3;
  2893. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2894. return;
  2895. }
  2896. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2897. switch (str) {
  2898. case "studnetProject": //好友打开
  2899. _formdiv = new U.UF.UI.form(
  2900. "我的项目",
  2901. $$("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 }), {
  2902. "id": "studnetProject",
  2903. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2904. "onresize": function () { }
  2905. }, {
  2906. closecallback: function () { }
  2907. }, { "style": { "height": "36px" } }).form; //创建窗体
  2908. _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); } }
  2909. break;
  2910. case "studentEvaluate": //好友打开
  2911. _formdiv = new U.UF.UI.form(
  2912. "我的评价",
  2913. $$("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 }), {
  2914. "id": "studentEvaluate",
  2915. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2916. "onresize": function () { }
  2917. }, {
  2918. closecallback: function () { }
  2919. }, { "style": { "height": "36px" } }).form; //创建窗体
  2920. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2921. break;
  2922. case "my":
  2923. _formdiv = new U.UF.UI.form(
  2924. "我的资料",
  2925. $$("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 }), {
  2926. "id": "my",
  2927. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2928. "onresize": function () { }
  2929. }, {
  2930. closecallback: function () { }
  2931. }, { "style": { "height": "36px" } }).form; //创建窗体
  2932. _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); } }
  2933. break;
  2934. case "program":
  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": "https://x.cocorobo.cn" }), {
  2938. "id": "program",
  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/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2945. break;
  2946. case "library":
  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-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  2950. "id": "library",
  2951. "style": { "width": "90%", "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/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2957. break;
  2958. case "whiteboard":
  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": "https://iwb.cocorobo.cn/" }), {
  2962. "id": "whiteboard",
  2963. "style": { "width": "90%", "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/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2969. break;
  2970. case "investigation":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  2974. "id": "investigation",
  2975. "style": { "width": "90%", "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/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2981. break;
  2982. case "note":
  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/#/note?userid=" + _userid + "&org=" + _org }), {
  2986. "id": "note",
  2987. "style": { "width": "20%", "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/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2993. break;
  2994. // case "score":
  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": US.Config.bpbl + "" }), {
  2998. // "id": "score",
  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/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3005. // break;
  3006. case "mind":
  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": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3010. "id": "mind",
  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/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3017. break;
  3018. case "doc":
  3019. // U.MD.D.I.isRoom();
  3020. _formdiv = new U.UF.UI.form(
  3021. "协同文档",
  3022. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3023. "id": "doc",
  3024. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3025. "onresize": function () { }
  3026. }, {
  3027. closecallback: function () { }
  3028. }, { "style": { "height": "36px" } }).form; //创建窗体
  3029. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3030. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3031. // })
  3032. _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); } }
  3033. break;
  3034. case "studentStudy":
  3035. _formdiv = new U.UF.UI.form(
  3036. "课程中心",
  3037. $$("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
  3038. "id": "studentStudy",
  3039. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3040. "onresize": function () { }
  3041. }, {
  3042. closecallback: function () { }
  3043. }, { "style": { "height": "36px" } }).form; //创建窗体
  3044. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3045. break;
  3046. case "train": //好友打开
  3047. _formdiv = new U.UF.UI.form(
  3048. "训练平台",
  3049. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3050. "id": "train",
  3051. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3052. "onresize": function () { }
  3053. }, {
  3054. closecallback: function () { }
  3055. }, { "style": { "height": "36px" } }).form; //创建窗体
  3056. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3057. break;
  3058. case "mindNetwork": //好友打开
  3059. _formdiv = new U.UF.UI.form(
  3060. "思维网格",
  3061. $$("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 }), {
  3062. "id": "mindNetwork",
  3063. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3064. "onresize": function () { }
  3065. }, {
  3066. closecallback: function () { }
  3067. }, { "style": { "height": "36px" } }).form; //创建窗体
  3068. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3069. break;
  3070. case "studentClassRoom": //好友打开
  3071. _formdiv = new U.UF.UI.form(
  3072. "实时课堂",
  3073. $$("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 }), {
  3074. "id": "studentClassRoom",
  3075. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3076. "onresize": function () { }
  3077. }, {
  3078. closecallback: function () { }
  3079. }, { "style": { "height": "36px" } }).form; //创建窗体
  3080. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3081. setTimeout(() => {
  3082. U.UF.F.windowZooming(_formdiv)
  3083. }, 0);
  3084. break;
  3085. }
  3086. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3087. switch (str) {
  3088. case "studnetProject": //好友打开
  3089. _formdiv = new U.UF.UI.form(
  3090. "我的项目",
  3091. $$("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 }), {
  3092. "id": "studnetProject",
  3093. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3094. "onresize": function () { }
  3095. }, {
  3096. closecallback: function () { }
  3097. }, { "style": { "height": "36px" } }).form; //创建窗体
  3098. _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); } }
  3099. break;
  3100. case "studentEvaluate": //好友打开
  3101. _formdiv = new U.UF.UI.form(
  3102. "我的评价",
  3103. $$("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 }), {
  3104. "id": "studentEvaluate",
  3105. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3106. "onresize": function () { }
  3107. }, {
  3108. closecallback: function () { }
  3109. }, { "style": { "height": "36px" } }).form; //创建窗体
  3110. _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); } }
  3111. break;
  3112. case "my":
  3113. _formdiv = new U.UF.UI.form(
  3114. "我的资料",
  3115. $$("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 }), {
  3116. "id": "my",
  3117. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3118. "onresize": function () { }
  3119. }, {
  3120. closecallback: function () { }
  3121. }, { "style": { "height": "36px" } }).form; //创建窗体
  3122. _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); } }
  3123. break;
  3124. case "program":
  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": "https://x.cocorobo.cn" }), {
  3128. "id": "program",
  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/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3135. break;
  3136. case "library":
  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-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  3140. "id": "library",
  3141. "style": { "width": "90%", "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/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3147. break;
  3148. case "whiteboard":
  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": "https://iwb.cocorobo.cn/" }), {
  3152. "id": "whiteboard",
  3153. "style": { "width": "90%", "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/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3159. break;
  3160. case "investigation":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3164. "id": "investigation",
  3165. "style": { "width": "90%", "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/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3171. break;
  3172. case "note":
  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/#/note?userid=" + _userid + "&org=" + _org }), {
  3176. "id": "note",
  3177. "style": { "width": "20%", "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/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3183. break;
  3184. // case "score":
  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": US.Config.bpbl + "" }), {
  3188. // "id": "score",
  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/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3195. // break;
  3196. case "mind":
  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": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3200. "id": "mind",
  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/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3207. break;
  3208. case "doc":
  3209. // U.MD.D.I.isRoom();
  3210. _formdiv = new U.UF.UI.form(
  3211. "协同文档",
  3212. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3213. "id": "doc",
  3214. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3215. "onresize": function () { }
  3216. }, {
  3217. closecallback: function () { }
  3218. }, { "style": { "height": "36px" } }).form; //创建窗体
  3219. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3220. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3221. })
  3222. _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); } }
  3223. break;
  3224. case "train": //好友打开
  3225. _formdiv = new U.UF.UI.form(
  3226. "训练平台",
  3227. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3228. "id": "train",
  3229. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3230. "onresize": function () { }
  3231. }, {
  3232. closecallback: function () { }
  3233. }, { "style": { "height": "36px" } }).form; //创建窗体
  3234. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3235. break;
  3236. case "studentStudy":
  3237. _formdiv = new U.UF.UI.form(
  3238. "课程中心",
  3239. $$("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
  3240. "id": "studentStudy",
  3241. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3242. "onresize": function () { }
  3243. }, {
  3244. closecallback: function () { }
  3245. }, { "style": { "height": "36px" } }).form; //创建窗体
  3246. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3247. break;
  3248. case "mindNetwork": //好友打开
  3249. _formdiv = new U.UF.UI.form(
  3250. "思维网格",
  3251. $$("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 }), {
  3252. "id": "mindNetwork",
  3253. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3254. "onresize": function () { }
  3255. }, {
  3256. closecallback: function () { }
  3257. }, { "style": { "height": "36px" } }).form; //创建窗体
  3258. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3259. break;
  3260. case "studentClassRoom": //好友打开
  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": US.Config.bpbl + "/pbl-student-table/dist/#/liveRoom?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3264. "id": "studentClassRoom",
  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/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3271. setTimeout(() => {
  3272. U.UF.F.windowZooming(_formdiv)
  3273. }, 0);
  3274. break;
  3275. }
  3276. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3277. //选择应用处理
  3278. switch (str) {
  3279. case "project": //好友打开
  3280. _formdiv = new U.UF.UI.form(
  3281. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3282. $$("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 }), {
  3283. "id": "project",
  3284. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3285. "onresize": function () { }
  3286. }, {
  3287. closecallback: function () { }
  3288. }, { "style": { "height": "36px" } }).form; //创建窗体
  3289. _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); } }
  3290. break;
  3291. case "student":
  3292. _formdiv = new U.UF.UI.form(
  3293. "学生管理",
  3294. $$("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 }), {
  3295. "id": "student",
  3296. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3297. "onresize": function () { }
  3298. }, {
  3299. closecallback: function () { }
  3300. }, { "style": { "height": "36px" } }).form; //创建窗体
  3301. _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); } }
  3302. break;
  3303. case "evaluate":
  3304. _formdiv = new U.UF.UI.form(
  3305. "学生评价",
  3306. $$("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 }), {
  3307. "id": "evaluate",
  3308. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3309. "onresize": function () { }
  3310. }, {
  3311. closecallback: function () { }
  3312. }, { "style": { "height": "36px" } }).form; //创建窗体
  3313. _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); } }
  3314. break;
  3315. case "sys":
  3316. _formdiv = new U.UF.UI.form(
  3317. "目标管理",
  3318. $$("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 }), {
  3319. "id": "sys",
  3320. "style": { "width": "100%", "height": "100%", "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/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3326. break;
  3327. case "courseDesign":
  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": "/course-design-vue" }), {
  3331. "id": "courseDesign",
  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/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3338. break;
  3339. case "program":
  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": "https://x.cocorobo.cn" }), {
  3343. "id": "program",
  3344. "style": { "width": "70%", "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/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3350. break;
  3351. case "class":
  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/#/class?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3355. "id": "class",
  3356. "style": { "width": "90%", "height": "90%", "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/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3362. break;
  3363. case "Grade":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/grade?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3367. "id": "Grade",
  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/Grade.png)" }, "name": "年级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3374. break;
  3375. case "teacherOffice":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherOffice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3379. "id": "teacherOffice",
  3380. "style": { "width": "90%", "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/teacherOffice.png)" }, "name": "教研室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3386. break;
  3387. case "my":
  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/#/data?userid=" + _userid + "&org=" + _org }), {
  3391. "id": "my",
  3392. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3398. break;
  3399. case "notice":
  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/#/notice?userid=" + _userid + "&org=" + _org }), {
  3403. "id": "notice",
  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/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3410. break;
  3411. case "library":
  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/#/library?userid=" + _userid + "&org=" + _org }), {
  3415. "id": "library",
  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/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3422. break;
  3423. case "whiteboard":
  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": "https://iwb.cocorobo.cn/" }), {
  3427. "id": "whiteboard",
  3428. "style": { "width": "90%", "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/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3434. break;
  3435. case "investigation":
  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/#/ask?userid=" + _userid + "&org=" + _org }), {
  3439. "id": "investigation",
  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/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3446. break;
  3447. case "note":
  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/#/note?userid=" + _userid + "&org=" + _org }), {
  3451. "id": "note",
  3452. "style": { "width": "20%", "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/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3458. break;
  3459. // case "score":
  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": US.Config.bpbl + "" }), {
  3463. // "id": "score",
  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/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3470. // break;
  3471. case "mind":
  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": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3475. "id": "mind",
  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/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3482. break;
  3483. case "doc":
  3484. // U.MD.D.I.isRoom();
  3485. _formdiv = new U.UF.UI.form(
  3486. "协同文档",
  3487. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3488. "id": "doc",
  3489. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3490. "onresize": function () { }
  3491. }, {
  3492. closecallback: function () { }
  3493. }, { "style": { "height": "36px" } }).form; //创建窗体
  3494. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3495. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3496. })
  3497. _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); } }
  3498. break;
  3499. case "study":
  3500. _formdiv = new U.UF.UI.form(
  3501. "课程中心",
  3502. $$("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
  3503. "id": "study",
  3504. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3505. "onresize": function () { }
  3506. }, {
  3507. closecallback: function () { }
  3508. }, { "style": { "height": "36px" } }).form; //创建窗体
  3509. _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); } }
  3510. break;
  3511. case "mindNetwork": //好友打开
  3512. _formdiv = new U.UF.UI.form(
  3513. "思维网格",
  3514. $$("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 }), {
  3515. "id": "mindNetwork",
  3516. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3517. "onresize": function () { }
  3518. }, {
  3519. closecallback: function () { }
  3520. }, { "style": { "height": "36px" } }).form; //创建窗体
  3521. _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); } }
  3522. break;
  3523. case "train": //好友打开
  3524. _formdiv = new U.UF.UI.form(
  3525. "训练平台",
  3526. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3527. "id": "mindNetwork",
  3528. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3529. "onresize": function () { }
  3530. }, {
  3531. closecallback: function () { }
  3532. }, { "style": { "height": "36px" } }).form; //创建窗体
  3533. _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); } }
  3534. break;
  3535. case "teacherClassRoom": //好友打开
  3536. _formdiv = new U.UF.UI.form(
  3537. "实时课堂",
  3538. $$("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 }), {
  3539. "id": "teacherClassRoom",
  3540. "style": { "width": "90%", "height": "90%", "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/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3546. setTimeout(() => {
  3547. U.UF.F.windowZooming(_formdiv)
  3548. }, 0);
  3549. break;
  3550. }
  3551. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3552. switch (str) {
  3553. case "project": //好友打开
  3554. _formdiv = new U.UF.UI.form(
  3555. "课程管理",
  3556. $$("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 }), {
  3557. "id": "project",
  3558. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3559. "onresize": function () { }
  3560. }, {
  3561. closecallback: function () { }
  3562. }, { "style": { "height": "36px" } }).form; //创建窗体
  3563. _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); } }
  3564. break;
  3565. case "evaluate":
  3566. _formdiv = new U.UF.UI.form(
  3567. "学生评价",
  3568. $$("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 }), {
  3569. "id": "evaluate",
  3570. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3571. "onresize": function () { }
  3572. }, {
  3573. closecallback: function () { }
  3574. }, { "style": { "height": "36px" } }).form; //创建窗体
  3575. _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); } }
  3576. break;
  3577. case "notice":
  3578. _formdiv = new U.UF.UI.form(
  3579. "通知公告",
  3580. $$("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 }), {
  3581. "id": "notice",
  3582. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3583. "onresize": function () { }
  3584. }, {
  3585. closecallback: function () { }
  3586. }, { "style": { "height": "36px" } }).form; //创建窗体
  3587. _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); } }
  3588. break;
  3589. case "stuLibrary":
  3590. _formdiv = new U.UF.UI.form(
  3591. "学习资料",
  3592. $$("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 }), {
  3593. "id": "stuLibrary",
  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/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3600. break;
  3601. case "program":
  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": "https://x.cocorobo.cn" }), {
  3605. "id": "program",
  3606. "style": { "width": "70%", "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/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3612. break;
  3613. case "whiteboard":
  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": "https://iwb.cocorobo.cn/" }), {
  3617. "id": "whiteboard",
  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/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3624. break;
  3625. case "investigation":
  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/#/ask?userid=" + _userid + "&org=" + _org }), {
  3629. "id": "investigation",
  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/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3636. break;
  3637. case "mind":
  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": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3641. "id": "mind",
  3642. "style": { "width": "90%", "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/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3648. break;
  3649. case "doc":
  3650. // U.MD.D.I.isRoom();
  3651. _formdiv = new U.UF.UI.form(
  3652. "协同文档",
  3653. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3654. "id": "doc",
  3655. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3656. "onresize": function () { }
  3657. }, {
  3658. closecallback: function () { }
  3659. }, { "style": { "height": "36px" } }).form; //创建窗体
  3660. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3661. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3662. })
  3663. _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); } }
  3664. break;
  3665. case "study":
  3666. _formdiv = new U.UF.UI.form(
  3667. "课程中心",
  3668. $$("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
  3669. "id": "study",
  3670. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3671. "onresize": function () { }
  3672. }, {
  3673. closecallback: function () { }
  3674. }, { "style": { "height": "36px" } }).form; //创建窗体
  3675. _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); } }
  3676. break;
  3677. case "mindNetwork": //好友打开
  3678. _formdiv = new U.UF.UI.form(
  3679. "思维网格",
  3680. $$("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 }), {
  3681. "id": "mindNetwork",
  3682. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3683. "onresize": function () { }
  3684. }, {
  3685. closecallback: function () { }
  3686. }, { "style": { "height": "36px" } }).form; //创建窗体
  3687. _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); } }
  3688. break;
  3689. case "train": //好友打开
  3690. _formdiv = new U.UF.UI.form(
  3691. "训练平台",
  3692. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3693. "id": "train",
  3694. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3695. "onresize": function () { }
  3696. }, {
  3697. closecallback: function () { }
  3698. }, { "style": { "height": "36px" } }).form; //创建窗体
  3699. _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); } }
  3700. break;
  3701. case "sys":
  3702. _formdiv = new U.UF.UI.form(
  3703. "目标管理",
  3704. $$("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 }), {
  3705. "id": "sys",
  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/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3712. break;
  3713. case "courseDesign":
  3714. _formdiv = new U.UF.UI.form(
  3715. "项目设计",
  3716. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3717. "id": "courseDesign",
  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/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3724. break;
  3725. }
  3726. } else if (!_type) {
  3727. switch (str) {
  3728. case "my":
  3729. _formdiv = new U.UF.UI.form(
  3730. "我的资料",
  3731. $$("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 }), {
  3732. "id": "my",
  3733. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3734. "onresize": function () { }
  3735. }, {
  3736. closecallback: function () { }
  3737. }, { "style": { "height": "36px" } }).form; //创建窗体
  3738. _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); } }
  3739. break;
  3740. }
  3741. }
  3742. switch (str) {
  3743. // AIprogram2 AI体验 aihub.cocorobo.cn
  3744. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3745. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3746. case "formulaEdi": //公式编辑
  3747. _formdiv = new U.UF.UI.form(
  3748. "公式编辑",
  3749. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3750. "id": "formulaEdi",
  3751. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3752. "onresize": function () { }
  3753. }, {
  3754. closecallback: function () { }
  3755. }, { "style": { "height": "36px" } }).form; //创建窗体
  3756. _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); } }
  3757. break;
  3758. case "molStr": //分子结构
  3759. _formdiv = new U.UF.UI.form(
  3760. "分子结构",
  3761. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3762. "id": "molStr",
  3763. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3764. "onresize": function () { }
  3765. }, {
  3766. closecallback: function () { }
  3767. }, { "style": { "height": "36px" } }).form; //创建窗体
  3768. _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); } }
  3769. break;
  3770. case "timeAxis": //时间轴
  3771. _formdiv = new U.UF.UI.form(
  3772. "时间轴",
  3773. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3774. "id": "timeAxis",
  3775. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3776. "onresize": function () { }
  3777. }, {
  3778. closecallback: function () { }
  3779. }, { "style": { "height": "36px" } }).form; //创建窗体
  3780. _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); } }
  3781. break;
  3782. case "AIprogram2": //AI体验
  3783. _formdiv = new U.UF.UI.form(
  3784. "AI体验",
  3785. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3786. "id": "AIprogram2",
  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/AIprogram2.png)" }, "name": "AI体验", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3793. break;
  3794. case "Pythonprogram": //python编程
  3795. _formdiv = new U.UF.UI.form(
  3796. "Python编程",
  3797. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3798. "id": "Pythonprogram",
  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/Pythonprogram.png)" }, "name": "Python编程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3805. break;
  3806. case "AIprogram": //ai编程
  3807. _formdiv = new U.UF.UI.form(
  3808. "AI编程平台",
  3809. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3810. "id": "AIprogram",
  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/AIprogram.png)" }, "name": "AI编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3817. break;
  3818. case "CocoPi": //CocoPi
  3819. _formdiv = new U.UF.UI.form(
  3820. "CocoPi",
  3821. $$("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" }), {
  3822. "id": "CocoPi",
  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/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3829. break;
  3830. case "Wood": //Wood
  3831. _formdiv = new U.UF.UI.form(
  3832. "海龟编程",
  3833. $$("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/" }), {
  3834. "id": "Wood",
  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/Wood.png)" }, "name": "海龟编程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3841. break;
  3842. case "car": //模拟驾驶
  3843. _formdiv = new U.UF.UI.form(
  3844. "模拟驾驶",
  3845. $$("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/" }), {
  3846. "id": "car",
  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/car.png)" }, "name": "模拟驾驶", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3853. break;
  3854. case "lineSearch": //路径搜索
  3855. _formdiv = new U.UF.UI.form(
  3856. "路径搜索",
  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://qiao.github.io/PathFinding.js/visual/" }), {
  3858. "id": "lineSearch",
  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/lineSearch.png)" }, "name": "路径搜索", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3865. break;
  3866. case "deepLearning": //深度学习
  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://ai-demos.cocorobo.cn/teachable-machine/public/#" }), {
  3870. "id": "deepLearning",
  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/deepLearning.png)" }, "name": "深度学习", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3877. break;
  3878. case "allHistory": //深度学习
  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://www.allhistory.com/" }), {
  3882. "id": "allHistory",
  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/allHistory.png)" }, "name": "全历史", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3889. break;
  3890. case "chatPDF": //ai编程
  3891. _formdiv = new U.UF.UI.form(
  3892. "chatPDF",
  3893. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3894. "id": "chatPDF",
  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/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3901. break;
  3902. case "resources": //国家教育
  3903. _formdiv = new U.UF.UI.form(
  3904. "国家教育",
  3905. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3906. "id": "resources",
  3907. "style": { "width": "80%", "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/resources.png)" }, "name": "国家教育", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3913. break;
  3914. case "codeEdit": //源码编辑
  3915. _formdiv = new U.UF.UI.form(
  3916. "源码编辑",
  3917. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3918. "id": "codeEdit",
  3919. "style": { "width": "80%", "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/code.png)" }, "name": "源码编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3925. break; //
  3926. case "MindMap": //MindMap
  3927. _formdiv = new U.UF.UI.form(
  3928. "MindMap",
  3929. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3930. "id": "MindMap",
  3931. "style": { "width": "80%", "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/MIndMap.png)" }, "name": "MindMap", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3937. break;
  3938. case "netWorkPanel": //netWorkPanel
  3939. _formdiv = new U.UF.UI.form(
  3940. "netWorkPanel",
  3941. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3942. "id": "netWorkPanel",
  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/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3949. break;
  3950. case "GeoGebra": //GeoGebra
  3951. _formdiv = new U.UF.UI.form(
  3952. "GeoGebra",
  3953. $$("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" }), {
  3954. "id": "GeoGebra",
  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/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3961. break;
  3962. case "translation": //翻译
  3963. _formdiv = new U.UF.UI.form(
  3964. "翻译",
  3965. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3966. "id": "translation",
  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/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3973. break;
  3974. case "mohe": //魔盒
  3975. _formdiv = new U.UF.UI.form(
  3976. "魔盒识字",
  3977. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3978. "id": "mohe",
  3979. "style": { "width": "375px", "height": "667px", "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/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3985. break;
  3986. case "24game": //24点
  3987. _formdiv = new U.UF.UI.form(
  3988. "24点",
  3989. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3990. "id": "24game",
  3991. "style": { "width": "375px", "height": "667px", "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/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3997. break;
  3998. case "case":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesign?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4002. "id": "case",
  4003. "style": { "width": "90%", "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/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4009. break;
  4010. case "snf":
  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": "//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" }), {
  4014. "id": "snf",
  4015. "style": { "width": "90%", "height": "90%", "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/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4021. break;
  4022. case "hanFamily":
  4023. _formdiv = new U.UF.UI.form(
  4024. "汉字家族",
  4025. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4026. "id": "hanFamily",
  4027. "style": { "width": "90%", "height": "90%", "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/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4033. break;
  4034. case "hanClassics":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4038. "id": "hanClassics",
  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/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4045. break;
  4046. case "hanTraining":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4050. "id": "hanTraining",
  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/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4057. break;
  4058. case "hanClass":
  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#/sfkt" }), {
  4062. "id": "hanClass",
  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/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4069. break;
  4070. case "han":
  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#/home" }), {
  4074. "id": "han",
  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/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4081. break;
  4082. case "projectGM": //课程管理
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/courseGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4086. "id": "projectGM",
  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/gm/courseMange.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4093. break;
  4094. case "studyGM": //课程中心
  4095. _formdiv = new U.UF.UI.form(
  4096. "课程中心",
  4097. $$("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
  4098. "id": "study",
  4099. "style": { "width": "100%", "height": "100%", "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/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4105. break;
  4106. // studentGM
  4107. case "studentGM": //学生管理
  4108. _formdiv = new U.UF.UI.form(
  4109. "学生管理",
  4110. $$("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 }), {
  4111. "id": "studentGM",
  4112. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4113. "onresize": function () { }
  4114. }, {
  4115. closecallback: function () { }
  4116. }, { "style": { "height": "36px" } }).form; //创建窗体
  4117. _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); } }
  4118. break;
  4119. case "evaluateGM": //学生评价
  4120. _formdiv = new U.UF.UI.form(
  4121. "学生评价",
  4122. $$("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 }), {
  4123. "id": "evaluateGM",
  4124. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4125. "onresize": function () { }
  4126. }, {
  4127. closecallback: function () { }
  4128. }, { "style": { "height": "36px" } }).form; //创建窗体
  4129. _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); } }
  4130. break;
  4131. // classGM
  4132. case "classGM": //班级管理
  4133. _formdiv = new U.UF.UI.form(
  4134. "班级管理",
  4135. $$("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 }), {
  4136. "id": "classGM",
  4137. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4138. "onresize": function () { }
  4139. }, {
  4140. closecallback: function () { }
  4141. }, { "style": { "height": "36px" } }).form; //创建窗体
  4142. _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); } }
  4143. break;
  4144. // dataGM
  4145. case "dataGM":
  4146. _formdiv = new U.UF.UI.form(
  4147. "我的资料",
  4148. $$("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 }), {
  4149. "id": "dataGM",
  4150. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4151. "onresize": function () { }
  4152. }, {
  4153. closecallback: function () { }
  4154. }, { "style": { "height": "36px" } }).form; //创建窗体
  4155. _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); } }
  4156. break;
  4157. // caseGM
  4158. case "caseGM": //课程进展
  4159. _formdiv = new U.UF.UI.form(
  4160. "课程进展",
  4161. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4162. "id": "caseGM",
  4163. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4164. "onresize": function () { }
  4165. }, {
  4166. closecallback: function () { }
  4167. }, { "style": { "height": "36px" } }).form; //创建窗体
  4168. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4169. break;
  4170. // meterialGM
  4171. case "meterialGM": //素材库
  4172. _formdiv = new U.UF.UI.form(
  4173. "素材库",
  4174. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/libraryGM?userid=" + _userid + "&org=" + _org }), {
  4175. "id": "meterialGM",
  4176. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4177. "onresize": function () { }
  4178. }, {
  4179. closecallback: function () { }
  4180. }, { "style": { "height": "36px" } }).form; //创建窗体
  4181. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/material.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4182. break;
  4183. // evaluateSGM
  4184. case "evaluateSGM": //我的评价
  4185. _formdiv = new U.UF.UI.form(
  4186. "我的评价",
  4187. $$("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 }), {
  4188. "id": "evaluateSGM",
  4189. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4190. "onresize": function () { }
  4191. }, {
  4192. closecallback: function () { }
  4193. }, { "style": { "height": "36px" } }).form; //创建窗体
  4194. _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); } }
  4195. break;
  4196. case "jupyter": //jupyter
  4197. _formdiv = new U.UF.UI.form(
  4198. "jupyter",
  4199. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4200. "id": "jupyter",
  4201. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4202. "onresize": function () { }
  4203. }, {
  4204. closecallback: function () { }
  4205. }, { "style": { "height": "36px" } }).form; //创建窗体
  4206. _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); } }
  4207. break;
  4208. case "number": //数字实验室
  4209. _formdiv = new U.UF.UI.form(
  4210. "数字实验室",
  4211. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4212. "id": "number",
  4213. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4214. "onresize": function () { }
  4215. }, {
  4216. closecallback: function () { }
  4217. }, { "style": { "height": "36px" } }).form; //创建窗体
  4218. _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); } }
  4219. break;
  4220. case "studentCourse": //项目管理 学生
  4221. _formdiv = new U.UF.UI.form(
  4222. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4223. $$("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 }), {
  4224. "id": "studentCourse",
  4225. "style": { "width": "90%", "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/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4231. break;
  4232. case "studentCourseS": //项目管理 老师
  4233. _formdiv = new U.UF.UI.form(
  4234. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4235. $$("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 }), {
  4236. "id": "studentCourseS",
  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/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4243. break;
  4244. case "studentIndex": //项目中心
  4245. _formdiv = new U.UF.UI.form(
  4246. "项目中心",
  4247. $$("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 }), {
  4248. "id": "studentIndex",
  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/studentIndex.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4255. break;
  4256. case "CaseDesignS":
  4257. _formdiv = new U.UF.UI.form(
  4258. "项目进展",
  4259. $$("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 }), {
  4260. "id": "case",
  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/CaseDesignS.png)" }, "name": "项目进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4267. break;
  4268. case "tcStudent": //腾讯学生管理
  4269. _formdiv = new U.UF.UI.form(
  4270. "学生管理",
  4271. $$("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 }), {
  4272. "id": "tcStudent",
  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/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4279. break;
  4280. case "tcSchool": //腾讯学校管理
  4281. _formdiv = new U.UF.UI.form(
  4282. "学校管理",
  4283. $$("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 }), {
  4284. "id": "tcSchool",
  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/school.png)" }, "name": "学校管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4291. break;
  4292. case "tcTeacher": //腾讯学校管理
  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/#/tcTeacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4296. "id": "tcTeacher",
  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/teacher.png)" }, "name": "教师管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4303. break;
  4304. case "tcData": //腾讯我的资料
  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/#/tcData?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4308. "id": "tcData",
  4309. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4315. break;
  4316. case "tcNotice": //腾讯消息通知
  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/#/tcNotice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4320. "id": "tcNotice",
  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/news.png)" }, "name": "消息通知", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4327. break;
  4328. case "myReport": //好友打开
  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/#/myReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId }), {
  4332. "id": "myReport",
  4333. "style": { "width": "100%", "height": "100%", "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/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4339. break;
  4340. case "learnAna": //好友打开
  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/#/learnAna?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4344. "id": "learnAna",
  4345. "style": { "width": "100%", "height": "100%", "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/learnAna.png)" }, "name": "学习分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4351. break;
  4352. case "AIChat": //AI共创
  4353. _formdiv = new U.UF.UI.form(
  4354. "AI共创",
  4355. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4356. "id": "AIChat",
  4357. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4358. "onresize": function () { }
  4359. }, {
  4360. istop: true,
  4361. closecallback: function () { $("#aichat_icon").remove(); },
  4362. narrowcallback: function () {
  4363. if (!$("#aichat_icon")[0]) {
  4364. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4365. }
  4366. },
  4367. }, { "style": { "height": "36px" } }).form; //创建窗体
  4368. _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); } }
  4369. break;
  4370. case "ainew": //AI共创
  4371. _formdiv = new U.UF.UI.form(
  4372. "AI协同",
  4373. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4374. "id": "ainew",
  4375. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4376. "onresize": function () { }
  4377. }, {
  4378. closecallback: function () { }
  4379. }, { "style": { "height": "36px" } }).form; //创建窗体
  4380. _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); } }
  4381. break;
  4382. case "futureClass": //AI共创
  4383. _formdiv = new U.UF.UI.form(
  4384. "协同建构",
  4385. $$("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
  4386. "id": "synergyCourse",
  4387. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4388. "onresize": function () { }
  4389. }, {
  4390. closecallback: function () {
  4391. $("iframe", _formdiv)[0].contentWindow.loginout();
  4392. }
  4393. }, { "style": { "height": "36px" } }).form; //创建窗体
  4394. _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); } }
  4395. break;
  4396. case "aiagent": //ai agent
  4397. _formdiv = new U.UF.UI.form(
  4398. "AI Agent",
  4399. $$("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" }), {
  4400. "id": "AIAgent",
  4401. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4402. "onresize": function () { }
  4403. }, {
  4404. closecallback: function () { }
  4405. }, { "style": { "height": "36px" } }).form; //创建窗体
  4406. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Agent", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4407. break;
  4408. case "dataBoard": //数据看板
  4409. _formdiv = new U.UF.UI.form(
  4410. "数据看板",
  4411. $$("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 }), {
  4412. "id": "dataBoard",
  4413. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4414. "onresize": function () { }
  4415. }, {
  4416. closecallback: function () { }
  4417. }, { "style": { "height": "36px" } }).form; //创建窗体
  4418. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoard.png)" }, "name": "数据看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4419. break;
  4420. case "dataBoardSies": //数据看板
  4421. _formdiv = new U.UF.UI.form(
  4422. "数据看板",
  4423. $$("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 }), {
  4424. "id": "dataBoardSies",
  4425. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4426. "onresize": function () { }
  4427. }, {
  4428. closecallback: function () { }
  4429. }, { "style": { "height": "36px" } }).form; //创建窗体
  4430. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardSies.png)" }, "name": "数据看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4431. break;
  4432. case "AIAnalyse": //AI共创
  4433. _formdiv = new U.UF.UI.form(
  4434. "AI分析",
  4435. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4436. "id": "AIAnalyse",
  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/AIChat.png)" }, "name": "AI分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4443. break;
  4444. case "studioCourse": //AI共创
  4445. _formdiv = new U.UF.UI.form(
  4446. "工作管理",
  4447. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studioCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4448. "id": "studioCourse",
  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/studioCourse.png)" }, "name": "工作管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4455. break;
  4456. case "studioIndex": //AI共创
  4457. _formdiv = new U.UF.UI.form(
  4458. "工作中心",
  4459. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studioIndex?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType + "&role=" + _role }), {
  4460. "id": "studioIndex",
  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/studioIndex.png)" }, "name": "工作中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4467. break;
  4468. case "source":
  4469. _formdiv = new U.UF.UI.form(
  4470. "教学资源",
  4471. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherSource?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4472. "id": "source",
  4473. "style": { "width": "80%", "height": "80%", "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/source.png)" }, "name": "教学资源", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4479. break;
  4480. case "testTeacher":
  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/#/test?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4484. "id": "testTeacher",
  4485. "style": { "width": "80%", "height": "80%", "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/testTeacher.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4491. break;
  4492. case "testStudent":
  4493. _formdiv = new U.UF.UI.form(
  4494. "评测中心",
  4495. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  4496. "id": "testStudent",
  4497. "style": { "width": "80%", "height": "80%", "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/testStudent.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4503. break;
  4504. }
  4505. //U.MD.D.I.openClick(str);
  4506. //如果有任务栏信息
  4507. if (_taskbar) {
  4508. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4509. }
  4510. }
  4511. // U.MD.D.I.openClick = function(str){
  4512. // var click = '';
  4513. // switch(str){
  4514. // case 'friend':
  4515. // click = '我的好友';
  4516. // break;
  4517. // case 'domain':
  4518. // click = '域名管理';
  4519. // break;
  4520. // case 'disk':
  4521. // click = '我的云盘';
  4522. // break;
  4523. // case 'word':
  4524. // click = 'Word';
  4525. // break;
  4526. // case 'excel':
  4527. // click = 'Execl';
  4528. // break;
  4529. // case 'txt':
  4530. // click = '文本文件';
  4531. // break;
  4532. // case 'lookupFriend':
  4533. // click = '查找好友';
  4534. // break;
  4535. // case 'ftp':
  4536. // click = 'FTP';
  4537. // break;
  4538. // case 'group':
  4539. // click = '群组';
  4540. // break;
  4541. // case 'set':
  4542. // click = '我的设置';
  4543. // break;
  4544. // case 'systemSet':
  4545. // click = '系统设置';
  4546. // break;
  4547. // case 'boomYun':
  4548. // click = '互联办公';
  4549. // break;
  4550. // case 'xz':
  4551. // click = '云端下载';
  4552. // break;
  4553. // case 'client':
  4554. // click = '有思浏览器';
  4555. // break;
  4556. // case 'backEndProgramming':
  4557. // click = '在线后台编程';
  4558. // break;
  4559. // case 'frontEndProgramming':
  4560. // click = '在线前端编程';
  4561. // break;
  4562. // default: break;
  4563. // }
  4564. // if(U.MD.D.I.Ip && click){
  4565. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4566. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4567. // })
  4568. // }
  4569. // }
  4570. /**
  4571. *函数作用:ajax简易函数,使用post格式
  4572. *@param url {data} 后台地址
  4573. *@param data {data} 参数json
  4574. *@param fn {data} 回调函数
  4575. *
  4576. */
  4577. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4578. // var xhr = new XMLHttpRequest();
  4579. // xhr.open("GET",url,true);
  4580. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4581. // xhr.onreadystatechange = function(){
  4582. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4583. // fn.call(this,xhr.responseText);
  4584. // }
  4585. // };
  4586. // xhr.send();
  4587. // }
  4588. /*判断是否是内网IP*/
  4589. // U.MD.D.I.isInnerIPFn = function(str){
  4590. // var curPageUrl = str;
  4591. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4592. // curPageUrl =curPageUrl.replace(reg1,'');
  4593. // // console.log('curPageUrl-1 '+curPageUrl);
  4594. // var reg2 = /\:+/g;//替换冒号为一点
  4595. // curPageUrl =curPageUrl.replace(reg2,'.');
  4596. // // console.log('curPageUrl-2 '+curPageUrl);
  4597. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4598. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4599. // if(curPageUrl[2] != '16'){
  4600. // return ipAddress;
  4601. // }else{
  4602. // return false;
  4603. // }
  4604. // }
  4605. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4606. // //compatibility for firefox and chrome
  4607. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4608. // var pc = new myPeerConnection({
  4609. // iceServers: []
  4610. // }),
  4611. // noop = function() {},
  4612. // localIPs = {},
  4613. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4614. // key;
  4615. // function iterateIP(ip) {
  4616. // if (!localIPs[ip]) onNewIP(ip);
  4617. // localIPs[ip] = true;
  4618. // }
  4619. // //create a bogus data channel
  4620. // pc.createDataChannel("");
  4621. // // create offer and set local description
  4622. // pc.createOffer().then(function(sdp) {
  4623. // sdp.sdp.split('\n').forEach(function(line) {
  4624. // if (line.indexOf('candidate') < 0) return;
  4625. // line.match(ipRegex).forEach(iterateIP);
  4626. // });
  4627. // pc.setLocalDescription(sdp, noop, noop);
  4628. // }).catch(function(reason) {
  4629. // // An error occurred, so handle the failure to connect
  4630. // });
  4631. // //sten for candidate events
  4632. // pc.onicecandidate = function(ice) {
  4633. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4634. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4635. // };
  4636. // }
  4637. // U.MD.D.I.getUserIpBool = function(callback){
  4638. // U.MD.D.I.getUserIP(function(ip){
  4639. // alert("Got IP! :" + ip);
  4640. // });
  4641. //}
  4642. //#endregion
  4643. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4644. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4645. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4646. _userinfo = US.userInfo, //登录用户信息
  4647. _userid = US.userInfo.userid //登录用户id
  4648. let _iframe;
  4649. let _cid = cid,
  4650. _stage = stage,
  4651. _task = task,
  4652. _tool = tool;
  4653. var _jie = $$("div", {
  4654. "style": {
  4655. "position": "absolute",
  4656. "bottom": "50px",
  4657. "right": "50px",
  4658. "zIndex": "9999",
  4659. "backgroundColor": "#2268bc",
  4660. "color": "#fff",
  4661. "padding": "12px 20px",
  4662. "cursor": "pointer",
  4663. "borderRadius": "4px",
  4664. },
  4665. "innerHTML": "提交作业"
  4666. })
  4667. let aTool = ''
  4668. let _loading = document.createElement('div')
  4669. _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;"
  4670. // _loading.id = "";
  4671. let _lchild = document.createElement('div')
  4672. let _limg = document.createElement('img')
  4673. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4674. _limg.style = "width: 26px;margin-right: 10px;"
  4675. _lchild.appendChild(_limg)
  4676. let _lspan = document.createElement('span')
  4677. _lspan.innerHTML = "上传中..."
  4678. _lchild.appendChild(_lspan)
  4679. _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%);"
  4680. _loading.appendChild(_lchild)
  4681. var _box = $$('div', {
  4682. "style": {
  4683. "position": "relative",
  4684. "width": "100%",
  4685. "height": "100%",
  4686. },
  4687. })
  4688. _box.appendChild(_loading)
  4689. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4690. switch (str) {
  4691. case "whiteboard":
  4692. aTool = 1;
  4693. _iframe = $$("iframe", {
  4694. "frameborder": "no",
  4695. "border": "0",
  4696. "scrolling ": "no",
  4697. "style": {
  4698. "cssText": "border:0;width:100%;height:100%"
  4699. },
  4700. "src": "https://iwb.cocorobo.cn/"
  4701. })
  4702. _box.appendChild(_iframe);
  4703. _box.appendChild(_jie);
  4704. _formdiv = new U.UF.UI.form(
  4705. "电子白板",
  4706. _box, {
  4707. "id": "whiteboard" + cid + stage + task + tool,
  4708. "style": {
  4709. "width": "90%",
  4710. "height": "90%",
  4711. "overflow": 'hidden'
  4712. },
  4713. "onresize": function () { }
  4714. }, {
  4715. closecallback: function () { }
  4716. }, {
  4717. "style": {
  4718. "height": "36px"
  4719. }
  4720. }).form; //创建窗体
  4721. _taskbar = {
  4722. "id": str + _formdiv.id,
  4723. "style": {
  4724. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4725. },
  4726. "name": "电子白板",
  4727. "forms": _formdiv,
  4728. "click": function () {
  4729. U.MD.D.I.openApplication(str, obj, info);
  4730. }
  4731. }
  4732. break;
  4733. case "mind":
  4734. aTool = 3;
  4735. _iframe = $$("iframe", {
  4736. "frameborder": "no",
  4737. "border": "0",
  4738. "scrolling ": "no",
  4739. "style": {
  4740. "cssText": "border:0;width:100%;height:100%"
  4741. },
  4742. "src": "/kityminder-editor/dist/index.html"
  4743. })
  4744. _box.appendChild(_iframe);
  4745. _box.appendChild(_jie);
  4746. _formdiv = new U.UF.UI.form(
  4747. "思维导图",
  4748. _box, { //"/jsmind/example/demo.html"
  4749. "id": "mind" + cid + stage + task + tool,
  4750. "style": {
  4751. "width": "90%",
  4752. "height": "90%",
  4753. "overflow": 'hidden'
  4754. },
  4755. "onresize": function () { }
  4756. }, {
  4757. closecallback: function () { }
  4758. }, {
  4759. "style": {
  4760. "height": "36px"
  4761. }
  4762. }).form; //创建窗体
  4763. _taskbar = {
  4764. "id": str + _formdiv.id,
  4765. "style": {
  4766. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4767. },
  4768. "name": "思维导图",
  4769. "forms": _formdiv,
  4770. "click": function () {
  4771. U.MD.D.I.openApplication(str, obj, info);
  4772. }
  4773. }
  4774. break;
  4775. case "MindMap":
  4776. aTool = 3;
  4777. _iframe = $$("iframe", {
  4778. "frameborder": "no",
  4779. "border": "0",
  4780. "scrolling ": "no",
  4781. "style": {
  4782. "cssText": "border:0;width:100%;height:100%"
  4783. },
  4784. "src": "//cloud.cocorobo.cn/mind/"
  4785. })
  4786. _box.appendChild(_iframe);
  4787. _box.appendChild(_jie);
  4788. _formdiv = new U.UF.UI.form(
  4789. "思维导图",
  4790. _box, { //"/jsmind/example/demo.html"
  4791. "id": "mind" + cid + stage + task + tool,
  4792. "style": {
  4793. "width": "90%",
  4794. "height": "90%",
  4795. "overflow": 'hidden'
  4796. },
  4797. "onresize": function () { }
  4798. }, {
  4799. closecallback: function () { }
  4800. }, {
  4801. "style": {
  4802. "height": "36px"
  4803. }
  4804. }).form; //创建窗体
  4805. _taskbar = {
  4806. "id": str + _formdiv.id,
  4807. "style": {
  4808. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4809. },
  4810. "name": "思维导图",
  4811. "forms": _formdiv,
  4812. "click": function () {
  4813. U.MD.D.I.openApplication(str, obj, info);
  4814. }
  4815. }
  4816. break;
  4817. case "doc":
  4818. aTool = 6;
  4819. _iframe = $$("iframe", {
  4820. "frameborder": "no",
  4821. "border": "0",
  4822. "scrolling ": "no",
  4823. "style": {
  4824. "cssText": "border:0;width:100%;height:100%"
  4825. },
  4826. "src": "/Office/Word/WordEditArea.htm"
  4827. })
  4828. _box.appendChild(_iframe);
  4829. _box.appendChild(_jie);
  4830. _formdiv = new U.UF.UI.form(
  4831. "协同文档",
  4832. _box, {
  4833. "id": "doc" + cid + stage + task + tool,
  4834. "style": {
  4835. "width": "90%",
  4836. "height": "90%",
  4837. "overflow": 'hidden'
  4838. },
  4839. "onresize": function () { }
  4840. }, {
  4841. closecallback: function () { }
  4842. }, {
  4843. "style": {
  4844. "height": "36px"
  4845. }
  4846. }).form; //创建窗体
  4847. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4848. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4849. })
  4850. _taskbar = {
  4851. "id": str + _formdiv.id,
  4852. "style": {
  4853. "backgroundImage": "url(/img/icon/doc.png)"
  4854. },
  4855. "name": "协同文档",
  4856. "forms": _formdiv,
  4857. "click": function () {
  4858. U.MD.D.I.openApplication(str, obj, info);
  4859. }
  4860. }
  4861. break;
  4862. case "mindNetwork": //好友打开
  4863. aTool = 7;
  4864. _iframe = $$("iframe", {
  4865. "webkitallowfullscreen": "",
  4866. "mozallowfullscreen": "",
  4867. "allowfullscreen": "",
  4868. "frameborder": "no",
  4869. "border": "0",
  4870. "scrolling ": "no",
  4871. "style": {
  4872. "cssText": "border:0; width:100%; height:100%;"
  4873. },
  4874. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4875. })
  4876. _box.appendChild(_iframe);
  4877. _box.appendChild(_jie);
  4878. _formdiv = new U.UF.UI.form(
  4879. "思维网格",
  4880. _box, {
  4881. "id": "mindNetwork" + cid + stage + task + tool,
  4882. "style": {
  4883. "width": "90%",
  4884. "height": "90%",
  4885. "overflow": 'hidden'
  4886. },
  4887. "onresize": function () { }
  4888. }, {
  4889. closecallback: function () { }
  4890. }, {
  4891. "style": {
  4892. "height": "36px"
  4893. }
  4894. }).form; //创建窗体
  4895. _taskbar = {
  4896. "id": str + _formdiv.id,
  4897. "style": {
  4898. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4899. },
  4900. "name": "思维网格",
  4901. "forms": _formdiv,
  4902. "click": function () {
  4903. U.MD.D.I.openApplication(str, obj, info);
  4904. }
  4905. }
  4906. break;
  4907. case "courseDesign":
  4908. _iframe = $$("iframe", {
  4909. "webkitallowfullscreen": "",
  4910. "mozallowfullscreen": "",
  4911. "allowfullscreen": "",
  4912. "frameborder": "no",
  4913. "border": "0",
  4914. "scrolling ": "no",
  4915. "style": {
  4916. "cssText": "border:0; width:100%; height:100%;"
  4917. },
  4918. "src": "/course-design-vue"
  4919. })
  4920. _box.appendChild(_iframe);
  4921. _box.appendChild(_jie);
  4922. _formdiv = new U.UF.UI.form(
  4923. "项目设计",
  4924. _box, {
  4925. "id": "courseDesign" + cid + stage + task + tool,
  4926. "style": {
  4927. "width": "90%",
  4928. "height": "90%",
  4929. "overflow": 'hidden'
  4930. },
  4931. "onresize": function () { }
  4932. }, {
  4933. closecallback: function () { }
  4934. }, {
  4935. "style": {
  4936. "height": "36px"
  4937. }
  4938. }).form; //创建窗体
  4939. _taskbar = {
  4940. "id": str + _formdiv.id,
  4941. "style": {
  4942. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4943. },
  4944. "name": "项目设计",
  4945. "forms": _formdiv,
  4946. "click": function () {
  4947. U.MD.D.I.openApplication(str, obj, info);
  4948. }
  4949. }
  4950. break;
  4951. }
  4952. const script1 = document.createElement("script");
  4953. script1.type = "text/javascript";
  4954. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4955. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4956. const script2 = document.createElement("script");
  4957. script2.type = "text/javascript";
  4958. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4959. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4960. const script3 = document.createElement("script");
  4961. script3.type = "text/javascript";
  4962. script3.charset = "UTF-8";
  4963. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4964. const script4 = document.createElement("script");
  4965. script4.type = "text/javascript";
  4966. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4967. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4968. if (_iframe) {
  4969. if (str == 'doc') {
  4970. _iframe = _formdiv.querySelector('iframe')
  4971. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4972. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4973. _iframe.contentWindow.document.body.appendChild(script1);
  4974. _iframe.contentWindow.document.body.appendChild(script2);
  4975. // _iframe.contentWindow.document.body.appendChild(script3);
  4976. _iframe.contentWindow.document.body.appendChild(script4);
  4977. })
  4978. if (onloadListener) {
  4979. _iframe.contentDocument.location.reload()
  4980. } else {
  4981. _iframe.contentDocument.location.reload()
  4982. }
  4983. } else if (str == 'courseDesign') {
  4984. U.UF.DL.iframeLoad(_iframe, function () {
  4985. // _iframe.contentWindow.U.MD.O.W.load();
  4986. // _iframe.contentWindow.document.body.appendChild(script1);
  4987. _iframe.contentWindow.document.body.appendChild(script2);
  4988. _iframe.contentWindow.document.body.appendChild(script4);
  4989. })
  4990. } else if (str == 'mind') {
  4991. _iframe = _formdiv.querySelector('iframe')
  4992. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4993. //
  4994. _iframe.contentWindow.document.body.appendChild(script1);
  4995. _iframe.contentWindow.document.body.appendChild(script2);
  4996. _iframe.contentWindow.document.body.appendChild(script4);
  4997. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4998. })
  4999. if (onloadListener) {
  5000. _iframe.contentDocument.location.reload()
  5001. } else {
  5002. _iframe.contentDocument.location.reload()
  5003. }
  5004. } else if (str == 'whiteboard') {
  5005. _iframe = _formdiv.querySelector('iframe')
  5006. let onloadListener = _iframe.onload = () => {
  5007. _iframe.contentWindow.document.body.appendChild(script1);
  5008. _iframe.contentWindow.document.body.appendChild(script2);
  5009. _iframe.contentWindow.document.body.appendChild(script4);
  5010. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5011. };
  5012. if (onloadListener) {
  5013. _iframe.contentDocument.location.reload()
  5014. } else {
  5015. _iframe.contentDocument.location.reload()
  5016. }
  5017. } else {
  5018. _iframe.onload = () => {
  5019. _iframe.contentWindow.document.body.appendChild(script1);
  5020. _iframe.contentWindow.document.body.appendChild(script2);
  5021. // _iframe.contentWindow.document.body.appendChild(script3);
  5022. _iframe.contentWindow.document.body.appendChild(script4);
  5023. };
  5024. }
  5025. _jie.onclick = async () => {
  5026. let text = ''
  5027. if (aTool == 1) {
  5028. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5029. } else if (aTool == 6) {
  5030. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5031. } else if (aTool == 3) {
  5032. text = await U.MD.D.I.getEditorContent(_iframe);
  5033. }
  5034. _loading.style.display = 'flex'
  5035. console.log(_loading);
  5036. var _ajs = _iframe.contentWindow.document.createElement("script");
  5037. _ajs.type = "text/javascript";
  5038. _ajs.innerHTML =
  5039. // 'console.log(' + _loading + ');\n' +
  5040. 'var _js = document.createElement("script");\n' +
  5041. '_js.type="text/javascript";\n' +
  5042. '_js.charset="UTF-8";\n' +
  5043. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5044. "_js.onload = function(){\n" +
  5045. ' var a = document.getElementsByTagName("img")\n' +
  5046. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5047. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5048. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5049. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5050. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5051. "beforeUpload_shishi(file," +
  5052. "'" +
  5053. _userid +
  5054. "'" +
  5055. ", " +
  5056. "'" +
  5057. _cid +
  5058. "'" +
  5059. ", " +
  5060. "'" +
  5061. _stage +
  5062. "'" +
  5063. ", " +
  5064. "'" +
  5065. _task +
  5066. "'" +
  5067. ", " +
  5068. "'" +
  5069. _tool +
  5070. "'" +
  5071. ", " +
  5072. "'" +
  5073. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5074. "'" +
  5075. ", " +
  5076. "'" +
  5077. aTool +
  5078. "'" +
  5079. ", " +
  5080. "`" +
  5081. text +
  5082. "`" +
  5083. ")\n" +
  5084. " });\n" +
  5085. "}\n" +
  5086. "document.head.appendChild(_js);\n";
  5087. _iframe.contentWindow.document.head.appendChild(_ajs);
  5088. }
  5089. }
  5090. //U.MD.D.I.openClick(str);
  5091. //如果有任务栏信息
  5092. // if (_taskbar) {
  5093. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5094. // }
  5095. }
  5096. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5097. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5098. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5099. _userinfo = US.userInfo, //登录用户信息
  5100. _userid = US.userInfo.userid //登录用户id
  5101. let _iframe;
  5102. let _cid = cid,
  5103. _stage = stage,
  5104. _task = task,
  5105. _tool = tool;
  5106. var _jie = $$("div", {
  5107. "style": {
  5108. "position": "absolute",
  5109. "bottom": "50px",
  5110. "right": "50px",
  5111. "zIndex": "9999",
  5112. "backgroundColor": "#2268bc",
  5113. "color": "#fff",
  5114. "padding": "12px 20px",
  5115. "cursor": "pointer",
  5116. "borderRadius": "4px",
  5117. },
  5118. "innerHTML": "提交作业"
  5119. })
  5120. let aTool = ''
  5121. let _loading = document.createElement('div')
  5122. _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;"
  5123. // _loading.id = "";
  5124. let _lchild = document.createElement('div')
  5125. let _limg = document.createElement('img')
  5126. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5127. _limg.style = "width: 26px;margin-right: 10px;"
  5128. _lchild.appendChild(_limg)
  5129. let _lspan = document.createElement('span')
  5130. _lspan.innerHTML = "上传中..."
  5131. _lchild.appendChild(_lspan)
  5132. _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%);"
  5133. _loading.appendChild(_lchild)
  5134. var _box = $$('div', {
  5135. "style": {
  5136. "position": "relative",
  5137. "width": "100%",
  5138. "height": "100%",
  5139. },
  5140. })
  5141. _box.appendChild(_loading)
  5142. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5143. switch (str) {
  5144. case "whiteboard":
  5145. aTool = 1;
  5146. _iframe = $$("iframe", {
  5147. "frameborder": "no",
  5148. "border": "0",
  5149. "scrolling ": "no",
  5150. "style": {
  5151. "cssText": "border:0;width:100%;height:100%"
  5152. },
  5153. "src": "https://iwb.cocorobo.cn/"
  5154. })
  5155. _box.appendChild(_iframe);
  5156. _box.appendChild(_jie);
  5157. _formdiv = new U.UF.UI.form(
  5158. "电子白板",
  5159. _box, {
  5160. "id": "whiteboard" + cid + stage + task + tool,
  5161. "style": {
  5162. "width": "90%",
  5163. "height": "90%",
  5164. "overflow": 'hidden'
  5165. },
  5166. "onresize": function () { }
  5167. }, {
  5168. closecallback: function () { }
  5169. }, {
  5170. "style": {
  5171. "height": "36px"
  5172. }
  5173. }).form; //创建窗体
  5174. _taskbar = {
  5175. "id": str + _formdiv.id,
  5176. "style": {
  5177. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5178. },
  5179. "name": "电子白板",
  5180. "forms": _formdiv,
  5181. "click": function () {
  5182. U.MD.D.I.openApplication(str, obj, info);
  5183. }
  5184. }
  5185. break;
  5186. case "mind":
  5187. aTool = 3;
  5188. _iframe = $$("iframe", {
  5189. "frameborder": "no",
  5190. "border": "0",
  5191. "scrolling ": "no",
  5192. "style": {
  5193. "cssText": "border:0;width:100%;height:100%"
  5194. },
  5195. "src": "/kityminder-editor/dist/index.html"
  5196. })
  5197. _box.appendChild(_iframe);
  5198. _box.appendChild(_jie);
  5199. _formdiv = new U.UF.UI.form(
  5200. "思维导图",
  5201. _box, { //"/jsmind/example/demo.html"
  5202. "id": "mind" + cid + stage + task + tool,
  5203. "style": {
  5204. "width": "90%",
  5205. "height": "90%",
  5206. "overflow": 'hidden'
  5207. },
  5208. "onresize": function () { }
  5209. }, {
  5210. closecallback: function () { }
  5211. }, {
  5212. "style": {
  5213. "height": "36px"
  5214. }
  5215. }).form; //创建窗体
  5216. _taskbar = {
  5217. "id": str + _formdiv.id,
  5218. "style": {
  5219. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5220. },
  5221. "name": "思维导图",
  5222. "forms": _formdiv,
  5223. "click": function () {
  5224. U.MD.D.I.openApplication(str, obj, info);
  5225. }
  5226. }
  5227. break;
  5228. case "MindMap":
  5229. aTool = 3;
  5230. _iframe = $$("iframe", {
  5231. "frameborder": "no",
  5232. "border": "0",
  5233. "scrolling ": "no",
  5234. "style": {
  5235. "cssText": "border:0;width:100%;height:100%"
  5236. },
  5237. "src": "//cloud.cocorobo.cn/mind/"
  5238. })
  5239. _box.appendChild(_iframe);
  5240. _box.appendChild(_jie);
  5241. _formdiv = new U.UF.UI.form(
  5242. "思维导图",
  5243. _box, { //"/jsmind/example/demo.html"
  5244. "id": "mind" + cid + stage + task + tool,
  5245. "style": {
  5246. "width": "90%",
  5247. "height": "90%",
  5248. "overflow": 'hidden'
  5249. },
  5250. "onresize": function () { }
  5251. }, {
  5252. closecallback: function () { }
  5253. }, {
  5254. "style": {
  5255. "height": "36px"
  5256. }
  5257. }).form; //创建窗体
  5258. _taskbar = {
  5259. "id": str + _formdiv.id,
  5260. "style": {
  5261. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5262. },
  5263. "name": "思维导图",
  5264. "forms": _formdiv,
  5265. "click": function () {
  5266. U.MD.D.I.openApplication(str, obj, info);
  5267. }
  5268. }
  5269. break;
  5270. case "doc":
  5271. aTool = 6;
  5272. _iframe = $$("iframe", {
  5273. "frameborder": "no",
  5274. "border": "0",
  5275. "scrolling ": "no",
  5276. "style": {
  5277. "cssText": "border:0;width:100%;height:100%"
  5278. },
  5279. "src": "/Office/Word/WordEditArea.htm"
  5280. })
  5281. _box.appendChild(_iframe);
  5282. _box.appendChild(_jie);
  5283. _formdiv = new U.UF.UI.form(
  5284. "协同文档",
  5285. _box, {
  5286. "id": "doc" + cid + stage + task + tool,
  5287. "style": {
  5288. "width": "90%",
  5289. "height": "90%",
  5290. "overflow": 'hidden'
  5291. },
  5292. "onresize": function () { }
  5293. }, {
  5294. closecallback: function () { }
  5295. }, {
  5296. "style": {
  5297. "height": "36px"
  5298. }
  5299. }).form; //创建窗体
  5300. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5301. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5302. })
  5303. _taskbar = {
  5304. "id": str + _formdiv.id,
  5305. "style": {
  5306. "backgroundImage": "url(/img/icon/doc.png)"
  5307. },
  5308. "name": "协同文档",
  5309. "forms": _formdiv,
  5310. "click": function () {
  5311. U.MD.D.I.openApplication(str, obj, info);
  5312. }
  5313. }
  5314. break;
  5315. case "mindNetwork": //好友打开
  5316. aTool = 7;
  5317. _iframe = $$("iframe", {
  5318. "webkitallowfullscreen": "",
  5319. "mozallowfullscreen": "",
  5320. "allowfullscreen": "",
  5321. "frameborder": "no",
  5322. "border": "0",
  5323. "scrolling ": "no",
  5324. "style": {
  5325. "cssText": "border:0; width:100%; height:100%;"
  5326. },
  5327. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5328. })
  5329. _box.appendChild(_iframe);
  5330. _box.appendChild(_jie);
  5331. _formdiv = new U.UF.UI.form(
  5332. "思维网格",
  5333. _box, {
  5334. "id": "mindNetwork" + cid + stage + task + tool,
  5335. "style": {
  5336. "width": "90%",
  5337. "height": "90%",
  5338. "overflow": 'hidden'
  5339. },
  5340. "onresize": function () { }
  5341. }, {
  5342. closecallback: function () { }
  5343. }, {
  5344. "style": {
  5345. "height": "36px"
  5346. }
  5347. }).form; //创建窗体
  5348. _taskbar = {
  5349. "id": str + _formdiv.id,
  5350. "style": {
  5351. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5352. },
  5353. "name": "思维网格",
  5354. "forms": _formdiv,
  5355. "click": function () {
  5356. U.MD.D.I.openApplication(str, obj, info);
  5357. }
  5358. }
  5359. break;
  5360. case "courseDesign":
  5361. _iframe = $$("iframe", {
  5362. "webkitallowfullscreen": "",
  5363. "mozallowfullscreen": "",
  5364. "allowfullscreen": "",
  5365. "frameborder": "no",
  5366. "border": "0",
  5367. "scrolling ": "no",
  5368. "style": {
  5369. "cssText": "border:0; width:100%; height:100%;"
  5370. },
  5371. "src": "/course-design-vue"
  5372. })
  5373. _box.appendChild(_iframe);
  5374. _box.appendChild(_jie);
  5375. _formdiv = new U.UF.UI.form(
  5376. "项目设计",
  5377. _box, {
  5378. "id": "courseDesign" + cid + stage + task + tool,
  5379. "style": {
  5380. "width": "90%",
  5381. "height": "90%",
  5382. "overflow": 'hidden'
  5383. },
  5384. "onresize": function () { }
  5385. }, {
  5386. closecallback: function () { }
  5387. }, {
  5388. "style": {
  5389. "height": "36px"
  5390. }
  5391. }).form; //创建窗体
  5392. _taskbar = {
  5393. "id": str + _formdiv.id,
  5394. "style": {
  5395. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5396. },
  5397. "name": "项目设计",
  5398. "forms": _formdiv,
  5399. "click": function () {
  5400. U.MD.D.I.openApplication(str, obj, info);
  5401. }
  5402. }
  5403. break;
  5404. }
  5405. const script1 = document.createElement("script");
  5406. script1.type = "text/javascript";
  5407. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5408. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5409. const script2 = document.createElement("script");
  5410. script2.type = "text/javascript";
  5411. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5412. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5413. const script3 = document.createElement("script");
  5414. script3.type = "text/javascript";
  5415. script3.charset = "UTF-8";
  5416. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5417. const script4 = document.createElement("script");
  5418. script4.type = "text/javascript";
  5419. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5420. script4.src = window.origin + "/js/Common/jietu2E.js";
  5421. if (_iframe) {
  5422. if (str == 'doc') {
  5423. _iframe = _formdiv.querySelector('iframe')
  5424. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5425. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5426. _iframe.contentWindow.document.body.appendChild(script1);
  5427. _iframe.contentWindow.document.body.appendChild(script2);
  5428. // _iframe.contentWindow.document.body.appendChild(script3);
  5429. _iframe.contentWindow.document.body.appendChild(script4);
  5430. })
  5431. if (onloadListener) {
  5432. _iframe.contentDocument.location.reload()
  5433. } else {
  5434. _iframe.contentDocument.location.reload()
  5435. }
  5436. } else if (str == 'courseDesign') {
  5437. U.UF.DL.iframeLoad(_iframe, function () {
  5438. // _iframe.contentWindow.U.MD.O.W.load();
  5439. // _iframe.contentWindow.document.body.appendChild(script1);
  5440. _iframe.contentWindow.document.body.appendChild(script2);
  5441. _iframe.contentWindow.document.body.appendChild(script4);
  5442. })
  5443. } else if (str == 'mind') {
  5444. _iframe = _formdiv.querySelector('iframe')
  5445. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5446. //
  5447. _iframe.contentWindow.document.body.appendChild(script1);
  5448. _iframe.contentWindow.document.body.appendChild(script2);
  5449. _iframe.contentWindow.document.body.appendChild(script4);
  5450. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5451. })
  5452. if (onloadListener) {
  5453. _iframe.contentDocument.location.reload()
  5454. } else {
  5455. _iframe.contentDocument.location.reload()
  5456. }
  5457. } else if (str == 'whiteboard') {
  5458. _iframe = _formdiv.querySelector('iframe')
  5459. let onloadListener = _iframe.onload = () => {
  5460. _iframe.contentWindow.document.body.appendChild(script1);
  5461. _iframe.contentWindow.document.body.appendChild(script2);
  5462. _iframe.contentWindow.document.body.appendChild(script4);
  5463. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5464. };
  5465. if (onloadListener) {
  5466. _iframe.contentDocument.location.reload()
  5467. } else {
  5468. _iframe.contentDocument.location.reload()
  5469. }
  5470. } else {
  5471. _iframe.onload = () => {
  5472. _iframe.contentWindow.document.body.appendChild(script1);
  5473. _iframe.contentWindow.document.body.appendChild(script2);
  5474. // _iframe.contentWindow.document.body.appendChild(script3);
  5475. _iframe.contentWindow.document.body.appendChild(script4);
  5476. };
  5477. }
  5478. _jie.onclick = async () => {
  5479. let text = ''
  5480. if (aTool == 1) {
  5481. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5482. } else if (aTool == 6) {
  5483. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5484. } else if (aTool == 3) {
  5485. text = await U.MD.D.I.getEditorContent(_iframe);
  5486. }
  5487. _loading.style.display = 'flex'
  5488. console.log(_loading);
  5489. var _ajs = _iframe.contentWindow.document.createElement("script");
  5490. _ajs.type = "text/javascript";
  5491. _ajs.innerHTML =
  5492. // 'console.log(' + _loading + ');\n' +
  5493. 'var _js = document.createElement("script");\n' +
  5494. '_js.type="text/javascript";\n' +
  5495. '_js.charset="UTF-8";\n' +
  5496. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5497. "_js.onload = function(){\n" +
  5498. ' var a = document.getElementsByTagName("img")\n' +
  5499. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5500. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5501. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5502. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5503. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5504. "beforeUpload_shishi(file," +
  5505. "'" +
  5506. _userid +
  5507. "'" +
  5508. ", " +
  5509. "'" +
  5510. _cid +
  5511. "'" +
  5512. ", " +
  5513. "'" +
  5514. _stage +
  5515. "'" +
  5516. ", " +
  5517. "'" +
  5518. _task +
  5519. "'" +
  5520. ", " +
  5521. "'" +
  5522. _tool +
  5523. "'" +
  5524. ", " +
  5525. "'" +
  5526. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5527. "'" +
  5528. ", " +
  5529. "'" +
  5530. aTool +
  5531. "'" +
  5532. ", " +
  5533. "`" +
  5534. text +
  5535. "`" +
  5536. ")\n" +
  5537. " });\n" +
  5538. "}\n" +
  5539. "document.head.appendChild(_js);\n";
  5540. _iframe.contentWindow.document.head.appendChild(_ajs);
  5541. }
  5542. }
  5543. //U.MD.D.I.openClick(str);
  5544. //如果有任务栏信息
  5545. // if (_taskbar) {
  5546. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5547. // }
  5548. }
  5549. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5550. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5551. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5552. _userid = student.userid, //登录用户id
  5553. _username = student.student //用户名字
  5554. let _iframe;
  5555. let _cid = cid,
  5556. _stage = stage,
  5557. _task = task,
  5558. _tool = tool;
  5559. var _jie = $$("div", {
  5560. "style": {
  5561. "position": "absolute",
  5562. "bottom": "50px",
  5563. "right": "50px",
  5564. "zIndex": "9999",
  5565. "backgroundColor": "#2268bc",
  5566. "color": "#fff",
  5567. "padding": "12px 20px",
  5568. "cursor": "pointer",
  5569. "borderRadius": "4px",
  5570. },
  5571. "innerHTML": "提交作业"
  5572. })
  5573. let aTool = ''
  5574. let _loading = document.createElement('div')
  5575. _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;"
  5576. // _loading.id = "";
  5577. let _lchild = document.createElement('div')
  5578. let _limg = document.createElement('img')
  5579. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5580. _limg.style = "width: 26px;margin-right: 10px;"
  5581. _lchild.appendChild(_limg)
  5582. let _lspan = document.createElement('span')
  5583. _lspan.innerHTML = "上传中..."
  5584. _lchild.appendChild(_lspan)
  5585. _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%);"
  5586. _loading.appendChild(_lchild)
  5587. var _box = $$('div', {
  5588. "style": {
  5589. "position": "relative",
  5590. "width": "100%",
  5591. "height": "100%",
  5592. },
  5593. })
  5594. _box.appendChild(_loading)
  5595. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5596. switch (str) {
  5597. case "whiteboard":
  5598. aTool = 1;
  5599. _iframe = $$("iframe", {
  5600. "frameborder": "no",
  5601. "border": "0",
  5602. "scrolling ": "no",
  5603. "style": {
  5604. "cssText": "border:0;width:100%;height:100%"
  5605. },
  5606. "src": "https://iwb.cocorobo.cn/"
  5607. })
  5608. _box.appendChild(_iframe);
  5609. _box.appendChild(_jie);
  5610. _formdiv = new U.UF.UI.form(
  5611. "电子白板-" + _username,
  5612. _box, {
  5613. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5614. "style": {
  5615. "width": "90%",
  5616. "height": "90%",
  5617. "overflow": 'hidden'
  5618. },
  5619. "onresize": function () { }
  5620. }, {
  5621. closecallback: function () { }
  5622. }, {
  5623. "style": {
  5624. "height": "36px"
  5625. }
  5626. }).form; //创建窗体
  5627. _taskbar = {
  5628. "id": str + _formdiv.id,
  5629. "style": {
  5630. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5631. },
  5632. "name": "电子白板",
  5633. "forms": _formdiv,
  5634. "click": function () {
  5635. U.MD.D.I.openApplication(str, obj, info);
  5636. }
  5637. }
  5638. break;
  5639. case "mind":
  5640. aTool = 3;
  5641. _iframe = $$("iframe", {
  5642. "frameborder": "no",
  5643. "border": "0",
  5644. "scrolling ": "no",
  5645. "style": {
  5646. "cssText": "border:0;width:100%;height:100%"
  5647. },
  5648. "src": "/kityminder-editor/dist/index.html"
  5649. })
  5650. _box.appendChild(_iframe);
  5651. _box.appendChild(_jie);
  5652. _formdiv = new U.UF.UI.form(
  5653. "思维导图-" + _username,
  5654. _box, { //"/jsmind/example/demo.html"
  5655. "id": "mind" + cid + stage + task + tool + _userid,
  5656. "style": {
  5657. "width": "90%",
  5658. "height": "90%",
  5659. "overflow": 'hidden'
  5660. },
  5661. "onresize": function () { }
  5662. }, {
  5663. closecallback: function () { }
  5664. }, {
  5665. "style": {
  5666. "height": "36px"
  5667. }
  5668. }).form; //创建窗体
  5669. _taskbar = {
  5670. "id": str + _formdiv.id,
  5671. "style": {
  5672. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5673. },
  5674. "name": "思维导图",
  5675. "forms": _formdiv,
  5676. "click": function () {
  5677. U.MD.D.I.openApplication(str, obj, info);
  5678. }
  5679. }
  5680. break;
  5681. case "MindMap":
  5682. aTool = 3;
  5683. _iframe = $$("iframe", {
  5684. "frameborder": "no",
  5685. "border": "0",
  5686. "scrolling ": "no",
  5687. "style": {
  5688. "cssText": "border:0;width:100%;height:100%"
  5689. },
  5690. "src": "//cloud.cocorobo.cn/mind/"
  5691. })
  5692. _box.appendChild(_iframe);
  5693. _box.appendChild(_jie);
  5694. _formdiv = new U.UF.UI.form(
  5695. "思维导图-" + _username,
  5696. _box, { //"/jsmind/example/demo.html"
  5697. "id": "mind" + cid + stage + task + tool + _userid,
  5698. "style": {
  5699. "width": "90%",
  5700. "height": "90%",
  5701. "overflow": 'hidden'
  5702. },
  5703. "onresize": function () { }
  5704. }, {
  5705. closecallback: function () { }
  5706. }, {
  5707. "style": {
  5708. "height": "36px"
  5709. }
  5710. }).form; //创建窗体
  5711. _taskbar = {
  5712. "id": str + _formdiv.id,
  5713. "style": {
  5714. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5715. },
  5716. "name": "思维导图",
  5717. "forms": _formdiv,
  5718. "click": function () {
  5719. U.MD.D.I.openApplication(str, obj, info);
  5720. }
  5721. }
  5722. break;
  5723. case "doc":
  5724. aTool = 6;
  5725. _iframe = $$("iframe", {
  5726. "frameborder": "no",
  5727. "border": "0",
  5728. "scrolling ": "no",
  5729. "style": {
  5730. "cssText": "border:0;width:100%;height:100%"
  5731. },
  5732. "src": "/Office/Word/WordEditArea.htm"
  5733. })
  5734. _box.appendChild(_iframe);
  5735. _box.appendChild(_jie);
  5736. _formdiv = new U.UF.UI.form(
  5737. "协同文档-" + _username,
  5738. _box, {
  5739. "id": "doc" + cid + stage + task + tool + _userid,
  5740. "style": {
  5741. "width": "90%",
  5742. "height": "90%",
  5743. "overflow": 'hidden'
  5744. },
  5745. "onresize": function () { }
  5746. }, {
  5747. closecallback: function () { }
  5748. }, {
  5749. "style": {
  5750. "height": "36px"
  5751. }
  5752. }).form; //创建窗体
  5753. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5754. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5755. })
  5756. _taskbar = {
  5757. "id": str + _formdiv.id,
  5758. "style": {
  5759. "backgroundImage": "url(/img/icon/doc.png)"
  5760. },
  5761. "name": "协同文档",
  5762. "forms": _formdiv,
  5763. "click": function () {
  5764. U.MD.D.I.openApplication(str, obj, info);
  5765. }
  5766. }
  5767. break;
  5768. case "mindNetwork": //好友打开
  5769. aTool = 7;
  5770. _iframe = $$("iframe", {
  5771. "webkitallowfullscreen": "",
  5772. "mozallowfullscreen": "",
  5773. "allowfullscreen": "",
  5774. "frameborder": "no",
  5775. "border": "0",
  5776. "scrolling ": "no",
  5777. "style": {
  5778. "cssText": "border:0; width:100%; height:100%;"
  5779. },
  5780. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5781. })
  5782. _box.appendChild(_iframe);
  5783. _box.appendChild(_jie);
  5784. _formdiv = new U.UF.UI.form(
  5785. "思维网格-" + _username,
  5786. _box, {
  5787. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5788. "style": {
  5789. "width": "90%",
  5790. "height": "90%",
  5791. "overflow": 'hidden'
  5792. },
  5793. "onresize": function () { }
  5794. }, {
  5795. closecallback: function () { }
  5796. }, {
  5797. "style": {
  5798. "height": "36px"
  5799. }
  5800. }).form; //创建窗体
  5801. _taskbar = {
  5802. "id": str + _formdiv.id,
  5803. "style": {
  5804. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5805. },
  5806. "name": "思维网格",
  5807. "forms": _formdiv,
  5808. "click": function () {
  5809. U.MD.D.I.openApplication(str, obj, info);
  5810. }
  5811. }
  5812. break;
  5813. case "courseDesign":
  5814. _iframe = $$("iframe", {
  5815. "webkitallowfullscreen": "",
  5816. "mozallowfullscreen": "",
  5817. "allowfullscreen": "",
  5818. "frameborder": "no",
  5819. "border": "0",
  5820. "scrolling ": "no",
  5821. "style": {
  5822. "cssText": "border:0; width:100%; height:100%;"
  5823. },
  5824. "src": "/course-design-vue"
  5825. })
  5826. _box.appendChild(_iframe);
  5827. _box.appendChild(_jie);
  5828. _formdiv = new U.UF.UI.form(
  5829. "项目设计-" + _username,
  5830. _box, {
  5831. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5832. "style": {
  5833. "width": "90%",
  5834. "height": "90%",
  5835. "overflow": 'hidden'
  5836. },
  5837. "onresize": function () { }
  5838. }, {
  5839. closecallback: function () { }
  5840. }, {
  5841. "style": {
  5842. "height": "36px"
  5843. }
  5844. }).form; //创建窗体
  5845. _taskbar = {
  5846. "id": str + _formdiv.id,
  5847. "style": {
  5848. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5849. },
  5850. "name": "项目设计",
  5851. "forms": _formdiv,
  5852. "click": function () {
  5853. U.MD.D.I.openApplication(str, obj, info);
  5854. }
  5855. }
  5856. break;
  5857. }
  5858. const script1 = document.createElement("script");
  5859. script1.type = "text/javascript";
  5860. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5861. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5862. const script2 = document.createElement("script");
  5863. script2.type = "text/javascript";
  5864. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5865. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5866. const script3 = document.createElement("script");
  5867. script3.type = "text/javascript";
  5868. script3.charset = "UTF-8";
  5869. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5870. const script4 = document.createElement("script");
  5871. script4.type = "text/javascript";
  5872. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5873. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5874. if (_iframe) {
  5875. if (str == 'doc') {
  5876. _iframe = _formdiv.querySelector('iframe')
  5877. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5878. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5879. _iframe.contentWindow.document.body.appendChild(script1);
  5880. _iframe.contentWindow.document.body.appendChild(script2);
  5881. // _iframe.contentWindow.document.body.appendChild(script3);
  5882. _iframe.contentWindow.document.body.appendChild(script4);
  5883. })
  5884. if (onloadListener) {
  5885. _iframe.contentDocument.location.reload()
  5886. } else {
  5887. _iframe.contentDocument.location.reload()
  5888. }
  5889. } else if (str == 'courseDesign') {
  5890. U.UF.DL.iframeLoad(_iframe, function () {
  5891. // _iframe.contentWindow.U.MD.O.W.load();
  5892. // _iframe.contentWindow.document.body.appendChild(script1);
  5893. _iframe.contentWindow.document.body.appendChild(script2);
  5894. _iframe.contentWindow.document.body.appendChild(script4);
  5895. })
  5896. } else if (str == 'mind') {
  5897. _iframe = _formdiv.querySelector('iframe')
  5898. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5899. //
  5900. _iframe.contentWindow.document.body.appendChild(script1);
  5901. _iframe.contentWindow.document.body.appendChild(script2);
  5902. _iframe.contentWindow.document.body.appendChild(script4);
  5903. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5904. })
  5905. if (onloadListener) {
  5906. _iframe.contentDocument.location.reload()
  5907. } else {
  5908. _iframe.contentDocument.location.reload()
  5909. }
  5910. } else if (str == 'whiteboard') {
  5911. _iframe = _formdiv.querySelector('iframe')
  5912. let onloadListener = _iframe.onload = () => {
  5913. _iframe.contentWindow.document.body.appendChild(script1);
  5914. _iframe.contentWindow.document.body.appendChild(script2);
  5915. _iframe.contentWindow.document.body.appendChild(script4);
  5916. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5917. };
  5918. if (onloadListener) {
  5919. _iframe.contentDocument.location.reload()
  5920. } else {
  5921. _iframe.contentDocument.location.reload()
  5922. }
  5923. } else {
  5924. _iframe.onload = () => {
  5925. _iframe.contentWindow.document.body.appendChild(script1);
  5926. _iframe.contentWindow.document.body.appendChild(script2);
  5927. // _iframe.contentWindow.document.body.appendChild(script3);
  5928. _iframe.contentWindow.document.body.appendChild(script4);
  5929. };
  5930. }
  5931. _jie.onclick = async () => {
  5932. let text = ''
  5933. if (aTool == 1) {
  5934. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5935. } else if (aTool == 6) {
  5936. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5937. } else if (aTool == 3) {
  5938. text = await U.MD.D.I.getEditorContent(_iframe);
  5939. }
  5940. _loading.style.display = 'flex'
  5941. console.log(_loading);
  5942. var _ajs = _iframe.contentWindow.document.createElement("script");
  5943. _ajs.type = "text/javascript";
  5944. _ajs.innerHTML =
  5945. // 'console.log(' + _loading + ');\n' +
  5946. 'var _js = document.createElement("script");\n' +
  5947. '_js.type="text/javascript";\n' +
  5948. '_js.charset="UTF-8";\n' +
  5949. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5950. "_js.onload = function(){\n" +
  5951. ' var a = document.getElementsByTagName("img")\n' +
  5952. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5953. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5954. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5955. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5956. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5957. "beforeUpload_shishi(file," +
  5958. "'" +
  5959. _userid +
  5960. "'" +
  5961. ", " +
  5962. "'" +
  5963. _cid +
  5964. "'" +
  5965. ", " +
  5966. "'" +
  5967. _stage +
  5968. "'" +
  5969. ", " +
  5970. "'" +
  5971. _task +
  5972. "'" +
  5973. ", " +
  5974. "'" +
  5975. _tool +
  5976. "'" +
  5977. ", " +
  5978. "'" +
  5979. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5980. "'" +
  5981. ", " +
  5982. "'" +
  5983. aTool +
  5984. "'" +
  5985. ", " +
  5986. "`" +
  5987. text +
  5988. "`" +
  5989. ")\n" +
  5990. " });\n" +
  5991. "}\n" +
  5992. "document.head.appendChild(_js);\n";
  5993. _iframe.contentWindow.document.head.appendChild(_ajs);
  5994. }
  5995. }
  5996. }
  5997. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  5998. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5999. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6000. _userid = student.userid, //登录用户id
  6001. _username = student.student //用户名字
  6002. let _iframe;
  6003. let _cid = cid,
  6004. _stage = stage,
  6005. _task = task,
  6006. _tool = tool;
  6007. var _jie = $$("div", {
  6008. "style": {
  6009. "position": "absolute",
  6010. "bottom": "50px",
  6011. "right": "50px",
  6012. "zIndex": "9999",
  6013. "backgroundColor": "#2268bc",
  6014. "color": "#fff",
  6015. "padding": "12px 20px",
  6016. "cursor": "pointer",
  6017. "borderRadius": "4px",
  6018. },
  6019. "innerHTML": "提交作业"
  6020. })
  6021. let aTool = ''
  6022. let _loading = document.createElement('div')
  6023. _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;"
  6024. // _loading.id = "";
  6025. let _lchild = document.createElement('div')
  6026. let _limg = document.createElement('img')
  6027. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6028. _limg.style = "width: 26px;margin-right: 10px;"
  6029. _lchild.appendChild(_limg)
  6030. let _lspan = document.createElement('span')
  6031. _lspan.innerHTML = "上传中..."
  6032. _lchild.appendChild(_lspan)
  6033. _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%);"
  6034. _loading.appendChild(_lchild)
  6035. var _box = $$('div', {
  6036. "style": {
  6037. "position": "relative",
  6038. "width": "100%",
  6039. "height": "100%",
  6040. },
  6041. })
  6042. _box.appendChild(_loading)
  6043. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6044. switch (str) {
  6045. case "whiteboard":
  6046. aTool = 1;
  6047. _iframe = $$("iframe", {
  6048. "frameborder": "no",
  6049. "border": "0",
  6050. "scrolling ": "no",
  6051. "style": {
  6052. "cssText": "border:0;width:100%;height:100%"
  6053. },
  6054. "src": "https://iwb.cocorobo.cn/"
  6055. })
  6056. _box.appendChild(_iframe);
  6057. _box.appendChild(_jie);
  6058. _formdiv = new U.UF.UI.form(
  6059. "电子白板-" + _username,
  6060. _box, {
  6061. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6062. "style": {
  6063. "width": "90%",
  6064. "height": "90%",
  6065. "overflow": 'hidden'
  6066. },
  6067. "onresize": function () { }
  6068. }, {
  6069. closecallback: function () { }
  6070. }, {
  6071. "style": {
  6072. "height": "36px"
  6073. }
  6074. }).form; //创建窗体
  6075. _taskbar = {
  6076. "id": str + _formdiv.id,
  6077. "style": {
  6078. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6079. },
  6080. "name": "电子白板",
  6081. "forms": _formdiv,
  6082. "click": function () {
  6083. U.MD.D.I.openApplication(str, obj, info);
  6084. }
  6085. }
  6086. break;
  6087. case "mind":
  6088. aTool = 3;
  6089. _iframe = $$("iframe", {
  6090. "frameborder": "no",
  6091. "border": "0",
  6092. "scrolling ": "no",
  6093. "style": {
  6094. "cssText": "border:0;width:100%;height:100%"
  6095. },
  6096. "src": "/kityminder-editor/dist/index.html"
  6097. })
  6098. _box.appendChild(_iframe);
  6099. _box.appendChild(_jie);
  6100. _formdiv = new U.UF.UI.form(
  6101. "思维导图-" + _username,
  6102. _box, { //"/jsmind/example/demo.html"
  6103. "id": "mind" + cid + stage + task + tool + _userid,
  6104. "style": {
  6105. "width": "90%",
  6106. "height": "90%",
  6107. "overflow": 'hidden'
  6108. },
  6109. "onresize": function () { }
  6110. }, {
  6111. closecallback: function () { }
  6112. }, {
  6113. "style": {
  6114. "height": "36px"
  6115. }
  6116. }).form; //创建窗体
  6117. _taskbar = {
  6118. "id": str + _formdiv.id,
  6119. "style": {
  6120. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6121. },
  6122. "name": "思维导图",
  6123. "forms": _formdiv,
  6124. "click": function () {
  6125. U.MD.D.I.openApplication(str, obj, info);
  6126. }
  6127. }
  6128. break;
  6129. case "MindMap":
  6130. aTool = 3;
  6131. _iframe = $$("iframe", {
  6132. "frameborder": "no",
  6133. "border": "0",
  6134. "scrolling ": "no",
  6135. "style": {
  6136. "cssText": "border:0;width:100%;height:100%"
  6137. },
  6138. "src": "//cloud.cocorobo.cn/mind/"
  6139. })
  6140. _box.appendChild(_iframe);
  6141. _box.appendChild(_jie);
  6142. _formdiv = new U.UF.UI.form(
  6143. "思维导图-" + _username,
  6144. _box, { //"/jsmind/example/demo.html"
  6145. "id": "mind" + cid + stage + task + tool + _userid,
  6146. "style": {
  6147. "width": "90%",
  6148. "height": "90%",
  6149. "overflow": 'hidden'
  6150. },
  6151. "onresize": function () { }
  6152. }, {
  6153. closecallback: function () { }
  6154. }, {
  6155. "style": {
  6156. "height": "36px"
  6157. }
  6158. }).form; //创建窗体
  6159. _taskbar = {
  6160. "id": str + _formdiv.id,
  6161. "style": {
  6162. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6163. },
  6164. "name": "思维导图",
  6165. "forms": _formdiv,
  6166. "click": function () {
  6167. U.MD.D.I.openApplication(str, obj, info);
  6168. }
  6169. }
  6170. break;
  6171. case "doc":
  6172. aTool = 6;
  6173. _iframe = $$("iframe", {
  6174. "frameborder": "no",
  6175. "border": "0",
  6176. "scrolling ": "no",
  6177. "style": {
  6178. "cssText": "border:0;width:100%;height:100%"
  6179. },
  6180. "src": "/Office/Word/WordEditArea.htm"
  6181. })
  6182. _box.appendChild(_iframe);
  6183. _box.appendChild(_jie);
  6184. _formdiv = new U.UF.UI.form(
  6185. "协同文档-" + _username,
  6186. _box, {
  6187. "id": "doc" + cid + stage + task + tool + _userid,
  6188. "style": {
  6189. "width": "90%",
  6190. "height": "90%",
  6191. "overflow": 'hidden'
  6192. },
  6193. "onresize": function () { }
  6194. }, {
  6195. closecallback: function () { }
  6196. }, {
  6197. "style": {
  6198. "height": "36px"
  6199. }
  6200. }).form; //创建窗体
  6201. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6202. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6203. })
  6204. _taskbar = {
  6205. "id": str + _formdiv.id,
  6206. "style": {
  6207. "backgroundImage": "url(/img/icon/doc.png)"
  6208. },
  6209. "name": "协同文档",
  6210. "forms": _formdiv,
  6211. "click": function () {
  6212. U.MD.D.I.openApplication(str, obj, info);
  6213. }
  6214. }
  6215. break;
  6216. case "mindNetwork": //好友打开
  6217. aTool = 7;
  6218. _iframe = $$("iframe", {
  6219. "webkitallowfullscreen": "",
  6220. "mozallowfullscreen": "",
  6221. "allowfullscreen": "",
  6222. "frameborder": "no",
  6223. "border": "0",
  6224. "scrolling ": "no",
  6225. "style": {
  6226. "cssText": "border:0; width:100%; height:100%;"
  6227. },
  6228. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6229. })
  6230. _box.appendChild(_iframe);
  6231. _box.appendChild(_jie);
  6232. _formdiv = new U.UF.UI.form(
  6233. "思维网格-" + _username,
  6234. _box, {
  6235. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6236. "style": {
  6237. "width": "90%",
  6238. "height": "90%",
  6239. "overflow": 'hidden'
  6240. },
  6241. "onresize": function () { }
  6242. }, {
  6243. closecallback: function () { }
  6244. }, {
  6245. "style": {
  6246. "height": "36px"
  6247. }
  6248. }).form; //创建窗体
  6249. _taskbar = {
  6250. "id": str + _formdiv.id,
  6251. "style": {
  6252. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6253. },
  6254. "name": "思维网格",
  6255. "forms": _formdiv,
  6256. "click": function () {
  6257. U.MD.D.I.openApplication(str, obj, info);
  6258. }
  6259. }
  6260. break;
  6261. case "courseDesign":
  6262. _iframe = $$("iframe", {
  6263. "webkitallowfullscreen": "",
  6264. "mozallowfullscreen": "",
  6265. "allowfullscreen": "",
  6266. "frameborder": "no",
  6267. "border": "0",
  6268. "scrolling ": "no",
  6269. "style": {
  6270. "cssText": "border:0; width:100%; height:100%;"
  6271. },
  6272. "src": "/course-design-vue"
  6273. })
  6274. _box.appendChild(_iframe);
  6275. _box.appendChild(_jie);
  6276. _formdiv = new U.UF.UI.form(
  6277. "项目设计-" + _username,
  6278. _box, {
  6279. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6280. "style": {
  6281. "width": "90%",
  6282. "height": "90%",
  6283. "overflow": 'hidden'
  6284. },
  6285. "onresize": function () { }
  6286. }, {
  6287. closecallback: function () { }
  6288. }, {
  6289. "style": {
  6290. "height": "36px"
  6291. }
  6292. }).form; //创建窗体
  6293. _taskbar = {
  6294. "id": str + _formdiv.id,
  6295. "style": {
  6296. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6297. },
  6298. "name": "项目设计",
  6299. "forms": _formdiv,
  6300. "click": function () {
  6301. U.MD.D.I.openApplication(str, obj, info);
  6302. }
  6303. }
  6304. break;
  6305. }
  6306. const script1 = document.createElement("script");
  6307. script1.type = "text/javascript";
  6308. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6309. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6310. const script2 = document.createElement("script");
  6311. script2.type = "text/javascript";
  6312. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6313. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6314. const script3 = document.createElement("script");
  6315. script3.type = "text/javascript";
  6316. script3.charset = "UTF-8";
  6317. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6318. const script4 = document.createElement("script");
  6319. script4.type = "text/javascript";
  6320. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6321. script4.src = window.origin + "/js/Common/jietu2E.js";
  6322. if (_iframe) {
  6323. if (str == 'doc') {
  6324. _iframe = _formdiv.querySelector('iframe')
  6325. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6326. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6327. _iframe.contentWindow.document.body.appendChild(script1);
  6328. _iframe.contentWindow.document.body.appendChild(script2);
  6329. // _iframe.contentWindow.document.body.appendChild(script3);
  6330. _iframe.contentWindow.document.body.appendChild(script4);
  6331. })
  6332. if (onloadListener) {
  6333. _iframe.contentDocument.location.reload()
  6334. } else {
  6335. _iframe.contentDocument.location.reload()
  6336. }
  6337. } else if (str == 'courseDesign') {
  6338. U.UF.DL.iframeLoad(_iframe, function () {
  6339. // _iframe.contentWindow.U.MD.O.W.load();
  6340. // _iframe.contentWindow.document.body.appendChild(script1);
  6341. _iframe.contentWindow.document.body.appendChild(script2);
  6342. _iframe.contentWindow.document.body.appendChild(script4);
  6343. })
  6344. } else if (str == 'mind') {
  6345. _iframe = _formdiv.querySelector('iframe')
  6346. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6347. //
  6348. _iframe.contentWindow.document.body.appendChild(script1);
  6349. _iframe.contentWindow.document.body.appendChild(script2);
  6350. _iframe.contentWindow.document.body.appendChild(script4);
  6351. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6352. })
  6353. if (onloadListener) {
  6354. _iframe.contentDocument.location.reload()
  6355. } else {
  6356. _iframe.contentDocument.location.reload()
  6357. }
  6358. } else if (str == 'whiteboard') {
  6359. _iframe = _formdiv.querySelector('iframe')
  6360. let onloadListener = _iframe.onload = () => {
  6361. _iframe.contentWindow.document.body.appendChild(script1);
  6362. _iframe.contentWindow.document.body.appendChild(script2);
  6363. _iframe.contentWindow.document.body.appendChild(script4);
  6364. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6365. };
  6366. if (onloadListener) {
  6367. _iframe.contentDocument.location.reload()
  6368. } else {
  6369. _iframe.contentDocument.location.reload()
  6370. }
  6371. } else {
  6372. _iframe.onload = () => {
  6373. _iframe.contentWindow.document.body.appendChild(script1);
  6374. _iframe.contentWindow.document.body.appendChild(script2);
  6375. // _iframe.contentWindow.document.body.appendChild(script3);
  6376. _iframe.contentWindow.document.body.appendChild(script4);
  6377. };
  6378. }
  6379. _jie.onclick = async () => {
  6380. let text = ''
  6381. if (aTool == 1) {
  6382. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6383. } else if (aTool == 6) {
  6384. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6385. } else if (aTool == 3) {
  6386. text = await U.MD.D.I.getEditorContent(_iframe);
  6387. }
  6388. _loading.style.display = 'flex'
  6389. console.log(_loading);
  6390. var _ajs = _iframe.contentWindow.document.createElement("script");
  6391. _ajs.type = "text/javascript";
  6392. _ajs.innerHTML =
  6393. // 'console.log(' + _loading + ');\n' +
  6394. 'var _js = document.createElement("script");\n' +
  6395. '_js.type="text/javascript";\n' +
  6396. '_js.charset="UTF-8";\n' +
  6397. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6398. "_js.onload = function(){\n" +
  6399. ' var a = document.getElementsByTagName("img")\n' +
  6400. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6401. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6402. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6403. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6404. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6405. "beforeUpload_shishi(file," +
  6406. "'" +
  6407. _userid +
  6408. "'" +
  6409. ", " +
  6410. "'" +
  6411. _cid +
  6412. "'" +
  6413. ", " +
  6414. "'" +
  6415. _stage +
  6416. "'" +
  6417. ", " +
  6418. "'" +
  6419. _task +
  6420. "'" +
  6421. ", " +
  6422. "'" +
  6423. _tool +
  6424. "'" +
  6425. ", " +
  6426. "'" +
  6427. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6428. "'" +
  6429. ", " +
  6430. "'" +
  6431. aTool +
  6432. "'" +
  6433. ", " +
  6434. "`" +
  6435. text +
  6436. "`" +
  6437. ")\n" +
  6438. " });\n" +
  6439. "}\n" +
  6440. "document.head.appendChild(_js);\n";
  6441. _iframe.contentWindow.document.head.appendChild(_ajs);
  6442. }
  6443. }
  6444. }
  6445. U.MD.D.I.getEditorContent = function (iframe) {
  6446. return new Promise((resolve, reject) => {
  6447. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6448. console.log(content);
  6449. resolve(content)
  6450. });
  6451. });
  6452. }
  6453. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6454. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6455. // if (res.value[0].length > 0) {
  6456. // // resolve(res.value[0][0].text);
  6457. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6458. // $(fileInput).val('');
  6459. // });
  6460. // }
  6461. // }, [], { "type": "GET", "withCredentials": true });
  6462. var xmlhttp;
  6463. var Mac, Sn, DeviceId
  6464. if (window.XMLHttpRequest) {
  6465. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6466. xmlhttp = new XMLHttpRequest();
  6467. } else {
  6468. // IE6, IE5 浏览器执行代码
  6469. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6470. }
  6471. xmlhttp.onreadystatechange = function () {
  6472. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6473. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6474. // resolve(res.value[0][0].text);
  6475. if (type == '2') {
  6476. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6477. } else if (type == '3') {
  6478. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6479. }
  6480. } else {
  6481. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6482. }
  6483. }
  6484. }
  6485. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6486. xmlhttp.send();
  6487. }
  6488. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6489. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6490. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6491. _userinfo = US.userInfo, //登录用户信息
  6492. _userid = US.userInfo.userid //登录用户id
  6493. let _iframe;
  6494. let _cid = cid,
  6495. _stage = stage,
  6496. _task = task,
  6497. _tool = tool;
  6498. var _jie = $$("div", {
  6499. "style": {
  6500. "position": "absolute",
  6501. "bottom": "50px",
  6502. "right": "50px",
  6503. "zIndex": "9999",
  6504. "backgroundColor": "#2268bc",
  6505. "color": "#fff",
  6506. "padding": "12px 20px",
  6507. "cursor": "pointer",
  6508. "borderRadius": "4px",
  6509. },
  6510. "innerHTML": "确认并提交"
  6511. })
  6512. let aTool = ''
  6513. let _loading = document.createElement('div')
  6514. _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;"
  6515. // _loading.id = "";
  6516. let _lchild = document.createElement('div')
  6517. let _limg = document.createElement('img')
  6518. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6519. _limg.style = "width: 26px;margin-right: 10px;"
  6520. _lchild.appendChild(_limg)
  6521. let _lspan = document.createElement('span')
  6522. _lspan.innerHTML = "上传中..."
  6523. _lchild.appendChild(_lspan)
  6524. _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%);"
  6525. _loading.appendChild(_lchild)
  6526. var _box = $$('div', {
  6527. "style": {
  6528. "position": "relative",
  6529. "width": "100%",
  6530. "height": "100%",
  6531. },
  6532. })
  6533. _box.appendChild(_loading)
  6534. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6535. switch (str) {
  6536. case "whiteboard":
  6537. aTool = 1;
  6538. _iframe = $$("iframe", {
  6539. "frameborder": "no",
  6540. "border": "0",
  6541. "scrolling ": "no",
  6542. "style": {
  6543. "cssText": "border:0;width:100%;height:100%"
  6544. },
  6545. "src": "https://iwb.cocorobo.cn/"
  6546. })
  6547. _box.appendChild(_iframe);
  6548. _box.appendChild(_jie);
  6549. _formdiv = new U.UF.UI.form(
  6550. "电子白板",
  6551. _box, {
  6552. "id": "whiteboards" + cid + stage + task + tool,
  6553. "style": {
  6554. "width": "90%",
  6555. "height": "90%",
  6556. "overflow": 'hidden'
  6557. },
  6558. "onresize": function () { }
  6559. }, {
  6560. closecallback: function () { }
  6561. }, {
  6562. "style": {
  6563. "height": "36px"
  6564. }
  6565. }).form; //创建窗体
  6566. _taskbar = {
  6567. "id": str + _formdiv.id,
  6568. "style": {
  6569. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6570. },
  6571. "name": "电子白板",
  6572. "forms": _formdiv,
  6573. "click": function () {
  6574. U.MD.D.I.openApplication(str, obj, info);
  6575. }
  6576. }
  6577. break;
  6578. case "mind":
  6579. aTool = 3;
  6580. _iframe = $$("iframe", {
  6581. "frameborder": "no",
  6582. "border": "0",
  6583. "scrolling ": "no",
  6584. "style": {
  6585. "cssText": "border:0;width:100%;height:100%"
  6586. },
  6587. "src": "/kityminder-editor/dist/index.html"
  6588. });
  6589. _box.appendChild(_iframe);
  6590. _box.appendChild(_jie);
  6591. _formdiv = new U.UF.UI.form(
  6592. "思维导图",
  6593. _box, { //"/jsmind/example/demo.html"
  6594. "id": "minds" + cid + stage + task + tool,
  6595. "style": {
  6596. "width": "90%",
  6597. "height": "90%",
  6598. "overflow": 'hidden'
  6599. },
  6600. "onresize": function () { }
  6601. }, {
  6602. closecallback: function () { }
  6603. }, {
  6604. "style": {
  6605. "height": "36px"
  6606. }
  6607. }).form; //创建窗体
  6608. _taskbar = {
  6609. "id": str + _formdiv.id,
  6610. "style": {
  6611. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6612. },
  6613. "name": "思维导图",
  6614. "forms": _formdiv,
  6615. "click": function () {
  6616. U.MD.D.I.openApplication(str, obj, info);
  6617. }
  6618. }
  6619. break;
  6620. case "doc":
  6621. aTool = 6;
  6622. _iframe = $$("iframe", {
  6623. "frameborder": "no",
  6624. "border": "0",
  6625. "scrolling ": "no",
  6626. "style": {
  6627. "cssText": "border:0;width:100%;height:100%"
  6628. },
  6629. "src": "/Office/Word/WordEditArea.htm"
  6630. })
  6631. _box.appendChild(_iframe);
  6632. _box.appendChild(_jie);
  6633. _formdiv = new U.UF.UI.form(
  6634. "协同文档",
  6635. _box, {
  6636. "id": "docs" + cid + stage + task + tool,
  6637. "style": {
  6638. "width": "90%",
  6639. "height": "90%",
  6640. "overflow": 'hidden'
  6641. },
  6642. "onresize": function () { }
  6643. }, {
  6644. closecallback: function () { }
  6645. }, {
  6646. "style": {
  6647. "height": "36px"
  6648. }
  6649. }).form; //创建窗体
  6650. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6651. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6652. })
  6653. _taskbar = {
  6654. "id": str + _formdiv.id,
  6655. "style": {
  6656. "backgroundImage": "url(/img/icon/doc.png)"
  6657. },
  6658. "name": "协同文档",
  6659. "forms": _formdiv,
  6660. "click": function () {
  6661. U.MD.D.I.openApplication(str, obj, info);
  6662. }
  6663. }
  6664. break;
  6665. }
  6666. const script1 = document.createElement("script");
  6667. script1.type = "text/javascript";
  6668. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6669. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6670. const script2 = document.createElement("script");
  6671. script2.type = "text/javascript";
  6672. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6673. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6674. const script3 = document.createElement("script");
  6675. script3.type = "text/javascript";
  6676. script3.charset = "UTF-8";
  6677. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6678. const script4 = document.createElement("script");
  6679. script4.type = "text/javascript";
  6680. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6681. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6682. if (_iframe) {
  6683. if (str == 'doc') {
  6684. _iframe = _formdiv.querySelector('iframe')
  6685. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6686. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6687. _iframe.contentWindow.document.body.appendChild(script1);
  6688. _iframe.contentWindow.document.body.appendChild(script2);
  6689. // _iframe.contentWindow.document.body.appendChild(script3);
  6690. _iframe.contentWindow.document.body.appendChild(script4);
  6691. })
  6692. if (onloadListener) {
  6693. _iframe.contentDocument.location.reload()
  6694. } else {
  6695. _iframe.contentDocument.location.reload()
  6696. }
  6697. } else if (str == 'mind') {
  6698. _iframe = _formdiv.querySelector('iframe')
  6699. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6700. _iframe.contentWindow.document.body.appendChild(script1);
  6701. _iframe.contentWindow.document.body.appendChild(script2);
  6702. _iframe.contentWindow.document.body.appendChild(script4);
  6703. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6704. })
  6705. if (onloadListener) {
  6706. _iframe.contentDocument.location.reload()
  6707. } else {
  6708. _iframe.contentDocument.location.reload()
  6709. }
  6710. } else {
  6711. _iframe.onload = () => {
  6712. _iframe.contentWindow.document.body.appendChild(script1);
  6713. _iframe.contentWindow.document.body.appendChild(script2);
  6714. // _iframe.contentWindow.document.body.appendChild(script3);
  6715. _iframe.contentWindow.document.body.appendChild(script4);
  6716. };
  6717. }
  6718. _jie.onclick = async () => {
  6719. let text = ''
  6720. if (aTool == 6) {
  6721. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6722. } else if (aTool == 3) {
  6723. text = await U.MD.D.I.getEditorContent(_iframe);
  6724. }
  6725. _loading.style.display = 'flex'
  6726. console.log(_loading);
  6727. var _ajs = _iframe.contentWindow.document.createElement("script");
  6728. _ajs.type = "text/javascript";
  6729. _ajs.innerHTML =
  6730. // 'console.log(' + _loading + ');\n' +
  6731. 'var _js = document.createElement("script");\n' +
  6732. '_js.type="text/javascript";\n' +
  6733. '_js.charset="UTF-8";\n' +
  6734. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6735. "_js.onload = function(){\n" +
  6736. ' var a = document.getElementsByTagName("img")\n' +
  6737. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6738. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6739. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6740. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6741. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6742. "beforeUpload_shishi(file," +
  6743. "'" +
  6744. _userid +
  6745. "'" +
  6746. ", " +
  6747. "'" +
  6748. _cid +
  6749. "'" +
  6750. ", " +
  6751. "'" +
  6752. _stage +
  6753. "'" +
  6754. ", " +
  6755. "'" +
  6756. _task +
  6757. "'" +
  6758. ", " +
  6759. "'" +
  6760. _tool +
  6761. "'" +
  6762. ", " +
  6763. "'" +
  6764. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6765. "'" +
  6766. ", " +
  6767. "'" +
  6768. aTool +
  6769. "'" +
  6770. ", " +
  6771. "`" +
  6772. text +
  6773. "`" +
  6774. ")\n" +
  6775. " });\n" +
  6776. "}\n" +
  6777. "document.head.appendChild(_js);\n";
  6778. _iframe.contentWindow.document.head.appendChild(_ajs);
  6779. }
  6780. }
  6781. //U.MD.D.I.openClick(str);
  6782. //如果有任务栏信息
  6783. // if (_taskbar) {
  6784. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6785. // }
  6786. }
  6787. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6788. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6789. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6790. _userinfo = US.userInfo, //登录用户信息
  6791. _userid = US.userInfo.userid //登录用户id
  6792. let _iframe;
  6793. let _cid = cid,
  6794. _stage = stage,
  6795. _task = task,
  6796. _tool = tool;
  6797. var _jie = $$("div", {
  6798. "style": {
  6799. "position": "absolute",
  6800. "bottom": "50px",
  6801. "right": "50px",
  6802. "zIndex": "9999",
  6803. "backgroundColor": "#2268bc",
  6804. "color": "#fff",
  6805. "padding": "12px 20px",
  6806. "cursor": "pointer",
  6807. "borderRadius": "4px",
  6808. },
  6809. "innerHTML": "确认并提交"
  6810. })
  6811. let aTool = ''
  6812. let _loading = document.createElement('div')
  6813. _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;"
  6814. // _loading.id = "";
  6815. let _lchild = document.createElement('div')
  6816. let _limg = document.createElement('img')
  6817. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6818. _limg.style = "width: 26px;margin-right: 10px;"
  6819. _lchild.appendChild(_limg)
  6820. let _lspan = document.createElement('span')
  6821. _lspan.innerHTML = "上传中..."
  6822. _lchild.appendChild(_lspan)
  6823. _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%);"
  6824. _loading.appendChild(_lchild)
  6825. var _box = $$('div', {
  6826. "style": {
  6827. "position": "relative",
  6828. "width": "100%",
  6829. "height": "100%",
  6830. },
  6831. })
  6832. _box.appendChild(_loading)
  6833. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6834. switch (str) {
  6835. case "whiteboard":
  6836. aTool = 1;
  6837. _iframe = $$("iframe", {
  6838. "frameborder": "no",
  6839. "border": "0",
  6840. "scrolling ": "no",
  6841. "style": {
  6842. "cssText": "border:0;width:100%;height:100%"
  6843. },
  6844. "src": "https://iwb.cocorobo.cn/"
  6845. })
  6846. _box.appendChild(_iframe);
  6847. _box.appendChild(_jie);
  6848. _formdiv = new U.UF.UI.form(
  6849. "电子白板",
  6850. _box, {
  6851. "id": "whiteboards" + cid + stage + task + tool,
  6852. "style": {
  6853. "width": "90%",
  6854. "height": "90%",
  6855. "overflow": 'hidden'
  6856. },
  6857. "onresize": function () { }
  6858. }, {
  6859. closecallback: function () { }
  6860. }, {
  6861. "style": {
  6862. "height": "36px"
  6863. }
  6864. }).form; //创建窗体
  6865. _taskbar = {
  6866. "id": str + _formdiv.id,
  6867. "style": {
  6868. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6869. },
  6870. "name": "电子白板",
  6871. "forms": _formdiv,
  6872. "click": function () {
  6873. U.MD.D.I.openApplication(str, obj, info);
  6874. }
  6875. }
  6876. break;
  6877. case "mind":
  6878. aTool = 3;
  6879. _iframe = $$("iframe", {
  6880. "frameborder": "no",
  6881. "border": "0",
  6882. "scrolling ": "no",
  6883. "style": {
  6884. "cssText": "border:0;width:100%;height:100%"
  6885. },
  6886. "src": "/kityminder-editor/dist/index.html"
  6887. });
  6888. _box.appendChild(_iframe);
  6889. _box.appendChild(_jie);
  6890. _formdiv = new U.UF.UI.form(
  6891. "思维导图",
  6892. _box, { //"/jsmind/example/demo.html"
  6893. "id": "minds" + cid + stage + task + tool,
  6894. "style": {
  6895. "width": "90%",
  6896. "height": "90%",
  6897. "overflow": 'hidden'
  6898. },
  6899. "onresize": function () { }
  6900. }, {
  6901. closecallback: function () { }
  6902. }, {
  6903. "style": {
  6904. "height": "36px"
  6905. }
  6906. }).form; //创建窗体
  6907. _taskbar = {
  6908. "id": str + _formdiv.id,
  6909. "style": {
  6910. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6911. },
  6912. "name": "思维导图",
  6913. "forms": _formdiv,
  6914. "click": function () {
  6915. U.MD.D.I.openApplication(str, obj, info);
  6916. }
  6917. }
  6918. break;
  6919. case "doc":
  6920. aTool = 6;
  6921. _iframe = $$("iframe", {
  6922. "frameborder": "no",
  6923. "border": "0",
  6924. "scrolling ": "no",
  6925. "style": {
  6926. "cssText": "border:0;width:100%;height:100%"
  6927. },
  6928. "src": "/Office/Word/WordEditArea.htm"
  6929. })
  6930. _box.appendChild(_iframe);
  6931. _box.appendChild(_jie);
  6932. _formdiv = new U.UF.UI.form(
  6933. "协同文档",
  6934. _box, {
  6935. "id": "docs" + cid + stage + task + tool,
  6936. "style": {
  6937. "width": "90%",
  6938. "height": "90%",
  6939. "overflow": 'hidden'
  6940. },
  6941. "onresize": function () { }
  6942. }, {
  6943. closecallback: function () { }
  6944. }, {
  6945. "style": {
  6946. "height": "36px"
  6947. }
  6948. }).form; //创建窗体
  6949. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6950. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6951. })
  6952. _taskbar = {
  6953. "id": str + _formdiv.id,
  6954. "style": {
  6955. "backgroundImage": "url(/img/icon/doc.png)"
  6956. },
  6957. "name": "协同文档",
  6958. "forms": _formdiv,
  6959. "click": function () {
  6960. U.MD.D.I.openApplication(str, obj, info);
  6961. }
  6962. }
  6963. break;
  6964. }
  6965. const script1 = document.createElement("script");
  6966. script1.type = "text/javascript";
  6967. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6968. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6969. const script2 = document.createElement("script");
  6970. script2.type = "text/javascript";
  6971. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6972. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6973. const script3 = document.createElement("script");
  6974. script3.type = "text/javascript";
  6975. script3.charset = "UTF-8";
  6976. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6977. const script4 = document.createElement("script");
  6978. script4.type = "text/javascript";
  6979. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6980. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6981. if (_iframe) {
  6982. if (str == 'doc') {
  6983. _iframe = _formdiv.querySelector('iframe')
  6984. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6985. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6986. _iframe.contentWindow.document.body.appendChild(script1);
  6987. _iframe.contentWindow.document.body.appendChild(script2);
  6988. // _iframe.contentWindow.document.body.appendChild(script3);
  6989. _iframe.contentWindow.document.body.appendChild(script4);
  6990. })
  6991. if (onloadListener) {
  6992. _iframe.contentDocument.location.reload()
  6993. } else {
  6994. _iframe.contentDocument.location.reload()
  6995. }
  6996. } else if (str == 'mind') {
  6997. _iframe = _formdiv.querySelector('iframe')
  6998. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6999. _iframe.contentWindow.document.body.appendChild(script1);
  7000. _iframe.contentWindow.document.body.appendChild(script2);
  7001. _iframe.contentWindow.document.body.appendChild(script4);
  7002. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7003. })
  7004. if (onloadListener) {
  7005. _iframe.contentDocument.location.reload()
  7006. } else {
  7007. _iframe.contentDocument.location.reload()
  7008. }
  7009. } else {
  7010. _iframe.onload = () => {
  7011. _iframe.contentWindow.document.body.appendChild(script1);
  7012. _iframe.contentWindow.document.body.appendChild(script2);
  7013. // _iframe.contentWindow.document.body.appendChild(script3);
  7014. _iframe.contentWindow.document.body.appendChild(script4);
  7015. };
  7016. }
  7017. _jie.onclick = async () => {
  7018. let text = ''
  7019. if (aTool == 6) {
  7020. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7021. } else if (aTool == 3) {
  7022. text = await U.MD.D.I.getEditorContent(_iframe);
  7023. }
  7024. _loading.style.display = 'flex'
  7025. console.log(_loading);
  7026. var _ajs = _iframe.contentWindow.document.createElement("script");
  7027. _ajs.type = "text/javascript";
  7028. _ajs.innerHTML =
  7029. // 'console.log(' + _loading + ');\n' +
  7030. 'var _js = document.createElement("script");\n' +
  7031. '_js.type="text/javascript";\n' +
  7032. '_js.charset="UTF-8";\n' +
  7033. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7034. "_js.onload = function(){\n" +
  7035. ' var a = document.getElementsByTagName("img")\n' +
  7036. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7037. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7038. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7039. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7040. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7041. "beforeUpload_shishi(file," +
  7042. "'" +
  7043. _userid +
  7044. "'" +
  7045. ", " +
  7046. "'" +
  7047. _cid +
  7048. "'" +
  7049. ", " +
  7050. "'" +
  7051. _stage +
  7052. "'" +
  7053. ", " +
  7054. "'" +
  7055. _task +
  7056. "'" +
  7057. ", " +
  7058. "'" +
  7059. _tool +
  7060. "'" +
  7061. ", " +
  7062. "'" +
  7063. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7064. "'" +
  7065. ", " +
  7066. "'" +
  7067. aTool +
  7068. "'" +
  7069. ", " +
  7070. "`" +
  7071. text +
  7072. "`" +
  7073. ")\n" +
  7074. " });\n" +
  7075. "}\n" +
  7076. "document.head.appendChild(_js);\n";
  7077. _iframe.contentWindow.document.head.appendChild(_ajs);
  7078. }
  7079. }
  7080. //U.MD.D.I.openClick(str);
  7081. //如果有任务栏信息
  7082. // if (_taskbar) {
  7083. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7084. // }
  7085. }
  7086. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7087. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7088. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7089. _userinfo = US.userInfo, //登录用户信息
  7090. _userid = US.userInfo.userid //登录用户id
  7091. let _iframe;
  7092. let _cid = cid,
  7093. _stage = stage,
  7094. _task = task,
  7095. _tool = tool;
  7096. var _jie = $$("div", {
  7097. "style": {
  7098. "position": "absolute",
  7099. "bottom": "50px",
  7100. "right": "50px",
  7101. "zIndex": "9999",
  7102. "backgroundColor": "#2268bc",
  7103. "color": "#fff",
  7104. "padding": "12px 20px",
  7105. "cursor": "pointer",
  7106. "borderRadius": "4px",
  7107. },
  7108. "innerHTML": "上传模板"
  7109. })
  7110. let aTool = ''
  7111. let _loading = document.createElement('div')
  7112. _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;"
  7113. // _loading.id = "";
  7114. let _lchild = document.createElement('div')
  7115. let _limg = document.createElement('img')
  7116. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7117. _limg.style = "width: 26px;margin-right: 10px;"
  7118. _lchild.appendChild(_limg)
  7119. let _lspan = document.createElement('span')
  7120. _lspan.innerHTML = "上传中..."
  7121. _lchild.appendChild(_lspan)
  7122. _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%);"
  7123. _loading.appendChild(_lchild)
  7124. var _box = $$('div', {
  7125. "style": {
  7126. "position": "relative",
  7127. "width": "100%",
  7128. "height": "100%",
  7129. },
  7130. })
  7131. _box.appendChild(_loading)
  7132. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7133. switch (str) {
  7134. case "whiteboard":
  7135. aTool = 1;
  7136. _iframe = $$("iframe", {
  7137. "frameborder": "no",
  7138. "border": "0",
  7139. "scrolling ": "no",
  7140. "style": {
  7141. "cssText": "border:0;width:100%;height:100%"
  7142. },
  7143. "src": "https://iwb.cocorobo.cn/"
  7144. })
  7145. _box.appendChild(_iframe);
  7146. _box.appendChild(_jie);
  7147. _formdiv = new U.UF.UI.form(
  7148. "电子白板",
  7149. _box, {
  7150. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7151. "style": {
  7152. "width": "90%",
  7153. "height": "90%",
  7154. "overflow": 'hidden'
  7155. },
  7156. "onresize": function () { }
  7157. }, {
  7158. closecallback: function () { }
  7159. }, {
  7160. "style": {
  7161. "height": "36px"
  7162. }
  7163. }).form; //创建窗体
  7164. _taskbar = {
  7165. "id": str + _formdiv.id,
  7166. "style": {
  7167. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7168. },
  7169. "name": "电子白板",
  7170. "forms": _formdiv,
  7171. "click": function () {
  7172. U.MD.D.I.openApplication(str, obj, info);
  7173. }
  7174. }
  7175. break;
  7176. case "mind":
  7177. aTool = 3;
  7178. _iframe = $$("iframe", {
  7179. "frameborder": "no",
  7180. "border": "0",
  7181. "scrolling ": "no",
  7182. "style": {
  7183. "cssText": "border:0;width:100%;height:100%"
  7184. },
  7185. "src": "/kityminder-editor/dist/index.html"
  7186. });
  7187. _box.appendChild(_iframe);
  7188. _box.appendChild(_jie);
  7189. _formdiv = new U.UF.UI.form(
  7190. "思维导图",
  7191. _box, { //"/jsmind/example/demo.html"
  7192. "id": "minds_Yu" + cid + stage + task + tool,
  7193. "style": {
  7194. "width": "90%",
  7195. "height": "90%",
  7196. "overflow": 'hidden'
  7197. },
  7198. "onresize": function () { }
  7199. }, {
  7200. closecallback: function () { }
  7201. }, {
  7202. "style": {
  7203. "height": "36px"
  7204. }
  7205. }).form; //创建窗体
  7206. _taskbar = {
  7207. "id": str + _formdiv.id,
  7208. "style": {
  7209. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7210. },
  7211. "name": "思维导图",
  7212. "forms": _formdiv,
  7213. "click": function () {
  7214. U.MD.D.I.openApplication(str, obj, info);
  7215. }
  7216. }
  7217. break;
  7218. case "doc":
  7219. aTool = 6;
  7220. _iframe = $$("iframe", {
  7221. "frameborder": "no",
  7222. "border": "0",
  7223. "scrolling ": "no",
  7224. "style": {
  7225. "cssText": "border:0;width:100%;height:100%"
  7226. },
  7227. "src": "/Office/Word/WordEditArea.htm"
  7228. })
  7229. _box.appendChild(_iframe);
  7230. _box.appendChild(_jie);
  7231. _formdiv = new U.UF.UI.form(
  7232. "协同文档",
  7233. _box, {
  7234. "id": "docs_Yu" + cid + stage + task + tool,
  7235. "style": {
  7236. "width": "90%",
  7237. "height": "90%",
  7238. "overflow": 'hidden'
  7239. },
  7240. "onresize": function () { }
  7241. }, {
  7242. closecallback: function () { }
  7243. }, {
  7244. "style": {
  7245. "height": "36px"
  7246. }
  7247. }).form; //创建窗体
  7248. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7249. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7250. })
  7251. _taskbar = {
  7252. "id": str + _formdiv.id,
  7253. "style": {
  7254. "backgroundImage": "url(/img/icon/doc.png)"
  7255. },
  7256. "name": "协同文档",
  7257. "forms": _formdiv,
  7258. "click": function () {
  7259. U.MD.D.I.openApplication(str, obj, info);
  7260. }
  7261. }
  7262. break;
  7263. case "CocoPi":
  7264. aTool = 57;
  7265. _iframe = $$("iframe", {
  7266. "allowpaymentrequest": "allowpaymentrequest",
  7267. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7268. "webkitallowfullscreen": "",
  7269. "mozallowfullscreen": "",
  7270. "frameborder": "no",
  7271. "border": "0",
  7272. "scrolling ": "no",
  7273. "style": {
  7274. "cssText": "border:0;width:100%;height:100%"
  7275. },
  7276. "src": "https://pi.cocorobo.cn/"
  7277. })
  7278. _box.appendChild(_iframe);
  7279. _box.appendChild(_jie);
  7280. _formdiv = new U.UF.UI.form(
  7281. "CocoPi",
  7282. _box, {
  7283. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7284. "style": {
  7285. "width": "90%",
  7286. "height": "90%",
  7287. "overflow": 'hidden'
  7288. },
  7289. "onresize": function () { }
  7290. }, {
  7291. closecallback: function () { }
  7292. }, {
  7293. "style": {
  7294. "height": "36px"
  7295. }
  7296. }).form; //创建窗体
  7297. _taskbar = {
  7298. "id": str + _formdiv.id,
  7299. "style": {
  7300. "backgroundImage": "url(/img/icon/cocopi.png)"
  7301. },
  7302. "name": "CocoPi",
  7303. "forms": _formdiv,
  7304. "click": function () {
  7305. U.MD.D.I.openApplication(str, obj, info);
  7306. }
  7307. }
  7308. break;
  7309. }
  7310. if (_iframe) {
  7311. if (str == 'doc') {
  7312. _iframe = _formdiv.querySelector('iframe')
  7313. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7314. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7315. })
  7316. if (onloadListener) {
  7317. _iframe.contentDocument.location.reload()
  7318. } else {
  7319. _iframe.contentDocument.location.reload()
  7320. }
  7321. } else if (str == 'mind') {
  7322. _iframe = _formdiv.querySelector('iframe')
  7323. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7324. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7325. })
  7326. if (onloadListener) {
  7327. _iframe.contentDocument.location.reload()
  7328. } else {
  7329. _iframe.contentDocument.location.reload()
  7330. }
  7331. } else if (str == 'whiteboard') {
  7332. _iframe = _formdiv.querySelector('iframe')
  7333. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7334. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7335. })
  7336. if (onloadListener) {
  7337. _iframe.contentDocument.location.reload()
  7338. } else {
  7339. _iframe.contentDocument.location.reload()
  7340. }
  7341. } else if (str == 'CocoPi') {
  7342. _iframe = _formdiv.querySelector('iframe')
  7343. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7344. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7345. })
  7346. if (onloadListener) {
  7347. _iframe.contentDocument.location.reload()
  7348. } else {
  7349. _iframe.contentDocument.location.reload()
  7350. }
  7351. } else {
  7352. _iframe.onload = () => { };
  7353. }
  7354. _jie.onclick = async () => {
  7355. let text = ''
  7356. let type = '2'
  7357. if (aTool == 1) {
  7358. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7359. type = '3'
  7360. } else if (aTool == 6) {
  7361. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7362. type = '1'
  7363. } else if (aTool == 3) {
  7364. text = await U.MD.D.I.getEditorContent(_iframe);
  7365. type = '2'
  7366. } else if (aTool == 57) {
  7367. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7368. type = '4'
  7369. }
  7370. _loading.style.display = 'flex'
  7371. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7372. }
  7373. }
  7374. //U.MD.D.I.openClick(str);
  7375. //如果有任务栏信息
  7376. // if (_taskbar) {
  7377. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7378. // }
  7379. }
  7380. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7381. var xmlhttp;
  7382. var Mac, Sn, DeviceId
  7383. if (window.XMLHttpRequest) {
  7384. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7385. xmlhttp = new XMLHttpRequest();
  7386. } else {
  7387. // IE6, IE5 浏览器执行代码
  7388. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7389. }
  7390. xmlhttp.onreadystatechange = function () {
  7391. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7392. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7393. // resolve(res.value[0][0].text);
  7394. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7395. }
  7396. }
  7397. }
  7398. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7399. xmlhttp.send();
  7400. }
  7401. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7402. var xmlhttp;
  7403. var Mac, Sn, DeviceId
  7404. if (window.XMLHttpRequest) {
  7405. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7406. xmlhttp = new XMLHttpRequest();
  7407. } else {
  7408. // IE6, IE5 浏览器执行代码
  7409. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7410. }
  7411. xmlhttp.onreadystatechange = function () {
  7412. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7413. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7414. // resolve(res.value[0][0].text);
  7415. if (type == '2') {
  7416. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7417. } else if (type == '3') {
  7418. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7419. } else if (type == '4') {
  7420. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7421. }
  7422. } else {
  7423. if (type == '2') {
  7424. iframe.contentWindow.editor.minder.importData('json', '')
  7425. } else if (type == '3') {
  7426. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7427. } else if (type == '4') {
  7428. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7429. }
  7430. }
  7431. }
  7432. }
  7433. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7434. xmlhttp.send();
  7435. }
  7436. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7437. var xmlhttp;
  7438. var Mac, Sn, DeviceId
  7439. if (window.XMLHttpRequest) {
  7440. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7441. xmlhttp = new XMLHttpRequest();
  7442. } else {
  7443. // IE6, IE5 浏览器执行代码
  7444. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7445. }
  7446. xmlhttp.onreadystatechange = function () {
  7447. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7448. if (xmlhttp.response) {
  7449. // resolve(res.value[0][0].text);
  7450. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7451. // $(fileInput).val('');
  7452. // });
  7453. span.innerHTML = '上传成功'
  7454. setTimeout(() => {
  7455. loading.style.display = 'none'
  7456. }, 1000);
  7457. }
  7458. }
  7459. }
  7460. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7461. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7462. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7463. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7464. // 设置请求头,表示请求体的编码格式
  7465. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7466. // 设置请求体,使用url-encoded格式的数据
  7467. }
  7468. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7469. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7470. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7471. _userinfo = US.userInfo, //登录用户信息
  7472. _userid = US.userInfo.userid //登录用户id
  7473. let _iframe;
  7474. let _cid = cid,
  7475. _stage = stage,
  7476. _task = task,
  7477. _tool = tool;
  7478. var _jie = $$("div", {
  7479. "style": {
  7480. "position": "absolute",
  7481. "bottom": "50px",
  7482. "right": "50px",
  7483. "zIndex": "9999",
  7484. "backgroundColor": "#2268bc",
  7485. "color": "#fff",
  7486. "padding": "12px 20px",
  7487. "cursor": "pointer",
  7488. "borderRadius": "4px",
  7489. },
  7490. "innerHTML": "提交作业"
  7491. })
  7492. let aTool = ''
  7493. let _loading = document.createElement('div')
  7494. _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;"
  7495. // _loading.id = "";
  7496. let _lchild = document.createElement('div')
  7497. let _limg = document.createElement('img')
  7498. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7499. _limg.style = "width: 26px;margin-right: 10px;"
  7500. _lchild.appendChild(_limg)
  7501. let _lspan = document.createElement('span')
  7502. _lspan.innerHTML = "上传中..."
  7503. _lchild.appendChild(_lspan)
  7504. _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%);"
  7505. _loading.appendChild(_lchild)
  7506. var _box = $$('div', {
  7507. "style": {
  7508. "position": "relative",
  7509. "width": "100%",
  7510. "height": "100%",
  7511. },
  7512. })
  7513. _box.appendChild(_loading)
  7514. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7515. switch (str) {
  7516. case "CocoPi":
  7517. aTool = 57;
  7518. _iframe = $$("iframe", {
  7519. "allowpaymentrequest": "allowpaymentrequest",
  7520. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7521. "webkitallowfullscreen": "",
  7522. "mozallowfullscreen": "",
  7523. "frameborder": "no",
  7524. "border": "0",
  7525. "scrolling ": "no",
  7526. "style": {
  7527. "cssText": "border:0;width:100%;height:100%"
  7528. },
  7529. "src": "https://pi.cocorobo.cn/"
  7530. })
  7531. _box.appendChild(_iframe);
  7532. _box.appendChild(_jie);
  7533. _formdiv = new U.UF.UI.form(
  7534. "CocoPi",
  7535. _box, {
  7536. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7537. "style": {
  7538. "width": "90%",
  7539. "height": "90%",
  7540. "overflow": 'hidden'
  7541. },
  7542. "onresize": function () { }
  7543. }, {
  7544. closecallback: function () { }
  7545. }, {
  7546. "style": {
  7547. "height": "36px"
  7548. }
  7549. }).form; //创建窗体
  7550. _taskbar = {
  7551. "id": str + _formdiv.id,
  7552. "style": {
  7553. "backgroundImage": "url(/img/icon/cocopi.png)"
  7554. },
  7555. "name": "CocoPi",
  7556. "forms": _formdiv,
  7557. "click": function () {
  7558. U.MD.D.I.openApplication(str, obj, info);
  7559. }
  7560. }
  7561. break;
  7562. }
  7563. if (_iframe) {
  7564. if (str == 'CocoPi') {
  7565. _iframe = _formdiv.querySelector('iframe')
  7566. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7567. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7568. })
  7569. if (onloadListener) {
  7570. _iframe.contentDocument.location.reload()
  7571. } else {
  7572. _iframe.contentDocument.location.reload()
  7573. }
  7574. }
  7575. _jie.onclick = async () => {
  7576. let text = ''
  7577. if (aTool == 57) {
  7578. text = _iframe.contentWindow.getLoadXmlStr()
  7579. }
  7580. _loading.style.display = 'flex'
  7581. console.log(_loading);
  7582. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7583. _loading.style.display = 'none'
  7584. let _div = document.createElement('div')
  7585. _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;"
  7586. let _inner = document.createElement('div')
  7587. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7588. _inner.innerHTML = "上传成功"
  7589. _div.appendChild(_inner)
  7590. _iframe.contentWindow.window.document.body.appendChild(_div)
  7591. _div.onclick = () => {
  7592. _iframe.contentWindow.window.document.body.removeChild(_div)
  7593. }
  7594. setTimeout(() => {
  7595. _iframe.contentWindow.window.document.body.removeChild(_div)
  7596. }, 1000);
  7597. }, [], { "type": "POST", "withCredentials": true });
  7598. }
  7599. }
  7600. }
  7601. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7602. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7603. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7604. _userid = student.userid, //登录用户id
  7605. _username = student.student //用户名字
  7606. let _iframe;
  7607. let _cid = cid,
  7608. _stage = stage,
  7609. _task = task,
  7610. _tool = tool;
  7611. var _jie = $$("div", {
  7612. "style": {
  7613. "position": "absolute",
  7614. "bottom": "50px",
  7615. "right": "50px",
  7616. "zIndex": "9999",
  7617. "backgroundColor": "#2268bc",
  7618. "color": "#fff",
  7619. "padding": "12px 20px",
  7620. "cursor": "pointer",
  7621. "borderRadius": "4px",
  7622. },
  7623. "innerHTML": "提交作业"
  7624. })
  7625. let aTool = ''
  7626. let _loading = document.createElement('div')
  7627. _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;"
  7628. // _loading.id = "";
  7629. let _lchild = document.createElement('div')
  7630. let _limg = document.createElement('img')
  7631. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7632. _limg.style = "width: 26px;margin-right: 10px;"
  7633. _lchild.appendChild(_limg)
  7634. let _lspan = document.createElement('span')
  7635. _lspan.innerHTML = "上传中..."
  7636. _lchild.appendChild(_lspan)
  7637. _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%);"
  7638. _loading.appendChild(_lchild)
  7639. var _box = $$('div', {
  7640. "style": {
  7641. "position": "relative",
  7642. "width": "100%",
  7643. "height": "100%",
  7644. },
  7645. })
  7646. _box.appendChild(_loading)
  7647. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7648. switch (str) {
  7649. case "CocoPi":
  7650. aTool = 57;
  7651. _iframe = $$("iframe", {
  7652. "allowpaymentrequest": "allowpaymentrequest",
  7653. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7654. "webkitallowfullscreen": "",
  7655. "mozallowfullscreen": "",
  7656. "frameborder": "no",
  7657. "border": "0",
  7658. "scrolling ": "no",
  7659. "style": {
  7660. "cssText": "border:0;width:100%;height:100%"
  7661. },
  7662. "src": "https://pi.cocorobo.cn/"
  7663. })
  7664. _box.appendChild(_iframe);
  7665. _box.appendChild(_jie);
  7666. _formdiv = new U.UF.UI.form(
  7667. "CocoPi-" + _username,
  7668. _box, {
  7669. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7670. "style": {
  7671. "width": "90%",
  7672. "height": "90%",
  7673. "overflow": 'hidden'
  7674. },
  7675. "onresize": function () { }
  7676. }, {
  7677. closecallback: function () { }
  7678. }, {
  7679. "style": {
  7680. "height": "36px"
  7681. }
  7682. }).form; //创建窗体
  7683. _taskbar = {
  7684. "id": str + _formdiv.id,
  7685. "style": {
  7686. "backgroundImage": "url(/img/icon/cocopi.png)"
  7687. },
  7688. "name": "CocoPi",
  7689. "forms": _formdiv,
  7690. "click": function () {
  7691. U.MD.D.I.openApplication(str, obj, info);
  7692. }
  7693. }
  7694. break;
  7695. }
  7696. if (_iframe) {
  7697. if (str == 'CocoPi') {
  7698. _iframe = _formdiv.querySelector('iframe')
  7699. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7700. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7701. })
  7702. if (onloadListener) {
  7703. _iframe.contentDocument.location.reload()
  7704. } else {
  7705. _iframe.contentDocument.location.reload()
  7706. }
  7707. }
  7708. _jie.onclick = async () => {
  7709. let text = ''
  7710. if (aTool == 57) {
  7711. text = _iframe.contentWindow.getLoadXmlStr()
  7712. }
  7713. _loading.style.display = 'flex'
  7714. console.log(_loading);
  7715. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7716. _loading.style.display = 'none'
  7717. let _div = document.createElement('div')
  7718. _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;"
  7719. let _inner = document.createElement('div')
  7720. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7721. _inner.innerHTML = "上传成功"
  7722. _div.appendChild(_inner)
  7723. _iframe.contentWindow.window.document.body.appendChild(_div)
  7724. _div.onclick = () => {
  7725. _iframe.contentWindow.window.document.body.removeChild(_div)
  7726. }
  7727. setTimeout(() => {
  7728. _iframe.contentWindow.window.document.body.removeChild(_div)
  7729. }, 1000);
  7730. }, [], { "type": "POST", "withCredentials": true });
  7731. }
  7732. }
  7733. }
  7734. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7735. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7736. if (res.value[0].length > 0) {
  7737. if (atool == 57) {
  7738. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7739. }
  7740. } else {
  7741. if (atool == 57) {
  7742. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7743. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7744. }
  7745. }
  7746. }, [], { "type": "POST", "withCredentials": true });
  7747. }