DeskTop.js 488 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  52. ];
  53. //极简模式
  54. U.MD.D.I.easyDeskIcon = [
  55. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  58. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  59. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  60. ];
  61. //教师桌面图标的全局变量
  62. U.MD.D.I.teacherDeskIcon2 = [
  63. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  64. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  65. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  66. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  67. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  68. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  69. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  70. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  71. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  72. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  73. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  74. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  75. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  76. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  77. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  78. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  79. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  80. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  81. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  82. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  83. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  84. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  85. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  86. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  87. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  88. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  89. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  90. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  91. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  92. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  93. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  94. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  95. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  96. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  97. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  98. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  99. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  100. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  101. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  102. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  103. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  104. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  105. ];
  106. U.MD.D.I.studentDeskIcon = [
  107. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  108. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  109. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  110. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  111. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  112. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  113. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  114. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  115. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  116. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  117. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  118. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  119. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  120. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  121. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  122. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  123. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  124. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  125. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  126. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  127. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  128. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  129. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  130. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  131. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  132. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  133. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  134. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  135. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  136. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  137. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  138. ];
  139. U.MD.D.I.studentDeskIcon2 = [
  140. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  141. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  142. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  143. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  144. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  145. ]
  146. U.MD.D.I.studentDeskIcon3 = [
  147. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  148. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  149. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  150. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  151. ]
  152. U.MD.D.I.schoolDeskIcon = [
  153. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  154. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  155. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  156. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  157. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  158. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  159. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  160. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  161. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  162. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  163. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  164. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  165. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  166. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  167. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  168. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  169. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  170. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  171. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  172. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  173. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  176. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  177. ];
  178. U.MD.D.I.orgDeskIcon = [
  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": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  182. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  183. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  184. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  185. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  186. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  187. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  188. ];
  189. U.MD.D.I.orgStemDeskIcon = [
  190. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  191. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  192. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  193. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  194. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  195. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  196. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  197. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  198. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  199. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  200. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  201. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  202. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  203. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  204. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  205. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  206. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  207. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  208. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  209. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  210. ];
  211. U.MD.D.I.szulsDeskIcon = [
  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": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  215. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  216. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  217. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  218. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  219. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  220. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  221. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  222. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  223. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  224. ];
  225. U.MD.D.I.hanDeskIcon = [
  226. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  227. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  228. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  229. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  230. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  231. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  232. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  233. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  234. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  235. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  236. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  237. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  238. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  239. ];
  240. U.MD.D.I.GMteacherDeskIcon = [
  241. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  242. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  243. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  244. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  245. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  246. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  247. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  248. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  249. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  250. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  251. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  252. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  253. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  254. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  255. ];
  256. U.MD.D.I.GMstudentDeskIcon = [
  257. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  258. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  259. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  260. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  261. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  262. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  263. ];
  264. //北师大
  265. U.MD.D.I.BSDNSteacherDeskIcon = [
  266. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  267. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  268. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  269. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  270. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  271. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  272. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  273. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  274. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  275. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  276. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  277. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  278. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  279. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  280. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  281. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  282. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  283. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  284. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  285. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  286. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  287. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  288. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  289. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  290. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  291. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  292. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  293. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  294. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  295. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  296. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  297. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  298. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  299. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  300. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  301. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  302. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  303. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  304. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  305. ];
  306. //松山湖
  307. U.MD.D.I.SONGteacherDeskIcon = [
  308. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  309. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  310. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  311. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  312. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  313. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  314. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  315. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  316. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  317. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  318. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  319. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  320. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  321. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  322. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  323. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  324. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  325. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  326. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  327. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  328. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  329. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  330. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  331. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  332. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  333. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  334. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  335. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  336. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  337. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  338. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  339. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  340. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  341. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  342. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  343. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  344. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  345. ];
  346. U.MD.D.I.tcStudentDeskIcon = [
  347. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  348. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  349. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  350. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  351. ];
  352. U.MD.D.I.tcTeacherDeskIcon = [
  353. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  354. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  355. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  356. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  357. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  358. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  359. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  360. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  361. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  362. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  363. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  364. ];
  365. U.MD.D.I.tcOrganizerDeskIcon = [
  366. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  367. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  368. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  369. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  370. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  371. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  372. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  373. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  374. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  375. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  376. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  377. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  378. ];
  379. U.MD.D.I.szscStudentDeskIcon = [
  380. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  381. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  382. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  383. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  384. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  385. ];
  386. U.MD.D.I.szscTeacherDeskIcon = [
  387. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  388. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  389. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  390. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  391. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  392. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  393. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  394. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  395. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  396. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  397. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  398. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  399. ];
  400. U.MD.D.I.szscOrganizerDeskIcon = [
  401. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  402. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  403. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  404. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  405. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  406. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  407. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  408. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  409. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  410. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  411. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  412. ];
  413. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  414. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  415. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  416. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  417. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  418. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  419. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  420. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  421. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  422. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  423. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  424. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  425. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  426. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  427. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  428. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  429. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  430. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  431. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  432. ];
  433. U.MD.D.I.wankeAdminDeskIcon = [
  434. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  435. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  436. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  437. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  438. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  439. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  440. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  441. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  442. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  443. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  444. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  445. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  446. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  447. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  448. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  449. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  450. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  451. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  452. ];
  453. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  454. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  455. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  456. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  457. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  458. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  459. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  460. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  461. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  462. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  463. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  464. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  465. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  466. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  467. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  468. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  469. ];
  470. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  471. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  472. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  473. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  474. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  475. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  476. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  477. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  478. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  479. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  480. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  481. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  482. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  483. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  484. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  485. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  486. ];
  487. //明德教师桌面图标的全局变量
  488. U.MD.D.I.MingdeTeacherDeskIcon = [
  489. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  490. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  491. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  492. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  493. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  494. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  495. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  496. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  497. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  498. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  499. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  500. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  501. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  502. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  503. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  504. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  505. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  506. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  507. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  508. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  509. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  510. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  511. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  512. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  513. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  514. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  515. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  516. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  517. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  518. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  519. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  520. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  521. ];
  522. //97c4ee8b-d010-4042-986d-e9d3c217264f
  523. //教师桌面图标的全局变量
  524. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  525. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  526. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  527. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  528. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  529. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  530. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  531. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  532. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  533. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  534. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  535. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  536. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  537. ];
  538. //福田
  539. U.MD.D.I.futianTeacherDeskIcon = [
  540. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  541. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  542. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  543. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  544. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  545. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  546. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  547. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  548. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  549. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  550. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  551. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  552. ];
  553. //福田
  554. U.MD.D.I.futianAdminDeskIcon = [
  555. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  556. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  557. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  558. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  559. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  560. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  561. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  562. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  563. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  564. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  565. ];
  566. //lotech
  567. U.MD.D.I.lotechTeacherDeskIcon = [
  568. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  569. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  570. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  571. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  572. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  573. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  574. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  575. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  576. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  577. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  578. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  579. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  580. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  581. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  582. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  583. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  584. ];
  585. //龙华中心小学教师桌面图标的全局变量
  586. U.MD.D.I.longhuateacherDeskIcon = [
  587. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  588. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  589. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  590. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  591. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  592. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  593. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  594. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  595. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  596. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  597. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  598. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  599. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  600. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  601. ];
  602. //教科院实小教师桌面图标的全局变量
  603. U.MD.D.I.siesteacherDeskIcon = [
  604. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  605. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  606. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  607. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  608. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  609. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  610. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  611. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  612. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  613. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  614. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  615. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  616. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  617. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  618. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  619. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  620. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  621. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  622. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  623. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  624. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  625. ];
  626. //教科院实小教师桌面图标的全局变量
  627. U.MD.D.I.siesStudentDeskIcon = [
  628. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  629. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  630. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  631. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  632. ];
  633. //福田
  634. U.MD.D.I.gdjgTeacherDeskIcon = [
  635. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  636. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  637. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  638. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  639. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  640. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  641. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  642. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  643. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  644. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  645. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  646. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  647. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  648. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  649. ];
  650. //gdjg
  651. U.MD.D.I.gdjgAdminDeskIcon = [
  652. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  653. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  654. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  655. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  656. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  657. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  658. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  659. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  660. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  661. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  662. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  663. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  664. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  665. ];
  666. //hk
  667. U.MD.D.I.hkteacherDeskIcon = [
  668. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  669. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  670. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  671. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  672. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  673. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  674. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  675. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  676. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  677. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  678. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  679. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  680. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  681. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  682. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  683. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  684. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  685. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  686. ];
  687. //hk
  688. U.MD.D.I.hkStudentDeskIcon = [
  689. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  690. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  691. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  692. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  693. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  694. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  695. ];
  696. //hk
  697. U.MD.D.I.hkaceteacherDeskIcon = [
  698. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  699. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  700. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  701. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  702. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  703. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  704. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  705. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  706. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  707. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  708. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  709. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  710. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  711. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  712. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  713. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  714. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  715. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  716. ];
  717. //hk
  718. U.MD.D.I.hkaceStudentDeskIcon = [
  719. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  720. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  721. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  722. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  723. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  724. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  725. ];
  726. //香海正覺蓮社佛教正覺中學
  727. U.MD.D.I.hkZJLSteacherDeskIcon = [
  728. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  729. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  730. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  731. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  732. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  733. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  734. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  735. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  736. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  737. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  738. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  739. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  740. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  741. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  742. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  743. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  744. ];
  745. //香海正覺蓮社佛教正覺中學
  746. U.MD.D.I.hkZJLSStudentDeskIcon = [
  747. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  748. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  749. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  750. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  751. ];
  752. //云海
  753. U.MD.D.I.yunhaiTeacherDeskIcon = [
  754. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  755. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  756. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  757. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  758. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  759. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  760. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  761. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  762. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  763. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  764. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  765. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  766. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  767. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  768. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  769. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  770. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  771. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  772. ];
  773. //福田
  774. U.MD.D.I.heyuanTeacherDeskIcon = [
  775. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  776. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  777. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  778. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  779. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  780. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  781. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  782. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  783. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  784. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  785. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  786. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  787. ];
  788. //福田
  789. U.MD.D.I.heyuanAdminDeskIcon = [
  790. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  791. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  792. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  793. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  794. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  795. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  796. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  797. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  798. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  799. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  800. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  801. ];
  802. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  803. U.MD.D.I.szherTeacherDeskIcon = [
  804. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  805. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  806. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  807. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  808. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  809. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  810. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  811. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  812. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  813. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  814. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  815. ];
  816. //dsei
  817. U.MD.D.I.dseiTeacherDeskIcon = [
  818. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  819. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.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": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  823. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  824. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  825. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  826. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  827. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  828. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  829. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  830. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  831. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  832. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  833. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  834. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  835. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  836. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  837. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  838. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  839. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  840. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  841. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  842. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  843. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  844. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  845. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  846. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  847. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  848. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  849. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  850. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  851. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  852. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  853. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  854. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  855. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  856. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  857. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  858. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  859. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  860. ];
  861. //dsei
  862. U.MD.D.I.dseiAdminDeskIcon = [
  863. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  864. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  865. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  866. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  867. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  868. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  869. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  870. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  871. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  872. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  873. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  874. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  875. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  876. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  877. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  878. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  879. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  880. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  881. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  882. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  883. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  884. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  885. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  886. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  887. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  888. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  889. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  890. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  891. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  892. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  893. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  894. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  895. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  896. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  897. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  898. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  899. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  900. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  901. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  902. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  903. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  904. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  905. ];
  906. //dsei
  907. U.MD.D.I.dseiStudentDeskIcon = [
  908. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  909. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  910. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  911. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  912. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  913. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  914. ];
  915. //未来教育基地
  916. U.MD.D.I.szjkyTeacherDeskIcon = [
  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": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  920. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  921. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  922. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  923. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  924. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  925. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  926. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  927. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  928. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  929. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  930. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  931. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  932. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  933. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  934. ];
  935. //未来教育基地
  936. U.MD.D.I.szjkyAdminDeskIcon = [
  937. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  938. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  939. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  940. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  941. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  942. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  943. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  944. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  945. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  946. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  947. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  948. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  949. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  950. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  951. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  952. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  953. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  954. ];
  955. //未来教育基地
  956. U.MD.D.I.szjkyStudentDeskIcon = [
  957. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  958. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  959. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  960. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  961. ];
  962. //成华教育局
  963. U.MD.D.I.chjyjTeacherDeskIcon = [
  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": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  967. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  968. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  969. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  970. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  971. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  972. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  973. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  974. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  975. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  976. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  977. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  978. ];
  979. //成华教育局chjyj
  980. U.MD.D.I.chjyjAdminDeskIcon = [
  981. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  982. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  983. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  984. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  985. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  986. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  987. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  988. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  989. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  990. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  991. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  992. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  993. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  994. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  995. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  996. ];
  997. //成华教育局chjyj
  998. U.MD.D.I.chjyjStudentDeskIcon = [
  999. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1000. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1001. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1002. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1003. ];
  1004. //tpc
  1005. U.MD.D.I.tpcStudentDeskIcon = [
  1006. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1007. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1008. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1009. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1010. ];
  1011. //tpc
  1012. U.MD.D.I.tpcTeacherDeskIcon = [
  1013. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1014. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1015. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1016. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1017. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1018. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1019. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1020. ];
  1021. //tpc
  1022. U.MD.D.I.tpcAdminDeskIcon = [
  1023. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1024. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1025. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1026. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1027. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1028. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1029. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1030. ];
  1031. //THU-IOE
  1032. U.MD.D.I.thuioeTeacherDeskIcon = [
  1033. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1034. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1035. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1036. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1037. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1038. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1039. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1040. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1041. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1042. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1043. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1044. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1045. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1046. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1047. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1048. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1049. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1050. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1051. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1052. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1053. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1054. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1055. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1056. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1057. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1058. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1059. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1060. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1061. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1062. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1063. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1064. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1065. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1066. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1067. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1068. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1069. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1070. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1071. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1072. ];
  1073. //THU-IOE
  1074. U.MD.D.I.thuioeStudentDeskIcon = [
  1075. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1076. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1077. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1078. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1079. ];
  1080. //jccssyl
  1081. U.MD.D.I.jccssylTeacherDeskIcon = [
  1082. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1083. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1084. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1085. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1086. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1087. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1088. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1089. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1090. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1091. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1092. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1093. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1094. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1095. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1096. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1097. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1098. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1099. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1100. ];
  1101. //jccssyl
  1102. U.MD.D.I.jccssylStudentDeskIcon = [
  1103. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1104. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1105. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1106. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1107. ];
  1108. //#region 桌面初始化a
  1109. /**
  1110. * 初始化桌面的起始函数
  1111. *
  1112. */
  1113. U.MD.D.I.init = function () {
  1114. if ($("#U_MD_D_K")[0]) {
  1115. //初始化桌面图标
  1116. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1117. // var clickUrl = ':12588/requestIp.php';
  1118. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1119. // U.MD.D.I.Ip = data;
  1120. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1121. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1122. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1123. // })
  1124. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1125. // })
  1126. }
  1127. }
  1128. /**
  1129. * 模式切换
  1130. *
  1131. */
  1132. U.MD.D.I.ModeCheck = function (type) {
  1133. if (US.Config.type == type) {
  1134. return
  1135. }
  1136. US.Config.type = type
  1137. $('.U_PBL_Check .active')[0].className = ''
  1138. if (type == 1) {
  1139. $('.U_PBL_Check div')[0].className = 'active'
  1140. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1141. } else {
  1142. $('.U_PBL_Check div')[1].className = 'active'
  1143. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1144. }
  1145. //初始化桌面图标
  1146. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1147. if (type == 2) {
  1148. U.MD.D.I.openApplication("project")
  1149. }
  1150. }
  1151. /**
  1152. * 隐藏任务栏
  1153. *
  1154. * @param {element} 桌面元素
  1155. */
  1156. U.MD.D.I.hiddenTaskbar = function (el) {
  1157. //任务栏位置变小
  1158. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1159. //桌面的位置变大
  1160. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1161. }
  1162. /**
  1163. * 隐藏任务栏
  1164. *
  1165. * @param {element} 桌面元素
  1166. */
  1167. U.MD.D.I.hiddenTaskbarout = function (el) {
  1168. //任务栏位置变小
  1169. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1170. //任务栏位置变化
  1171. U.selectEl(el).css({ "bottom": "-60px" });
  1172. //桌面的位置变大
  1173. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1174. }
  1175. }
  1176. /**
  1177. * 初始化打印桌面图标
  1178. *
  1179. * @param {element} 桌面元素
  1180. */
  1181. U.MD.D.I.initDesktopIcons = function (el, type) {
  1182. var i, //用于循环
  1183. _content, //桌面图标元素
  1184. _iconcontent, //桌面图标元素
  1185. _frag = $$("frag"), //定义一个碎片元素
  1186. _type = US.userInfo.type,
  1187. _org = US.userInfo.org,
  1188. _oid = US.userInfo.organizeid,
  1189. _role = US.userInfo.role,
  1190. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1191. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1192. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1193. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1194. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1195. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1196. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1197. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1198. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1199. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1200. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1201. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1202. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1203. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1204. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1205. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1206. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1207. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1208. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1209. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1210. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1211. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1212. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1213. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1214. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1215. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1216. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1217. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1218. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1219. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1220. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1221. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1222. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1223. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1224. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1225. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1226. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1227. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1228. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1229. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1230. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1231. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1232. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1233. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1234. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1235. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1236. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1237. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1238. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1239. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1240. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1241. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1242. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1243. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1244. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1245. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1246. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1247. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1248. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1249. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1250. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1251. 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'];
  1252. var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5', '2fa75e51-189a-11ee-91d8-005056b86db5', 'a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956','fbb00cc1-380b-4173-add4-59b3cf7682b5','63060b4a-89dc-4f0c-bf04-a1de22d479ff','777559d2-7239-11ee-b98c-005056b86db5'];
  1253. //清楚桌面图标
  1254. el.innerHTML = "";
  1255. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1256. _teacherDesktopIconInfo.push(
  1257. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1258. { "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)" } },
  1259. )
  1260. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1261. }
  1262. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1263. _teacherDesktopIconInfo.push(
  1264. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1265. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1266. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1267. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1268. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1269. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1270. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1271. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1272. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1273. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1274. // { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1275. )
  1276. }
  1277. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1278. // _teacherDesktopIconInfo.push(
  1279. // )
  1280. // }
  1281. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1282. _teacherDesktopIconInfo.push(
  1283. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1284. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1285. )
  1286. }
  1287. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1288. _teacherDesktopIconInfo.push(
  1289. )
  1290. }
  1291. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1292. _teacherDesktopIconInfo.push(
  1293. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1294. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1295. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1296. )
  1297. _studentDesktopIconInfo.push(
  1298. )
  1299. }
  1300. //麒麟二中 和 民新小学
  1301. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1302. _teacherDesktopIconInfo.push(
  1303. )
  1304. }
  1305. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1306. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1307. _teacherDesktopIconInfo.push(
  1308. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1309. )
  1310. }
  1311. //麒麟二中
  1312. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1313. _studentDesktopIconInfo.push(
  1314. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1315. )
  1316. }
  1317. //万科双语
  1318. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1319. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1320. if (el.Name == '项目管理') {
  1321. el.Name = 'PBL项目'
  1322. }
  1323. return el
  1324. })
  1325. _studentDesktopIconInfo3.push(
  1326. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1327. )
  1328. }
  1329. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1330. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1331. return el.Name != '魔盒识字' && el.Name != '24点'
  1332. })
  1333. }
  1334. 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) {
  1335. _studentDesktopIconInfo.push(
  1336. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1337. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1338. )
  1339. }
  1340. //循环创建桌面图标
  1341. if (type == 1) {
  1342. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1343. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1344. _content = $$("div", {
  1345. className: "U_MD_D_KO",
  1346. "onmousedown": U.UF.C.closure(function (obj) {
  1347. //防止拖动图标即打开了桌面应用
  1348. U.MD.D.click(this, obj);
  1349. }, [_studentDesktopIconInfo[i]]),
  1350. "onclick": U.UF.C.closure(function (obj) {
  1351. //防止拖动图标即打开了桌面应用
  1352. U.MD.D.click(this, obj);
  1353. }, [_studentDesktopIconInfo[i]])
  1354. }, _frag); //
  1355. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1356. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1357. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1358. }
  1359. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1360. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1361. _content = $$("div", {
  1362. className: "U_MD_D_KO",
  1363. "onmousedown": U.UF.C.closure(function (obj) {
  1364. //防止拖动图标即打开了桌面应用
  1365. U.MD.D.click(this, obj);
  1366. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1367. "onclick": U.UF.C.closure(function (obj) {
  1368. //防止拖动图标即打开了桌面应用
  1369. U.MD.D.click(this, obj);
  1370. }, [_hkZJLSStudentDeskIconInfo[i]])
  1371. }, _frag); //
  1372. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1373. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1374. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1375. } //
  1376. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1377. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1378. _content = $$("div", {
  1379. className: "U_MD_D_KO",
  1380. "onmousedown": U.UF.C.closure(function (obj) {
  1381. //防止拖动图标即打开了桌面应用
  1382. U.MD.D.click(this, obj);
  1383. }, [_jccssylStudentDeskIconInfo[i]]),
  1384. "onclick": U.UF.C.closure(function (obj) {
  1385. //防止拖动图标即打开了桌面应用
  1386. U.MD.D.click(this, obj);
  1387. }, [_jccssylStudentDeskIconInfo[i]])
  1388. }, _frag); //
  1389. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1390. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1391. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1392. }
  1393. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1394. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1395. _content = $$("div", {
  1396. className: "U_MD_D_KO",
  1397. "onmousedown": U.UF.C.closure(function (obj) {
  1398. //防止拖动图标即打开了桌面应用
  1399. U.MD.D.click(this, obj);
  1400. }, [_thuioeStudentDeskIconInfo[i]]),
  1401. "onclick": U.UF.C.closure(function (obj) {
  1402. //防止拖动图标即打开了桌面应用
  1403. U.MD.D.click(this, obj);
  1404. }, [_thuioeStudentDeskIconInfo[i]])
  1405. }, _frag); //
  1406. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1407. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1408. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1409. }
  1410. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1411. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1412. _content = $$("div", {
  1413. className: "U_MD_D_KO",
  1414. "onmousedown": U.UF.C.closure(function (obj) {
  1415. //防止拖动图标即打开了桌面应用
  1416. U.MD.D.click(this, obj);
  1417. }, [_tpcStudentDeskIconInfo[i]]),
  1418. "onclick": U.UF.C.closure(function (obj) {
  1419. //防止拖动图标即打开了桌面应用
  1420. U.MD.D.click(this, obj);
  1421. }, [_tpcStudentDeskIconInfo[i]])
  1422. }, _frag); //
  1423. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1424. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1425. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1426. } //
  1427. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1428. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1429. _content = $$("div", {
  1430. className: "U_MD_D_KO",
  1431. "onmousedown": U.UF.C.closure(function (obj) {
  1432. //防止拖动图标即打开了桌面应用
  1433. U.MD.D.click(this, obj);
  1434. }, [_chjyjStudentDeskIconInfo[i]]),
  1435. "onclick": U.UF.C.closure(function (obj) {
  1436. //防止拖动图标即打开了桌面应用
  1437. U.MD.D.click(this, obj);
  1438. }, [_chjyjStudentDeskIconInfo[i]])
  1439. }, _frag); //
  1440. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1441. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1442. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1443. }
  1444. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1445. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1446. _content = $$("div", {
  1447. className: "U_MD_D_KO",
  1448. "onmousedown": U.UF.C.closure(function (obj) {
  1449. //防止拖动图标即打开了桌面应用
  1450. U.MD.D.click(this, obj);
  1451. }, [_szjkyStudentDeskIconInfo[i]]),
  1452. "onclick": U.UF.C.closure(function (obj) {
  1453. //防止拖动图标即打开了桌面应用
  1454. U.MD.D.click(this, obj);
  1455. }, [_szjkyStudentDeskIconInfo[i]])
  1456. }, _frag); //
  1457. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1458. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1459. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1460. }
  1461. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1462. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1463. _content = $$("div", {
  1464. className: "U_MD_D_KO",
  1465. "onmousedown": U.UF.C.closure(function (obj) {
  1466. //防止拖动图标即打开了桌面应用
  1467. U.MD.D.click(this, obj);
  1468. }, [_dseiStudentDeskIconInfo[i]]),
  1469. "onclick": U.UF.C.closure(function (obj) {
  1470. //防止拖动图标即打开了桌面应用
  1471. U.MD.D.click(this, obj);
  1472. }, [_dseiStudentDeskIconInfo[i]])
  1473. }, _frag); //
  1474. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1475. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1476. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1477. }
  1478. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1479. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1480. _content = $$("div", {
  1481. className: "U_MD_D_KO",
  1482. "onmousedown": U.UF.C.closure(function (obj) {
  1483. //防止拖动图标即打开了桌面应用
  1484. U.MD.D.click(this, obj);
  1485. }, [_siesStudentDeskIconInfo[i]]),
  1486. "onclick": U.UF.C.closure(function (obj) {
  1487. //防止拖动图标即打开了桌面应用
  1488. U.MD.D.click(this, obj);
  1489. }, [_siesStudentDeskIconInfo[i]])
  1490. }, _frag); //
  1491. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1492. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1493. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1494. }
  1495. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1496. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1497. _content = $$("div", {
  1498. className: "U_MD_D_KO",
  1499. "onmousedown": U.UF.C.closure(function (obj) {
  1500. //防止拖动图标即打开了桌面应用
  1501. U.MD.D.click(this, obj);
  1502. }, [_hkStudentDeskIconInfo[i]]),
  1503. "onclick": U.UF.C.closure(function (obj) {
  1504. //防止拖动图标即打开了桌面应用
  1505. U.MD.D.click(this, obj);
  1506. }, [_hkStudentDeskIconInfo[i]])
  1507. }, _frag); //
  1508. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1509. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1510. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1511. }
  1512. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1513. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1514. _content = $$("div", {
  1515. className: "U_MD_D_KO",
  1516. "onmousedown": U.UF.C.closure(function (obj) {
  1517. //防止拖动图标即打开了桌面应用
  1518. U.MD.D.click(this, obj);
  1519. }, [_hkaceStudentDeskIconInfo[i]]),
  1520. "onclick": U.UF.C.closure(function (obj) {
  1521. //防止拖动图标即打开了桌面应用
  1522. U.MD.D.click(this, obj);
  1523. }, [_hkaceStudentDeskIconInfo[i]])
  1524. }, _frag); //
  1525. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1526. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1527. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1528. }
  1529. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1530. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1531. _content = $$("div", {
  1532. className: "U_MD_D_KO",
  1533. "onmousedown": U.UF.C.closure(function (obj) {
  1534. //防止拖动图标即打开了桌面应用
  1535. U.MD.D.click(this, obj);
  1536. }, [_studentDesktopIconInfo[i]]),
  1537. "onclick": U.UF.C.closure(function (obj) {
  1538. //防止拖动图标即打开了桌面应用
  1539. U.MD.D.click(this, obj);
  1540. }, [_studentDesktopIconInfo[i]])
  1541. }, _frag); //
  1542. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1543. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1544. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1545. }
  1546. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1547. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1548. _content = $$("div", {
  1549. className: "U_MD_D_KO",
  1550. "onmousedown": U.UF.C.closure(function (obj) {
  1551. //防止拖动图标即打开了桌面应用
  1552. U.MD.D.click(this, obj);
  1553. }, [_tcStudentDeskIconInfo[i]]),
  1554. "onclick": U.UF.C.closure(function (obj) {
  1555. //防止拖动图标即打开了桌面应用
  1556. U.MD.D.click(this, obj);
  1557. }, [_tcStudentDeskIconInfo[i]])
  1558. }, _frag); //
  1559. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1560. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1561. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1562. }
  1563. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1564. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1565. _content = $$("div", {
  1566. className: "U_MD_D_KO",
  1567. "onmousedown": U.UF.C.closure(function (obj) {
  1568. //防止拖动图标即打开了桌面应用
  1569. U.MD.D.click(this, obj);
  1570. }, [_szscStudentDeskIconInfo[i]]),
  1571. "onclick": U.UF.C.closure(function (obj) {
  1572. //防止拖动图标即打开了桌面应用
  1573. U.MD.D.click(this, obj);
  1574. }, [_szscStudentDeskIconInfo[i]])
  1575. }, _frag); //
  1576. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1577. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1578. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1579. }
  1580. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1581. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1582. _content = $$("div", {
  1583. className: "U_MD_D_KO",
  1584. "onmousedown": U.UF.C.closure(function (obj) {
  1585. //防止拖动图标即打开了桌面应用
  1586. U.MD.D.click(this, obj);
  1587. }, [_studentDesktopIconInfo3[i]]),
  1588. "onclick": U.UF.C.closure(function (obj) {
  1589. //防止拖动图标即打开了桌面应用
  1590. U.MD.D.click(this, obj);
  1591. }, [_studentDesktopIconInfo3[i]])
  1592. }, _frag); //
  1593. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1594. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1595. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1596. }
  1597. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1598. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1599. _content = $$("div", {
  1600. className: "U_MD_D_KO",
  1601. "onmousedown": U.UF.C.closure(function (obj) {
  1602. //防止拖动图标即打开了桌面应用
  1603. U.MD.D.click(this, obj);
  1604. }, [_studentDesktopIconInfo2[i]]),
  1605. "onclick": U.UF.C.closure(function (obj) {
  1606. //防止拖动图标即打开了桌面应用
  1607. U.MD.D.click(this, obj);
  1608. }, [_studentDesktopIconInfo2[i]])
  1609. }, _frag); //
  1610. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1611. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1612. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1613. }
  1614. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1615. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1616. _content = $$("div", {
  1617. className: "U_MD_D_KO",
  1618. "onmousedown": U.UF.C.closure(function (obj) {
  1619. //防止拖动图标即打开了桌面应用
  1620. U.MD.D.click(this, obj);
  1621. }, [_wanketeacherDesktopIconInfo[i]]),
  1622. "onclick": U.UF.C.closure(function (obj) {
  1623. //防止拖动图标即打开了桌面应用
  1624. U.MD.D.click(this, obj);
  1625. }, [_wanketeacherDesktopIconInfo[i]])
  1626. }, _frag); //
  1627. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1628. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1629. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1630. }
  1631. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1632. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1633. _content = $$("div", {
  1634. className: "U_MD_D_KO",
  1635. "onmousedown": U.UF.C.closure(function (obj) {
  1636. //防止拖动图标即打开了桌面应用
  1637. U.MD.D.click(this, obj);
  1638. }, [_wankeAdminDesktopIconInfo[i]]),
  1639. "onclick": U.UF.C.closure(function (obj) {
  1640. //防止拖动图标即打开了桌面应用
  1641. U.MD.D.click(this, obj);
  1642. }, [_wankeAdminDesktopIconInfo[i]])
  1643. }, _frag); //
  1644. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1645. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1646. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1647. }
  1648. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1649. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1650. _content = $$("div", {
  1651. className: "U_MD_D_KO",
  1652. "onmousedown": U.UF.C.closure(function (obj) {
  1653. //防止拖动图标即打开了桌面应用
  1654. U.MD.D.click(this, obj);
  1655. }, [_jccssylTeacherDeskIconInfo[i]]),
  1656. "onclick": U.UF.C.closure(function (obj) {
  1657. //防止拖动图标即打开了桌面应用
  1658. U.MD.D.click(this, obj);
  1659. }, [_jccssylTeacherDeskIconInfo[i]])
  1660. }, _frag); //
  1661. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1662. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1663. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1664. }
  1665. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1666. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1667. _content = $$("div", {
  1668. className: "U_MD_D_KO",
  1669. "onmousedown": U.UF.C.closure(function (obj) {
  1670. //防止拖动图标即打开了桌面应用
  1671. U.MD.D.click(this, obj);
  1672. }, [_tpcOrganizerDeskIconInfo[i]]),
  1673. "onclick": U.UF.C.closure(function (obj) {
  1674. //防止拖动图标即打开了桌面应用
  1675. U.MD.D.click(this, obj);
  1676. }, [_tpcOrganizerDeskIconInfo[i]])
  1677. }, _frag); //
  1678. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1679. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1680. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1681. }
  1682. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1683. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1684. _content = $$("div", {
  1685. className: "U_MD_D_KO",
  1686. "onmousedown": U.UF.C.closure(function (obj) {
  1687. //防止拖动图标即打开了桌面应用
  1688. U.MD.D.click(this, obj);
  1689. }, [_tpcTeacherDeskIconInfo[i]]),
  1690. "onclick": U.UF.C.closure(function (obj) {
  1691. //防止拖动图标即打开了桌面应用
  1692. U.MD.D.click(this, obj);
  1693. }, [_tpcTeacherDeskIconInfo[i]])
  1694. }, _frag); //
  1695. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1696. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1697. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1698. }
  1699. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1700. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1701. _content = $$("div", {
  1702. className: "U_MD_D_KO",
  1703. "onmousedown": U.UF.C.closure(function (obj) {
  1704. //防止拖动图标即打开了桌面应用
  1705. U.MD.D.click(this, obj);
  1706. }, [_teacherDesktopIconInfo2[i]]),
  1707. "onclick": U.UF.C.closure(function (obj) {
  1708. //防止拖动图标即打开了桌面应用
  1709. U.MD.D.click(this, obj);
  1710. }, [_teacherDesktopIconInfo2[i]])
  1711. }, _frag); //
  1712. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1713. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1714. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1715. }
  1716. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1717. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1718. _content = $$("div", {
  1719. className: "U_MD_D_KO",
  1720. "onmousedown": U.UF.C.closure(function (obj) {
  1721. //防止拖动图标即打开了桌面应用
  1722. U.MD.D.click(this, obj);
  1723. }, [_thuioeTeacherDeskIconInfo[i]]),
  1724. "onclick": U.UF.C.closure(function (obj) {
  1725. //防止拖动图标即打开了桌面应用
  1726. U.MD.D.click(this, obj);
  1727. }, [_thuioeTeacherDeskIconInfo[i]])
  1728. }, _frag); //
  1729. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1730. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1731. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1732. }
  1733. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1734. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1735. _content = $$("div", {
  1736. className: "U_MD_D_KO",
  1737. "onmousedown": U.UF.C.closure(function (obj) {
  1738. //防止拖动图标即打开了桌面应用
  1739. U.MD.D.click(this, obj);
  1740. }, [_lotechTeacherDeskIconInfo[i]]),
  1741. "onclick": U.UF.C.closure(function (obj) {
  1742. //防止拖动图标即打开了桌面应用
  1743. U.MD.D.click(this, obj);
  1744. }, [_lotechTeacherDeskIconInfo[i]])
  1745. }, _frag); //
  1746. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1747. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1748. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1749. }//
  1750. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1751. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1752. _content = $$("div", {
  1753. className: "U_MD_D_KO",
  1754. "onmousedown": U.UF.C.closure(function (obj) {
  1755. //防止拖动图标即打开了桌面应用
  1756. U.MD.D.click(this, obj);
  1757. }, [_siesTeacherDeskIconInfo[i]]),
  1758. "onclick": U.UF.C.closure(function (obj) {
  1759. //防止拖动图标即打开了桌面应用
  1760. U.MD.D.click(this, obj);
  1761. }, [_siesTeacherDeskIconInfo[i]])
  1762. }, _frag); //
  1763. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1764. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1765. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1766. }
  1767. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1768. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1769. _content = $$("div", {
  1770. className: "U_MD_D_KO",
  1771. "onmousedown": U.UF.C.closure(function (obj) {
  1772. //防止拖动图标即打开了桌面应用
  1773. U.MD.D.click(this, obj);
  1774. }, [_longhuaTeacherDeskIconInfo[i]]),
  1775. "onclick": U.UF.C.closure(function (obj) {
  1776. //防止拖动图标即打开了桌面应用
  1777. U.MD.D.click(this, obj);
  1778. }, [_longhuaTeacherDeskIconInfo[i]])
  1779. }, _frag); //
  1780. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1781. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1782. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1783. }
  1784. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1785. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1786. _content = $$("div", {
  1787. className: "U_MD_D_KO",
  1788. "onmousedown": U.UF.C.closure(function (obj) {
  1789. //防止拖动图标即打开了桌面应用
  1790. U.MD.D.click(this, obj);
  1791. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1792. "onclick": U.UF.C.closure(function (obj) {
  1793. //防止拖动图标即打开了桌面应用
  1794. U.MD.D.click(this, obj);
  1795. }, [_yunhaiTeacherDeskIconInfo[i]])
  1796. }, _frag); //
  1797. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1798. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1799. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1800. } //_hkStudentDeskIconInfo
  1801. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1802. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1803. _content = $$("div", {
  1804. className: "U_MD_D_KO",
  1805. "onmousedown": U.UF.C.closure(function (obj) {
  1806. //防止拖动图标即打开了桌面应用
  1807. U.MD.D.click(this, obj);
  1808. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1809. "onclick": U.UF.C.closure(function (obj) {
  1810. //防止拖动图标即打开了桌面应用
  1811. U.MD.D.click(this, obj);
  1812. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1813. }, _frag); //
  1814. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1815. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1816. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1817. }
  1818. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1819. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1820. _content = $$("div", {
  1821. className: "U_MD_D_KO",
  1822. "onmousedown": U.UF.C.closure(function (obj) {
  1823. //防止拖动图标即打开了桌面应用
  1824. U.MD.D.click(this, obj);
  1825. }, [_hkTeacherDeskIconInfo[i]]),
  1826. "onclick": U.UF.C.closure(function (obj) {
  1827. //防止拖动图标即打开了桌面应用
  1828. U.MD.D.click(this, obj);
  1829. }, [_hkTeacherDeskIconInfo[i]])
  1830. }, _frag); //
  1831. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1832. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1833. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1834. }
  1835. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1836. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  1837. _content = $$("div", {
  1838. className: "U_MD_D_KO",
  1839. "onmousedown": U.UF.C.closure(function (obj) {
  1840. //防止拖动图标即打开了桌面应用
  1841. U.MD.D.click(this, obj);
  1842. }, [_hkaceTeacherDeskIconInfo[i]]),
  1843. "onclick": U.UF.C.closure(function (obj) {
  1844. //防止拖动图标即打开了桌面应用
  1845. U.MD.D.click(this, obj);
  1846. }, [_hkaceTeacherDeskIconInfo[i]])
  1847. }, _frag); //
  1848. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1849. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  1850. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  1851. }
  1852. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1853. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1854. _content = $$("div", {
  1855. className: "U_MD_D_KO",
  1856. "onmousedown": U.UF.C.closure(function (obj) {
  1857. //防止拖动图标即打开了桌面应用
  1858. U.MD.D.click(this, obj);
  1859. }, [_gdjgAdminDeskIconInfo[i]]),
  1860. "onclick": U.UF.C.closure(function (obj) {
  1861. //防止拖动图标即打开了桌面应用
  1862. U.MD.D.click(this, obj);
  1863. }, [_gdjgAdminDeskIconInfo[i]])
  1864. }, _frag); //
  1865. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1866. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1867. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1868. }
  1869. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1870. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1871. _content = $$("div", {
  1872. className: "U_MD_D_KO",
  1873. "onmousedown": U.UF.C.closure(function (obj) {
  1874. //防止拖动图标即打开了桌面应用
  1875. U.MD.D.click(this, obj);
  1876. }, [_gdjgTeacherDeskIconInfo[i]]),
  1877. "onclick": U.UF.C.closure(function (obj) {
  1878. //防止拖动图标即打开了桌面应用
  1879. U.MD.D.click(this, obj);
  1880. }, [_gdjgTeacherDeskIconInfo[i]])
  1881. }, _frag); //
  1882. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1883. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1884. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1885. }
  1886. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1887. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1888. _content = $$("div", {
  1889. className: "U_MD_D_KO",
  1890. "onmousedown": U.UF.C.closure(function (obj) {
  1891. //防止拖动图标即打开了桌面应用
  1892. U.MD.D.click(this, obj);
  1893. }, [_szherTeacherDeskIconInfo[i]]),
  1894. "onclick": U.UF.C.closure(function (obj) {
  1895. //防止拖动图标即打开了桌面应用
  1896. U.MD.D.click(this, obj);
  1897. }, [_szherTeacherDeskIconInfo[i]])
  1898. }, _frag); //
  1899. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1900. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1901. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1902. }
  1903. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1904. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1905. _content = $$("div", {
  1906. className: "U_MD_D_KO",
  1907. "onmousedown": U.UF.C.closure(function (obj) {
  1908. //防止拖动图标即打开了桌面应用
  1909. U.MD.D.click(this, obj);
  1910. }, [_heyuannAdminDeskIconInfo[i]]),
  1911. "onclick": U.UF.C.closure(function (obj) {
  1912. //防止拖动图标即打开了桌面应用
  1913. U.MD.D.click(this, obj);
  1914. }, [_heyuannAdminDeskIconInfo[i]])
  1915. }, _frag); //
  1916. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1917. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1918. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1919. }
  1920. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1921. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1922. _content = $$("div", {
  1923. className: "U_MD_D_KO",
  1924. "onmousedown": U.UF.C.closure(function (obj) {
  1925. //防止拖动图标即打开了桌面应用
  1926. U.MD.D.click(this, obj);
  1927. }, [_heyuanTeacherDeskIconInfo[i]]),
  1928. "onclick": U.UF.C.closure(function (obj) {
  1929. //防止拖动图标即打开了桌面应用
  1930. U.MD.D.click(this, obj);
  1931. }, [_heyuanTeacherDeskIconInfo[i]])
  1932. }, _frag); //
  1933. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1934. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1935. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1936. } //
  1937. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1938. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1939. _content = $$("div", {
  1940. className: "U_MD_D_KO",
  1941. "onmousedown": U.UF.C.closure(function (obj) {
  1942. //防止拖动图标即打开了桌面应用
  1943. U.MD.D.click(this, obj);
  1944. }, [_dseiAdminDeskIconInfo[i]]),
  1945. "onclick": U.UF.C.closure(function (obj) {
  1946. //防止拖动图标即打开了桌面应用
  1947. U.MD.D.click(this, obj);
  1948. }, [_dseiAdminDeskIconInfo[i]])
  1949. }, _frag); //
  1950. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1951. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1952. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1953. }
  1954. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1955. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1956. _content = $$("div", {
  1957. className: "U_MD_D_KO",
  1958. "onmousedown": U.UF.C.closure(function (obj) {
  1959. //防止拖动图标即打开了桌面应用
  1960. U.MD.D.click(this, obj);
  1961. }, [_dseiTeacherDeskIconInfo[i]]),
  1962. "onclick": U.UF.C.closure(function (obj) {
  1963. //防止拖动图标即打开了桌面应用
  1964. U.MD.D.click(this, obj);
  1965. }, [_dseiTeacherDeskIconInfo[i]])
  1966. }, _frag); //
  1967. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1968. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1969. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1970. } //
  1971. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1972. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1973. _content = $$("div", {
  1974. className: "U_MD_D_KO",
  1975. "onmousedown": U.UF.C.closure(function (obj) {
  1976. //防止拖动图标即打开了桌面应用
  1977. U.MD.D.click(this, obj);
  1978. }, [_chjyjAdminDeskIconInfo[i]]),
  1979. "onclick": U.UF.C.closure(function (obj) {
  1980. //防止拖动图标即打开了桌面应用
  1981. U.MD.D.click(this, obj);
  1982. }, [_chjyjAdminDeskIconInfo[i]])
  1983. }, _frag); //
  1984. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1985. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1986. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1987. }//
  1988. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1989. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1990. _content = $$("div", {
  1991. className: "U_MD_D_KO",
  1992. "onmousedown": U.UF.C.closure(function (obj) {
  1993. //防止拖动图标即打开了桌面应用
  1994. U.MD.D.click(this, obj);
  1995. }, [_chjyjTeacherDeskIconInfo[i]]),
  1996. "onclick": U.UF.C.closure(function (obj) {
  1997. //防止拖动图标即打开了桌面应用
  1998. U.MD.D.click(this, obj);
  1999. }, [_chjyjTeacherDeskIconInfo[i]])
  2000. }, _frag); //
  2001. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2002. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2003. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2004. }
  2005. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2006. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2007. _content = $$("div", {
  2008. className: "U_MD_D_KO",
  2009. "onmousedown": U.UF.C.closure(function (obj) {
  2010. //防止拖动图标即打开了桌面应用
  2011. U.MD.D.click(this, obj);
  2012. }, [_szjkyAdminDeskIconInfo[i]]),
  2013. "onclick": U.UF.C.closure(function (obj) {
  2014. //防止拖动图标即打开了桌面应用
  2015. U.MD.D.click(this, obj);
  2016. }, [_szjkyAdminDeskIconInfo[i]])
  2017. }, _frag); //
  2018. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2019. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2020. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2021. }//
  2022. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2023. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2024. _content = $$("div", {
  2025. className: "U_MD_D_KO",
  2026. "onmousedown": U.UF.C.closure(function (obj) {
  2027. //防止拖动图标即打开了桌面应用
  2028. U.MD.D.click(this, obj);
  2029. }, [_szjkyTeacherDeskIconInfo[i]]),
  2030. "onclick": U.UF.C.closure(function (obj) {
  2031. //防止拖动图标即打开了桌面应用
  2032. U.MD.D.click(this, obj);
  2033. }, [_szjkyTeacherDeskIconInfo[i]])
  2034. }, _frag); //
  2035. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2036. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2037. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2038. }
  2039. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2040. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2041. _content = $$("div", {
  2042. className: "U_MD_D_KO",
  2043. "onmousedown": U.UF.C.closure(function (obj) {
  2044. //防止拖动图标即打开了桌面应用
  2045. U.MD.D.click(this, obj);
  2046. }, [_futianAdminDeskIconInfo[i]]),
  2047. "onclick": U.UF.C.closure(function (obj) {
  2048. //防止拖动图标即打开了桌面应用
  2049. U.MD.D.click(this, obj);
  2050. }, [_futianAdminDeskIconInfo[i]])
  2051. }, _frag); //
  2052. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2053. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2054. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2055. }
  2056. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2057. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2058. _content = $$("div", {
  2059. className: "U_MD_D_KO",
  2060. "onmousedown": U.UF.C.closure(function (obj) {
  2061. //防止拖动图标即打开了桌面应用
  2062. U.MD.D.click(this, obj);
  2063. }, [_futianTeacherDeskIconInfo[i]]),
  2064. "onclick": U.UF.C.closure(function (obj) {
  2065. //防止拖动图标即打开了桌面应用
  2066. U.MD.D.click(this, obj);
  2067. }, [_futianTeacherDeskIconInfo[i]])
  2068. }, _frag); //
  2069. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2070. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2071. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2072. }
  2073. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2074. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2075. _content = $$("div", {
  2076. className: "U_MD_D_KO",
  2077. "onmousedown": U.UF.C.closure(function (obj) {
  2078. //防止拖动图标即打开了桌面应用
  2079. U.MD.D.click(this, obj);
  2080. }, [_MingdeTeacherDeskIcon[i]]),
  2081. "onclick": U.UF.C.closure(function (obj) {
  2082. //防止拖动图标即打开了桌面应用
  2083. U.MD.D.click(this, obj);
  2084. }, [_MingdeTeacherDeskIcon[i]])
  2085. }, _frag); //
  2086. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2087. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2088. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2089. }
  2090. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2091. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2092. _content = $$("div", {
  2093. className: "U_MD_D_KO",
  2094. "onmousedown": U.UF.C.closure(function (obj) {
  2095. //防止拖动图标即打开了桌面应用
  2096. U.MD.D.click(this, obj);
  2097. }, [_lhsAdminDesktopIconInfo[i]]),
  2098. "onclick": U.UF.C.closure(function (obj) {
  2099. //防止拖动图标即打开了桌面应用
  2100. U.MD.D.click(this, obj);
  2101. }, [_lhsAdminDesktopIconInfo[i]])
  2102. }, _frag); //
  2103. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2104. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2105. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2106. }
  2107. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2108. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2109. _content = $$("div", {
  2110. className: "U_MD_D_KO",
  2111. "onmousedown": U.UF.C.closure(function (obj) {
  2112. //防止拖动图标即打开了桌面应用
  2113. U.MD.D.click(this, obj);
  2114. }, [_lhsteacherDesktopIconInfo[i]]),
  2115. "onclick": U.UF.C.closure(function (obj) {
  2116. //防止拖动图标即打开了桌面应用
  2117. U.MD.D.click(this, obj);
  2118. }, [_lhsteacherDesktopIconInfo[i]])
  2119. }, _frag); //
  2120. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2121. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2122. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2123. }
  2124. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2125. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2126. _content = $$("div", {
  2127. className: "U_MD_D_KO",
  2128. "onmousedown": U.UF.C.closure(function (obj) {
  2129. //防止拖动图标即打开了桌面应用
  2130. U.MD.D.click(this, obj);
  2131. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2132. "onclick": U.UF.C.closure(function (obj) {
  2133. //防止拖动图标即打开了桌面应用
  2134. U.MD.D.click(this, obj);
  2135. }, [_zhoujiateacherDesktopIconInfo[i]])
  2136. }, _frag); //
  2137. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2138. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2139. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2140. }
  2141. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2142. for (i = 0; i < _hanDeskIcon.length; i++) {
  2143. _content = $$("div", {
  2144. className: "U_MD_D_KO",
  2145. "onmousedown": U.UF.C.closure(function (obj) {
  2146. //防止拖动图标即打开了桌面应用
  2147. U.MD.D.click(this, obj);
  2148. }, [_hanDeskIcon[i]]),
  2149. "onclick": U.UF.C.closure(function (obj) {
  2150. //防止拖动图标即打开了桌面应用
  2151. U.MD.D.click(this, obj);
  2152. }, [_hanDeskIcon[i]])
  2153. }, _frag); //
  2154. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2155. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2156. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2157. }
  2158. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2159. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2160. _content = $$("div", {
  2161. className: "U_MD_D_KO",
  2162. "onmousedown": U.UF.C.closure(function (obj) {
  2163. //防止拖动图标即打开了桌面应用
  2164. U.MD.D.click(this, obj);
  2165. }, [_orgStemDeskIcon[i]]),
  2166. "onclick": U.UF.C.closure(function (obj) {
  2167. //防止拖动图标即打开了桌面应用
  2168. U.MD.D.click(this, obj);
  2169. }, [_orgStemDeskIcon[i]])
  2170. }, _frag); //
  2171. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2172. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2173. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2174. }
  2175. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2176. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2177. _content = $$("div", {
  2178. className: "U_MD_D_KO",
  2179. "onmousedown": U.UF.C.closure(function (obj) {
  2180. //防止拖动图标即打开了桌面应用
  2181. U.MD.D.click(this, obj);
  2182. }, [_szulsDeskIcon[i]]),
  2183. "onclick": U.UF.C.closure(function (obj) {
  2184. //防止拖动图标即打开了桌面应用
  2185. U.MD.D.click(this, obj);
  2186. }, [_szulsDeskIcon[i]])
  2187. }, _frag); //
  2188. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2189. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2190. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2191. }
  2192. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2193. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2194. _content = $$("div", {
  2195. className: "U_MD_D_KO",
  2196. "onmousedown": U.UF.C.closure(function (obj) {
  2197. //防止拖动图标即打开了桌面应用
  2198. U.MD.D.click(this, obj);
  2199. }, [_orgDesktopIconInfo[i]]),
  2200. "onclick": U.UF.C.closure(function (obj) {
  2201. //防止拖动图标即打开了桌面应用
  2202. U.MD.D.click(this, obj);
  2203. }, [_orgDesktopIconInfo[i]])
  2204. }, _frag); //
  2205. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2206. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2207. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2208. }
  2209. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2210. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2211. _content = $$("div", {
  2212. className: "U_MD_D_KO",
  2213. "onmousedown": U.UF.C.closure(function (obj) {
  2214. //防止拖动图标即打开了桌面应用
  2215. U.MD.D.click(this, obj);
  2216. }, [_schoolDesktopIconInfo[i]]),
  2217. "onclick": U.UF.C.closure(function (obj) {
  2218. //防止拖动图标即打开了桌面应用
  2219. U.MD.D.click(this, obj);
  2220. }, [_schoolDesktopIconInfo[i]])
  2221. }, _frag); //
  2222. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2223. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2224. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2225. }
  2226. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2227. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2228. _content = $$("div", {
  2229. className: "U_MD_D_KO",
  2230. "onmousedown": U.UF.C.closure(function (obj) {
  2231. //防止拖动图标即打开了桌面应用
  2232. U.MD.D.click(this, obj);
  2233. }, [_GMteacherDesktopIconInfo[i]]),
  2234. "onclick": U.UF.C.closure(function (obj) {
  2235. //防止拖动图标即打开了桌面应用
  2236. U.MD.D.click(this, obj);
  2237. }, [_GMteacherDesktopIconInfo[i]])
  2238. }, _frag); //
  2239. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2240. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2241. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2242. }
  2243. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2244. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2245. _content = $$("div", {
  2246. className: "U_MD_D_KO",
  2247. "onmousedown": U.UF.C.closure(function (obj) {
  2248. //防止拖动图标即打开了桌面应用
  2249. U.MD.D.click(this, obj);
  2250. }, [_SONGteacherDesktopIconInfo[i]]),
  2251. "onclick": U.UF.C.closure(function (obj) {
  2252. //防止拖动图标即打开了桌面应用
  2253. U.MD.D.click(this, obj);
  2254. }, [_SONGteacherDesktopIconInfo[i]])
  2255. }, _frag); //
  2256. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2257. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2258. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2259. }
  2260. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2261. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2262. _content = $$("div", {
  2263. className: "U_MD_D_KO",
  2264. "onmousedown": U.UF.C.closure(function (obj) {
  2265. //防止拖动图标即打开了桌面应用
  2266. U.MD.D.click(this, obj);
  2267. }, [_GMstudentDesktopIconInfo[i]]),
  2268. "onclick": U.UF.C.closure(function (obj) {
  2269. //防止拖动图标即打开了桌面应用
  2270. U.MD.D.click(this, obj);
  2271. }, [_GMstudentDesktopIconInfo[i]])
  2272. }, _frag); //
  2273. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2274. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2275. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2276. }
  2277. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2278. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2279. _content = $$("div", {
  2280. className: "U_MD_D_KO",
  2281. "onmousedown": U.UF.C.closure(function (obj) {
  2282. //防止拖动图标即打开了桌面应用
  2283. U.MD.D.click(this, obj);
  2284. }, [_tcTeacherDeskIconInfo[i]]),
  2285. "onclick": U.UF.C.closure(function (obj) {
  2286. //防止拖动图标即打开了桌面应用
  2287. U.MD.D.click(this, obj);
  2288. }, [_tcTeacherDeskIconInfo[i]])
  2289. }, _frag); //
  2290. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2291. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2292. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2293. }
  2294. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2295. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2296. _content = $$("div", {
  2297. className: "U_MD_D_KO",
  2298. "onmousedown": U.UF.C.closure(function (obj) {
  2299. //防止拖动图标即打开了桌面应用
  2300. U.MD.D.click(this, obj);
  2301. }, [_tcOrganizerDeskIconInfo[i]]),
  2302. "onclick": U.UF.C.closure(function (obj) {
  2303. //防止拖动图标即打开了桌面应用
  2304. U.MD.D.click(this, obj);
  2305. }, [_tcOrganizerDeskIconInfo[i]])
  2306. }, _frag); //
  2307. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2308. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2309. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2310. }
  2311. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2312. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2313. _content = $$("div", {
  2314. className: "U_MD_D_KO",
  2315. "onmousedown": U.UF.C.closure(function (obj) {
  2316. //防止拖动图标即打开了桌面应用
  2317. U.MD.D.click(this, obj);
  2318. }, [_szscTeacherDeskIconInfo[i]]),
  2319. "onclick": U.UF.C.closure(function (obj) {
  2320. //防止拖动图标即打开了桌面应用
  2321. U.MD.D.click(this, obj);
  2322. }, [_szscTeacherDeskIconInfo[i]])
  2323. }, _frag); //
  2324. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2325. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2326. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2327. }
  2328. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2329. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2330. _content = $$("div", {
  2331. className: "U_MD_D_KO",
  2332. "onmousedown": U.UF.C.closure(function (obj) {
  2333. //防止拖动图标即打开了桌面应用
  2334. U.MD.D.click(this, obj);
  2335. }, [_szscOrganizerDeskIconInfo[i]]),
  2336. "onclick": U.UF.C.closure(function (obj) {
  2337. //防止拖动图标即打开了桌面应用
  2338. U.MD.D.click(this, obj);
  2339. }, [_szscOrganizerDeskIconInfo[i]])
  2340. }, _frag); //
  2341. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2342. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2343. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2344. }
  2345. } else {
  2346. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2347. _content = $$("div", {
  2348. className: "U_MD_D_KO",
  2349. "onmousedown": U.UF.C.closure(function (obj) {
  2350. //防止拖动图标即打开了桌面应用
  2351. U.MD.D.click(this, obj);
  2352. }, [_teacherDesktopIconInfo[i]]),
  2353. "onclick": U.UF.C.closure(function (obj) {
  2354. //防止拖动图标即打开了桌面应用
  2355. U.MD.D.click(this, obj);
  2356. }, [_teacherDesktopIconInfo[i]])
  2357. }, _frag); //
  2358. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2359. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2360. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2361. }
  2362. }
  2363. } else {
  2364. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2365. _content = $$("div", {
  2366. className: "U_MD_D_KO",
  2367. style: { 'width': '124px', 'height': '145px' },
  2368. "onmousedown": U.UF.C.closure(function (obj) {
  2369. //防止拖动图标即打开了桌面应用
  2370. U.MD.D.click(this, obj);
  2371. }, [_easyDesktopIconInfo[i]]),
  2372. "onclick": U.UF.C.closure(function (obj) {
  2373. //防止拖动图标即打开了桌面应用
  2374. U.MD.D.click(this, obj);
  2375. }, [_easyDesktopIconInfo[i]])
  2376. }, _frag); //
  2377. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2378. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2379. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2380. }
  2381. }
  2382. if (type == 1) {
  2383. //加载好后给图标定位
  2384. U.MD.D.iconPostion($(_frag).Child());
  2385. } else {
  2386. //加载好后给图标定位
  2387. U.MD.D.iconPostion2($(_frag).Child());
  2388. }
  2389. //把图标加载到页面
  2390. el.appendChild(_frag);
  2391. }
  2392. /**
  2393. * 显示任务栏
  2394. *
  2395. * @param {element} 桌面元素
  2396. */
  2397. U.MD.D.I.displayTaskbar = function (el) {
  2398. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2399. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2400. //任务栏位置变化
  2401. U.selectEl(el).css({ "bottom": "0px" });
  2402. //桌面位置变话
  2403. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2404. }
  2405. }
  2406. //#region 桌面图标拖动逻辑
  2407. /**
  2408. * 桌面排列图标
  2409. *
  2410. * @param {element} 桌面元素
  2411. * @param {object} 上下相距的距离
  2412. * @param {object} 左右相距的距离
  2413. * @return {object} 命名空间
  2414. */
  2415. U.MD.D.iconPostion = function (childs, top, left) {
  2416. var i; //用于循环处理
  2417. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2418. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2419. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2420. for (i = 0; i < childs.length; i++) {
  2421. //如果竖排top超过了范围处理
  2422. if (top + 95 > US.height - 10) {
  2423. //left超过了页面范围处理,则向上重叠打印处理
  2424. if ((left + 180) > US.width) {
  2425. top -= 110;
  2426. left -= 90;
  2427. }
  2428. //没有超过范围,那么left+90添加到下一个竖排打印
  2429. else {
  2430. left += 90;
  2431. top = 15;
  2432. };
  2433. }
  2434. //给图标的位置赋值
  2435. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2436. if (i < childs.length - 1) {
  2437. //页面图标每次向下加95
  2438. top += 95;
  2439. }
  2440. }
  2441. //返回最后调用的图标的位置
  2442. return [top, left];
  2443. }
  2444. /**
  2445. * 桌面排列图标
  2446. *
  2447. * @param {element} 桌面元素
  2448. * @param {object} 上下相距的距离
  2449. * @param {object} 左右相距的距离
  2450. * @return {object} 命名空间
  2451. */
  2452. U.MD.D.iconPostion2 = function (childs, top, left) {
  2453. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2454. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2455. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2456. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2457. for (i = 0; i < childs.length; i++) {
  2458. //如果竖排top超过了范围处理
  2459. if (left + 150 > US.width - 10) {
  2460. //left超过了页面范围处理,则向上重叠打印处理
  2461. if ((top + 180) > US.Height) {
  2462. top -= 150;
  2463. left -= 150;
  2464. }
  2465. //没有超过范围,那么left+90添加到下一个竖排打印
  2466. else {
  2467. top += 150;
  2468. left = ol;
  2469. };
  2470. }
  2471. //给图标的位置赋值
  2472. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2473. if (i < childs.length - 1) {
  2474. //页面图标每次向下加95
  2475. left += 150;
  2476. }
  2477. }
  2478. //返回最后调用的图标的位置
  2479. return [top, left];
  2480. }
  2481. /**
  2482. * 桌面点击事件逻辑
  2483. *
  2484. * @param {element} 桌面元素
  2485. * @param {object} 上下相距的距离
  2486. * @param {object} 左右相距的距离
  2487. * @return {object} 命名空间
  2488. */
  2489. U.MD.D.click = function (el, obj) {
  2490. var _buttonnumber = event.button; //点击的按钮的事件值
  2491. var _userinfo = US.userInfo;
  2492. U.UF.EV.stopBubble(); //阻止向上冒泡
  2493. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2494. if (_buttonnumber < 2) {
  2495. //如果是click事件的处理
  2496. if (event.type == "click") {
  2497. //如果元素在mousemove事件中没有移动则出发click事件
  2498. if (!U.MD.D.I.IsDrag) {
  2499. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2500. U.alert("请先登录您的账号!");
  2501. setTimeout(() => {
  2502. U.MD.U.L.login();
  2503. }, 2000);
  2504. } else {
  2505. //打开应用处理
  2506. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2507. }
  2508. }
  2509. }
  2510. //如果是mouse事件的处理
  2511. else {
  2512. if (US.Config.type == '1') {
  2513. //拖动处理,添加拖动和拖动结束事件
  2514. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2515. }
  2516. }
  2517. U.MD.D.I.IsDrag = false;
  2518. }
  2519. }
  2520. /**
  2521. * 拖动的处理
  2522. *
  2523. */
  2524. U.MD.D.iconMove = function () {
  2525. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2526. U.MD.D.I.IsDrag = true;
  2527. }
  2528. /**
  2529. * 拖动结束后,这里是定位处理,以网状的形式定位
  2530. *
  2531. * @param {element} 拖动的元素
  2532. * @return {object} 命名空间
  2533. */
  2534. U.MD.D.iconUp = function (el) {
  2535. var _top = 15,
  2536. _left = 20,
  2537. _margin,
  2538. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2539. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2540. if (_positioninfo["OT"] > 15) {
  2541. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2542. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2543. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2544. }
  2545. if (_positioninfo["OL"] > 20) {
  2546. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2547. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2548. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2549. }
  2550. //while循环判断么一个重叠的元素
  2551. do {
  2552. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2553. _top = _positioninfo[0] + 95; //得到定位后的top
  2554. _left = _positioninfo[1]; //得到定位后的left
  2555. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2556. }
  2557. /**
  2558. * 判断拖动后图标是否重叠
  2559. *
  2560. * @param {element} 拖动的元素
  2561. * @param {element} 桌面所有的元素
  2562. * @param {array} 拖动元素的位置
  2563. ----------[0] 上 top
  2564. ----------[1] 左 left
  2565. * @return {object} 命名空间
  2566. */
  2567. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2568. //循环所有的图标
  2569. for (var i = 0; i < childs.length; i++) {
  2570. //判断有没有和该图标诶子重叠的元素
  2571. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2572. return childs[i]; //如果有返回
  2573. }
  2574. }
  2575. }
  2576. //#endregion
  2577. //#endregion
  2578. //#region 桌面应用
  2579. /**
  2580. * 打开应用
  2581. *
  2582. * @param {string} 类型
  2583. -----------------Disk 网盘系统
  2584. -----------------PDisk 学习系统网盘
  2585. -----------------Poto 图片
  2586. -----------------Video 视频
  2587. -----------------Music 音乐
  2588. -----------------Word word
  2589. -----------------Excel excel
  2590. -----------------Txt 记事本
  2591. -----------------PB 学习系统
  2592. -----------------Blog 朋友圈系统
  2593. -----------------FTP ftp系统
  2594. -----------------Group 好友群
  2595. -----------------SY 首页系统
  2596. -----------------Set 个人设置
  2597. -----------------XSet 系统设置
  2598. -----------------App 我们所有的app
  2599. -----------------BC c.1473.cn 平台
  2600. -----------------CWeb d.1473.cn 变成平台
  2601. -----------------其他的外联系统 我们统一用iframe打开
  2602. * @param {array} 类型
  2603. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2604. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2605. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2606. 如果第一个参数为其他,则无第二个参数
  2607. * @returns {array}
  2608. */
  2609. window.addEventListener('message', function (e) { // 监听 message 事件
  2610. // alert(e.data.type);
  2611. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2612. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2613. //3是展示全部阶段 2学生 1老师 4专家
  2614. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2615. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2616. //3是展示全部阶段 2学生 1老师 4专家
  2617. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2618. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2619. //3是展示全部阶段 2学生 1老师 4专家
  2620. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2621. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2622. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2623. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2624. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2625. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2626. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2627. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2628. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2629. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2630. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2631. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2632. //3是展示全部阶段 2学生 1老师 4专家
  2633. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2634. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2635. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2636. U.MD.D.I.selectUser();
  2637. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2638. var _formel = document.getElementById("study");
  2639. U.UF.F.windowZooming(_formel);
  2640. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2641. var _formel = document.getElementById("studyDetail");
  2642. U.UF.F.windowZooming(_formel);
  2643. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2644. var _formel = document.getElementById("studyDetail");
  2645. U.UF.F.windowZooming(_formel);
  2646. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2647. var _formel = document.getElementById("studentStudy");
  2648. U.UF.F.windowZooming(_formel);
  2649. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2650. // var _formel = document.getElementById("study");
  2651. //如果最大化了,那么就把他缩小
  2652. // if (_formel.ismaximize) {
  2653. // return;
  2654. // }
  2655. // U.UF.F.windowZooming(_formel);
  2656. // U.UF.F.topWindow(_formel);
  2657. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2658. // var _formel = document.getElementById("studyDetail");
  2659. //如果最大化了,那么就把他缩小
  2660. // if (_formel.ismaximize) {
  2661. // return;
  2662. // }
  2663. // U.UF.F.windowZooming(_formel);
  2664. // U.UF.F.topWindow(_formel);
  2665. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2666. // var _formel = document.getElementById("studentStudy");
  2667. // if (_formel.ismaximize) {
  2668. // return;
  2669. // }
  2670. // U.UF.F.windowZooming(_formel);
  2671. // U.UF.F.topWindow(_formel);
  2672. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2673. var _formel = document.getElementById("study");
  2674. // if (_formel.ismaximize) {
  2675. // return;
  2676. // }
  2677. // U.UF.F.windowZooming(_formel);
  2678. U.UF.F.topWindow(_formel);
  2679. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2680. var _formel = document.getElementById("studentIndex");
  2681. U.UF.F.windowZooming(_formel);
  2682. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2683. var _formel = document.getElementById("studyDetailS");
  2684. U.UF.F.windowZooming(_formel);
  2685. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2686. var _formel = document.getElementById("studioIndex");
  2687. U.UF.F.windowZooming(_formel);
  2688. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2689. var _formel = document.getElementById("studyDetailStudio");
  2690. U.UF.F.windowZooming(_formel);
  2691. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2692. var _formel = document.getElementById("studyDetailStudio");
  2693. U.UF.F.windowZooming(_formel);
  2694. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2695. var _formel = document.getElementById("studyDetailNT");
  2696. U.UF.F.windowZooming(_formel);
  2697. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2698. var _formel = document.getElementById("studyDetailS");
  2699. U.UF.F.windowZooming(_formel);
  2700. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2701. var _formel = document.getElementById("studyDetailS");
  2702. U.UF.F.topWindow(_formel);
  2703. } else if (e.data.tools && e.data.tools == "1") {
  2704. // U.MD.D.I.openApplication("whiteboard")
  2705. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2706. } else if (e.data.tools && e.data.tools == "2") {
  2707. U.MD.D.I.openApplication("note")
  2708. } else if (e.data.tools && e.data.tools == "3") {
  2709. // U.MD.D.I.openApplication("mind")
  2710. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2711. } else if (e.data.tools && e.data.tools == "4") {
  2712. U.MD.D.I.openApplication("investigation")
  2713. } else if (e.data.tools && e.data.tools == "6") {
  2714. // U.MD.D.I.openApplication("doc")
  2715. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2716. } else if (e.data.tools && e.data.tools == "7") {
  2717. // U.MD.D.I.openApplication("mindNetwork")
  2718. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2719. } else if (e.data.tools && e.data.tools == "8") {
  2720. U.MD.D.I.openApplication("library")
  2721. } else if (e.data.tools && e.data.tools == "17") {
  2722. U.MD.D.I.openApplication("stuLibrary")
  2723. } else if (e.data.tools && e.data.tools == "18") {
  2724. U.MD.D.I.openApplication("train")
  2725. } else if (e.data.tools && e.data.tools == "21") {
  2726. U.MD.D.I.openApplication("program")
  2727. } else if (e.data.tools && e.data.tools == "22") {
  2728. U.MD.D.I.openApplication("AIprogram2")
  2729. } else if (e.data.tools && e.data.tools == "23") {
  2730. U.MD.D.I.openApplication("Pythonprogram")
  2731. } else if (e.data.tools && e.data.tools == "24") {
  2732. U.MD.D.I.openApplication("AIprogram")
  2733. } else if (e.data.tools && e.data.tools == "25") {
  2734. U.MD.D.I.openApplication("sys")
  2735. } else if (e.data.tools && e.data.tools == "26") {
  2736. // U.MD.D.I.openApplication("courseDesign")
  2737. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2738. } else if (e.data.tools && e.data.tools == "31") {
  2739. U.MD.D.I.openApplication("netWorkPanel")
  2740. } else if (e.data.tools && e.data.tools == "32") {
  2741. U.MD.D.I.openApplication("codeEdit")
  2742. } else if (e.data.tools && e.data.tools == "57") {
  2743. U.MD.D.I.openApplication("CocoPi")
  2744. } else if (e.data.tools && e.data.tools == "63") {
  2745. U.MD.D.I.openApplication("Wood")
  2746. } else if (e.data.tools && e.data.tools == "58") {
  2747. U.MD.D.I.openApplication("car")
  2748. } else if (e.data.tools && e.data.tools == "59") {
  2749. U.MD.D.I.openApplication("lineSearch")
  2750. } else if (e.data.tools && e.data.tools == "60") {
  2751. U.MD.D.I.openApplication("deepLearning")
  2752. } else if (e.data.tools && e.data.tools == "61") {
  2753. U.MD.D.I.openApplication("allHistory")
  2754. } else if (e.data.tools && e.data.tools == "28") {
  2755. U.MD.D.I.openApplication("translation")
  2756. } else if (e.data.tools && e.data.tools == "37") {
  2757. U.MD.D.I.openApplication("mohe")
  2758. } else if (e.data.tools && e.data.tools == "38") {
  2759. U.MD.D.I.openApplication("24game")
  2760. } else if (e.data.tools && e.data.tools == "39") {
  2761. U.MD.D.I.openApplication("GeoGebra")
  2762. } else if (e.data.tools && e.data.tools == "43") {
  2763. U.MD.D.I.openApplication("studentEvaluate")
  2764. } else if (e.data.tools && e.data.tools == "44") {
  2765. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2766. } else if (e.data.tools && e.data.tools == "46") {
  2767. U.MD.D.I.openApplication("project")
  2768. } else if (e.data.tools && e.data.tools == "1s") {
  2769. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2770. } else if (e.data.tools && e.data.tools == "3s") {
  2771. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2772. } else if (e.data.tools && e.data.tools == "6s") {
  2773. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2774. } else if (e.data.tools && e.data.tools == "1studio") {
  2775. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2776. } else if (e.data.tools && e.data.tools == "3studio") {
  2777. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2778. } else if (e.data.tools && e.data.tools == "6studio") {
  2779. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2780. } else if (e.data.tools && e.data.tools == "3y") {
  2781. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2782. } else if (e.data.tools && e.data.tools == "1y") {
  2783. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2784. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2785. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2786. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2787. U.MD.D.I.openApplication("AIAnalyse")
  2788. } else if (e.data.tools && e.data.tools == "1teacher") {
  2789. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2790. } else if (e.data.tools && e.data.tools == "3teacher") {
  2791. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2792. } else if (e.data.tools && e.data.tools == "7teacher") {
  2793. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2794. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2795. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2796. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2797. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2798. } else if (e.data.tools && e.data.tools == "1E") {
  2799. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2800. } else if (e.data.tools && e.data.tools == "3E") {
  2801. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2802. } else if (e.data.tools && e.data.tools == "57y") {
  2803. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2804. } else if (e.data.tools && e.data.tools == "57u") {
  2805. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2806. } else if (e.data.tools && e.data.tools == "57teacher") {
  2807. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2808. } else if (e.data.tools && e.data.tools == "64") {
  2809. U.MD.D.I.openApplication("AIChat")
  2810. } else if (e.data.tools && e.data.tools == "66") {
  2811. U.MD.D.I.openApplication("formulaEdi")
  2812. } else if (e.data.tools && e.data.tools == "67") {
  2813. U.MD.D.I.openApplication("molStr")
  2814. } else if (e.data.tools && e.data.tools == "68") {
  2815. U.MD.D.I.openApplication("timeAxis")
  2816. } else if (e.data.tools && e.data.tools == "openCourse") {
  2817. let _data = {
  2818. typea: e.data.typea || '',
  2819. typeb: e.data.typeb || '',
  2820. typed: e.data.typed || '',
  2821. }
  2822. U.MD.D.I.openInApplication("index", _data)
  2823. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2824. let _data = {
  2825. classid: e.data.classid || '',
  2826. }
  2827. U.MD.D.I.openInApplication("dataClass", _data)
  2828. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2829. let _data = {
  2830. cid: e.data.cid || '',
  2831. gid: e.data.gid || '',
  2832. }
  2833. U.MD.D.I.openInApplication("opencCscl", _data)
  2834. }
  2835. });
  2836. U.MD.D.I.selectUser = function () {
  2837. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2838. if (res.value[0].length > 0) {
  2839. US.userInfo = res.value[0][0];
  2840. $(".userName")[0].innerHTML = US.userInfo.username;
  2841. }
  2842. }, [], { "type": "GET", "withCredentials": true });
  2843. }
  2844. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2845. var _userinfo = US.userInfo, //登录用户信息
  2846. _userid = US.userInfo.userid, //登录用户id
  2847. _oid = _userinfo.organizeid,
  2848. _type = US.userInfo.type,
  2849. _org = US.userInfo.org,
  2850. _role = US.userInfo.role,
  2851. _classId = US.userInfo.classid;
  2852. if (_type == 4) {
  2853. tType = 4
  2854. }
  2855. switch (str) {
  2856. case "studyDetailNT": //无终端模式
  2857. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2858. setTimeout(() => {
  2859. U.MD.U.L.login();
  2860. }, 2000);
  2861. } else {
  2862. _formdiv = new U.UF.UI.form(
  2863. "课程详情",
  2864. $$("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 }), {
  2865. "id": "studyDetailNT",
  2866. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2867. "onresize": function () { }
  2868. }, {
  2869. closecallback: function () { }
  2870. }, { "style": { "height": "36px" } }).form; //创建窗体
  2871. _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); } }
  2872. break;
  2873. }
  2874. case "studyDetail":
  2875. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2876. setTimeout(() => {
  2877. U.MD.U.L.login();
  2878. }, 2000);
  2879. } else {
  2880. _formdiv = new U.UF.UI.form(
  2881. "课程详情",
  2882. $$("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 }), {
  2883. "id": "studyDetail",
  2884. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2885. "onresize": function () { }
  2886. }, {
  2887. closecallback: function () { }
  2888. }, { "style": { "height": "36px" } }).form; //创建窗体
  2889. _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); } }
  2890. break;
  2891. }
  2892. case "studyDetailS":
  2893. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2894. setTimeout(() => {
  2895. U.MD.U.L.login();
  2896. }, 2000);
  2897. } else {
  2898. _formdiv = new U.UF.UI.form(
  2899. "项目详情",
  2900. $$("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 }), {
  2901. "id": "studyDetailS",
  2902. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2903. "onresize": function () { }
  2904. }, {
  2905. closecallback: function () { }
  2906. }, { "style": { "height": "36px" } }).form; //创建窗体
  2907. _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); } }
  2908. break;
  2909. }
  2910. case "studyDetailStudio":
  2911. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2912. setTimeout(() => {
  2913. U.MD.U.L.login();
  2914. }, 2000);
  2915. } else {
  2916. _formdiv = new U.UF.UI.form(
  2917. "工作详情",
  2918. $$("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 }), {
  2919. "id": "studyDetailStudio",
  2920. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2921. "onresize": function () { }
  2922. }, {
  2923. closecallback: function () { }
  2924. }, { "style": { "height": "36px" } }).form; //创建窗体
  2925. _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); } }
  2926. break;
  2927. }
  2928. case "studyDetailS5":
  2929. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2930. setTimeout(() => {
  2931. U.MD.U.L.login();
  2932. }, 2000);
  2933. } else {
  2934. _formdiv = new U.UF.UI.form(
  2935. "项目详情",
  2936. $$("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 }), {
  2937. "id": "studyDetailS",
  2938. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2939. "onresize": function () { }
  2940. }, {
  2941. closecallback: function () { }
  2942. }, { "style": { "height": "36px" } }).form; //创建窗体
  2943. _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); } }
  2944. break;
  2945. }
  2946. case "studyDetailGM":
  2947. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2948. setTimeout(() => {
  2949. U.MD.U.L.login();
  2950. }, 2000);
  2951. } else {
  2952. _formdiv = new U.UF.UI.form(
  2953. "课程详情",
  2954. $$("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 }), {
  2955. "id": "studyDetail",
  2956. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2957. "onresize": function () { }
  2958. }, {
  2959. closecallback: function () { }
  2960. }, { "style": { "height": "36px" } }).form; //创建窗体
  2961. _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); } }
  2962. break;
  2963. }
  2964. case "hanUrl":
  2965. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2966. setTimeout(() => {
  2967. U.MD.U.L.login();
  2968. }, 2000);
  2969. } else {
  2970. _formdiv = new U.UF.UI.form(
  2971. "汉字宫",
  2972. $$("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" }), {
  2973. "id": "hanUrl",
  2974. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2975. "onresize": function () { }
  2976. }, {
  2977. closecallback: function () { }
  2978. }, { "style": { "height": "36px" } }).form; //创建窗体
  2979. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2980. break;
  2981. }
  2982. case "index":
  2983. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2984. setTimeout(() => {
  2985. U.MD.U.L.login();
  2986. }, 2000);
  2987. } else {
  2988. _formdiv = new U.UF.UI.form(
  2989. "课程中心",
  2990. $$("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 }), {
  2991. "id": "study",
  2992. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2993. "onresize": function () { }
  2994. }, {
  2995. closecallback: function () { }
  2996. }, { "style": { "height": "36px" } }).form; //创建窗体
  2997. _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); } }
  2998. break;
  2999. }
  3000. case "dataClass":
  3001. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3002. setTimeout(() => {
  3003. U.MD.U.L.login();
  3004. }, 2000);
  3005. } else {
  3006. _formdiv = new U.UF.UI.form(
  3007. "数据报告",
  3008. $$("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 }), {
  3009. "id": "dataClass",
  3010. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3011. "onresize": function () { }
  3012. }, {
  3013. closecallback: function () { }
  3014. }, { "style": { "height": "36px" } }).form; //创建窗体
  3015. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "数据报告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3016. break;
  3017. }
  3018. case "opencCscl":
  3019. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3020. setTimeout(() => {
  3021. U.MD.U.L.login();
  3022. }, 2000);
  3023. } else {
  3024. _formdiv = new U.UF.UI.form(
  3025. "协同建构",
  3026. $$("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 }), {
  3027. "id": "futureClass",
  3028. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3029. "onresize": function () { }
  3030. }, {
  3031. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3032. }, { "style": { "height": "36px" } }).form; //创建窗体
  3033. _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); } }
  3034. break;
  3035. }
  3036. }
  3037. }
  3038. U.MD.D.I.openApplication = function (str, obj, info) {
  3039. obj = obj || {};
  3040. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3041. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3042. _userinfo = US.userInfo, //登录用户信息
  3043. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3044. _oid = obj.organizeid || _userinfo.organizeid,
  3045. _type = US.userInfo.type,
  3046. _org = US.userInfo.org,
  3047. _role = US.userInfo.role,
  3048. _classId = US.userInfo.classid,
  3049. _TscreenType = 1
  3050. _screenType = 2,
  3051. _SscreenType = 3;
  3052. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3053. return;
  3054. }
  3055. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3056. switch (str) {
  3057. case "studnetProject": //好友打开
  3058. _formdiv = new U.UF.UI.form(
  3059. "我的项目",
  3060. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  3061. "id": "studnetProject",
  3062. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3063. "onresize": function () { }
  3064. }, {
  3065. closecallback: function () { }
  3066. }, { "style": { "height": "36px" } }).form; //创建窗体
  3067. _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); } }
  3068. break;
  3069. case "studentEvaluate": //好友打开
  3070. _formdiv = new U.UF.UI.form(
  3071. "我的评价",
  3072. $$("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 }), {
  3073. "id": "studentEvaluate",
  3074. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3075. "onresize": function () { }
  3076. }, {
  3077. closecallback: function () { }
  3078. }, { "style": { "height": "36px" } }).form; //创建窗体
  3079. _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); } }
  3080. break;
  3081. case "my":
  3082. _formdiv = new U.UF.UI.form(
  3083. "我的资料",
  3084. $$("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 }), {
  3085. "id": "my",
  3086. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3087. "onresize": function () { }
  3088. }, {
  3089. closecallback: function () { }
  3090. }, { "style": { "height": "36px" } }).form; //创建窗体
  3091. _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); } }
  3092. break;
  3093. case "program":
  3094. _formdiv = new U.UF.UI.form(
  3095. "编程平台",
  3096. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3097. "id": "program",
  3098. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3099. "onresize": function () { }
  3100. }, {
  3101. closecallback: function () { }
  3102. }, { "style": { "height": "36px" } }).form; //创建窗体
  3103. _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); } }
  3104. break;
  3105. case "library":
  3106. _formdiv = new U.UF.UI.form(
  3107. "素材库",
  3108. $$("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 }), {
  3109. "id": "library",
  3110. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3111. "onresize": function () { }
  3112. }, {
  3113. closecallback: function () { }
  3114. }, { "style": { "height": "36px" } }).form; //创建窗体
  3115. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3116. break;
  3117. case "whiteboard":
  3118. _formdiv = new U.UF.UI.form(
  3119. "电子白板",
  3120. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3121. "id": "whiteboard",
  3122. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3123. "onresize": function () { }
  3124. }, {
  3125. closecallback: function () { }
  3126. }, { "style": { "height": "36px" } }).form; //创建窗体
  3127. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3128. break;
  3129. case "investigation":
  3130. _formdiv = new U.UF.UI.form(
  3131. "问卷调查",
  3132. $$("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 }), {
  3133. "id": "investigation",
  3134. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3135. "onresize": function () { }
  3136. }, {
  3137. closecallback: function () { }
  3138. }, { "style": { "height": "36px" } }).form; //创建窗体
  3139. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3140. break;
  3141. case "note":
  3142. _formdiv = new U.UF.UI.form(
  3143. "便签分类",
  3144. $$("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 }), {
  3145. "id": "note",
  3146. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3147. "onresize": function () { }
  3148. }, {
  3149. closecallback: function () { }
  3150. }, { "style": { "height": "36px" } }).form; //创建窗体
  3151. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3152. break;
  3153. // case "score":
  3154. // _formdiv = new U.UF.UI.form(
  3155. // "量规评分",
  3156. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3157. // "id": "score",
  3158. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3159. // "onresize": function() {}
  3160. // }, {
  3161. // closecallback: function() {}
  3162. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3163. // _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); } }
  3164. // break;
  3165. case "mind":
  3166. _formdiv = new U.UF.UI.form(
  3167. "思维导图",
  3168. $$("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"
  3169. "id": "mind",
  3170. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3171. "onresize": function () { }
  3172. }, {
  3173. closecallback: function () { }
  3174. }, { "style": { "height": "36px" } }).form; //创建窗体
  3175. _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); } }
  3176. break;
  3177. case "doc":
  3178. // U.MD.D.I.isRoom();
  3179. _formdiv = new U.UF.UI.form(
  3180. "协同文档",
  3181. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3182. "id": "doc",
  3183. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3184. "onresize": function () { }
  3185. }, {
  3186. closecallback: function () { }
  3187. }, { "style": { "height": "36px" } }).form; //创建窗体
  3188. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3189. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3190. // })
  3191. _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); } }
  3192. break;
  3193. case "studentStudy":
  3194. _formdiv = new U.UF.UI.form(
  3195. "课程中心",
  3196. $$("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
  3197. "id": "studentStudy",
  3198. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3199. "onresize": function () { }
  3200. }, {
  3201. closecallback: function () { }
  3202. }, { "style": { "height": "36px" } }).form; //创建窗体
  3203. _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); } }
  3204. break;
  3205. case "train": //好友打开
  3206. _formdiv = new U.UF.UI.form(
  3207. "训练平台",
  3208. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3209. "id": "train",
  3210. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3211. "onresize": function () { }
  3212. }, {
  3213. closecallback: function () { }
  3214. }, { "style": { "height": "36px" } }).form; //创建窗体
  3215. _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); } }
  3216. break;
  3217. case "mindNetwork": //好友打开
  3218. _formdiv = new U.UF.UI.form(
  3219. "思维网格",
  3220. $$("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 }), {
  3221. "id": "mindNetwork",
  3222. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3223. "onresize": function () { }
  3224. }, {
  3225. closecallback: function () { }
  3226. }, { "style": { "height": "36px" } }).form; //创建窗体
  3227. _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); } }
  3228. break;
  3229. case "studentClassRoom": //好友打开
  3230. _formdiv = new U.UF.UI.form(
  3231. "实时课堂",
  3232. $$("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 }), {
  3233. "id": "studentClassRoom",
  3234. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3235. "onresize": function () { }
  3236. }, {
  3237. closecallback: function () { }
  3238. }, { "style": { "height": "36px" } }).form; //创建窗体
  3239. _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); } }
  3240. setTimeout(() => {
  3241. U.UF.F.windowZooming(_formdiv)
  3242. }, 0);
  3243. break;
  3244. }
  3245. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3246. switch (str) {
  3247. case "studnetProject": //好友打开
  3248. _formdiv = new U.UF.UI.form(
  3249. "我的项目",
  3250. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  3251. "id": "studnetProject",
  3252. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3253. "onresize": function () { }
  3254. }, {
  3255. closecallback: function () { }
  3256. }, { "style": { "height": "36px" } }).form; //创建窗体
  3257. _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); } }
  3258. break;
  3259. case "studentEvaluate": //好友打开
  3260. _formdiv = new U.UF.UI.form(
  3261. "我的评价",
  3262. $$("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 }), {
  3263. "id": "studentEvaluate",
  3264. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3265. "onresize": function () { }
  3266. }, {
  3267. closecallback: function () { }
  3268. }, { "style": { "height": "36px" } }).form; //创建窗体
  3269. _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); } }
  3270. break;
  3271. case "my":
  3272. _formdiv = new U.UF.UI.form(
  3273. "我的资料",
  3274. $$("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 }), {
  3275. "id": "my",
  3276. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3277. "onresize": function () { }
  3278. }, {
  3279. closecallback: function () { }
  3280. }, { "style": { "height": "36px" } }).form; //创建窗体
  3281. _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); } }
  3282. break;
  3283. case "program":
  3284. _formdiv = new U.UF.UI.form(
  3285. "编程平台",
  3286. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3287. "id": "program",
  3288. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3289. "onresize": function () { }
  3290. }, {
  3291. closecallback: function () { }
  3292. }, { "style": { "height": "36px" } }).form; //创建窗体
  3293. _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); } }
  3294. break;
  3295. case "library":
  3296. _formdiv = new U.UF.UI.form(
  3297. "素材库",
  3298. $$("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 }), {
  3299. "id": "library",
  3300. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3301. "onresize": function () { }
  3302. }, {
  3303. closecallback: function () { }
  3304. }, { "style": { "height": "36px" } }).form; //创建窗体
  3305. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3306. break;
  3307. case "whiteboard":
  3308. _formdiv = new U.UF.UI.form(
  3309. "电子白板",
  3310. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3311. "id": "whiteboard",
  3312. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3313. "onresize": function () { }
  3314. }, {
  3315. closecallback: function () { }
  3316. }, { "style": { "height": "36px" } }).form; //创建窗体
  3317. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3318. break;
  3319. case "investigation":
  3320. _formdiv = new U.UF.UI.form(
  3321. "问卷调查",
  3322. $$("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 }), {
  3323. "id": "investigation",
  3324. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3325. "onresize": function () { }
  3326. }, {
  3327. closecallback: function () { }
  3328. }, { "style": { "height": "36px" } }).form; //创建窗体
  3329. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3330. break;
  3331. case "note":
  3332. _formdiv = new U.UF.UI.form(
  3333. "便签分类",
  3334. $$("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 }), {
  3335. "id": "note",
  3336. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3337. "onresize": function () { }
  3338. }, {
  3339. closecallback: function () { }
  3340. }, { "style": { "height": "36px" } }).form; //创建窗体
  3341. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3342. break;
  3343. // case "score":
  3344. // _formdiv = new U.UF.UI.form(
  3345. // "量规评分",
  3346. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3347. // "id": "score",
  3348. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3349. // "onresize": function() {}
  3350. // }, {
  3351. // closecallback: function() {}
  3352. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3353. // _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); } }
  3354. // break;
  3355. case "mind":
  3356. _formdiv = new U.UF.UI.form(
  3357. "思维导图",
  3358. $$("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"
  3359. "id": "mind",
  3360. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3361. "onresize": function () { }
  3362. }, {
  3363. closecallback: function () { }
  3364. }, { "style": { "height": "36px" } }).form; //创建窗体
  3365. _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); } }
  3366. break;
  3367. case "doc":
  3368. // U.MD.D.I.isRoom();
  3369. _formdiv = new U.UF.UI.form(
  3370. "协同文档",
  3371. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3372. "id": "doc",
  3373. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3374. "onresize": function () { }
  3375. }, {
  3376. closecallback: function () { }
  3377. }, { "style": { "height": "36px" } }).form; //创建窗体
  3378. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3379. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3380. })
  3381. _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); } }
  3382. break;
  3383. case "train": //好友打开
  3384. _formdiv = new U.UF.UI.form(
  3385. "训练平台",
  3386. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3387. "id": "train",
  3388. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3389. "onresize": function () { }
  3390. }, {
  3391. closecallback: function () { }
  3392. }, { "style": { "height": "36px" } }).form; //创建窗体
  3393. _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); } }
  3394. break;
  3395. case "studentStudy":
  3396. _formdiv = new U.UF.UI.form(
  3397. "课程中心",
  3398. $$("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
  3399. "id": "studentStudy",
  3400. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3401. "onresize": function () { }
  3402. }, {
  3403. closecallback: function () { }
  3404. }, { "style": { "height": "36px" } }).form; //创建窗体
  3405. _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); } }
  3406. break;
  3407. case "mindNetwork": //好友打开
  3408. _formdiv = new U.UF.UI.form(
  3409. "思维网格",
  3410. $$("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 }), {
  3411. "id": "mindNetwork",
  3412. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3413. "onresize": function () { }
  3414. }, {
  3415. closecallback: function () { }
  3416. }, { "style": { "height": "36px" } }).form; //创建窗体
  3417. _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); } }
  3418. break;
  3419. case "studentClassRoom": //好友打开
  3420. _formdiv = new U.UF.UI.form(
  3421. "实时课堂",
  3422. $$("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 }), {
  3423. "id": "studentClassRoom",
  3424. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3425. "onresize": function () { }
  3426. }, {
  3427. closecallback: function () { }
  3428. }, { "style": { "height": "36px" } }).form; //创建窗体
  3429. _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); } }
  3430. setTimeout(() => {
  3431. U.UF.F.windowZooming(_formdiv)
  3432. }, 0);
  3433. break;
  3434. }
  3435. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3436. //选择应用处理
  3437. switch (str) {
  3438. case "project": //好友打开
  3439. _formdiv = new U.UF.UI.form(
  3440. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3441. $$("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 }), {
  3442. "id": "project",
  3443. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3444. "onresize": function () { }
  3445. }, {
  3446. closecallback: function () { }
  3447. }, { "style": { "height": "36px" } }).form; //创建窗体
  3448. _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); } }
  3449. break;
  3450. case "student":
  3451. _formdiv = new U.UF.UI.form(
  3452. "学生管理",
  3453. $$("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 }), {
  3454. "id": "student",
  3455. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3456. "onresize": function () { }
  3457. }, {
  3458. closecallback: function () { }
  3459. }, { "style": { "height": "36px" } }).form; //创建窗体
  3460. _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); } }
  3461. break;
  3462. case "evaluate":
  3463. _formdiv = new U.UF.UI.form(
  3464. "学生评价",
  3465. $$("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 }), {
  3466. "id": "evaluate",
  3467. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3468. "onresize": function () { }
  3469. }, {
  3470. closecallback: function () { }
  3471. }, { "style": { "height": "36px" } }).form; //创建窗体
  3472. _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); } }
  3473. break;
  3474. case "sys":
  3475. _formdiv = new U.UF.UI.form(
  3476. "目标管理",
  3477. $$("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 }), {
  3478. "id": "sys",
  3479. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3480. "onresize": function () { }
  3481. }, {
  3482. closecallback: function () { }
  3483. }, { "style": { "height": "36px" } }).form; //创建窗体
  3484. _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); } }
  3485. break;
  3486. case "courseDesign":
  3487. _formdiv = new U.UF.UI.form(
  3488. "项目设计",
  3489. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3490. "id": "courseDesign",
  3491. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3492. "onresize": function () { }
  3493. }, {
  3494. closecallback: function () { }
  3495. }, { "style": { "height": "36px" } }).form; //创建窗体
  3496. _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); } }
  3497. break;
  3498. case "program":
  3499. _formdiv = new U.UF.UI.form(
  3500. "编程平台",
  3501. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3502. "id": "program",
  3503. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3504. "onresize": function () { }
  3505. }, {
  3506. closecallback: function () { }
  3507. }, { "style": { "height": "36px" } }).form; //创建窗体
  3508. _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); } }
  3509. break;
  3510. case "class":
  3511. _formdiv = new U.UF.UI.form(
  3512. "班级管理",
  3513. $$("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 }), {
  3514. "id": "class",
  3515. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3516. "onresize": function () { }
  3517. }, {
  3518. closecallback: function () { }
  3519. }, { "style": { "height": "36px" } }).form; //创建窗体
  3520. _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); } }
  3521. break;
  3522. case "Grade":
  3523. _formdiv = new U.UF.UI.form(
  3524. "年级管理",
  3525. $$("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 }), {
  3526. "id": "Grade",
  3527. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3528. "onresize": function () { }
  3529. }, {
  3530. closecallback: function () { }
  3531. }, { "style": { "height": "36px" } }).form; //创建窗体
  3532. _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); } }
  3533. break;
  3534. case "teacherOffice":
  3535. _formdiv = new U.UF.UI.form(
  3536. "教研室",
  3537. $$("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 }), {
  3538. "id": "teacherOffice",
  3539. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3540. "onresize": function () { }
  3541. }, {
  3542. closecallback: function () { }
  3543. }, { "style": { "height": "36px" } }).form; //创建窗体
  3544. _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); } }
  3545. break;
  3546. case "my":
  3547. _formdiv = new U.UF.UI.form(
  3548. "我的资料",
  3549. $$("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 }), {
  3550. "id": "my",
  3551. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3552. "onresize": function () { }
  3553. }, {
  3554. closecallback: function () { }
  3555. }, { "style": { "height": "36px" } }).form; //创建窗体
  3556. _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); } }
  3557. break;
  3558. case "notice":
  3559. _formdiv = new U.UF.UI.form(
  3560. "通知公告",
  3561. $$("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 }), {
  3562. "id": "notice",
  3563. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3564. "onresize": function () { }
  3565. }, {
  3566. closecallback: function () { }
  3567. }, { "style": { "height": "36px" } }).form; //创建窗体
  3568. _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); } }
  3569. break;
  3570. case "library":
  3571. _formdiv = new U.UF.UI.form(
  3572. "素材库",
  3573. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  3574. "id": "library",
  3575. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3576. "onresize": function () { }
  3577. }, {
  3578. closecallback: function () { }
  3579. }, { "style": { "height": "36px" } }).form; //创建窗体
  3580. _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); } }
  3581. break;
  3582. case "whiteboard":
  3583. _formdiv = new U.UF.UI.form(
  3584. "电子白板",
  3585. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3586. "id": "whiteboard",
  3587. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3588. "onresize": function () { }
  3589. }, {
  3590. closecallback: function () { }
  3591. }, { "style": { "height": "36px" } }).form; //创建窗体
  3592. _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); } }
  3593. break;
  3594. case "investigation":
  3595. _formdiv = new U.UF.UI.form(
  3596. "问卷调查",
  3597. $$("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 }), {
  3598. "id": "investigation",
  3599. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3600. "onresize": function () { }
  3601. }, {
  3602. closecallback: function () { }
  3603. }, { "style": { "height": "36px" } }).form; //创建窗体
  3604. _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); } }
  3605. break;
  3606. case "note":
  3607. _formdiv = new U.UF.UI.form(
  3608. "便签分类",
  3609. $$("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 }), {
  3610. "id": "note",
  3611. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3612. "onresize": function () { }
  3613. }, {
  3614. closecallback: function () { }
  3615. }, { "style": { "height": "36px" } }).form; //创建窗体
  3616. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3617. break;
  3618. // case "score":
  3619. // _formdiv = new U.UF.UI.form(
  3620. // "量规评分",
  3621. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3622. // "id": "score",
  3623. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3624. // "onresize": function() {}
  3625. // }, {
  3626. // closecallback: function() {}
  3627. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3628. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3629. // break;
  3630. case "mind":
  3631. _formdiv = new U.UF.UI.form(
  3632. "思维导图",
  3633. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3634. "id": "mind",
  3635. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3636. "onresize": function () { }
  3637. }, {
  3638. closecallback: function () { }
  3639. }, { "style": { "height": "36px" } }).form; //创建窗体
  3640. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3641. break;
  3642. case "doc":
  3643. // U.MD.D.I.isRoom();
  3644. _formdiv = new U.UF.UI.form(
  3645. "协同文档",
  3646. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3647. "id": "doc",
  3648. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3649. "onresize": function () { }
  3650. }, {
  3651. closecallback: function () { }
  3652. }, { "style": { "height": "36px" } }).form; //创建窗体
  3653. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3654. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3655. })
  3656. _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); } }
  3657. break;
  3658. case "study":
  3659. _formdiv = new U.UF.UI.form(
  3660. "课程中心",
  3661. $$("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
  3662. "id": "study",
  3663. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3664. "onresize": function () { }
  3665. }, {
  3666. closecallback: function () { }
  3667. }, { "style": { "height": "36px" } }).form; //创建窗体
  3668. _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); } }
  3669. break;
  3670. case "mindNetwork": //好友打开
  3671. _formdiv = new U.UF.UI.form(
  3672. "思维网格",
  3673. $$("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 }), {
  3674. "id": "mindNetwork",
  3675. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3676. "onresize": function () { }
  3677. }, {
  3678. closecallback: function () { }
  3679. }, { "style": { "height": "36px" } }).form; //创建窗体
  3680. _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); } }
  3681. break;
  3682. case "train": //好友打开
  3683. _formdiv = new U.UF.UI.form(
  3684. "训练平台",
  3685. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3686. "id": "mindNetwork",
  3687. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3688. "onresize": function () { }
  3689. }, {
  3690. closecallback: function () { }
  3691. }, { "style": { "height": "36px" } }).form; //创建窗体
  3692. _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); } }
  3693. break;
  3694. case "teacherClassRoom": //好友打开
  3695. _formdiv = new U.UF.UI.form(
  3696. "实时课堂",
  3697. $$("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 }), {
  3698. "id": "teacherClassRoom",
  3699. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3700. "onresize": function () { }
  3701. }, {
  3702. closecallback: function () { }
  3703. }, { "style": { "height": "36px" } }).form; //创建窗体
  3704. _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); } }
  3705. setTimeout(() => {
  3706. U.UF.F.windowZooming(_formdiv)
  3707. }, 0);
  3708. break;
  3709. }
  3710. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3711. switch (str) {
  3712. case "project": //好友打开
  3713. _formdiv = new U.UF.UI.form(
  3714. "课程管理",
  3715. $$("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 }), {
  3716. "id": "project",
  3717. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3718. "onresize": function () { }
  3719. }, {
  3720. closecallback: function () { }
  3721. }, { "style": { "height": "36px" } }).form; //创建窗体
  3722. _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); } }
  3723. break;
  3724. case "evaluate":
  3725. _formdiv = new U.UF.UI.form(
  3726. "学生评价",
  3727. $$("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 }), {
  3728. "id": "evaluate",
  3729. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3730. "onresize": function () { }
  3731. }, {
  3732. closecallback: function () { }
  3733. }, { "style": { "height": "36px" } }).form; //创建窗体
  3734. _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); } }
  3735. break;
  3736. case "notice":
  3737. _formdiv = new U.UF.UI.form(
  3738. "通知公告",
  3739. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  3740. "id": "notice",
  3741. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3742. "onresize": function () { }
  3743. }, {
  3744. closecallback: function () { }
  3745. }, { "style": { "height": "36px" } }).form; //创建窗体
  3746. _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); } }
  3747. break;
  3748. case "stuLibrary":
  3749. _formdiv = new U.UF.UI.form(
  3750. "学习资料",
  3751. $$("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 }), {
  3752. "id": "stuLibrary",
  3753. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3754. "onresize": function () { }
  3755. }, {
  3756. closecallback: function () { }
  3757. }, { "style": { "height": "36px" } }).form; //创建窗体
  3758. _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); } }
  3759. break;
  3760. case "program":
  3761. _formdiv = new U.UF.UI.form(
  3762. "编程平台",
  3763. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3764. "id": "program",
  3765. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3766. "onresize": function () { }
  3767. }, {
  3768. closecallback: function () { }
  3769. }, { "style": { "height": "36px" } }).form; //创建窗体
  3770. _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); } }
  3771. break;
  3772. case "whiteboard":
  3773. _formdiv = new U.UF.UI.form(
  3774. "电子白板",
  3775. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3776. "id": "whiteboard",
  3777. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3778. "onresize": function () { }
  3779. }, {
  3780. closecallback: function () { }
  3781. }, { "style": { "height": "36px" } }).form; //创建窗体
  3782. _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); } }
  3783. break;
  3784. case "investigation":
  3785. _formdiv = new U.UF.UI.form(
  3786. "问卷调查",
  3787. $$("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 }), {
  3788. "id": "investigation",
  3789. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3790. "onresize": function () { }
  3791. }, {
  3792. closecallback: function () { }
  3793. }, { "style": { "height": "36px" } }).form; //创建窗体
  3794. _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); } }
  3795. break;
  3796. case "mind":
  3797. _formdiv = new U.UF.UI.form(
  3798. "思维导图",
  3799. $$("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"
  3800. "id": "mind",
  3801. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3802. "onresize": function () { }
  3803. }, {
  3804. closecallback: function () { }
  3805. }, { "style": { "height": "36px" } }).form; //创建窗体
  3806. _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); } }
  3807. break;
  3808. case "doc":
  3809. // U.MD.D.I.isRoom();
  3810. _formdiv = new U.UF.UI.form(
  3811. "协同文档",
  3812. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3813. "id": "doc",
  3814. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3815. "onresize": function () { }
  3816. }, {
  3817. closecallback: function () { }
  3818. }, { "style": { "height": "36px" } }).form; //创建窗体
  3819. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3820. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3821. })
  3822. _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); } }
  3823. break;
  3824. case "study":
  3825. _formdiv = new U.UF.UI.form(
  3826. "课程中心",
  3827. $$("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
  3828. "id": "study",
  3829. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3830. "onresize": function () { }
  3831. }, {
  3832. closecallback: function () { }
  3833. }, { "style": { "height": "36px" } }).form; //创建窗体
  3834. _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); } }
  3835. break;
  3836. case "mindNetwork": //好友打开
  3837. _formdiv = new U.UF.UI.form(
  3838. "思维网格",
  3839. $$("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 }), {
  3840. "id": "mindNetwork",
  3841. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3842. "onresize": function () { }
  3843. }, {
  3844. closecallback: function () { }
  3845. }, { "style": { "height": "36px" } }).form; //创建窗体
  3846. _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); } }
  3847. break;
  3848. case "train": //好友打开
  3849. _formdiv = new U.UF.UI.form(
  3850. "训练平台",
  3851. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3852. "id": "train",
  3853. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3854. "onresize": function () { }
  3855. }, {
  3856. closecallback: function () { }
  3857. }, { "style": { "height": "36px" } }).form; //创建窗体
  3858. _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); } }
  3859. break;
  3860. case "sys":
  3861. _formdiv = new U.UF.UI.form(
  3862. "目标管理",
  3863. $$("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 }), {
  3864. "id": "sys",
  3865. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3866. "onresize": function () { }
  3867. }, {
  3868. closecallback: function () { }
  3869. }, { "style": { "height": "36px" } }).form; //创建窗体
  3870. _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); } }
  3871. break;
  3872. case "courseDesign":
  3873. _formdiv = new U.UF.UI.form(
  3874. "项目设计",
  3875. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3876. "id": "courseDesign",
  3877. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3878. "onresize": function () { }
  3879. }, {
  3880. closecallback: function () { }
  3881. }, { "style": { "height": "36px" } }).form; //创建窗体
  3882. _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); } }
  3883. break;
  3884. }
  3885. } else if (!_type) {
  3886. switch (str) {
  3887. case "my":
  3888. _formdiv = new U.UF.UI.form(
  3889. "我的资料",
  3890. $$("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 }), {
  3891. "id": "my",
  3892. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3893. "onresize": function () { }
  3894. }, {
  3895. closecallback: function () { }
  3896. }, { "style": { "height": "36px" } }).form; //创建窗体
  3897. _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); } }
  3898. break;
  3899. }
  3900. }
  3901. switch (str) {
  3902. // AIprogram2 AI体验 aihub.cocorobo.cn
  3903. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3904. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3905. case "formulaEdi": //公式编辑
  3906. _formdiv = new U.UF.UI.form(
  3907. "公式编辑",
  3908. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3909. "id": "formulaEdi",
  3910. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3911. "onresize": function () { }
  3912. }, {
  3913. closecallback: function () { }
  3914. }, { "style": { "height": "36px" } }).form; //创建窗体
  3915. _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); } }
  3916. break;
  3917. case "molStr": //分子结构
  3918. _formdiv = new U.UF.UI.form(
  3919. "分子结构",
  3920. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3921. "id": "molStr",
  3922. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3923. "onresize": function () { }
  3924. }, {
  3925. closecallback: function () { }
  3926. }, { "style": { "height": "36px" } }).form; //创建窗体
  3927. _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); } }
  3928. break;
  3929. case "timeAxis": //时间轴
  3930. _formdiv = new U.UF.UI.form(
  3931. "时间轴",
  3932. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3933. "id": "timeAxis",
  3934. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3935. "onresize": function () { }
  3936. }, {
  3937. closecallback: function () { }
  3938. }, { "style": { "height": "36px" } }).form; //创建窗体
  3939. _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); } }
  3940. break;
  3941. case "AIprogram2": //AI体验
  3942. _formdiv = new U.UF.UI.form(
  3943. "AI体验",
  3944. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3945. "id": "AIprogram2",
  3946. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3947. "onresize": function () { }
  3948. }, {
  3949. closecallback: function () { }
  3950. }, { "style": { "height": "36px" } }).form; //创建窗体
  3951. _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); } }
  3952. break;
  3953. case "Pythonprogram": //python编程
  3954. _formdiv = new U.UF.UI.form(
  3955. "Python编程",
  3956. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3957. "id": "Pythonprogram",
  3958. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3959. "onresize": function () { }
  3960. }, {
  3961. closecallback: function () { }
  3962. }, { "style": { "height": "36px" } }).form; //创建窗体
  3963. _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); } }
  3964. break;
  3965. case "AIprogram": //ai编程
  3966. _formdiv = new U.UF.UI.form(
  3967. "AI编程平台",
  3968. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3969. "id": "AIprogram",
  3970. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3971. "onresize": function () { }
  3972. }, {
  3973. closecallback: function () { }
  3974. }, { "style": { "height": "36px" } }).form; //创建窗体
  3975. _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); } }
  3976. break;
  3977. case "CocoPi": //CocoPi
  3978. _formdiv = new U.UF.UI.form(
  3979. "CocoPi",
  3980. $$("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" }), {
  3981. "id": "CocoPi",
  3982. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3983. "onresize": function () { }
  3984. }, {
  3985. closecallback: function () { }
  3986. }, { "style": { "height": "36px" } }).form; //创建窗体
  3987. _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); } }
  3988. break;
  3989. case "Wood": //Wood
  3990. _formdiv = new U.UF.UI.form(
  3991. "海龟编程",
  3992. $$("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/" }), {
  3993. "id": "Wood",
  3994. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3995. "onresize": function () { }
  3996. }, {
  3997. closecallback: function () { }
  3998. }, { "style": { "height": "36px" } }).form; //创建窗体
  3999. _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); } }
  4000. break;
  4001. case "car": //模拟驾驶
  4002. _formdiv = new U.UF.UI.form(
  4003. "模拟驾驶",
  4004. $$("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/" }), {
  4005. "id": "car",
  4006. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4007. "onresize": function () { }
  4008. }, {
  4009. closecallback: function () { }
  4010. }, { "style": { "height": "36px" } }).form; //创建窗体
  4011. _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); } }
  4012. break;
  4013. case "lineSearch": //路径搜索
  4014. _formdiv = new U.UF.UI.form(
  4015. "路径搜索",
  4016. $$("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/" }), {
  4017. "id": "lineSearch",
  4018. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4019. "onresize": function () { }
  4020. }, {
  4021. closecallback: function () { }
  4022. }, { "style": { "height": "36px" } }).form; //创建窗体
  4023. _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); } }
  4024. break;
  4025. case "deepLearning": //深度学习
  4026. _formdiv = new U.UF.UI.form(
  4027. "深度学习",
  4028. $$("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/#" }), {
  4029. "id": "deepLearning",
  4030. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4031. "onresize": function () { }
  4032. }, {
  4033. closecallback: function () { }
  4034. }, { "style": { "height": "36px" } }).form; //创建窗体
  4035. _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); } }
  4036. break;
  4037. case "allHistory": //深度学习
  4038. _formdiv = new U.UF.UI.form(
  4039. "全历史",
  4040. $$("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/" }), {
  4041. "id": "allHistory",
  4042. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4043. "onresize": function () { }
  4044. }, {
  4045. closecallback: function () { }
  4046. }, { "style": { "height": "36px" } }).form; //创建窗体
  4047. _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); } }
  4048. break;
  4049. case "chatPDF": //ai编程
  4050. _formdiv = new U.UF.UI.form(
  4051. "chatPDF",
  4052. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4053. "id": "chatPDF",
  4054. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4055. "onresize": function () { }
  4056. }, {
  4057. closecallback: function () { }
  4058. }, { "style": { "height": "36px" } }).form; //创建窗体
  4059. _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); } }
  4060. break;
  4061. case "resources": //国家教育
  4062. _formdiv = new U.UF.UI.form(
  4063. "国家教育",
  4064. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4065. "id": "resources",
  4066. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4067. "onresize": function () { }
  4068. }, {
  4069. closecallback: function () { }
  4070. }, { "style": { "height": "36px" } }).form; //创建窗体
  4071. _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); } }
  4072. break;
  4073. case "codeEdit": //源码编辑
  4074. _formdiv = new U.UF.UI.form(
  4075. "源码编辑",
  4076. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4077. "id": "codeEdit",
  4078. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4079. "onresize": function () { }
  4080. }, {
  4081. closecallback: function () { }
  4082. }, { "style": { "height": "36px" } }).form; //创建窗体
  4083. _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); } }
  4084. break; //
  4085. case "MindMap": //MindMap
  4086. _formdiv = new U.UF.UI.form(
  4087. "MindMap",
  4088. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4089. "id": "MindMap",
  4090. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4091. "onresize": function () { }
  4092. }, {
  4093. closecallback: function () { }
  4094. }, { "style": { "height": "36px" } }).form; //创建窗体
  4095. _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); } }
  4096. break;
  4097. case "netWorkPanel": //netWorkPanel
  4098. _formdiv = new U.UF.UI.form(
  4099. "netWorkPanel",
  4100. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4101. "id": "netWorkPanel",
  4102. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4103. "onresize": function () { }
  4104. }, {
  4105. closecallback: function () { }
  4106. }, { "style": { "height": "36px" } }).form; //创建窗体
  4107. _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); } }
  4108. break;
  4109. case "GeoGebra": //GeoGebra
  4110. _formdiv = new U.UF.UI.form(
  4111. "GeoGebra",
  4112. $$("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" }), {
  4113. "id": "GeoGebra",
  4114. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4115. "onresize": function () { }
  4116. }, {
  4117. closecallback: function () { }
  4118. }, { "style": { "height": "36px" } }).form; //创建窗体
  4119. _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); } }
  4120. break;
  4121. case "translation": //翻译
  4122. _formdiv = new U.UF.UI.form(
  4123. "翻译",
  4124. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4125. "id": "translation",
  4126. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4127. "onresize": function () { }
  4128. }, {
  4129. closecallback: function () { }
  4130. }, { "style": { "height": "36px" } }).form; //创建窗体
  4131. _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); } }
  4132. break;
  4133. case "mohe": //魔盒
  4134. _formdiv = new U.UF.UI.form(
  4135. "魔盒识字",
  4136. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4137. "id": "mohe",
  4138. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4139. "onresize": function () { }
  4140. }, {
  4141. closecallback: function () { }
  4142. }, { "style": { "height": "36px" } }).form; //创建窗体
  4143. _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); } }
  4144. break;
  4145. case "24game": //24点
  4146. _formdiv = new U.UF.UI.form(
  4147. "24点",
  4148. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4149. "id": "24game",
  4150. "style": { "width": "375px", "height": "667px", "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/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4156. break;
  4157. case "case":
  4158. _formdiv = new U.UF.UI.form(
  4159. "课程进展",
  4160. $$("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 }), {
  4161. "id": "case",
  4162. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4163. "onresize": function () { }
  4164. }, {
  4165. closecallback: function () { }
  4166. }, { "style": { "height": "36px" } }).form; //创建窗体
  4167. _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); } }
  4168. break;
  4169. case "snf":
  4170. _formdiv = new U.UF.UI.form(
  4171. "赛诺梵",
  4172. $$("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" }), {
  4173. "id": "snf",
  4174. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4175. "onresize": function () { }
  4176. }, {
  4177. closecallback: function () { }
  4178. }, { "style": { "height": "36px" } }).form; //创建窗体
  4179. _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); } }
  4180. break;
  4181. case "hanFamily":
  4182. _formdiv = new U.UF.UI.form(
  4183. "汉字家族",
  4184. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4185. "id": "hanFamily",
  4186. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4187. "onresize": function () { }
  4188. }, {
  4189. closecallback: function () { }
  4190. }, { "style": { "height": "36px" } }).form; //创建窗体
  4191. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4192. break;
  4193. case "hanClassics":
  4194. _formdiv = new U.UF.UI.form(
  4195. "国学经典",
  4196. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4197. "id": "hanClassics",
  4198. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4199. "onresize": function () { }
  4200. }, {
  4201. closecallback: function () { }
  4202. }, { "style": { "height": "36px" } }).form; //创建窗体
  4203. _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); } }
  4204. break;
  4205. case "hanTraining":
  4206. _formdiv = new U.UF.UI.form(
  4207. "笔画训练",
  4208. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4209. "id": "hanTraining",
  4210. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4211. "onresize": function () { }
  4212. }, {
  4213. closecallback: function () { }
  4214. }, { "style": { "height": "36px" } }).form; //创建窗体
  4215. _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); } }
  4216. break;
  4217. case "hanClass":
  4218. _formdiv = new U.UF.UI.form(
  4219. "书法课堂",
  4220. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4221. "id": "hanClass",
  4222. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4223. "onresize": function () { }
  4224. }, {
  4225. closecallback: function () { }
  4226. }, { "style": { "height": "36px" } }).form; //创建窗体
  4227. _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); } }
  4228. break;
  4229. case "han":
  4230. _formdiv = new U.UF.UI.form(
  4231. "汉字宫",
  4232. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4233. "id": "han",
  4234. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4235. "onresize": function () { }
  4236. }, {
  4237. closecallback: function () { }
  4238. }, { "style": { "height": "36px" } }).form; //创建窗体
  4239. _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); } }
  4240. break;
  4241. case "projectGM": //课程管理
  4242. _formdiv = new U.UF.UI.form(
  4243. "课程管理",
  4244. $$("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 }), {
  4245. "id": "projectGM",
  4246. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4247. "onresize": function () { }
  4248. }, {
  4249. closecallback: function () { }
  4250. }, { "style": { "height": "36px" } }).form; //创建窗体
  4251. _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); } }
  4252. break;
  4253. case "studyGM": //课程中心
  4254. _formdiv = new U.UF.UI.form(
  4255. "课程中心",
  4256. $$("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
  4257. "id": "study",
  4258. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4259. "onresize": function () { }
  4260. }, {
  4261. closecallback: function () { }
  4262. }, { "style": { "height": "36px" } }).form; //创建窗体
  4263. _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); } }
  4264. break;
  4265. // studentGM
  4266. case "studentGM": //学生管理
  4267. _formdiv = new U.UF.UI.form(
  4268. "学生管理",
  4269. $$("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 }), {
  4270. "id": "studentGM",
  4271. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4272. "onresize": function () { }
  4273. }, {
  4274. closecallback: function () { }
  4275. }, { "style": { "height": "36px" } }).form; //创建窗体
  4276. _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); } }
  4277. break;
  4278. case "evaluateGM": //学生评价
  4279. _formdiv = new U.UF.UI.form(
  4280. "学生评价",
  4281. $$("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 }), {
  4282. "id": "evaluateGM",
  4283. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4284. "onresize": function () { }
  4285. }, {
  4286. closecallback: function () { }
  4287. }, { "style": { "height": "36px" } }).form; //创建窗体
  4288. _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); } }
  4289. break;
  4290. // classGM
  4291. case "classGM": //班级管理
  4292. _formdiv = new U.UF.UI.form(
  4293. "班级管理",
  4294. $$("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 }), {
  4295. "id": "classGM",
  4296. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4297. "onresize": function () { }
  4298. }, {
  4299. closecallback: function () { }
  4300. }, { "style": { "height": "36px" } }).form; //创建窗体
  4301. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4302. break;
  4303. // dataGM
  4304. case "dataGM":
  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/#/dataGM?userid=" + _userid + "&org=" + _org }), {
  4308. "id": "dataGM",
  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/gm/data.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4315. break;
  4316. // caseGM
  4317. case "caseGM": //课程进展
  4318. _formdiv = new U.UF.UI.form(
  4319. "课程进展",
  4320. $$("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 }), {
  4321. "id": "caseGM",
  4322. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4323. "onresize": function () { }
  4324. }, {
  4325. closecallback: function () { }
  4326. }, { "style": { "height": "36px" } }).form; //创建窗体
  4327. _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); } }
  4328. break;
  4329. // meterialGM
  4330. case "meterialGM": //素材库
  4331. _formdiv = new U.UF.UI.form(
  4332. "素材库",
  4333. $$("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 }), {
  4334. "id": "meterialGM",
  4335. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4336. "onresize": function () { }
  4337. }, {
  4338. closecallback: function () { }
  4339. }, { "style": { "height": "36px" } }).form; //创建窗体
  4340. _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); } }
  4341. break;
  4342. // evaluateSGM
  4343. case "evaluateSGM": //我的评价
  4344. _formdiv = new U.UF.UI.form(
  4345. "我的评价",
  4346. $$("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 }), {
  4347. "id": "evaluateSGM",
  4348. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4349. "onresize": function () { }
  4350. }, {
  4351. closecallback: function () { }
  4352. }, { "style": { "height": "36px" } }).form; //创建窗体
  4353. _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); } }
  4354. break;
  4355. case "jupyter": //jupyter
  4356. _formdiv = new U.UF.UI.form(
  4357. "jupyter",
  4358. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4359. "id": "jupyter",
  4360. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4361. "onresize": function () { }
  4362. }, {
  4363. closecallback: function () { }
  4364. }, { "style": { "height": "36px" } }).form; //创建窗体
  4365. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/jupyter.png)" }, "name": "jupyter", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4366. break;
  4367. case "number": //数字实验室
  4368. _formdiv = new U.UF.UI.form(
  4369. "数字实验室",
  4370. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4371. "id": "number",
  4372. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4373. "onresize": function () { }
  4374. }, {
  4375. closecallback: function () { }
  4376. }, { "style": { "height": "36px" } }).form; //创建窗体
  4377. _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); } }
  4378. break;
  4379. case "studentCourse": //项目管理 学生
  4380. _formdiv = new U.UF.UI.form(
  4381. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4382. $$("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 }), {
  4383. "id": "studentCourse",
  4384. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4385. "onresize": function () { }
  4386. }, {
  4387. closecallback: function () { }
  4388. }, { "style": { "height": "36px" } }).form; //创建窗体
  4389. _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); } }
  4390. break;
  4391. case "studentCourseS": //项目管理 老师
  4392. _formdiv = new U.UF.UI.form(
  4393. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4394. $$("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 }), {
  4395. "id": "studentCourseS",
  4396. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4397. "onresize": function () { }
  4398. }, {
  4399. closecallback: function () { }
  4400. }, { "style": { "height": "36px" } }).form; //创建窗体
  4401. _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); } }
  4402. break;
  4403. case "studentIndex": //项目中心
  4404. _formdiv = new U.UF.UI.form(
  4405. "项目中心",
  4406. $$("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 }), {
  4407. "id": "studentIndex",
  4408. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4409. "onresize": function () { }
  4410. }, {
  4411. closecallback: function () { }
  4412. }, { "style": { "height": "36px" } }).form; //创建窗体
  4413. _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); } }
  4414. break;
  4415. case "CaseDesignS":
  4416. _formdiv = new U.UF.UI.form(
  4417. "项目进展",
  4418. $$("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 }), {
  4419. "id": "case",
  4420. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4421. "onresize": function () { }
  4422. }, {
  4423. closecallback: function () { }
  4424. }, { "style": { "height": "36px" } }).form; //创建窗体
  4425. _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); } }
  4426. break;
  4427. case "tcStudent": //腾讯学生管理
  4428. _formdiv = new U.UF.UI.form(
  4429. "学生管理",
  4430. $$("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 }), {
  4431. "id": "tcStudent",
  4432. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4433. "onresize": function () { }
  4434. }, {
  4435. closecallback: function () { }
  4436. }, { "style": { "height": "36px" } }).form; //创建窗体
  4437. _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); } }
  4438. break;
  4439. case "tcSchool": //腾讯学校管理
  4440. _formdiv = new U.UF.UI.form(
  4441. "学校管理",
  4442. $$("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 }), {
  4443. "id": "tcSchool",
  4444. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4445. "onresize": function () { }
  4446. }, {
  4447. closecallback: function () { }
  4448. }, { "style": { "height": "36px" } }).form; //创建窗体
  4449. _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); } }
  4450. break;
  4451. case "tcTeacher": //腾讯学校管理
  4452. _formdiv = new U.UF.UI.form(
  4453. "教师管理",
  4454. $$("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 }), {
  4455. "id": "tcTeacher",
  4456. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4457. "onresize": function () { }
  4458. }, {
  4459. closecallback: function () { }
  4460. }, { "style": { "height": "36px" } }).form; //创建窗体
  4461. _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); } }
  4462. break;
  4463. case "tcData": //腾讯我的资料
  4464. _formdiv = new U.UF.UI.form(
  4465. "我的资料",
  4466. $$("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 }), {
  4467. "id": "tcData",
  4468. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4469. "onresize": function () { }
  4470. }, {
  4471. closecallback: function () { }
  4472. }, { "style": { "height": "36px" } }).form; //创建窗体
  4473. _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); } }
  4474. break;
  4475. case "tcNotice": //腾讯消息通知
  4476. _formdiv = new U.UF.UI.form(
  4477. "消息通知",
  4478. $$("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 }), {
  4479. "id": "tcNotice",
  4480. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4481. "onresize": function () { }
  4482. }, {
  4483. closecallback: function () { }
  4484. }, { "style": { "height": "36px" } }).form; //创建窗体
  4485. _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); } }
  4486. break;
  4487. case "myReport": //好友打开
  4488. _formdiv = new U.UF.UI.form(
  4489. "我的评价",
  4490. $$("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 }), {
  4491. "id": "myReport",
  4492. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4493. "onresize": function () { }
  4494. }, {
  4495. closecallback: function () { }
  4496. }, { "style": { "height": "36px" } }).form; //创建窗体
  4497. _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); } }
  4498. break;
  4499. case "learnAna": //好友打开
  4500. _formdiv = new U.UF.UI.form(
  4501. "学习分析",
  4502. $$("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 }), {
  4503. "id": "learnAna",
  4504. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4505. "onresize": function () { }
  4506. }, {
  4507. closecallback: function () { }
  4508. }, { "style": { "height": "36px" } }).form; //创建窗体
  4509. _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); } }
  4510. break;
  4511. case "AIChat": //AI共创
  4512. _formdiv = new U.UF.UI.form(
  4513. "AI共创",
  4514. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4515. "id": "AIChat",
  4516. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4517. "onresize": function () { }
  4518. }, {
  4519. istop: true,
  4520. closecallback: function () { $("#aichat_icon").remove(); },
  4521. narrowcallback: function () {
  4522. if (!$("#aichat_icon")[0]) {
  4523. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4524. }
  4525. },
  4526. }, { "style": { "height": "36px" } }).form; //创建窗体
  4527. _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); } }
  4528. break;
  4529. case "ainew": //AI共创
  4530. _formdiv = new U.UF.UI.form(
  4531. "AI协同",
  4532. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4533. "id": "ainew",
  4534. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4535. "onresize": function () { }
  4536. }, {
  4537. closecallback: function () { }
  4538. }, { "style": { "height": "36px" } }).form; //创建窗体
  4539. _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); } }
  4540. break;
  4541. case "futureClass": //AI共创
  4542. _formdiv = new U.UF.UI.form(
  4543. "协同建构",
  4544. $$("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
  4545. "id": "synergyCourse",
  4546. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4547. "onresize": function () { }
  4548. }, {
  4549. closecallback: function () {
  4550. $("iframe", _formdiv)[0].contentWindow.loginout();
  4551. }
  4552. }, { "style": { "height": "36px" } }).form; //创建窗体
  4553. _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); } }
  4554. break;
  4555. case "aiagent": //ai agent
  4556. _formdiv = new U.UF.UI.form(
  4557. "AI Agent",
  4558. $$("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" }), {
  4559. "id": "AIAgent",
  4560. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4561. "onresize": function () { }
  4562. }, {
  4563. closecallback: function () { }
  4564. }, { "style": { "height": "36px" } }).form; //创建窗体
  4565. _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); } }
  4566. break;
  4567. case "dataBoard": //数据看板
  4568. _formdiv = new U.UF.UI.form(
  4569. "数据看板",
  4570. $$("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 }), {
  4571. "id": "dataBoard",
  4572. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4573. "onresize": function () { }
  4574. }, {
  4575. closecallback: function () { }
  4576. }, { "style": { "height": "36px" } }).form; //创建窗体
  4577. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoard.png)" }, "name": "数据看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4578. break;
  4579. case "dataBoardSies": //数据融合
  4580. _formdiv = new U.UF.UI.form(
  4581. "数据融合",
  4582. $$("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 }), {
  4583. "id": "dataBoardSies",
  4584. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4585. "onresize": function () { }
  4586. }, {
  4587. closecallback: function () { }
  4588. }, { "style": { "height": "36px" } }).form; //创建窗体
  4589. _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); } }
  4590. break;
  4591. case "dataBoardNew": //数据看板
  4592. _formdiv = new U.UF.UI.form(
  4593. "综合看板",
  4594. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoardNew?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4595. "id": "dataBoardNew",
  4596. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4597. "onresize": function () { }
  4598. }, {
  4599. closecallback: function () { }
  4600. }, { "style": { "height": "36px" } }).form; //创建窗体
  4601. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardNew.png)" }, "name": "综合看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4602. break;
  4603. case "AIAnalyse": //AI共创
  4604. _formdiv = new U.UF.UI.form(
  4605. "AI分析",
  4606. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4607. "id": "AIAnalyse",
  4608. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4609. "onresize": function () { }
  4610. }, {
  4611. closecallback: function () { }
  4612. }, { "style": { "height": "36px" } }).form; //创建窗体
  4613. _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); } }
  4614. break;
  4615. case "studioCourse": //AI共创
  4616. _formdiv = new U.UF.UI.form(
  4617. "工作管理",
  4618. $$("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 }), {
  4619. "id": "studioCourse",
  4620. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4621. "onresize": function () { }
  4622. }, {
  4623. closecallback: function () { }
  4624. }, { "style": { "height": "36px" } }).form; //创建窗体
  4625. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4626. break;
  4627. case "studioIndex": //AI共创
  4628. _formdiv = new U.UF.UI.form(
  4629. "工作中心",
  4630. $$("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 }), {
  4631. "id": "studioIndex",
  4632. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4633. "onresize": function () { }
  4634. }, {
  4635. closecallback: function () { }
  4636. }, { "style": { "height": "36px" } }).form; //创建窗体
  4637. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioIndex.png)" }, "name": "工作中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4638. break;
  4639. case "source":
  4640. _formdiv = new U.UF.UI.form(
  4641. "教学资源",
  4642. $$("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 }), {
  4643. "id": "source",
  4644. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4645. "onresize": function () { }
  4646. }, {
  4647. closecallback: function () { }
  4648. }, { "style": { "height": "36px" } }).form; //创建窗体
  4649. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/source.png)" }, "name": "教学资源", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4650. break;
  4651. case "testTeacher":
  4652. _formdiv = new U.UF.UI.form(
  4653. "评测管理",
  4654. $$("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 }), {
  4655. "id": "testTeacher",
  4656. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4657. "onresize": function () { }
  4658. }, {
  4659. closecallback: function () { }
  4660. }, { "style": { "height": "36px" } }).form; //创建窗体
  4661. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4662. break;
  4663. case "testStudent":
  4664. _formdiv = new U.UF.UI.form(
  4665. "评测中心",
  4666. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  4667. "id": "testStudent",
  4668. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4669. "onresize": function () { }
  4670. }, {
  4671. closecallback: function () { }
  4672. }, { "style": { "height": "36px" } }).form; //创建窗体
  4673. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4674. break;
  4675. }
  4676. //U.MD.D.I.openClick(str);
  4677. //如果有任务栏信息
  4678. if (_taskbar) {
  4679. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4680. }
  4681. }
  4682. // U.MD.D.I.openClick = function(str){
  4683. // var click = '';
  4684. // switch(str){
  4685. // case 'friend':
  4686. // click = '我的好友';
  4687. // break;
  4688. // case 'domain':
  4689. // click = '域名管理';
  4690. // break;
  4691. // case 'disk':
  4692. // click = '我的云盘';
  4693. // break;
  4694. // case 'word':
  4695. // click = 'Word';
  4696. // break;
  4697. // case 'excel':
  4698. // click = 'Execl';
  4699. // break;
  4700. // case 'txt':
  4701. // click = '文本文件';
  4702. // break;
  4703. // case 'lookupFriend':
  4704. // click = '查找好友';
  4705. // break;
  4706. // case 'ftp':
  4707. // click = 'FTP';
  4708. // break;
  4709. // case 'group':
  4710. // click = '群组';
  4711. // break;
  4712. // case 'set':
  4713. // click = '我的设置';
  4714. // break;
  4715. // case 'systemSet':
  4716. // click = '系统设置';
  4717. // break;
  4718. // case 'boomYun':
  4719. // click = '互联办公';
  4720. // break;
  4721. // case 'xz':
  4722. // click = '云端下载';
  4723. // break;
  4724. // case 'client':
  4725. // click = '有思浏览器';
  4726. // break;
  4727. // case 'backEndProgramming':
  4728. // click = '在线后台编程';
  4729. // break;
  4730. // case 'frontEndProgramming':
  4731. // click = '在线前端编程';
  4732. // break;
  4733. // default: break;
  4734. // }
  4735. // if(U.MD.D.I.Ip && click){
  4736. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4737. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4738. // })
  4739. // }
  4740. // }
  4741. /**
  4742. *函数作用:ajax简易函数,使用post格式
  4743. *@param url {data} 后台地址
  4744. *@param data {data} 参数json
  4745. *@param fn {data} 回调函数
  4746. *
  4747. */
  4748. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4749. // var xhr = new XMLHttpRequest();
  4750. // xhr.open("GET",url,true);
  4751. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4752. // xhr.onreadystatechange = function(){
  4753. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4754. // fn.call(this,xhr.responseText);
  4755. // }
  4756. // };
  4757. // xhr.send();
  4758. // }
  4759. /*判断是否是内网IP*/
  4760. // U.MD.D.I.isInnerIPFn = function(str){
  4761. // var curPageUrl = str;
  4762. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4763. // curPageUrl =curPageUrl.replace(reg1,'');
  4764. // // console.log('curPageUrl-1 '+curPageUrl);
  4765. // var reg2 = /\:+/g;//替换冒号为一点
  4766. // curPageUrl =curPageUrl.replace(reg2,'.');
  4767. // // console.log('curPageUrl-2 '+curPageUrl);
  4768. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4769. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4770. // if(curPageUrl[2] != '16'){
  4771. // return ipAddress;
  4772. // }else{
  4773. // return false;
  4774. // }
  4775. // }
  4776. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4777. // //compatibility for firefox and chrome
  4778. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4779. // var pc = new myPeerConnection({
  4780. // iceServers: []
  4781. // }),
  4782. // noop = function() {},
  4783. // localIPs = {},
  4784. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4785. // key;
  4786. // function iterateIP(ip) {
  4787. // if (!localIPs[ip]) onNewIP(ip);
  4788. // localIPs[ip] = true;
  4789. // }
  4790. // //create a bogus data channel
  4791. // pc.createDataChannel("");
  4792. // // create offer and set local description
  4793. // pc.createOffer().then(function(sdp) {
  4794. // sdp.sdp.split('\n').forEach(function(line) {
  4795. // if (line.indexOf('candidate') < 0) return;
  4796. // line.match(ipRegex).forEach(iterateIP);
  4797. // });
  4798. // pc.setLocalDescription(sdp, noop, noop);
  4799. // }).catch(function(reason) {
  4800. // // An error occurred, so handle the failure to connect
  4801. // });
  4802. // //sten for candidate events
  4803. // pc.onicecandidate = function(ice) {
  4804. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4805. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4806. // };
  4807. // }
  4808. // U.MD.D.I.getUserIpBool = function(callback){
  4809. // U.MD.D.I.getUserIP(function(ip){
  4810. // alert("Got IP! :" + ip);
  4811. // });
  4812. //}
  4813. //#endregion
  4814. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4815. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4816. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4817. _userinfo = US.userInfo, //登录用户信息
  4818. _userid = US.userInfo.userid //登录用户id
  4819. let _iframe;
  4820. let _cid = cid,
  4821. _stage = stage,
  4822. _task = task,
  4823. _tool = tool;
  4824. var _jie = $$("div", {
  4825. "style": {
  4826. "position": "absolute",
  4827. "bottom": "50px",
  4828. "right": "50px",
  4829. "zIndex": "9999",
  4830. "backgroundColor": "#2268bc",
  4831. "color": "#fff",
  4832. "padding": "12px 20px",
  4833. "cursor": "pointer",
  4834. "borderRadius": "4px",
  4835. },
  4836. "innerHTML": "提交作业"
  4837. })
  4838. let aTool = ''
  4839. let _loading = document.createElement('div')
  4840. _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;"
  4841. // _loading.id = "";
  4842. let _lchild = document.createElement('div')
  4843. let _limg = document.createElement('img')
  4844. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4845. _limg.style = "width: 26px;margin-right: 10px;"
  4846. _lchild.appendChild(_limg)
  4847. let _lspan = document.createElement('span')
  4848. _lspan.innerHTML = "上传中..."
  4849. _lchild.appendChild(_lspan)
  4850. _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%);"
  4851. _loading.appendChild(_lchild)
  4852. var _box = $$('div', {
  4853. "style": {
  4854. "position": "relative",
  4855. "width": "100%",
  4856. "height": "100%",
  4857. },
  4858. })
  4859. _box.appendChild(_loading)
  4860. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4861. switch (str) {
  4862. case "whiteboard":
  4863. aTool = 1;
  4864. _iframe = $$("iframe", {
  4865. "frameborder": "no",
  4866. "border": "0",
  4867. "scrolling ": "no",
  4868. "style": {
  4869. "cssText": "border:0;width:100%;height:100%"
  4870. },
  4871. "src": "https://iwb.cocorobo.cn/"
  4872. })
  4873. _box.appendChild(_iframe);
  4874. _box.appendChild(_jie);
  4875. _formdiv = new U.UF.UI.form(
  4876. "电子白板",
  4877. _box, {
  4878. "id": "whiteboard" + cid + stage + task + tool,
  4879. "style": {
  4880. "width": "90%",
  4881. "height": "90%",
  4882. "overflow": 'hidden'
  4883. },
  4884. "onresize": function () { }
  4885. }, {
  4886. closecallback: function () { }
  4887. }, {
  4888. "style": {
  4889. "height": "36px"
  4890. }
  4891. }).form; //创建窗体
  4892. _taskbar = {
  4893. "id": str + _formdiv.id,
  4894. "style": {
  4895. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4896. },
  4897. "name": "电子白板",
  4898. "forms": _formdiv,
  4899. "click": function () {
  4900. U.MD.D.I.openApplication(str, obj, info);
  4901. }
  4902. }
  4903. break;
  4904. case "mind":
  4905. aTool = 3;
  4906. _iframe = $$("iframe", {
  4907. "frameborder": "no",
  4908. "border": "0",
  4909. "scrolling ": "no",
  4910. "style": {
  4911. "cssText": "border:0;width:100%;height:100%"
  4912. },
  4913. "src": "/kityminder-editor/dist/index.html"
  4914. })
  4915. _box.appendChild(_iframe);
  4916. _box.appendChild(_jie);
  4917. _formdiv = new U.UF.UI.form(
  4918. "思维导图",
  4919. _box, { //"/jsmind/example/demo.html"
  4920. "id": "mind" + cid + stage + task + tool,
  4921. "style": {
  4922. "width": "90%",
  4923. "height": "90%",
  4924. "overflow": 'hidden'
  4925. },
  4926. "onresize": function () { }
  4927. }, {
  4928. closecallback: function () { }
  4929. }, {
  4930. "style": {
  4931. "height": "36px"
  4932. }
  4933. }).form; //创建窗体
  4934. _taskbar = {
  4935. "id": str + _formdiv.id,
  4936. "style": {
  4937. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4938. },
  4939. "name": "思维导图",
  4940. "forms": _formdiv,
  4941. "click": function () {
  4942. U.MD.D.I.openApplication(str, obj, info);
  4943. }
  4944. }
  4945. break;
  4946. case "MindMap":
  4947. aTool = 3;
  4948. _iframe = $$("iframe", {
  4949. "frameborder": "no",
  4950. "border": "0",
  4951. "scrolling ": "no",
  4952. "style": {
  4953. "cssText": "border:0;width:100%;height:100%"
  4954. },
  4955. "src": "//cloud.cocorobo.cn/mind/"
  4956. })
  4957. _box.appendChild(_iframe);
  4958. _box.appendChild(_jie);
  4959. _formdiv = new U.UF.UI.form(
  4960. "思维导图",
  4961. _box, { //"/jsmind/example/demo.html"
  4962. "id": "mind" + cid + stage + task + tool,
  4963. "style": {
  4964. "width": "90%",
  4965. "height": "90%",
  4966. "overflow": 'hidden'
  4967. },
  4968. "onresize": function () { }
  4969. }, {
  4970. closecallback: function () { }
  4971. }, {
  4972. "style": {
  4973. "height": "36px"
  4974. }
  4975. }).form; //创建窗体
  4976. _taskbar = {
  4977. "id": str + _formdiv.id,
  4978. "style": {
  4979. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4980. },
  4981. "name": "思维导图",
  4982. "forms": _formdiv,
  4983. "click": function () {
  4984. U.MD.D.I.openApplication(str, obj, info);
  4985. }
  4986. }
  4987. break;
  4988. case "doc":
  4989. aTool = 6;
  4990. _iframe = $$("iframe", {
  4991. "frameborder": "no",
  4992. "border": "0",
  4993. "scrolling ": "no",
  4994. "style": {
  4995. "cssText": "border:0;width:100%;height:100%"
  4996. },
  4997. "src": "/Office/Word/WordEditArea.htm"
  4998. })
  4999. _box.appendChild(_iframe);
  5000. _box.appendChild(_jie);
  5001. _formdiv = new U.UF.UI.form(
  5002. "协同文档",
  5003. _box, {
  5004. "id": "doc" + cid + stage + task + tool,
  5005. "style": {
  5006. "width": "90%",
  5007. "height": "90%",
  5008. "overflow": 'hidden'
  5009. },
  5010. "onresize": function () { }
  5011. }, {
  5012. closecallback: function () { }
  5013. }, {
  5014. "style": {
  5015. "height": "36px"
  5016. }
  5017. }).form; //创建窗体
  5018. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5019. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5020. })
  5021. _taskbar = {
  5022. "id": str + _formdiv.id,
  5023. "style": {
  5024. "backgroundImage": "url(/img/icon/doc.png)"
  5025. },
  5026. "name": "协同文档",
  5027. "forms": _formdiv,
  5028. "click": function () {
  5029. U.MD.D.I.openApplication(str, obj, info);
  5030. }
  5031. }
  5032. break;
  5033. case "mindNetwork": //好友打开
  5034. aTool = 7;
  5035. _iframe = $$("iframe", {
  5036. "webkitallowfullscreen": "",
  5037. "mozallowfullscreen": "",
  5038. "allowfullscreen": "",
  5039. "frameborder": "no",
  5040. "border": "0",
  5041. "scrolling ": "no",
  5042. "style": {
  5043. "cssText": "border:0; width:100%; height:100%;"
  5044. },
  5045. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5046. })
  5047. _box.appendChild(_iframe);
  5048. _box.appendChild(_jie);
  5049. _formdiv = new U.UF.UI.form(
  5050. "思维网格",
  5051. _box, {
  5052. "id": "mindNetwork" + cid + stage + task + tool,
  5053. "style": {
  5054. "width": "90%",
  5055. "height": "90%",
  5056. "overflow": 'hidden'
  5057. },
  5058. "onresize": function () { }
  5059. }, {
  5060. closecallback: function () { }
  5061. }, {
  5062. "style": {
  5063. "height": "36px"
  5064. }
  5065. }).form; //创建窗体
  5066. _taskbar = {
  5067. "id": str + _formdiv.id,
  5068. "style": {
  5069. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5070. },
  5071. "name": "思维网格",
  5072. "forms": _formdiv,
  5073. "click": function () {
  5074. U.MD.D.I.openApplication(str, obj, info);
  5075. }
  5076. }
  5077. break;
  5078. case "courseDesign":
  5079. _iframe = $$("iframe", {
  5080. "webkitallowfullscreen": "",
  5081. "mozallowfullscreen": "",
  5082. "allowfullscreen": "",
  5083. "frameborder": "no",
  5084. "border": "0",
  5085. "scrolling ": "no",
  5086. "style": {
  5087. "cssText": "border:0; width:100%; height:100%;"
  5088. },
  5089. "src": "/course-design-vue"
  5090. })
  5091. _box.appendChild(_iframe);
  5092. _box.appendChild(_jie);
  5093. _formdiv = new U.UF.UI.form(
  5094. "项目设计",
  5095. _box, {
  5096. "id": "courseDesign" + cid + stage + task + tool,
  5097. "style": {
  5098. "width": "90%",
  5099. "height": "90%",
  5100. "overflow": 'hidden'
  5101. },
  5102. "onresize": function () { }
  5103. }, {
  5104. closecallback: function () { }
  5105. }, {
  5106. "style": {
  5107. "height": "36px"
  5108. }
  5109. }).form; //创建窗体
  5110. _taskbar = {
  5111. "id": str + _formdiv.id,
  5112. "style": {
  5113. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5114. },
  5115. "name": "项目设计",
  5116. "forms": _formdiv,
  5117. "click": function () {
  5118. U.MD.D.I.openApplication(str, obj, info);
  5119. }
  5120. }
  5121. break;
  5122. }
  5123. const script1 = document.createElement("script");
  5124. script1.type = "text/javascript";
  5125. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5126. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5127. const script2 = document.createElement("script");
  5128. script2.type = "text/javascript";
  5129. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5130. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5131. const script3 = document.createElement("script");
  5132. script3.type = "text/javascript";
  5133. script3.charset = "UTF-8";
  5134. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5135. const script4 = document.createElement("script");
  5136. script4.type = "text/javascript";
  5137. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5138. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5139. if (_iframe) {
  5140. if (str == 'doc') {
  5141. _iframe = _formdiv.querySelector('iframe')
  5142. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5143. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5144. _iframe.contentWindow.document.body.appendChild(script1);
  5145. _iframe.contentWindow.document.body.appendChild(script2);
  5146. // _iframe.contentWindow.document.body.appendChild(script3);
  5147. _iframe.contentWindow.document.body.appendChild(script4);
  5148. })
  5149. if (onloadListener) {
  5150. _iframe.contentDocument.location.reload()
  5151. } else {
  5152. _iframe.contentDocument.location.reload()
  5153. }
  5154. } else if (str == 'courseDesign') {
  5155. U.UF.DL.iframeLoad(_iframe, function () {
  5156. // _iframe.contentWindow.U.MD.O.W.load();
  5157. // _iframe.contentWindow.document.body.appendChild(script1);
  5158. _iframe.contentWindow.document.body.appendChild(script2);
  5159. _iframe.contentWindow.document.body.appendChild(script4);
  5160. })
  5161. } else if (str == 'mind') {
  5162. _iframe = _formdiv.querySelector('iframe')
  5163. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5164. //
  5165. _iframe.contentWindow.document.body.appendChild(script1);
  5166. _iframe.contentWindow.document.body.appendChild(script2);
  5167. _iframe.contentWindow.document.body.appendChild(script4);
  5168. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5169. })
  5170. if (onloadListener) {
  5171. _iframe.contentDocument.location.reload()
  5172. } else {
  5173. _iframe.contentDocument.location.reload()
  5174. }
  5175. } else if (str == 'whiteboard') {
  5176. _iframe = _formdiv.querySelector('iframe')
  5177. let onloadListener = _iframe.onload = () => {
  5178. _iframe.contentWindow.document.body.appendChild(script1);
  5179. _iframe.contentWindow.document.body.appendChild(script2);
  5180. _iframe.contentWindow.document.body.appendChild(script4);
  5181. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5182. };
  5183. if (onloadListener) {
  5184. _iframe.contentDocument.location.reload()
  5185. } else {
  5186. _iframe.contentDocument.location.reload()
  5187. }
  5188. } else {
  5189. _iframe.onload = () => {
  5190. _iframe.contentWindow.document.body.appendChild(script1);
  5191. _iframe.contentWindow.document.body.appendChild(script2);
  5192. // _iframe.contentWindow.document.body.appendChild(script3);
  5193. _iframe.contentWindow.document.body.appendChild(script4);
  5194. };
  5195. }
  5196. _jie.onclick = async () => {
  5197. let text = ''
  5198. if (aTool == 1) {
  5199. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5200. } else if (aTool == 6) {
  5201. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5202. } else if (aTool == 3) {
  5203. text = await U.MD.D.I.getEditorContent(_iframe);
  5204. }
  5205. _loading.style.display = 'flex'
  5206. console.log(_loading);
  5207. var _ajs = _iframe.contentWindow.document.createElement("script");
  5208. _ajs.type = "text/javascript";
  5209. _ajs.innerHTML =
  5210. // 'console.log(' + _loading + ');\n' +
  5211. 'var _js = document.createElement("script");\n' +
  5212. '_js.type="text/javascript";\n' +
  5213. '_js.charset="UTF-8";\n' +
  5214. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5215. "_js.onload = function(){\n" +
  5216. ' var a = document.getElementsByTagName("img")\n' +
  5217. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5218. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5219. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5220. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5221. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5222. "beforeUpload_shishi(file," +
  5223. "'" +
  5224. _userid +
  5225. "'" +
  5226. ", " +
  5227. "'" +
  5228. _cid +
  5229. "'" +
  5230. ", " +
  5231. "'" +
  5232. _stage +
  5233. "'" +
  5234. ", " +
  5235. "'" +
  5236. _task +
  5237. "'" +
  5238. ", " +
  5239. "'" +
  5240. _tool +
  5241. "'" +
  5242. ", " +
  5243. "'" +
  5244. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5245. "'" +
  5246. ", " +
  5247. "'" +
  5248. aTool +
  5249. "'" +
  5250. ", " +
  5251. "`" +
  5252. text +
  5253. "`" +
  5254. ")\n" +
  5255. " });\n" +
  5256. "}\n" +
  5257. "document.head.appendChild(_js);\n";
  5258. _iframe.contentWindow.document.head.appendChild(_ajs);
  5259. }
  5260. }
  5261. //U.MD.D.I.openClick(str);
  5262. //如果有任务栏信息
  5263. // if (_taskbar) {
  5264. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5265. // }
  5266. }
  5267. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5268. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5269. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5270. _userinfo = US.userInfo, //登录用户信息
  5271. _userid = US.userInfo.userid //登录用户id
  5272. let _iframe;
  5273. let _cid = cid,
  5274. _stage = stage,
  5275. _task = task,
  5276. _tool = tool;
  5277. var _jie = $$("div", {
  5278. "style": {
  5279. "position": "absolute",
  5280. "bottom": "50px",
  5281. "right": "50px",
  5282. "zIndex": "9999",
  5283. "backgroundColor": "#2268bc",
  5284. "color": "#fff",
  5285. "padding": "12px 20px",
  5286. "cursor": "pointer",
  5287. "borderRadius": "4px",
  5288. },
  5289. "innerHTML": "提交作业"
  5290. })
  5291. let aTool = ''
  5292. let _loading = document.createElement('div')
  5293. _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;"
  5294. // _loading.id = "";
  5295. let _lchild = document.createElement('div')
  5296. let _limg = document.createElement('img')
  5297. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5298. _limg.style = "width: 26px;margin-right: 10px;"
  5299. _lchild.appendChild(_limg)
  5300. let _lspan = document.createElement('span')
  5301. _lspan.innerHTML = "上传中..."
  5302. _lchild.appendChild(_lspan)
  5303. _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%);"
  5304. _loading.appendChild(_lchild)
  5305. var _box = $$('div', {
  5306. "style": {
  5307. "position": "relative",
  5308. "width": "100%",
  5309. "height": "100%",
  5310. },
  5311. })
  5312. _box.appendChild(_loading)
  5313. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5314. switch (str) {
  5315. case "whiteboard":
  5316. aTool = 1;
  5317. _iframe = $$("iframe", {
  5318. "frameborder": "no",
  5319. "border": "0",
  5320. "scrolling ": "no",
  5321. "style": {
  5322. "cssText": "border:0;width:100%;height:100%"
  5323. },
  5324. "src": "https://iwb.cocorobo.cn/"
  5325. })
  5326. _box.appendChild(_iframe);
  5327. _box.appendChild(_jie);
  5328. _formdiv = new U.UF.UI.form(
  5329. "电子白板",
  5330. _box, {
  5331. "id": "whiteboard" + cid + stage + task + tool,
  5332. "style": {
  5333. "width": "90%",
  5334. "height": "90%",
  5335. "overflow": 'hidden'
  5336. },
  5337. "onresize": function () { }
  5338. }, {
  5339. closecallback: function () { }
  5340. }, {
  5341. "style": {
  5342. "height": "36px"
  5343. }
  5344. }).form; //创建窗体
  5345. _taskbar = {
  5346. "id": str + _formdiv.id,
  5347. "style": {
  5348. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5349. },
  5350. "name": "电子白板",
  5351. "forms": _formdiv,
  5352. "click": function () {
  5353. U.MD.D.I.openApplication(str, obj, info);
  5354. }
  5355. }
  5356. break;
  5357. case "mind":
  5358. aTool = 3;
  5359. _iframe = $$("iframe", {
  5360. "frameborder": "no",
  5361. "border": "0",
  5362. "scrolling ": "no",
  5363. "style": {
  5364. "cssText": "border:0;width:100%;height:100%"
  5365. },
  5366. "src": "/kityminder-editor/dist/index.html"
  5367. })
  5368. _box.appendChild(_iframe);
  5369. _box.appendChild(_jie);
  5370. _formdiv = new U.UF.UI.form(
  5371. "思维导图",
  5372. _box, { //"/jsmind/example/demo.html"
  5373. "id": "mind" + cid + stage + task + tool,
  5374. "style": {
  5375. "width": "90%",
  5376. "height": "90%",
  5377. "overflow": 'hidden'
  5378. },
  5379. "onresize": function () { }
  5380. }, {
  5381. closecallback: function () { }
  5382. }, {
  5383. "style": {
  5384. "height": "36px"
  5385. }
  5386. }).form; //创建窗体
  5387. _taskbar = {
  5388. "id": str + _formdiv.id,
  5389. "style": {
  5390. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5391. },
  5392. "name": "思维导图",
  5393. "forms": _formdiv,
  5394. "click": function () {
  5395. U.MD.D.I.openApplication(str, obj, info);
  5396. }
  5397. }
  5398. break;
  5399. case "MindMap":
  5400. aTool = 3;
  5401. _iframe = $$("iframe", {
  5402. "frameborder": "no",
  5403. "border": "0",
  5404. "scrolling ": "no",
  5405. "style": {
  5406. "cssText": "border:0;width:100%;height:100%"
  5407. },
  5408. "src": "//cloud.cocorobo.cn/mind/"
  5409. })
  5410. _box.appendChild(_iframe);
  5411. _box.appendChild(_jie);
  5412. _formdiv = new U.UF.UI.form(
  5413. "思维导图",
  5414. _box, { //"/jsmind/example/demo.html"
  5415. "id": "mind" + cid + stage + task + tool,
  5416. "style": {
  5417. "width": "90%",
  5418. "height": "90%",
  5419. "overflow": 'hidden'
  5420. },
  5421. "onresize": function () { }
  5422. }, {
  5423. closecallback: function () { }
  5424. }, {
  5425. "style": {
  5426. "height": "36px"
  5427. }
  5428. }).form; //创建窗体
  5429. _taskbar = {
  5430. "id": str + _formdiv.id,
  5431. "style": {
  5432. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5433. },
  5434. "name": "思维导图",
  5435. "forms": _formdiv,
  5436. "click": function () {
  5437. U.MD.D.I.openApplication(str, obj, info);
  5438. }
  5439. }
  5440. break;
  5441. case "doc":
  5442. aTool = 6;
  5443. _iframe = $$("iframe", {
  5444. "frameborder": "no",
  5445. "border": "0",
  5446. "scrolling ": "no",
  5447. "style": {
  5448. "cssText": "border:0;width:100%;height:100%"
  5449. },
  5450. "src": "/Office/Word/WordEditArea.htm"
  5451. })
  5452. _box.appendChild(_iframe);
  5453. _box.appendChild(_jie);
  5454. _formdiv = new U.UF.UI.form(
  5455. "协同文档",
  5456. _box, {
  5457. "id": "doc" + cid + stage + task + tool,
  5458. "style": {
  5459. "width": "90%",
  5460. "height": "90%",
  5461. "overflow": 'hidden'
  5462. },
  5463. "onresize": function () { }
  5464. }, {
  5465. closecallback: function () { }
  5466. }, {
  5467. "style": {
  5468. "height": "36px"
  5469. }
  5470. }).form; //创建窗体
  5471. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5472. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5473. })
  5474. _taskbar = {
  5475. "id": str + _formdiv.id,
  5476. "style": {
  5477. "backgroundImage": "url(/img/icon/doc.png)"
  5478. },
  5479. "name": "协同文档",
  5480. "forms": _formdiv,
  5481. "click": function () {
  5482. U.MD.D.I.openApplication(str, obj, info);
  5483. }
  5484. }
  5485. break;
  5486. case "mindNetwork": //好友打开
  5487. aTool = 7;
  5488. _iframe = $$("iframe", {
  5489. "webkitallowfullscreen": "",
  5490. "mozallowfullscreen": "",
  5491. "allowfullscreen": "",
  5492. "frameborder": "no",
  5493. "border": "0",
  5494. "scrolling ": "no",
  5495. "style": {
  5496. "cssText": "border:0; width:100%; height:100%;"
  5497. },
  5498. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5499. })
  5500. _box.appendChild(_iframe);
  5501. _box.appendChild(_jie);
  5502. _formdiv = new U.UF.UI.form(
  5503. "思维网格",
  5504. _box, {
  5505. "id": "mindNetwork" + cid + stage + task + tool,
  5506. "style": {
  5507. "width": "90%",
  5508. "height": "90%",
  5509. "overflow": 'hidden'
  5510. },
  5511. "onresize": function () { }
  5512. }, {
  5513. closecallback: function () { }
  5514. }, {
  5515. "style": {
  5516. "height": "36px"
  5517. }
  5518. }).form; //创建窗体
  5519. _taskbar = {
  5520. "id": str + _formdiv.id,
  5521. "style": {
  5522. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5523. },
  5524. "name": "思维网格",
  5525. "forms": _formdiv,
  5526. "click": function () {
  5527. U.MD.D.I.openApplication(str, obj, info);
  5528. }
  5529. }
  5530. break;
  5531. case "courseDesign":
  5532. _iframe = $$("iframe", {
  5533. "webkitallowfullscreen": "",
  5534. "mozallowfullscreen": "",
  5535. "allowfullscreen": "",
  5536. "frameborder": "no",
  5537. "border": "0",
  5538. "scrolling ": "no",
  5539. "style": {
  5540. "cssText": "border:0; width:100%; height:100%;"
  5541. },
  5542. "src": "/course-design-vue"
  5543. })
  5544. _box.appendChild(_iframe);
  5545. _box.appendChild(_jie);
  5546. _formdiv = new U.UF.UI.form(
  5547. "项目设计",
  5548. _box, {
  5549. "id": "courseDesign" + cid + stage + task + tool,
  5550. "style": {
  5551. "width": "90%",
  5552. "height": "90%",
  5553. "overflow": 'hidden'
  5554. },
  5555. "onresize": function () { }
  5556. }, {
  5557. closecallback: function () { }
  5558. }, {
  5559. "style": {
  5560. "height": "36px"
  5561. }
  5562. }).form; //创建窗体
  5563. _taskbar = {
  5564. "id": str + _formdiv.id,
  5565. "style": {
  5566. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5567. },
  5568. "name": "项目设计",
  5569. "forms": _formdiv,
  5570. "click": function () {
  5571. U.MD.D.I.openApplication(str, obj, info);
  5572. }
  5573. }
  5574. break;
  5575. }
  5576. const script1 = document.createElement("script");
  5577. script1.type = "text/javascript";
  5578. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5579. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5580. const script2 = document.createElement("script");
  5581. script2.type = "text/javascript";
  5582. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5583. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5584. const script3 = document.createElement("script");
  5585. script3.type = "text/javascript";
  5586. script3.charset = "UTF-8";
  5587. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5588. const script4 = document.createElement("script");
  5589. script4.type = "text/javascript";
  5590. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5591. script4.src = window.origin + "/js/Common/jietu2E.js";
  5592. if (_iframe) {
  5593. if (str == 'doc') {
  5594. _iframe = _formdiv.querySelector('iframe')
  5595. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5596. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5597. _iframe.contentWindow.document.body.appendChild(script1);
  5598. _iframe.contentWindow.document.body.appendChild(script2);
  5599. // _iframe.contentWindow.document.body.appendChild(script3);
  5600. _iframe.contentWindow.document.body.appendChild(script4);
  5601. })
  5602. if (onloadListener) {
  5603. _iframe.contentDocument.location.reload()
  5604. } else {
  5605. _iframe.contentDocument.location.reload()
  5606. }
  5607. } else if (str == 'courseDesign') {
  5608. U.UF.DL.iframeLoad(_iframe, function () {
  5609. // _iframe.contentWindow.U.MD.O.W.load();
  5610. // _iframe.contentWindow.document.body.appendChild(script1);
  5611. _iframe.contentWindow.document.body.appendChild(script2);
  5612. _iframe.contentWindow.document.body.appendChild(script4);
  5613. })
  5614. } else if (str == 'mind') {
  5615. _iframe = _formdiv.querySelector('iframe')
  5616. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5617. //
  5618. _iframe.contentWindow.document.body.appendChild(script1);
  5619. _iframe.contentWindow.document.body.appendChild(script2);
  5620. _iframe.contentWindow.document.body.appendChild(script4);
  5621. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5622. })
  5623. if (onloadListener) {
  5624. _iframe.contentDocument.location.reload()
  5625. } else {
  5626. _iframe.contentDocument.location.reload()
  5627. }
  5628. } else if (str == 'whiteboard') {
  5629. _iframe = _formdiv.querySelector('iframe')
  5630. let onloadListener = _iframe.onload = () => {
  5631. _iframe.contentWindow.document.body.appendChild(script1);
  5632. _iframe.contentWindow.document.body.appendChild(script2);
  5633. _iframe.contentWindow.document.body.appendChild(script4);
  5634. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5635. };
  5636. if (onloadListener) {
  5637. _iframe.contentDocument.location.reload()
  5638. } else {
  5639. _iframe.contentDocument.location.reload()
  5640. }
  5641. } else {
  5642. _iframe.onload = () => {
  5643. _iframe.contentWindow.document.body.appendChild(script1);
  5644. _iframe.contentWindow.document.body.appendChild(script2);
  5645. // _iframe.contentWindow.document.body.appendChild(script3);
  5646. _iframe.contentWindow.document.body.appendChild(script4);
  5647. };
  5648. }
  5649. _jie.onclick = async () => {
  5650. let text = ''
  5651. if (aTool == 1) {
  5652. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5653. } else if (aTool == 6) {
  5654. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5655. } else if (aTool == 3) {
  5656. text = await U.MD.D.I.getEditorContent(_iframe);
  5657. }
  5658. _loading.style.display = 'flex'
  5659. console.log(_loading);
  5660. var _ajs = _iframe.contentWindow.document.createElement("script");
  5661. _ajs.type = "text/javascript";
  5662. _ajs.innerHTML =
  5663. // 'console.log(' + _loading + ');\n' +
  5664. 'var _js = document.createElement("script");\n' +
  5665. '_js.type="text/javascript";\n' +
  5666. '_js.charset="UTF-8";\n' +
  5667. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5668. "_js.onload = function(){\n" +
  5669. ' var a = document.getElementsByTagName("img")\n' +
  5670. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5671. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5672. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5673. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5674. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5675. "beforeUpload_shishi(file," +
  5676. "'" +
  5677. _userid +
  5678. "'" +
  5679. ", " +
  5680. "'" +
  5681. _cid +
  5682. "'" +
  5683. ", " +
  5684. "'" +
  5685. _stage +
  5686. "'" +
  5687. ", " +
  5688. "'" +
  5689. _task +
  5690. "'" +
  5691. ", " +
  5692. "'" +
  5693. _tool +
  5694. "'" +
  5695. ", " +
  5696. "'" +
  5697. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5698. "'" +
  5699. ", " +
  5700. "'" +
  5701. aTool +
  5702. "'" +
  5703. ", " +
  5704. "`" +
  5705. text +
  5706. "`" +
  5707. ")\n" +
  5708. " });\n" +
  5709. "}\n" +
  5710. "document.head.appendChild(_js);\n";
  5711. _iframe.contentWindow.document.head.appendChild(_ajs);
  5712. }
  5713. }
  5714. //U.MD.D.I.openClick(str);
  5715. //如果有任务栏信息
  5716. // if (_taskbar) {
  5717. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5718. // }
  5719. }
  5720. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5721. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5722. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5723. _userid = student.userid, //登录用户id
  5724. _username = student.student //用户名字
  5725. let _iframe;
  5726. let _cid = cid,
  5727. _stage = stage,
  5728. _task = task,
  5729. _tool = tool;
  5730. var _jie = $$("div", {
  5731. "style": {
  5732. "position": "absolute",
  5733. "bottom": "50px",
  5734. "right": "50px",
  5735. "zIndex": "9999",
  5736. "backgroundColor": "#2268bc",
  5737. "color": "#fff",
  5738. "padding": "12px 20px",
  5739. "cursor": "pointer",
  5740. "borderRadius": "4px",
  5741. },
  5742. "innerHTML": "提交作业"
  5743. })
  5744. let aTool = ''
  5745. let _loading = document.createElement('div')
  5746. _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;"
  5747. // _loading.id = "";
  5748. let _lchild = document.createElement('div')
  5749. let _limg = document.createElement('img')
  5750. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5751. _limg.style = "width: 26px;margin-right: 10px;"
  5752. _lchild.appendChild(_limg)
  5753. let _lspan = document.createElement('span')
  5754. _lspan.innerHTML = "上传中..."
  5755. _lchild.appendChild(_lspan)
  5756. _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%);"
  5757. _loading.appendChild(_lchild)
  5758. var _box = $$('div', {
  5759. "style": {
  5760. "position": "relative",
  5761. "width": "100%",
  5762. "height": "100%",
  5763. },
  5764. })
  5765. _box.appendChild(_loading)
  5766. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5767. switch (str) {
  5768. case "whiteboard":
  5769. aTool = 1;
  5770. _iframe = $$("iframe", {
  5771. "frameborder": "no",
  5772. "border": "0",
  5773. "scrolling ": "no",
  5774. "style": {
  5775. "cssText": "border:0;width:100%;height:100%"
  5776. },
  5777. "src": "https://iwb.cocorobo.cn/"
  5778. })
  5779. _box.appendChild(_iframe);
  5780. _box.appendChild(_jie);
  5781. _formdiv = new U.UF.UI.form(
  5782. "电子白板-" + _username,
  5783. _box, {
  5784. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5785. "style": {
  5786. "width": "90%",
  5787. "height": "90%",
  5788. "overflow": 'hidden'
  5789. },
  5790. "onresize": function () { }
  5791. }, {
  5792. closecallback: function () { }
  5793. }, {
  5794. "style": {
  5795. "height": "36px"
  5796. }
  5797. }).form; //创建窗体
  5798. _taskbar = {
  5799. "id": str + _formdiv.id,
  5800. "style": {
  5801. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5802. },
  5803. "name": "电子白板",
  5804. "forms": _formdiv,
  5805. "click": function () {
  5806. U.MD.D.I.openApplication(str, obj, info);
  5807. }
  5808. }
  5809. break;
  5810. case "mind":
  5811. aTool = 3;
  5812. _iframe = $$("iframe", {
  5813. "frameborder": "no",
  5814. "border": "0",
  5815. "scrolling ": "no",
  5816. "style": {
  5817. "cssText": "border:0;width:100%;height:100%"
  5818. },
  5819. "src": "/kityminder-editor/dist/index.html"
  5820. })
  5821. _box.appendChild(_iframe);
  5822. _box.appendChild(_jie);
  5823. _formdiv = new U.UF.UI.form(
  5824. "思维导图-" + _username,
  5825. _box, { //"/jsmind/example/demo.html"
  5826. "id": "mind" + cid + stage + task + tool + _userid,
  5827. "style": {
  5828. "width": "90%",
  5829. "height": "90%",
  5830. "overflow": 'hidden'
  5831. },
  5832. "onresize": function () { }
  5833. }, {
  5834. closecallback: function () { }
  5835. }, {
  5836. "style": {
  5837. "height": "36px"
  5838. }
  5839. }).form; //创建窗体
  5840. _taskbar = {
  5841. "id": str + _formdiv.id,
  5842. "style": {
  5843. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5844. },
  5845. "name": "思维导图",
  5846. "forms": _formdiv,
  5847. "click": function () {
  5848. U.MD.D.I.openApplication(str, obj, info);
  5849. }
  5850. }
  5851. break;
  5852. case "MindMap":
  5853. aTool = 3;
  5854. _iframe = $$("iframe", {
  5855. "frameborder": "no",
  5856. "border": "0",
  5857. "scrolling ": "no",
  5858. "style": {
  5859. "cssText": "border:0;width:100%;height:100%"
  5860. },
  5861. "src": "//cloud.cocorobo.cn/mind/"
  5862. })
  5863. _box.appendChild(_iframe);
  5864. _box.appendChild(_jie);
  5865. _formdiv = new U.UF.UI.form(
  5866. "思维导图-" + _username,
  5867. _box, { //"/jsmind/example/demo.html"
  5868. "id": "mind" + cid + stage + task + tool + _userid,
  5869. "style": {
  5870. "width": "90%",
  5871. "height": "90%",
  5872. "overflow": 'hidden'
  5873. },
  5874. "onresize": function () { }
  5875. }, {
  5876. closecallback: function () { }
  5877. }, {
  5878. "style": {
  5879. "height": "36px"
  5880. }
  5881. }).form; //创建窗体
  5882. _taskbar = {
  5883. "id": str + _formdiv.id,
  5884. "style": {
  5885. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5886. },
  5887. "name": "思维导图",
  5888. "forms": _formdiv,
  5889. "click": function () {
  5890. U.MD.D.I.openApplication(str, obj, info);
  5891. }
  5892. }
  5893. break;
  5894. case "doc":
  5895. aTool = 6;
  5896. _iframe = $$("iframe", {
  5897. "frameborder": "no",
  5898. "border": "0",
  5899. "scrolling ": "no",
  5900. "style": {
  5901. "cssText": "border:0;width:100%;height:100%"
  5902. },
  5903. "src": "/Office/Word/WordEditArea.htm"
  5904. })
  5905. _box.appendChild(_iframe);
  5906. _box.appendChild(_jie);
  5907. _formdiv = new U.UF.UI.form(
  5908. "协同文档-" + _username,
  5909. _box, {
  5910. "id": "doc" + cid + stage + task + tool + _userid,
  5911. "style": {
  5912. "width": "90%",
  5913. "height": "90%",
  5914. "overflow": 'hidden'
  5915. },
  5916. "onresize": function () { }
  5917. }, {
  5918. closecallback: function () { }
  5919. }, {
  5920. "style": {
  5921. "height": "36px"
  5922. }
  5923. }).form; //创建窗体
  5924. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5925. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5926. })
  5927. _taskbar = {
  5928. "id": str + _formdiv.id,
  5929. "style": {
  5930. "backgroundImage": "url(/img/icon/doc.png)"
  5931. },
  5932. "name": "协同文档",
  5933. "forms": _formdiv,
  5934. "click": function () {
  5935. U.MD.D.I.openApplication(str, obj, info);
  5936. }
  5937. }
  5938. break;
  5939. case "mindNetwork": //好友打开
  5940. aTool = 7;
  5941. _iframe = $$("iframe", {
  5942. "webkitallowfullscreen": "",
  5943. "mozallowfullscreen": "",
  5944. "allowfullscreen": "",
  5945. "frameborder": "no",
  5946. "border": "0",
  5947. "scrolling ": "no",
  5948. "style": {
  5949. "cssText": "border:0; width:100%; height:100%;"
  5950. },
  5951. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5952. })
  5953. _box.appendChild(_iframe);
  5954. _box.appendChild(_jie);
  5955. _formdiv = new U.UF.UI.form(
  5956. "思维网格-" + _username,
  5957. _box, {
  5958. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5959. "style": {
  5960. "width": "90%",
  5961. "height": "90%",
  5962. "overflow": 'hidden'
  5963. },
  5964. "onresize": function () { }
  5965. }, {
  5966. closecallback: function () { }
  5967. }, {
  5968. "style": {
  5969. "height": "36px"
  5970. }
  5971. }).form; //创建窗体
  5972. _taskbar = {
  5973. "id": str + _formdiv.id,
  5974. "style": {
  5975. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5976. },
  5977. "name": "思维网格",
  5978. "forms": _formdiv,
  5979. "click": function () {
  5980. U.MD.D.I.openApplication(str, obj, info);
  5981. }
  5982. }
  5983. break;
  5984. case "courseDesign":
  5985. _iframe = $$("iframe", {
  5986. "webkitallowfullscreen": "",
  5987. "mozallowfullscreen": "",
  5988. "allowfullscreen": "",
  5989. "frameborder": "no",
  5990. "border": "0",
  5991. "scrolling ": "no",
  5992. "style": {
  5993. "cssText": "border:0; width:100%; height:100%;"
  5994. },
  5995. "src": "/course-design-vue"
  5996. })
  5997. _box.appendChild(_iframe);
  5998. _box.appendChild(_jie);
  5999. _formdiv = new U.UF.UI.form(
  6000. "项目设计-" + _username,
  6001. _box, {
  6002. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6003. "style": {
  6004. "width": "90%",
  6005. "height": "90%",
  6006. "overflow": 'hidden'
  6007. },
  6008. "onresize": function () { }
  6009. }, {
  6010. closecallback: function () { }
  6011. }, {
  6012. "style": {
  6013. "height": "36px"
  6014. }
  6015. }).form; //创建窗体
  6016. _taskbar = {
  6017. "id": str + _formdiv.id,
  6018. "style": {
  6019. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6020. },
  6021. "name": "项目设计",
  6022. "forms": _formdiv,
  6023. "click": function () {
  6024. U.MD.D.I.openApplication(str, obj, info);
  6025. }
  6026. }
  6027. break;
  6028. }
  6029. const script1 = document.createElement("script");
  6030. script1.type = "text/javascript";
  6031. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6032. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6033. const script2 = document.createElement("script");
  6034. script2.type = "text/javascript";
  6035. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6036. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6037. const script3 = document.createElement("script");
  6038. script3.type = "text/javascript";
  6039. script3.charset = "UTF-8";
  6040. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6041. const script4 = document.createElement("script");
  6042. script4.type = "text/javascript";
  6043. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6044. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6045. if (_iframe) {
  6046. if (str == 'doc') {
  6047. _iframe = _formdiv.querySelector('iframe')
  6048. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6049. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6050. _iframe.contentWindow.document.body.appendChild(script1);
  6051. _iframe.contentWindow.document.body.appendChild(script2);
  6052. // _iframe.contentWindow.document.body.appendChild(script3);
  6053. _iframe.contentWindow.document.body.appendChild(script4);
  6054. })
  6055. if (onloadListener) {
  6056. _iframe.contentDocument.location.reload()
  6057. } else {
  6058. _iframe.contentDocument.location.reload()
  6059. }
  6060. } else if (str == 'courseDesign') {
  6061. U.UF.DL.iframeLoad(_iframe, function () {
  6062. // _iframe.contentWindow.U.MD.O.W.load();
  6063. // _iframe.contentWindow.document.body.appendChild(script1);
  6064. _iframe.contentWindow.document.body.appendChild(script2);
  6065. _iframe.contentWindow.document.body.appendChild(script4);
  6066. })
  6067. } else if (str == 'mind') {
  6068. _iframe = _formdiv.querySelector('iframe')
  6069. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6070. //
  6071. _iframe.contentWindow.document.body.appendChild(script1);
  6072. _iframe.contentWindow.document.body.appendChild(script2);
  6073. _iframe.contentWindow.document.body.appendChild(script4);
  6074. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6075. })
  6076. if (onloadListener) {
  6077. _iframe.contentDocument.location.reload()
  6078. } else {
  6079. _iframe.contentDocument.location.reload()
  6080. }
  6081. } else if (str == 'whiteboard') {
  6082. _iframe = _formdiv.querySelector('iframe')
  6083. let onloadListener = _iframe.onload = () => {
  6084. _iframe.contentWindow.document.body.appendChild(script1);
  6085. _iframe.contentWindow.document.body.appendChild(script2);
  6086. _iframe.contentWindow.document.body.appendChild(script4);
  6087. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6088. };
  6089. if (onloadListener) {
  6090. _iframe.contentDocument.location.reload()
  6091. } else {
  6092. _iframe.contentDocument.location.reload()
  6093. }
  6094. } else {
  6095. _iframe.onload = () => {
  6096. _iframe.contentWindow.document.body.appendChild(script1);
  6097. _iframe.contentWindow.document.body.appendChild(script2);
  6098. // _iframe.contentWindow.document.body.appendChild(script3);
  6099. _iframe.contentWindow.document.body.appendChild(script4);
  6100. };
  6101. }
  6102. _jie.onclick = async () => {
  6103. let text = ''
  6104. if (aTool == 1) {
  6105. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6106. } else if (aTool == 6) {
  6107. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6108. } else if (aTool == 3) {
  6109. text = await U.MD.D.I.getEditorContent(_iframe);
  6110. }
  6111. _loading.style.display = 'flex'
  6112. console.log(_loading);
  6113. var _ajs = _iframe.contentWindow.document.createElement("script");
  6114. _ajs.type = "text/javascript";
  6115. _ajs.innerHTML =
  6116. // 'console.log(' + _loading + ');\n' +
  6117. 'var _js = document.createElement("script");\n' +
  6118. '_js.type="text/javascript";\n' +
  6119. '_js.charset="UTF-8";\n' +
  6120. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6121. "_js.onload = function(){\n" +
  6122. ' var a = document.getElementsByTagName("img")\n' +
  6123. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6124. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6125. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6126. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6127. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6128. "beforeUpload_shishi(file," +
  6129. "'" +
  6130. _userid +
  6131. "'" +
  6132. ", " +
  6133. "'" +
  6134. _cid +
  6135. "'" +
  6136. ", " +
  6137. "'" +
  6138. _stage +
  6139. "'" +
  6140. ", " +
  6141. "'" +
  6142. _task +
  6143. "'" +
  6144. ", " +
  6145. "'" +
  6146. _tool +
  6147. "'" +
  6148. ", " +
  6149. "'" +
  6150. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6151. "'" +
  6152. ", " +
  6153. "'" +
  6154. aTool +
  6155. "'" +
  6156. ", " +
  6157. "`" +
  6158. text +
  6159. "`" +
  6160. ")\n" +
  6161. " });\n" +
  6162. "}\n" +
  6163. "document.head.appendChild(_js);\n";
  6164. _iframe.contentWindow.document.head.appendChild(_ajs);
  6165. }
  6166. }
  6167. }
  6168. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6169. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6170. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6171. _userid = student.userid, //登录用户id
  6172. _username = student.student //用户名字
  6173. let _iframe;
  6174. let _cid = cid,
  6175. _stage = stage,
  6176. _task = task,
  6177. _tool = tool;
  6178. var _jie = $$("div", {
  6179. "style": {
  6180. "position": "absolute",
  6181. "bottom": "50px",
  6182. "right": "50px",
  6183. "zIndex": "9999",
  6184. "backgroundColor": "#2268bc",
  6185. "color": "#fff",
  6186. "padding": "12px 20px",
  6187. "cursor": "pointer",
  6188. "borderRadius": "4px",
  6189. },
  6190. "innerHTML": "提交作业"
  6191. })
  6192. let aTool = ''
  6193. let _loading = document.createElement('div')
  6194. _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;"
  6195. // _loading.id = "";
  6196. let _lchild = document.createElement('div')
  6197. let _limg = document.createElement('img')
  6198. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6199. _limg.style = "width: 26px;margin-right: 10px;"
  6200. _lchild.appendChild(_limg)
  6201. let _lspan = document.createElement('span')
  6202. _lspan.innerHTML = "上传中..."
  6203. _lchild.appendChild(_lspan)
  6204. _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%);"
  6205. _loading.appendChild(_lchild)
  6206. var _box = $$('div', {
  6207. "style": {
  6208. "position": "relative",
  6209. "width": "100%",
  6210. "height": "100%",
  6211. },
  6212. })
  6213. _box.appendChild(_loading)
  6214. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6215. switch (str) {
  6216. case "whiteboard":
  6217. aTool = 1;
  6218. _iframe = $$("iframe", {
  6219. "frameborder": "no",
  6220. "border": "0",
  6221. "scrolling ": "no",
  6222. "style": {
  6223. "cssText": "border:0;width:100%;height:100%"
  6224. },
  6225. "src": "https://iwb.cocorobo.cn/"
  6226. })
  6227. _box.appendChild(_iframe);
  6228. _box.appendChild(_jie);
  6229. _formdiv = new U.UF.UI.form(
  6230. "电子白板-" + _username,
  6231. _box, {
  6232. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6233. "style": {
  6234. "width": "90%",
  6235. "height": "90%",
  6236. "overflow": 'hidden'
  6237. },
  6238. "onresize": function () { }
  6239. }, {
  6240. closecallback: function () { }
  6241. }, {
  6242. "style": {
  6243. "height": "36px"
  6244. }
  6245. }).form; //创建窗体
  6246. _taskbar = {
  6247. "id": str + _formdiv.id,
  6248. "style": {
  6249. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6250. },
  6251. "name": "电子白板",
  6252. "forms": _formdiv,
  6253. "click": function () {
  6254. U.MD.D.I.openApplication(str, obj, info);
  6255. }
  6256. }
  6257. break;
  6258. case "mind":
  6259. aTool = 3;
  6260. _iframe = $$("iframe", {
  6261. "frameborder": "no",
  6262. "border": "0",
  6263. "scrolling ": "no",
  6264. "style": {
  6265. "cssText": "border:0;width:100%;height:100%"
  6266. },
  6267. "src": "/kityminder-editor/dist/index.html"
  6268. })
  6269. _box.appendChild(_iframe);
  6270. _box.appendChild(_jie);
  6271. _formdiv = new U.UF.UI.form(
  6272. "思维导图-" + _username,
  6273. _box, { //"/jsmind/example/demo.html"
  6274. "id": "mind" + cid + stage + task + tool + _userid,
  6275. "style": {
  6276. "width": "90%",
  6277. "height": "90%",
  6278. "overflow": 'hidden'
  6279. },
  6280. "onresize": function () { }
  6281. }, {
  6282. closecallback: function () { }
  6283. }, {
  6284. "style": {
  6285. "height": "36px"
  6286. }
  6287. }).form; //创建窗体
  6288. _taskbar = {
  6289. "id": str + _formdiv.id,
  6290. "style": {
  6291. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6292. },
  6293. "name": "思维导图",
  6294. "forms": _formdiv,
  6295. "click": function () {
  6296. U.MD.D.I.openApplication(str, obj, info);
  6297. }
  6298. }
  6299. break;
  6300. case "MindMap":
  6301. aTool = 3;
  6302. _iframe = $$("iframe", {
  6303. "frameborder": "no",
  6304. "border": "0",
  6305. "scrolling ": "no",
  6306. "style": {
  6307. "cssText": "border:0;width:100%;height:100%"
  6308. },
  6309. "src": "//cloud.cocorobo.cn/mind/"
  6310. })
  6311. _box.appendChild(_iframe);
  6312. _box.appendChild(_jie);
  6313. _formdiv = new U.UF.UI.form(
  6314. "思维导图-" + _username,
  6315. _box, { //"/jsmind/example/demo.html"
  6316. "id": "mind" + cid + stage + task + tool + _userid,
  6317. "style": {
  6318. "width": "90%",
  6319. "height": "90%",
  6320. "overflow": 'hidden'
  6321. },
  6322. "onresize": function () { }
  6323. }, {
  6324. closecallback: function () { }
  6325. }, {
  6326. "style": {
  6327. "height": "36px"
  6328. }
  6329. }).form; //创建窗体
  6330. _taskbar = {
  6331. "id": str + _formdiv.id,
  6332. "style": {
  6333. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6334. },
  6335. "name": "思维导图",
  6336. "forms": _formdiv,
  6337. "click": function () {
  6338. U.MD.D.I.openApplication(str, obj, info);
  6339. }
  6340. }
  6341. break;
  6342. case "doc":
  6343. aTool = 6;
  6344. _iframe = $$("iframe", {
  6345. "frameborder": "no",
  6346. "border": "0",
  6347. "scrolling ": "no",
  6348. "style": {
  6349. "cssText": "border:0;width:100%;height:100%"
  6350. },
  6351. "src": "/Office/Word/WordEditArea.htm"
  6352. })
  6353. _box.appendChild(_iframe);
  6354. _box.appendChild(_jie);
  6355. _formdiv = new U.UF.UI.form(
  6356. "协同文档-" + _username,
  6357. _box, {
  6358. "id": "doc" + cid + stage + task + tool + _userid,
  6359. "style": {
  6360. "width": "90%",
  6361. "height": "90%",
  6362. "overflow": 'hidden'
  6363. },
  6364. "onresize": function () { }
  6365. }, {
  6366. closecallback: function () { }
  6367. }, {
  6368. "style": {
  6369. "height": "36px"
  6370. }
  6371. }).form; //创建窗体
  6372. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6373. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6374. })
  6375. _taskbar = {
  6376. "id": str + _formdiv.id,
  6377. "style": {
  6378. "backgroundImage": "url(/img/icon/doc.png)"
  6379. },
  6380. "name": "协同文档",
  6381. "forms": _formdiv,
  6382. "click": function () {
  6383. U.MD.D.I.openApplication(str, obj, info);
  6384. }
  6385. }
  6386. break;
  6387. case "mindNetwork": //好友打开
  6388. aTool = 7;
  6389. _iframe = $$("iframe", {
  6390. "webkitallowfullscreen": "",
  6391. "mozallowfullscreen": "",
  6392. "allowfullscreen": "",
  6393. "frameborder": "no",
  6394. "border": "0",
  6395. "scrolling ": "no",
  6396. "style": {
  6397. "cssText": "border:0; width:100%; height:100%;"
  6398. },
  6399. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6400. })
  6401. _box.appendChild(_iframe);
  6402. _box.appendChild(_jie);
  6403. _formdiv = new U.UF.UI.form(
  6404. "思维网格-" + _username,
  6405. _box, {
  6406. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6407. "style": {
  6408. "width": "90%",
  6409. "height": "90%",
  6410. "overflow": 'hidden'
  6411. },
  6412. "onresize": function () { }
  6413. }, {
  6414. closecallback: function () { }
  6415. }, {
  6416. "style": {
  6417. "height": "36px"
  6418. }
  6419. }).form; //创建窗体
  6420. _taskbar = {
  6421. "id": str + _formdiv.id,
  6422. "style": {
  6423. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6424. },
  6425. "name": "思维网格",
  6426. "forms": _formdiv,
  6427. "click": function () {
  6428. U.MD.D.I.openApplication(str, obj, info);
  6429. }
  6430. }
  6431. break;
  6432. case "courseDesign":
  6433. _iframe = $$("iframe", {
  6434. "webkitallowfullscreen": "",
  6435. "mozallowfullscreen": "",
  6436. "allowfullscreen": "",
  6437. "frameborder": "no",
  6438. "border": "0",
  6439. "scrolling ": "no",
  6440. "style": {
  6441. "cssText": "border:0; width:100%; height:100%;"
  6442. },
  6443. "src": "/course-design-vue"
  6444. })
  6445. _box.appendChild(_iframe);
  6446. _box.appendChild(_jie);
  6447. _formdiv = new U.UF.UI.form(
  6448. "项目设计-" + _username,
  6449. _box, {
  6450. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6451. "style": {
  6452. "width": "90%",
  6453. "height": "90%",
  6454. "overflow": 'hidden'
  6455. },
  6456. "onresize": function () { }
  6457. }, {
  6458. closecallback: function () { }
  6459. }, {
  6460. "style": {
  6461. "height": "36px"
  6462. }
  6463. }).form; //创建窗体
  6464. _taskbar = {
  6465. "id": str + _formdiv.id,
  6466. "style": {
  6467. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6468. },
  6469. "name": "项目设计",
  6470. "forms": _formdiv,
  6471. "click": function () {
  6472. U.MD.D.I.openApplication(str, obj, info);
  6473. }
  6474. }
  6475. break;
  6476. }
  6477. const script1 = document.createElement("script");
  6478. script1.type = "text/javascript";
  6479. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6480. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6481. const script2 = document.createElement("script");
  6482. script2.type = "text/javascript";
  6483. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6484. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6485. const script3 = document.createElement("script");
  6486. script3.type = "text/javascript";
  6487. script3.charset = "UTF-8";
  6488. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6489. const script4 = document.createElement("script");
  6490. script4.type = "text/javascript";
  6491. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6492. script4.src = window.origin + "/js/Common/jietu2E.js";
  6493. if (_iframe) {
  6494. if (str == 'doc') {
  6495. _iframe = _formdiv.querySelector('iframe')
  6496. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6497. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6498. _iframe.contentWindow.document.body.appendChild(script1);
  6499. _iframe.contentWindow.document.body.appendChild(script2);
  6500. // _iframe.contentWindow.document.body.appendChild(script3);
  6501. _iframe.contentWindow.document.body.appendChild(script4);
  6502. })
  6503. if (onloadListener) {
  6504. _iframe.contentDocument.location.reload()
  6505. } else {
  6506. _iframe.contentDocument.location.reload()
  6507. }
  6508. } else if (str == 'courseDesign') {
  6509. U.UF.DL.iframeLoad(_iframe, function () {
  6510. // _iframe.contentWindow.U.MD.O.W.load();
  6511. // _iframe.contentWindow.document.body.appendChild(script1);
  6512. _iframe.contentWindow.document.body.appendChild(script2);
  6513. _iframe.contentWindow.document.body.appendChild(script4);
  6514. })
  6515. } else if (str == 'mind') {
  6516. _iframe = _formdiv.querySelector('iframe')
  6517. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6518. //
  6519. _iframe.contentWindow.document.body.appendChild(script1);
  6520. _iframe.contentWindow.document.body.appendChild(script2);
  6521. _iframe.contentWindow.document.body.appendChild(script4);
  6522. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6523. })
  6524. if (onloadListener) {
  6525. _iframe.contentDocument.location.reload()
  6526. } else {
  6527. _iframe.contentDocument.location.reload()
  6528. }
  6529. } else if (str == 'whiteboard') {
  6530. _iframe = _formdiv.querySelector('iframe')
  6531. let onloadListener = _iframe.onload = () => {
  6532. _iframe.contentWindow.document.body.appendChild(script1);
  6533. _iframe.contentWindow.document.body.appendChild(script2);
  6534. _iframe.contentWindow.document.body.appendChild(script4);
  6535. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6536. };
  6537. if (onloadListener) {
  6538. _iframe.contentDocument.location.reload()
  6539. } else {
  6540. _iframe.contentDocument.location.reload()
  6541. }
  6542. } else {
  6543. _iframe.onload = () => {
  6544. _iframe.contentWindow.document.body.appendChild(script1);
  6545. _iframe.contentWindow.document.body.appendChild(script2);
  6546. // _iframe.contentWindow.document.body.appendChild(script3);
  6547. _iframe.contentWindow.document.body.appendChild(script4);
  6548. };
  6549. }
  6550. _jie.onclick = async () => {
  6551. let text = ''
  6552. if (aTool == 1) {
  6553. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6554. } else if (aTool == 6) {
  6555. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6556. } else if (aTool == 3) {
  6557. text = await U.MD.D.I.getEditorContent(_iframe);
  6558. }
  6559. _loading.style.display = 'flex'
  6560. console.log(_loading);
  6561. var _ajs = _iframe.contentWindow.document.createElement("script");
  6562. _ajs.type = "text/javascript";
  6563. _ajs.innerHTML =
  6564. // 'console.log(' + _loading + ');\n' +
  6565. 'var _js = document.createElement("script");\n' +
  6566. '_js.type="text/javascript";\n' +
  6567. '_js.charset="UTF-8";\n' +
  6568. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6569. "_js.onload = function(){\n" +
  6570. ' var a = document.getElementsByTagName("img")\n' +
  6571. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6572. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6573. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6574. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6575. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6576. "beforeUpload_shishi(file," +
  6577. "'" +
  6578. _userid +
  6579. "'" +
  6580. ", " +
  6581. "'" +
  6582. _cid +
  6583. "'" +
  6584. ", " +
  6585. "'" +
  6586. _stage +
  6587. "'" +
  6588. ", " +
  6589. "'" +
  6590. _task +
  6591. "'" +
  6592. ", " +
  6593. "'" +
  6594. _tool +
  6595. "'" +
  6596. ", " +
  6597. "'" +
  6598. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6599. "'" +
  6600. ", " +
  6601. "'" +
  6602. aTool +
  6603. "'" +
  6604. ", " +
  6605. "`" +
  6606. text +
  6607. "`" +
  6608. ")\n" +
  6609. " });\n" +
  6610. "}\n" +
  6611. "document.head.appendChild(_js);\n";
  6612. _iframe.contentWindow.document.head.appendChild(_ajs);
  6613. }
  6614. }
  6615. }
  6616. U.MD.D.I.getEditorContent = function (iframe) {
  6617. return new Promise((resolve, reject) => {
  6618. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6619. console.log(content);
  6620. resolve(content)
  6621. });
  6622. });
  6623. }
  6624. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6625. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6626. // if (res.value[0].length > 0) {
  6627. // // resolve(res.value[0][0].text);
  6628. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6629. // $(fileInput).val('');
  6630. // });
  6631. // }
  6632. // }, [], { "type": "GET", "withCredentials": true });
  6633. var xmlhttp;
  6634. var Mac, Sn, DeviceId
  6635. if (window.XMLHttpRequest) {
  6636. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6637. xmlhttp = new XMLHttpRequest();
  6638. } else {
  6639. // IE6, IE5 浏览器执行代码
  6640. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6641. }
  6642. xmlhttp.onreadystatechange = function () {
  6643. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6644. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6645. // resolve(res.value[0][0].text);
  6646. if (type == '2') {
  6647. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6648. } else if (type == '3') {
  6649. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6650. }
  6651. } else {
  6652. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6653. }
  6654. }
  6655. }
  6656. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6657. xmlhttp.send();
  6658. }
  6659. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6660. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6661. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6662. _userinfo = US.userInfo, //登录用户信息
  6663. _userid = US.userInfo.userid //登录用户id
  6664. let _iframe;
  6665. let _cid = cid,
  6666. _stage = stage,
  6667. _task = task,
  6668. _tool = tool;
  6669. var _jie = $$("div", {
  6670. "style": {
  6671. "position": "absolute",
  6672. "bottom": "50px",
  6673. "right": "50px",
  6674. "zIndex": "9999",
  6675. "backgroundColor": "#2268bc",
  6676. "color": "#fff",
  6677. "padding": "12px 20px",
  6678. "cursor": "pointer",
  6679. "borderRadius": "4px",
  6680. },
  6681. "innerHTML": "确认并提交"
  6682. })
  6683. let aTool = ''
  6684. let _loading = document.createElement('div')
  6685. _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;"
  6686. // _loading.id = "";
  6687. let _lchild = document.createElement('div')
  6688. let _limg = document.createElement('img')
  6689. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6690. _limg.style = "width: 26px;margin-right: 10px;"
  6691. _lchild.appendChild(_limg)
  6692. let _lspan = document.createElement('span')
  6693. _lspan.innerHTML = "上传中..."
  6694. _lchild.appendChild(_lspan)
  6695. _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%);"
  6696. _loading.appendChild(_lchild)
  6697. var _box = $$('div', {
  6698. "style": {
  6699. "position": "relative",
  6700. "width": "100%",
  6701. "height": "100%",
  6702. },
  6703. })
  6704. _box.appendChild(_loading)
  6705. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6706. switch (str) {
  6707. case "whiteboard":
  6708. aTool = 1;
  6709. _iframe = $$("iframe", {
  6710. "frameborder": "no",
  6711. "border": "0",
  6712. "scrolling ": "no",
  6713. "style": {
  6714. "cssText": "border:0;width:100%;height:100%"
  6715. },
  6716. "src": "https://iwb.cocorobo.cn/"
  6717. })
  6718. _box.appendChild(_iframe);
  6719. _box.appendChild(_jie);
  6720. _formdiv = new U.UF.UI.form(
  6721. "电子白板",
  6722. _box, {
  6723. "id": "whiteboards" + cid + stage + task + tool,
  6724. "style": {
  6725. "width": "90%",
  6726. "height": "90%",
  6727. "overflow": 'hidden'
  6728. },
  6729. "onresize": function () { }
  6730. }, {
  6731. closecallback: function () { }
  6732. }, {
  6733. "style": {
  6734. "height": "36px"
  6735. }
  6736. }).form; //创建窗体
  6737. _taskbar = {
  6738. "id": str + _formdiv.id,
  6739. "style": {
  6740. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6741. },
  6742. "name": "电子白板",
  6743. "forms": _formdiv,
  6744. "click": function () {
  6745. U.MD.D.I.openApplication(str, obj, info);
  6746. }
  6747. }
  6748. break;
  6749. case "mind":
  6750. aTool = 3;
  6751. _iframe = $$("iframe", {
  6752. "frameborder": "no",
  6753. "border": "0",
  6754. "scrolling ": "no",
  6755. "style": {
  6756. "cssText": "border:0;width:100%;height:100%"
  6757. },
  6758. "src": "/kityminder-editor/dist/index.html"
  6759. });
  6760. _box.appendChild(_iframe);
  6761. _box.appendChild(_jie);
  6762. _formdiv = new U.UF.UI.form(
  6763. "思维导图",
  6764. _box, { //"/jsmind/example/demo.html"
  6765. "id": "minds" + cid + stage + task + tool,
  6766. "style": {
  6767. "width": "90%",
  6768. "height": "90%",
  6769. "overflow": 'hidden'
  6770. },
  6771. "onresize": function () { }
  6772. }, {
  6773. closecallback: function () { }
  6774. }, {
  6775. "style": {
  6776. "height": "36px"
  6777. }
  6778. }).form; //创建窗体
  6779. _taskbar = {
  6780. "id": str + _formdiv.id,
  6781. "style": {
  6782. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6783. },
  6784. "name": "思维导图",
  6785. "forms": _formdiv,
  6786. "click": function () {
  6787. U.MD.D.I.openApplication(str, obj, info);
  6788. }
  6789. }
  6790. break;
  6791. case "doc":
  6792. aTool = 6;
  6793. _iframe = $$("iframe", {
  6794. "frameborder": "no",
  6795. "border": "0",
  6796. "scrolling ": "no",
  6797. "style": {
  6798. "cssText": "border:0;width:100%;height:100%"
  6799. },
  6800. "src": "/Office/Word/WordEditArea.htm"
  6801. })
  6802. _box.appendChild(_iframe);
  6803. _box.appendChild(_jie);
  6804. _formdiv = new U.UF.UI.form(
  6805. "协同文档",
  6806. _box, {
  6807. "id": "docs" + cid + stage + task + tool,
  6808. "style": {
  6809. "width": "90%",
  6810. "height": "90%",
  6811. "overflow": 'hidden'
  6812. },
  6813. "onresize": function () { }
  6814. }, {
  6815. closecallback: function () { }
  6816. }, {
  6817. "style": {
  6818. "height": "36px"
  6819. }
  6820. }).form; //创建窗体
  6821. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6822. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6823. })
  6824. _taskbar = {
  6825. "id": str + _formdiv.id,
  6826. "style": {
  6827. "backgroundImage": "url(/img/icon/doc.png)"
  6828. },
  6829. "name": "协同文档",
  6830. "forms": _formdiv,
  6831. "click": function () {
  6832. U.MD.D.I.openApplication(str, obj, info);
  6833. }
  6834. }
  6835. break;
  6836. }
  6837. const script1 = document.createElement("script");
  6838. script1.type = "text/javascript";
  6839. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6840. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6841. const script2 = document.createElement("script");
  6842. script2.type = "text/javascript";
  6843. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6844. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6845. const script3 = document.createElement("script");
  6846. script3.type = "text/javascript";
  6847. script3.charset = "UTF-8";
  6848. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6849. const script4 = document.createElement("script");
  6850. script4.type = "text/javascript";
  6851. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6852. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6853. if (_iframe) {
  6854. if (str == 'doc') {
  6855. _iframe = _formdiv.querySelector('iframe')
  6856. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6857. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6858. _iframe.contentWindow.document.body.appendChild(script1);
  6859. _iframe.contentWindow.document.body.appendChild(script2);
  6860. // _iframe.contentWindow.document.body.appendChild(script3);
  6861. _iframe.contentWindow.document.body.appendChild(script4);
  6862. })
  6863. if (onloadListener) {
  6864. _iframe.contentDocument.location.reload()
  6865. } else {
  6866. _iframe.contentDocument.location.reload()
  6867. }
  6868. } else if (str == 'mind') {
  6869. _iframe = _formdiv.querySelector('iframe')
  6870. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6871. _iframe.contentWindow.document.body.appendChild(script1);
  6872. _iframe.contentWindow.document.body.appendChild(script2);
  6873. _iframe.contentWindow.document.body.appendChild(script4);
  6874. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6875. })
  6876. if (onloadListener) {
  6877. _iframe.contentDocument.location.reload()
  6878. } else {
  6879. _iframe.contentDocument.location.reload()
  6880. }
  6881. } else {
  6882. _iframe.onload = () => {
  6883. _iframe.contentWindow.document.body.appendChild(script1);
  6884. _iframe.contentWindow.document.body.appendChild(script2);
  6885. // _iframe.contentWindow.document.body.appendChild(script3);
  6886. _iframe.contentWindow.document.body.appendChild(script4);
  6887. };
  6888. }
  6889. _jie.onclick = async () => {
  6890. let text = ''
  6891. if (aTool == 6) {
  6892. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6893. } else if (aTool == 3) {
  6894. text = await U.MD.D.I.getEditorContent(_iframe);
  6895. }
  6896. _loading.style.display = 'flex'
  6897. console.log(_loading);
  6898. var _ajs = _iframe.contentWindow.document.createElement("script");
  6899. _ajs.type = "text/javascript";
  6900. _ajs.innerHTML =
  6901. // 'console.log(' + _loading + ');\n' +
  6902. 'var _js = document.createElement("script");\n' +
  6903. '_js.type="text/javascript";\n' +
  6904. '_js.charset="UTF-8";\n' +
  6905. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6906. "_js.onload = function(){\n" +
  6907. ' var a = document.getElementsByTagName("img")\n' +
  6908. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6909. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6910. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6911. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6912. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6913. "beforeUpload_shishi(file," +
  6914. "'" +
  6915. _userid +
  6916. "'" +
  6917. ", " +
  6918. "'" +
  6919. _cid +
  6920. "'" +
  6921. ", " +
  6922. "'" +
  6923. _stage +
  6924. "'" +
  6925. ", " +
  6926. "'" +
  6927. _task +
  6928. "'" +
  6929. ", " +
  6930. "'" +
  6931. _tool +
  6932. "'" +
  6933. ", " +
  6934. "'" +
  6935. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6936. "'" +
  6937. ", " +
  6938. "'" +
  6939. aTool +
  6940. "'" +
  6941. ", " +
  6942. "`" +
  6943. text +
  6944. "`" +
  6945. ")\n" +
  6946. " });\n" +
  6947. "}\n" +
  6948. "document.head.appendChild(_js);\n";
  6949. _iframe.contentWindow.document.head.appendChild(_ajs);
  6950. }
  6951. }
  6952. //U.MD.D.I.openClick(str);
  6953. //如果有任务栏信息
  6954. // if (_taskbar) {
  6955. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6956. // }
  6957. }
  6958. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6959. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6960. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6961. _userinfo = US.userInfo, //登录用户信息
  6962. _userid = US.userInfo.userid //登录用户id
  6963. let _iframe;
  6964. let _cid = cid,
  6965. _stage = stage,
  6966. _task = task,
  6967. _tool = tool;
  6968. var _jie = $$("div", {
  6969. "style": {
  6970. "position": "absolute",
  6971. "bottom": "50px",
  6972. "right": "50px",
  6973. "zIndex": "9999",
  6974. "backgroundColor": "#2268bc",
  6975. "color": "#fff",
  6976. "padding": "12px 20px",
  6977. "cursor": "pointer",
  6978. "borderRadius": "4px",
  6979. },
  6980. "innerHTML": "确认并提交"
  6981. })
  6982. let aTool = ''
  6983. let _loading = document.createElement('div')
  6984. _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;"
  6985. // _loading.id = "";
  6986. let _lchild = document.createElement('div')
  6987. let _limg = document.createElement('img')
  6988. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6989. _limg.style = "width: 26px;margin-right: 10px;"
  6990. _lchild.appendChild(_limg)
  6991. let _lspan = document.createElement('span')
  6992. _lspan.innerHTML = "上传中..."
  6993. _lchild.appendChild(_lspan)
  6994. _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%);"
  6995. _loading.appendChild(_lchild)
  6996. var _box = $$('div', {
  6997. "style": {
  6998. "position": "relative",
  6999. "width": "100%",
  7000. "height": "100%",
  7001. },
  7002. })
  7003. _box.appendChild(_loading)
  7004. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7005. switch (str) {
  7006. case "whiteboard":
  7007. aTool = 1;
  7008. _iframe = $$("iframe", {
  7009. "frameborder": "no",
  7010. "border": "0",
  7011. "scrolling ": "no",
  7012. "style": {
  7013. "cssText": "border:0;width:100%;height:100%"
  7014. },
  7015. "src": "https://iwb.cocorobo.cn/"
  7016. })
  7017. _box.appendChild(_iframe);
  7018. _box.appendChild(_jie);
  7019. _formdiv = new U.UF.UI.form(
  7020. "电子白板",
  7021. _box, {
  7022. "id": "whiteboards" + cid + stage + task + tool,
  7023. "style": {
  7024. "width": "90%",
  7025. "height": "90%",
  7026. "overflow": 'hidden'
  7027. },
  7028. "onresize": function () { }
  7029. }, {
  7030. closecallback: function () { }
  7031. }, {
  7032. "style": {
  7033. "height": "36px"
  7034. }
  7035. }).form; //创建窗体
  7036. _taskbar = {
  7037. "id": str + _formdiv.id,
  7038. "style": {
  7039. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7040. },
  7041. "name": "电子白板",
  7042. "forms": _formdiv,
  7043. "click": function () {
  7044. U.MD.D.I.openApplication(str, obj, info);
  7045. }
  7046. }
  7047. break;
  7048. case "mind":
  7049. aTool = 3;
  7050. _iframe = $$("iframe", {
  7051. "frameborder": "no",
  7052. "border": "0",
  7053. "scrolling ": "no",
  7054. "style": {
  7055. "cssText": "border:0;width:100%;height:100%"
  7056. },
  7057. "src": "/kityminder-editor/dist/index.html"
  7058. });
  7059. _box.appendChild(_iframe);
  7060. _box.appendChild(_jie);
  7061. _formdiv = new U.UF.UI.form(
  7062. "思维导图",
  7063. _box, { //"/jsmind/example/demo.html"
  7064. "id": "minds" + cid + stage + task + tool,
  7065. "style": {
  7066. "width": "90%",
  7067. "height": "90%",
  7068. "overflow": 'hidden'
  7069. },
  7070. "onresize": function () { }
  7071. }, {
  7072. closecallback: function () { }
  7073. }, {
  7074. "style": {
  7075. "height": "36px"
  7076. }
  7077. }).form; //创建窗体
  7078. _taskbar = {
  7079. "id": str + _formdiv.id,
  7080. "style": {
  7081. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7082. },
  7083. "name": "思维导图",
  7084. "forms": _formdiv,
  7085. "click": function () {
  7086. U.MD.D.I.openApplication(str, obj, info);
  7087. }
  7088. }
  7089. break;
  7090. case "doc":
  7091. aTool = 6;
  7092. _iframe = $$("iframe", {
  7093. "frameborder": "no",
  7094. "border": "0",
  7095. "scrolling ": "no",
  7096. "style": {
  7097. "cssText": "border:0;width:100%;height:100%"
  7098. },
  7099. "src": "/Office/Word/WordEditArea.htm"
  7100. })
  7101. _box.appendChild(_iframe);
  7102. _box.appendChild(_jie);
  7103. _formdiv = new U.UF.UI.form(
  7104. "协同文档",
  7105. _box, {
  7106. "id": "docs" + cid + stage + task + tool,
  7107. "style": {
  7108. "width": "90%",
  7109. "height": "90%",
  7110. "overflow": 'hidden'
  7111. },
  7112. "onresize": function () { }
  7113. }, {
  7114. closecallback: function () { }
  7115. }, {
  7116. "style": {
  7117. "height": "36px"
  7118. }
  7119. }).form; //创建窗体
  7120. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7121. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7122. })
  7123. _taskbar = {
  7124. "id": str + _formdiv.id,
  7125. "style": {
  7126. "backgroundImage": "url(/img/icon/doc.png)"
  7127. },
  7128. "name": "协同文档",
  7129. "forms": _formdiv,
  7130. "click": function () {
  7131. U.MD.D.I.openApplication(str, obj, info);
  7132. }
  7133. }
  7134. break;
  7135. }
  7136. const script1 = document.createElement("script");
  7137. script1.type = "text/javascript";
  7138. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7139. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7140. const script2 = document.createElement("script");
  7141. script2.type = "text/javascript";
  7142. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7143. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7144. const script3 = document.createElement("script");
  7145. script3.type = "text/javascript";
  7146. script3.charset = "UTF-8";
  7147. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7148. const script4 = document.createElement("script");
  7149. script4.type = "text/javascript";
  7150. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7151. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7152. if (_iframe) {
  7153. if (str == 'doc') {
  7154. _iframe = _formdiv.querySelector('iframe')
  7155. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7156. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7157. _iframe.contentWindow.document.body.appendChild(script1);
  7158. _iframe.contentWindow.document.body.appendChild(script2);
  7159. // _iframe.contentWindow.document.body.appendChild(script3);
  7160. _iframe.contentWindow.document.body.appendChild(script4);
  7161. })
  7162. if (onloadListener) {
  7163. _iframe.contentDocument.location.reload()
  7164. } else {
  7165. _iframe.contentDocument.location.reload()
  7166. }
  7167. } else if (str == 'mind') {
  7168. _iframe = _formdiv.querySelector('iframe')
  7169. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7170. _iframe.contentWindow.document.body.appendChild(script1);
  7171. _iframe.contentWindow.document.body.appendChild(script2);
  7172. _iframe.contentWindow.document.body.appendChild(script4);
  7173. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7174. })
  7175. if (onloadListener) {
  7176. _iframe.contentDocument.location.reload()
  7177. } else {
  7178. _iframe.contentDocument.location.reload()
  7179. }
  7180. } else {
  7181. _iframe.onload = () => {
  7182. _iframe.contentWindow.document.body.appendChild(script1);
  7183. _iframe.contentWindow.document.body.appendChild(script2);
  7184. // _iframe.contentWindow.document.body.appendChild(script3);
  7185. _iframe.contentWindow.document.body.appendChild(script4);
  7186. };
  7187. }
  7188. _jie.onclick = async () => {
  7189. let text = ''
  7190. if (aTool == 6) {
  7191. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7192. } else if (aTool == 3) {
  7193. text = await U.MD.D.I.getEditorContent(_iframe);
  7194. }
  7195. _loading.style.display = 'flex'
  7196. console.log(_loading);
  7197. var _ajs = _iframe.contentWindow.document.createElement("script");
  7198. _ajs.type = "text/javascript";
  7199. _ajs.innerHTML =
  7200. // 'console.log(' + _loading + ');\n' +
  7201. 'var _js = document.createElement("script");\n' +
  7202. '_js.type="text/javascript";\n' +
  7203. '_js.charset="UTF-8";\n' +
  7204. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7205. "_js.onload = function(){\n" +
  7206. ' var a = document.getElementsByTagName("img")\n' +
  7207. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7208. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7209. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7210. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7211. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7212. "beforeUpload_shishi(file," +
  7213. "'" +
  7214. _userid +
  7215. "'" +
  7216. ", " +
  7217. "'" +
  7218. _cid +
  7219. "'" +
  7220. ", " +
  7221. "'" +
  7222. _stage +
  7223. "'" +
  7224. ", " +
  7225. "'" +
  7226. _task +
  7227. "'" +
  7228. ", " +
  7229. "'" +
  7230. _tool +
  7231. "'" +
  7232. ", " +
  7233. "'" +
  7234. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7235. "'" +
  7236. ", " +
  7237. "'" +
  7238. aTool +
  7239. "'" +
  7240. ", " +
  7241. "`" +
  7242. text +
  7243. "`" +
  7244. ")\n" +
  7245. " });\n" +
  7246. "}\n" +
  7247. "document.head.appendChild(_js);\n";
  7248. _iframe.contentWindow.document.head.appendChild(_ajs);
  7249. }
  7250. }
  7251. //U.MD.D.I.openClick(str);
  7252. //如果有任务栏信息
  7253. // if (_taskbar) {
  7254. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7255. // }
  7256. }
  7257. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7258. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7259. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7260. _userinfo = US.userInfo, //登录用户信息
  7261. _userid = US.userInfo.userid //登录用户id
  7262. let _iframe;
  7263. let _cid = cid,
  7264. _stage = stage,
  7265. _task = task,
  7266. _tool = tool;
  7267. var _jie = $$("div", {
  7268. "style": {
  7269. "position": "absolute",
  7270. "bottom": "50px",
  7271. "right": "50px",
  7272. "zIndex": "9999",
  7273. "backgroundColor": "#2268bc",
  7274. "color": "#fff",
  7275. "padding": "12px 20px",
  7276. "cursor": "pointer",
  7277. "borderRadius": "4px",
  7278. },
  7279. "innerHTML": "上传模板"
  7280. })
  7281. let aTool = ''
  7282. let _loading = document.createElement('div')
  7283. _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;"
  7284. // _loading.id = "";
  7285. let _lchild = document.createElement('div')
  7286. let _limg = document.createElement('img')
  7287. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7288. _limg.style = "width: 26px;margin-right: 10px;"
  7289. _lchild.appendChild(_limg)
  7290. let _lspan = document.createElement('span')
  7291. _lspan.innerHTML = "上传中..."
  7292. _lchild.appendChild(_lspan)
  7293. _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%);"
  7294. _loading.appendChild(_lchild)
  7295. var _box = $$('div', {
  7296. "style": {
  7297. "position": "relative",
  7298. "width": "100%",
  7299. "height": "100%",
  7300. },
  7301. })
  7302. _box.appendChild(_loading)
  7303. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7304. switch (str) {
  7305. case "whiteboard":
  7306. aTool = 1;
  7307. _iframe = $$("iframe", {
  7308. "frameborder": "no",
  7309. "border": "0",
  7310. "scrolling ": "no",
  7311. "style": {
  7312. "cssText": "border:0;width:100%;height:100%"
  7313. },
  7314. "src": "https://iwb.cocorobo.cn/"
  7315. })
  7316. _box.appendChild(_iframe);
  7317. _box.appendChild(_jie);
  7318. _formdiv = new U.UF.UI.form(
  7319. "电子白板",
  7320. _box, {
  7321. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7322. "style": {
  7323. "width": "90%",
  7324. "height": "90%",
  7325. "overflow": 'hidden'
  7326. },
  7327. "onresize": function () { }
  7328. }, {
  7329. closecallback: function () { }
  7330. }, {
  7331. "style": {
  7332. "height": "36px"
  7333. }
  7334. }).form; //创建窗体
  7335. _taskbar = {
  7336. "id": str + _formdiv.id,
  7337. "style": {
  7338. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7339. },
  7340. "name": "电子白板",
  7341. "forms": _formdiv,
  7342. "click": function () {
  7343. U.MD.D.I.openApplication(str, obj, info);
  7344. }
  7345. }
  7346. break;
  7347. case "mind":
  7348. aTool = 3;
  7349. _iframe = $$("iframe", {
  7350. "frameborder": "no",
  7351. "border": "0",
  7352. "scrolling ": "no",
  7353. "style": {
  7354. "cssText": "border:0;width:100%;height:100%"
  7355. },
  7356. "src": "/kityminder-editor/dist/index.html"
  7357. });
  7358. _box.appendChild(_iframe);
  7359. _box.appendChild(_jie);
  7360. _formdiv = new U.UF.UI.form(
  7361. "思维导图",
  7362. _box, { //"/jsmind/example/demo.html"
  7363. "id": "minds_Yu" + cid + stage + task + tool,
  7364. "style": {
  7365. "width": "90%",
  7366. "height": "90%",
  7367. "overflow": 'hidden'
  7368. },
  7369. "onresize": function () { }
  7370. }, {
  7371. closecallback: function () { }
  7372. }, {
  7373. "style": {
  7374. "height": "36px"
  7375. }
  7376. }).form; //创建窗体
  7377. _taskbar = {
  7378. "id": str + _formdiv.id,
  7379. "style": {
  7380. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7381. },
  7382. "name": "思维导图",
  7383. "forms": _formdiv,
  7384. "click": function () {
  7385. U.MD.D.I.openApplication(str, obj, info);
  7386. }
  7387. }
  7388. break;
  7389. case "doc":
  7390. aTool = 6;
  7391. _iframe = $$("iframe", {
  7392. "frameborder": "no",
  7393. "border": "0",
  7394. "scrolling ": "no",
  7395. "style": {
  7396. "cssText": "border:0;width:100%;height:100%"
  7397. },
  7398. "src": "/Office/Word/WordEditArea.htm"
  7399. })
  7400. _box.appendChild(_iframe);
  7401. _box.appendChild(_jie);
  7402. _formdiv = new U.UF.UI.form(
  7403. "协同文档",
  7404. _box, {
  7405. "id": "docs_Yu" + cid + stage + task + tool,
  7406. "style": {
  7407. "width": "90%",
  7408. "height": "90%",
  7409. "overflow": 'hidden'
  7410. },
  7411. "onresize": function () { }
  7412. }, {
  7413. closecallback: function () { }
  7414. }, {
  7415. "style": {
  7416. "height": "36px"
  7417. }
  7418. }).form; //创建窗体
  7419. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7420. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7421. })
  7422. _taskbar = {
  7423. "id": str + _formdiv.id,
  7424. "style": {
  7425. "backgroundImage": "url(/img/icon/doc.png)"
  7426. },
  7427. "name": "协同文档",
  7428. "forms": _formdiv,
  7429. "click": function () {
  7430. U.MD.D.I.openApplication(str, obj, info);
  7431. }
  7432. }
  7433. break;
  7434. case "CocoPi":
  7435. aTool = 57;
  7436. _iframe = $$("iframe", {
  7437. "allowpaymentrequest": "allowpaymentrequest",
  7438. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7439. "webkitallowfullscreen": "",
  7440. "mozallowfullscreen": "",
  7441. "frameborder": "no",
  7442. "border": "0",
  7443. "scrolling ": "no",
  7444. "style": {
  7445. "cssText": "border:0;width:100%;height:100%"
  7446. },
  7447. "src": "https://pi.cocorobo.cn/"
  7448. })
  7449. _box.appendChild(_iframe);
  7450. _box.appendChild(_jie);
  7451. _formdiv = new U.UF.UI.form(
  7452. "CocoPi",
  7453. _box, {
  7454. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7455. "style": {
  7456. "width": "90%",
  7457. "height": "90%",
  7458. "overflow": 'hidden'
  7459. },
  7460. "onresize": function () { }
  7461. }, {
  7462. closecallback: function () { }
  7463. }, {
  7464. "style": {
  7465. "height": "36px"
  7466. }
  7467. }).form; //创建窗体
  7468. _taskbar = {
  7469. "id": str + _formdiv.id,
  7470. "style": {
  7471. "backgroundImage": "url(/img/icon/cocopi.png)"
  7472. },
  7473. "name": "CocoPi",
  7474. "forms": _formdiv,
  7475. "click": function () {
  7476. U.MD.D.I.openApplication(str, obj, info);
  7477. }
  7478. }
  7479. break;
  7480. }
  7481. if (_iframe) {
  7482. if (str == 'doc') {
  7483. _iframe = _formdiv.querySelector('iframe')
  7484. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7485. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7486. })
  7487. if (onloadListener) {
  7488. _iframe.contentDocument.location.reload()
  7489. } else {
  7490. _iframe.contentDocument.location.reload()
  7491. }
  7492. } else if (str == 'mind') {
  7493. _iframe = _formdiv.querySelector('iframe')
  7494. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7495. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7496. })
  7497. if (onloadListener) {
  7498. _iframe.contentDocument.location.reload()
  7499. } else {
  7500. _iframe.contentDocument.location.reload()
  7501. }
  7502. } else if (str == 'whiteboard') {
  7503. _iframe = _formdiv.querySelector('iframe')
  7504. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7505. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7506. })
  7507. if (onloadListener) {
  7508. _iframe.contentDocument.location.reload()
  7509. } else {
  7510. _iframe.contentDocument.location.reload()
  7511. }
  7512. } else if (str == 'CocoPi') {
  7513. _iframe = _formdiv.querySelector('iframe')
  7514. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7515. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7516. })
  7517. if (onloadListener) {
  7518. _iframe.contentDocument.location.reload()
  7519. } else {
  7520. _iframe.contentDocument.location.reload()
  7521. }
  7522. } else {
  7523. _iframe.onload = () => { };
  7524. }
  7525. _jie.onclick = async () => {
  7526. let text = ''
  7527. let type = '2'
  7528. if (aTool == 1) {
  7529. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7530. type = '3'
  7531. } else if (aTool == 6) {
  7532. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7533. type = '1'
  7534. } else if (aTool == 3) {
  7535. text = await U.MD.D.I.getEditorContent(_iframe);
  7536. type = '2'
  7537. } else if (aTool == 57) {
  7538. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7539. type = '4'
  7540. }
  7541. _loading.style.display = 'flex'
  7542. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7543. }
  7544. }
  7545. //U.MD.D.I.openClick(str);
  7546. //如果有任务栏信息
  7547. // if (_taskbar) {
  7548. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7549. // }
  7550. }
  7551. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7552. var xmlhttp;
  7553. var Mac, Sn, DeviceId
  7554. if (window.XMLHttpRequest) {
  7555. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7556. xmlhttp = new XMLHttpRequest();
  7557. } else {
  7558. // IE6, IE5 浏览器执行代码
  7559. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7560. }
  7561. xmlhttp.onreadystatechange = function () {
  7562. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7563. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7564. // resolve(res.value[0][0].text);
  7565. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7566. }
  7567. }
  7568. }
  7569. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7570. xmlhttp.send();
  7571. }
  7572. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7573. var xmlhttp;
  7574. var Mac, Sn, DeviceId
  7575. if (window.XMLHttpRequest) {
  7576. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7577. xmlhttp = new XMLHttpRequest();
  7578. } else {
  7579. // IE6, IE5 浏览器执行代码
  7580. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7581. }
  7582. xmlhttp.onreadystatechange = function () {
  7583. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7584. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7585. // resolve(res.value[0][0].text);
  7586. if (type == '2') {
  7587. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7588. } else if (type == '3') {
  7589. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7590. } else if (type == '4') {
  7591. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7592. }
  7593. } else {
  7594. if (type == '2') {
  7595. iframe.contentWindow.editor.minder.importData('json', '')
  7596. } else if (type == '3') {
  7597. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7598. } else if (type == '4') {
  7599. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7600. }
  7601. }
  7602. }
  7603. }
  7604. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7605. xmlhttp.send();
  7606. }
  7607. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7608. var xmlhttp;
  7609. var Mac, Sn, DeviceId
  7610. if (window.XMLHttpRequest) {
  7611. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7612. xmlhttp = new XMLHttpRequest();
  7613. } else {
  7614. // IE6, IE5 浏览器执行代码
  7615. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7616. }
  7617. xmlhttp.onreadystatechange = function () {
  7618. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7619. if (xmlhttp.response) {
  7620. // resolve(res.value[0][0].text);
  7621. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7622. // $(fileInput).val('');
  7623. // });
  7624. span.innerHTML = '上传成功'
  7625. setTimeout(() => {
  7626. loading.style.display = 'none'
  7627. }, 1000);
  7628. }
  7629. }
  7630. }
  7631. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7632. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7633. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7634. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7635. // 设置请求头,表示请求体的编码格式
  7636. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7637. // 设置请求体,使用url-encoded格式的数据
  7638. }
  7639. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7640. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7641. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7642. _userinfo = US.userInfo, //登录用户信息
  7643. _userid = US.userInfo.userid //登录用户id
  7644. let _iframe;
  7645. let _cid = cid,
  7646. _stage = stage,
  7647. _task = task,
  7648. _tool = tool;
  7649. var _jie = $$("div", {
  7650. "style": {
  7651. "position": "absolute",
  7652. "bottom": "50px",
  7653. "right": "50px",
  7654. "zIndex": "9999",
  7655. "backgroundColor": "#2268bc",
  7656. "color": "#fff",
  7657. "padding": "12px 20px",
  7658. "cursor": "pointer",
  7659. "borderRadius": "4px",
  7660. },
  7661. "innerHTML": "提交作业"
  7662. })
  7663. let aTool = ''
  7664. let _loading = document.createElement('div')
  7665. _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;"
  7666. // _loading.id = "";
  7667. let _lchild = document.createElement('div')
  7668. let _limg = document.createElement('img')
  7669. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7670. _limg.style = "width: 26px;margin-right: 10px;"
  7671. _lchild.appendChild(_limg)
  7672. let _lspan = document.createElement('span')
  7673. _lspan.innerHTML = "上传中..."
  7674. _lchild.appendChild(_lspan)
  7675. _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%);"
  7676. _loading.appendChild(_lchild)
  7677. var _box = $$('div', {
  7678. "style": {
  7679. "position": "relative",
  7680. "width": "100%",
  7681. "height": "100%",
  7682. },
  7683. })
  7684. _box.appendChild(_loading)
  7685. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7686. switch (str) {
  7687. case "CocoPi":
  7688. aTool = 57;
  7689. _iframe = $$("iframe", {
  7690. "allowpaymentrequest": "allowpaymentrequest",
  7691. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7692. "webkitallowfullscreen": "",
  7693. "mozallowfullscreen": "",
  7694. "frameborder": "no",
  7695. "border": "0",
  7696. "scrolling ": "no",
  7697. "style": {
  7698. "cssText": "border:0;width:100%;height:100%"
  7699. },
  7700. "src": "https://pi.cocorobo.cn/"
  7701. })
  7702. _box.appendChild(_iframe);
  7703. _box.appendChild(_jie);
  7704. _formdiv = new U.UF.UI.form(
  7705. "CocoPi",
  7706. _box, {
  7707. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7708. "style": {
  7709. "width": "90%",
  7710. "height": "90%",
  7711. "overflow": 'hidden'
  7712. },
  7713. "onresize": function () { }
  7714. }, {
  7715. closecallback: function () { }
  7716. }, {
  7717. "style": {
  7718. "height": "36px"
  7719. }
  7720. }).form; //创建窗体
  7721. _taskbar = {
  7722. "id": str + _formdiv.id,
  7723. "style": {
  7724. "backgroundImage": "url(/img/icon/cocopi.png)"
  7725. },
  7726. "name": "CocoPi",
  7727. "forms": _formdiv,
  7728. "click": function () {
  7729. U.MD.D.I.openApplication(str, obj, info);
  7730. }
  7731. }
  7732. break;
  7733. }
  7734. if (_iframe) {
  7735. if (str == 'CocoPi') {
  7736. _iframe = _formdiv.querySelector('iframe')
  7737. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7738. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7739. })
  7740. if (onloadListener) {
  7741. _iframe.contentDocument.location.reload()
  7742. } else {
  7743. _iframe.contentDocument.location.reload()
  7744. }
  7745. }
  7746. _jie.onclick = async () => {
  7747. let text = ''
  7748. if (aTool == 57) {
  7749. text = _iframe.contentWindow.getLoadXmlStr()
  7750. }
  7751. _loading.style.display = 'flex'
  7752. console.log(_loading);
  7753. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7754. _loading.style.display = 'none'
  7755. let _div = document.createElement('div')
  7756. _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;"
  7757. let _inner = document.createElement('div')
  7758. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7759. _inner.innerHTML = "上传成功"
  7760. _div.appendChild(_inner)
  7761. _iframe.contentWindow.window.document.body.appendChild(_div)
  7762. _div.onclick = () => {
  7763. _iframe.contentWindow.window.document.body.removeChild(_div)
  7764. }
  7765. setTimeout(() => {
  7766. _iframe.contentWindow.window.document.body.removeChild(_div)
  7767. }, 1000);
  7768. }, [], { "type": "POST", "withCredentials": true });
  7769. }
  7770. }
  7771. }
  7772. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7773. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7774. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7775. _userid = student.userid, //登录用户id
  7776. _username = student.student //用户名字
  7777. let _iframe;
  7778. let _cid = cid,
  7779. _stage = stage,
  7780. _task = task,
  7781. _tool = tool;
  7782. var _jie = $$("div", {
  7783. "style": {
  7784. "position": "absolute",
  7785. "bottom": "50px",
  7786. "right": "50px",
  7787. "zIndex": "9999",
  7788. "backgroundColor": "#2268bc",
  7789. "color": "#fff",
  7790. "padding": "12px 20px",
  7791. "cursor": "pointer",
  7792. "borderRadius": "4px",
  7793. },
  7794. "innerHTML": "提交作业"
  7795. })
  7796. let aTool = ''
  7797. let _loading = document.createElement('div')
  7798. _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;"
  7799. // _loading.id = "";
  7800. let _lchild = document.createElement('div')
  7801. let _limg = document.createElement('img')
  7802. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7803. _limg.style = "width: 26px;margin-right: 10px;"
  7804. _lchild.appendChild(_limg)
  7805. let _lspan = document.createElement('span')
  7806. _lspan.innerHTML = "上传中..."
  7807. _lchild.appendChild(_lspan)
  7808. _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%);"
  7809. _loading.appendChild(_lchild)
  7810. var _box = $$('div', {
  7811. "style": {
  7812. "position": "relative",
  7813. "width": "100%",
  7814. "height": "100%",
  7815. },
  7816. })
  7817. _box.appendChild(_loading)
  7818. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7819. switch (str) {
  7820. case "CocoPi":
  7821. aTool = 57;
  7822. _iframe = $$("iframe", {
  7823. "allowpaymentrequest": "allowpaymentrequest",
  7824. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7825. "webkitallowfullscreen": "",
  7826. "mozallowfullscreen": "",
  7827. "frameborder": "no",
  7828. "border": "0",
  7829. "scrolling ": "no",
  7830. "style": {
  7831. "cssText": "border:0;width:100%;height:100%"
  7832. },
  7833. "src": "https://pi.cocorobo.cn/"
  7834. })
  7835. _box.appendChild(_iframe);
  7836. _box.appendChild(_jie);
  7837. _formdiv = new U.UF.UI.form(
  7838. "CocoPi-" + _username,
  7839. _box, {
  7840. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7841. "style": {
  7842. "width": "90%",
  7843. "height": "90%",
  7844. "overflow": 'hidden'
  7845. },
  7846. "onresize": function () { }
  7847. }, {
  7848. closecallback: function () { }
  7849. }, {
  7850. "style": {
  7851. "height": "36px"
  7852. }
  7853. }).form; //创建窗体
  7854. _taskbar = {
  7855. "id": str + _formdiv.id,
  7856. "style": {
  7857. "backgroundImage": "url(/img/icon/cocopi.png)"
  7858. },
  7859. "name": "CocoPi",
  7860. "forms": _formdiv,
  7861. "click": function () {
  7862. U.MD.D.I.openApplication(str, obj, info);
  7863. }
  7864. }
  7865. break;
  7866. }
  7867. if (_iframe) {
  7868. if (str == 'CocoPi') {
  7869. _iframe = _formdiv.querySelector('iframe')
  7870. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7871. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7872. })
  7873. if (onloadListener) {
  7874. _iframe.contentDocument.location.reload()
  7875. } else {
  7876. _iframe.contentDocument.location.reload()
  7877. }
  7878. }
  7879. _jie.onclick = async () => {
  7880. let text = ''
  7881. if (aTool == 57) {
  7882. text = _iframe.contentWindow.getLoadXmlStr()
  7883. }
  7884. _loading.style.display = 'flex'
  7885. console.log(_loading);
  7886. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7887. _loading.style.display = 'none'
  7888. let _div = document.createElement('div')
  7889. _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;"
  7890. let _inner = document.createElement('div')
  7891. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7892. _inner.innerHTML = "上传成功"
  7893. _div.appendChild(_inner)
  7894. _iframe.contentWindow.window.document.body.appendChild(_div)
  7895. _div.onclick = () => {
  7896. _iframe.contentWindow.window.document.body.removeChild(_div)
  7897. }
  7898. setTimeout(() => {
  7899. _iframe.contentWindow.window.document.body.removeChild(_div)
  7900. }, 1000);
  7901. }, [], { "type": "POST", "withCredentials": true });
  7902. }
  7903. }
  7904. }
  7905. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7906. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7907. if (res.value[0].length > 0) {
  7908. if (atool == 57) {
  7909. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7910. }
  7911. } else {
  7912. if (atool == 57) {
  7913. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7914. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7915. }
  7916. }
  7917. }, [], { "type": "POST", "withCredentials": true });
  7918. }