DeskTop.js 511 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482
  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": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  186. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  187. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  188. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  189. { "Name": "案例征集", "Url": "ytpbl", "style": { "cssText": "background-image:url(/img/icon/gpbl2.png)" } },
  190. ];
  191. U.MD.D.I.orgStemDeskIcon = [
  192. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  193. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  194. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  195. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  196. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  197. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  198. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  199. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  200. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  201. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  202. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  203. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  204. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  205. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  206. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  208. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  209. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  210. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  211. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  212. ];
  213. U.MD.D.I.szulsDeskIcon = [
  214. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  215. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  216. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  217. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  218. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  219. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  220. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  221. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  222. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  223. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  224. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  225. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  226. ];
  227. U.MD.D.I.hanDeskIcon = [
  228. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  229. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  230. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  231. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  232. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  233. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  234. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  235. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  236. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  237. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  238. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  239. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  240. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  241. ];
  242. U.MD.D.I.GMteacherDeskIcon = [
  243. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  244. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  245. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  246. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  247. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  248. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  249. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  250. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  251. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  252. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  253. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  254. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  255. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  256. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  257. ];
  258. U.MD.D.I.GMstudentDeskIcon = [
  259. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  260. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  261. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  262. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  263. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  264. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  265. ];
  266. //北师大
  267. U.MD.D.I.BSDNSteacherDeskIcon = [
  268. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  269. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  270. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  271. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  272. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  273. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  274. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  275. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  276. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  277. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  278. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  279. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  280. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  281. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  282. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  283. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  284. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  285. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  286. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  287. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  288. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  289. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  290. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  291. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  292. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  293. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  294. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  295. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  296. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  297. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  298. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  299. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  300. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  301. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  302. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  303. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  304. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  305. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  306. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  307. ];
  308. //松山湖
  309. U.MD.D.I.SONGteacherDeskIcon = [
  310. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  311. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  312. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  313. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  314. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  315. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  316. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  317. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  318. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  319. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  320. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  321. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  322. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  323. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  324. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  325. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  326. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  327. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  328. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  329. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  330. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  331. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  332. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  333. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  334. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  335. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  336. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  337. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  338. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  339. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  340. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  341. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  342. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  343. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  344. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  345. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  346. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  347. ];
  348. U.MD.D.I.tcStudentDeskIcon = [
  349. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  350. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  351. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  352. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  353. ];
  354. U.MD.D.I.tcTeacherDeskIcon = [
  355. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  356. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  357. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  358. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  359. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  360. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  361. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  362. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  363. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  364. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  365. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  366. ];
  367. U.MD.D.I.tcOrganizerDeskIcon = [
  368. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  369. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  370. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  371. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  372. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  373. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  374. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  375. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  376. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  377. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  378. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  379. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  380. ];
  381. U.MD.D.I.szscStudentDeskIcon = [
  382. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  383. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  384. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  385. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  386. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  387. ];
  388. U.MD.D.I.szscTeacherDeskIcon = [
  389. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  390. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  391. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  392. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  393. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  394. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  395. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  396. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  397. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  398. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  399. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  400. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  401. ];
  402. U.MD.D.I.szscOrganizerDeskIcon = [
  403. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  404. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  405. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  406. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  407. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  408. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  409. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  410. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  411. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  412. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  413. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  414. ];
  415. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  416. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  417. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  418. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  419. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  420. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  421. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  422. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  423. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  424. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  425. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  426. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  427. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  428. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  429. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  430. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  431. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  432. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  433. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  434. ];
  435. U.MD.D.I.wankeAdminDeskIcon = [
  436. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  437. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  438. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  439. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  440. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  441. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  442. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  443. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  444. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  445. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  446. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  447. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  448. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  449. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  450. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  451. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  452. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  453. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  454. ];
  455. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  456. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  457. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  458. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  459. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  460. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  461. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  462. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  463. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  464. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  465. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  466. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  467. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  468. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  469. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  470. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  471. ];
  472. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  473. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  474. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  475. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  476. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  477. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  478. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  479. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  480. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  481. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  482. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  483. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  484. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  485. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  486. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  487. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  488. ];
  489. //明德教师桌面图标的全局变量
  490. U.MD.D.I.MingdeTeacherDeskIcon = [
  491. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  492. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  493. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  494. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  495. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  496. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  497. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  498. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  499. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  500. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  501. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  502. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  503. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  504. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  505. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  506. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  507. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  508. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  509. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  510. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  511. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  512. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  513. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  514. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  515. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  516. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  517. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  518. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  519. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  520. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  521. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  522. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  523. ];
  524. //97c4ee8b-d010-4042-986d-e9d3c217264f
  525. //教师桌面图标的全局变量
  526. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  527. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  528. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  529. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  530. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  531. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  532. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  533. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  534. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  535. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  536. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  537. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  538. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  539. ];
  540. //福田
  541. U.MD.D.I.futianTeacherDeskIcon = [
  542. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  543. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  544. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  545. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  546. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  547. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  548. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  549. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  550. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  551. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  552. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  553. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  554. ];
  555. //福田
  556. U.MD.D.I.futianAdminDeskIcon = [
  557. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  558. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  559. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  560. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  561. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  562. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  563. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  564. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  565. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  566. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  567. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  568. ];
  569. //lotech
  570. U.MD.D.I.lotechTeacherDeskIcon = [
  571. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  572. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  573. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  574. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  575. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  576. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  577. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  578. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  579. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  580. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  581. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  582. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  583. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  584. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  585. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  586. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  587. ];
  588. //龙华中心小学教师桌面图标的全局变量
  589. U.MD.D.I.longhuateacherDeskIcon = [
  590. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  591. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  592. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  593. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  594. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  595. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  596. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  597. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  598. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  599. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  600. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  601. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  602. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  603. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  604. ];
  605. //教科院实小教师桌面图标的全局变量
  606. U.MD.D.I.siesteacherDeskIcon = [
  607. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  608. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  609. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  610. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  611. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  612. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  613. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  614. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  615. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  616. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  617. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  618. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  619. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  620. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  621. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  622. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  623. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  624. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  625. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  626. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  627. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  628. { "Name": "评测看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  629. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  630. { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  631. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  632. ];
  633. //教科院实小教师桌面图标的全局变量
  634. U.MD.D.I.siesStudentDeskIcon = [
  635. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  636. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  637. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  638. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  639. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  640. ];
  641. //福田
  642. U.MD.D.I.gdjgTeacherDeskIcon = [
  643. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  644. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  645. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  646. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  647. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  648. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  649. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  650. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  651. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  652. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  653. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  654. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  655. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  656. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  657. ];
  658. //gdjg
  659. U.MD.D.I.gdjgAdminDeskIcon = [
  660. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  661. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  662. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  663. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  664. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  665. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  666. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  667. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  668. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  669. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  670. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  671. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  672. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  673. ];
  674. //hk
  675. U.MD.D.I.hkteacherDeskIcon = [
  676. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  677. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  678. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  679. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  680. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  681. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  682. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  683. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  684. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  685. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  686. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  687. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  688. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  689. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  690. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  691. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  692. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  693. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  694. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  695. ];
  696. //hk
  697. U.MD.D.I.hkStudentDeskIcon = [
  698. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  699. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  700. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  701. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  702. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  703. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  704. ];
  705. //hk
  706. U.MD.D.I.hkaceteacherDeskIcon = [
  707. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  708. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  709. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  710. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  711. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  712. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  713. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  714. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  715. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  716. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  717. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  718. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  719. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  720. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  721. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  722. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  723. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  724. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  725. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  726. ];
  727. //hk
  728. U.MD.D.I.hkaceStudentDeskIcon = [
  729. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  730. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  731. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  732. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  733. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  734. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  735. ];
  736. //香海正覺蓮社佛教正覺中學
  737. U.MD.D.I.hkZJLSteacherDeskIcon = [
  738. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  739. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  740. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  741. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  742. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  743. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  744. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  745. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  746. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  747. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  748. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  749. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  750. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  751. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  752. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  753. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  754. ];
  755. //香海正覺蓮社佛教正覺中學
  756. U.MD.D.I.hkZJLSStudentDeskIcon = [
  757. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  758. { "Name": "项目管理", "Url": "studentCourse", "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": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  761. ];
  762. //云海
  763. U.MD.D.I.yunhaiTeacherDeskIcon = [
  764. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  765. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  766. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  767. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  768. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  769. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  770. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  771. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  772. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  773. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  774. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  775. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  776. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  777. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  778. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  779. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  780. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  781. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  782. ];
  783. //福田
  784. U.MD.D.I.heyuanTeacherDeskIcon = [
  785. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  786. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  787. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  788. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  789. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  790. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  791. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  792. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  793. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  794. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  795. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  796. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  797. ];
  798. //福田
  799. U.MD.D.I.heyuanAdminDeskIcon = [
  800. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  801. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  802. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  803. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  804. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  805. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  806. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  807. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  808. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  809. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  810. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  811. ];
  812. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  813. U.MD.D.I.szherTeacherDeskIcon = [
  814. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  815. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  816. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  817. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  818. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  819. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  820. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  821. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  822. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  823. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  824. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  825. ];
  826. //dsei
  827. U.MD.D.I.dseiTeacherDeskIcon = [
  828. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  829. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  830. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  831. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  832. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  833. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  834. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  835. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  836. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  837. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  838. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  839. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  840. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  841. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  842. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  843. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  844. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  845. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  846. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  847. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  848. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  849. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  850. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  851. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  852. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  853. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  854. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  855. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  856. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  857. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  858. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  859. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  860. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  861. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  862. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  863. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  864. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  865. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  866. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  867. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  868. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  869. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  870. ];
  871. //dsei
  872. U.MD.D.I.dseiAdminDeskIcon = [
  873. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  874. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  875. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  876. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  877. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  878. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  879. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  880. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  881. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  882. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  883. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  884. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  885. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  886. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  887. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  888. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  889. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  890. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  891. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  892. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  893. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  894. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  895. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  896. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  897. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  898. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  899. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  900. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  901. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  902. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  903. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  904. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  905. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  906. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  907. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  908. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  909. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  910. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  911. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  912. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  913. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  914. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  915. ];
  916. //dsei
  917. U.MD.D.I.dseiStudentDeskIcon = [
  918. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  919. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  920. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  921. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  922. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  923. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  924. ];
  925. //未来教育基地
  926. U.MD.D.I.szjkyTeacherDeskIcon = [
  927. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  928. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  929. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  930. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  931. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  932. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  933. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  934. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  935. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  936. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  937. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  938. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  939. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  940. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  941. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  942. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  943. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  944. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  945. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  946. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  947. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  948. ];
  949. //未来教育基地
  950. U.MD.D.I.szjkyAdminDeskIcon = [
  951. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  952. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  953. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  954. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  955. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  956. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  957. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  958. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  959. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  960. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  961. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  962. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  963. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  964. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  965. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  966. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  967. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  968. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  969. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  970. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  971. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  972. ];
  973. //未来教育基地
  974. U.MD.D.I.szjkyStudentDeskIcon = [
  975. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  976. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  977. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  978. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  979. ];
  980. //成华教育局
  981. U.MD.D.I.chjyjTeacherDeskIcon = [
  982. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  983. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  984. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  985. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  986. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  987. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  988. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  989. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  990. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  991. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.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.chjyjAdminDeskIcon = [
  999. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1000. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1001. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1002. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1003. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1004. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1005. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1006. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1007. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1008. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1009. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1010. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1011. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1012. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1013. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1014. ];
  1015. //成华教育局chjyj
  1016. U.MD.D.I.chjyjStudentDeskIcon = [
  1017. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1018. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1019. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1020. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1021. ];
  1022. //tpc
  1023. U.MD.D.I.tpcStudentDeskIcon = [
  1024. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1025. { "Name": "项目管理", "Url": "studentCourse", "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. ];
  1029. //tpc
  1030. U.MD.D.I.tpcTeacherDeskIcon = [
  1031. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1032. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1033. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1034. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1035. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1036. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1037. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1038. ];
  1039. //tpc
  1040. U.MD.D.I.tpcAdminDeskIcon = [
  1041. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1042. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1043. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1044. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1045. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1046. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1047. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1048. ];
  1049. //THU-IOE
  1050. U.MD.D.I.thuioeTeacherDeskIcon = [
  1051. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1052. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1053. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1054. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1055. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1056. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1057. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1058. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1059. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1060. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1061. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1062. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1063. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1064. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1065. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1066. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1067. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1068. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1069. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1070. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1071. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1072. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1073. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1074. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1075. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1076. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1077. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1078. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1079. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1080. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1081. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1082. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1083. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1084. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1085. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1086. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1087. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1088. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1089. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1090. ];
  1091. //THU-IOE
  1092. U.MD.D.I.thuioeStudentDeskIcon = [
  1093. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1094. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1095. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1096. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1097. ];
  1098. //jccssyl
  1099. U.MD.D.I.jccssylTeacherDeskIcon = [
  1100. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1101. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1102. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1103. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1104. { "Name": "项目管理", "Url": "studentCourseS", "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": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1107. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1108. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1109. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1110. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1111. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1112. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1113. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1114. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1115. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1116. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1117. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1118. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1119. ];
  1120. //jccssyl
  1121. U.MD.D.I.jccssylStudentDeskIcon = [
  1122. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1123. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1124. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1125. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1126. ];
  1127. //cale
  1128. U.MD.D.I.caleTeacherDeskIcon = [
  1129. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1130. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1131. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1132. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1133. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1134. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1135. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1136. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1137. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1138. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1139. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1140. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1141. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1142. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1143. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1144. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1145. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1146. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1147. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1148. ];
  1149. //cale
  1150. U.MD.D.I.caleStudentDeskIcon = [
  1151. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1152. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1153. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1154. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1155. ];
  1156. //lqwmsgzs
  1157. U.MD.D.I.lqwmsgzsTeacherDeskIcon = [
  1158. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1159. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1160. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1161. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1162. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1163. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1164. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1165. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1166. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1167. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1168. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1169. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1170. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1171. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1172. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1173. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1174. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1175. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1176. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1177. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1178. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1179. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1180. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1181. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1182. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1183. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1184. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1185. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1186. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1187. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1188. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1189. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1190. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1191. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1192. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1193. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1194. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1195. ];
  1196. //lqwmsgzs
  1197. U.MD.D.I.lqwmsgzsStudentDeskIcon = [
  1198. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1199. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1200. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1201. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1202. ];
  1203. //#region 桌面初始化a
  1204. /**
  1205. * 初始化桌面的起始函数
  1206. *
  1207. */
  1208. U.MD.D.I.init = function () {
  1209. if ($("#U_MD_D_K")[0]) {
  1210. //初始化桌面图标
  1211. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1212. // var clickUrl = ':12588/requestIp.php';
  1213. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1214. // U.MD.D.I.Ip = data;
  1215. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1216. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1217. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1218. // })
  1219. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1220. // })
  1221. }
  1222. }
  1223. /**
  1224. * 模式切换
  1225. *
  1226. */
  1227. U.MD.D.I.ModeCheck = function (type) {
  1228. if (US.Config.type == type) {
  1229. return
  1230. }
  1231. US.Config.type = type
  1232. $('.U_PBL_Check .active')[0].className = ''
  1233. if (type == 1) {
  1234. $('.U_PBL_Check div')[0].className = 'active'
  1235. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1236. } else {
  1237. $('.U_PBL_Check div')[1].className = 'active'
  1238. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1239. }
  1240. //初始化桌面图标
  1241. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1242. if (type == 2) {
  1243. U.MD.D.I.openApplication("project")
  1244. }
  1245. }
  1246. /**
  1247. * 隐藏任务栏
  1248. *
  1249. * @param {element} 桌面元素
  1250. */
  1251. U.MD.D.I.hiddenTaskbar = function (el) {
  1252. //任务栏位置变小
  1253. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1254. //桌面的位置变大
  1255. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1256. }
  1257. /**
  1258. * 隐藏任务栏
  1259. *
  1260. * @param {element} 桌面元素
  1261. */
  1262. U.MD.D.I.hiddenTaskbarout = function (el) {
  1263. //任务栏位置变小
  1264. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1265. //任务栏位置变化
  1266. U.selectEl(el).css({ "bottom": "-60px" });
  1267. //桌面的位置变大
  1268. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1269. }
  1270. }
  1271. /**
  1272. * 初始化打印桌面图标
  1273. *
  1274. * @param {element} 桌面元素
  1275. */
  1276. U.MD.D.I.initDesktopIcons = function (el, type) {
  1277. var i, //用于循环
  1278. _content, //桌面图标元素
  1279. _iconcontent, //桌面图标元素
  1280. _frag = $$("frag"), //定义一个碎片元素
  1281. _type = US.userInfo.type,
  1282. _org = US.userInfo.org,
  1283. _oid = US.userInfo.organizeid,
  1284. _role = US.userInfo.role,
  1285. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1286. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1287. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1288. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1289. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1290. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1291. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1292. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1293. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1294. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1295. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1296. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1297. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1298. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1299. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1300. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1301. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1302. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1303. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1304. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1305. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1306. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1307. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1308. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1309. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1310. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1311. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1312. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1313. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1314. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1315. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1316. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1317. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1318. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1319. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1320. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1321. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1322. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1323. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1324. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1325. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1326. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1327. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1328. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1329. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1330. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1331. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1332. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1333. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1334. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1335. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1336. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1337. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1338. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1339. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1340. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1341. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1342. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1343. _caleStudentDeskIconInfo = U.MD.D.I.caleStudentDeskIcon, // jccssyl
  1344. _caleTeacherDeskIconInfo = U.MD.D.I.caleTeacherDeskIcon, // jccssyl
  1345. _lqwmsgzsStudentDeskIconInfo = U.MD.D.I.lqwmsgzsStudentDeskIcon, // lqwmsgzs
  1346. _lqwmsgzsTeacherDeskIconInfo = U.MD.D.I.lqwmsgzsTeacherDeskIcon, // lqwmsgzs
  1347. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1348. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1349. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1350. 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','2f30fe58-a94f-11ee-b534-005056b86db5'];
  1351. 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','03d24cf9-4fbc-4aeb-bb02-6f84f66e6344'];
  1352. //清楚桌面图标
  1353. el.innerHTML = "";
  1354. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1355. _teacherDesktopIconInfo.push(
  1356. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1357. { "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)" } },
  1358. )
  1359. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1360. }
  1361. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1362. _teacherDesktopIconInfo.push(
  1363. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1364. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1365. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1366. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1367. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1368. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1369. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1370. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1371. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1372. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1373. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1374. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1375. )
  1376. }
  1377. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1378. // _teacherDesktopIconInfo.push(
  1379. // )
  1380. // }
  1381. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1382. _teacherDesktopIconInfo.push(
  1383. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1384. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1385. )
  1386. }
  1387. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1388. _teacherDesktopIconInfo.push(
  1389. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1390. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1391. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1392. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1393. )
  1394. _studentDesktopIconInfo.push(
  1395. )
  1396. }
  1397. //麒麟二中 和 民新小学
  1398. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1399. _teacherDesktopIconInfo.push(
  1400. )
  1401. }
  1402. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1403. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1404. _teacherDesktopIconInfo.push(
  1405. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1406. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1407. )
  1408. }
  1409. //麒麟二中
  1410. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1411. _studentDesktopIconInfo.push(
  1412. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1413. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1414. )
  1415. }
  1416. //万科双语
  1417. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1418. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1419. if (el.Name == '项目管理') {
  1420. el.Name = 'PBL项目'
  1421. }
  1422. return el
  1423. })
  1424. _studentDesktopIconInfo3.push(
  1425. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1426. )
  1427. }
  1428. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1429. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1430. return el.Name != '魔盒识字' && el.Name != '24点'
  1431. })
  1432. }
  1433. 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) {
  1434. _studentDesktopIconInfo.push(
  1435. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1436. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1437. )
  1438. }
  1439. //循环创建桌面图标
  1440. if (type == 1) {
  1441. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1442. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1443. _content = $$("div", {
  1444. className: "U_MD_D_KO",
  1445. "onmousedown": U.UF.C.closure(function (obj) {
  1446. //防止拖动图标即打开了桌面应用
  1447. U.MD.D.click(this, obj);
  1448. }, [_studentDesktopIconInfo[i]]),
  1449. "onclick": U.UF.C.closure(function (obj) {
  1450. //防止拖动图标即打开了桌面应用
  1451. U.MD.D.click(this, obj);
  1452. }, [_studentDesktopIconInfo[i]])
  1453. }, _frag); //
  1454. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1455. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1456. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1457. }
  1458. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1459. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1460. _content = $$("div", {
  1461. className: "U_MD_D_KO",
  1462. "onmousedown": U.UF.C.closure(function (obj) {
  1463. //防止拖动图标即打开了桌面应用
  1464. U.MD.D.click(this, obj);
  1465. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1466. "onclick": U.UF.C.closure(function (obj) {
  1467. //防止拖动图标即打开了桌面应用
  1468. U.MD.D.click(this, obj);
  1469. }, [_hkZJLSStudentDeskIconInfo[i]])
  1470. }, _frag); //
  1471. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1472. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1473. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1474. } //
  1475. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1476. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1477. _content = $$("div", {
  1478. className: "U_MD_D_KO",
  1479. "onmousedown": U.UF.C.closure(function (obj) {
  1480. //防止拖动图标即打开了桌面应用
  1481. U.MD.D.click(this, obj);
  1482. }, [_jccssylStudentDeskIconInfo[i]]),
  1483. "onclick": U.UF.C.closure(function (obj) {
  1484. //防止拖动图标即打开了桌面应用
  1485. U.MD.D.click(this, obj);
  1486. }, [_jccssylStudentDeskIconInfo[i]])
  1487. }, _frag); //
  1488. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1489. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1490. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1491. }
  1492. } else if (_type == 2 && (_org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344")) {
  1493. for (i = 0; i < _caleStudentDeskIconInfo.length; i++) {
  1494. _content = $$("div", {
  1495. className: "U_MD_D_KO",
  1496. "onmousedown": U.UF.C.closure(function (obj) {
  1497. //防止拖动图标即打开了桌面应用
  1498. U.MD.D.click(this, obj);
  1499. }, [_caleStudentDeskIconInfo[i]]),
  1500. "onclick": U.UF.C.closure(function (obj) {
  1501. //防止拖动图标即打开了桌面应用
  1502. U.MD.D.click(this, obj);
  1503. }, [_caleStudentDeskIconInfo[i]])
  1504. }, _frag); //
  1505. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1506. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleStudentDeskIconInfo[i].style }, _iconcontent);
  1507. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleStudentDeskIconInfo[i].Name }, _iconcontent);
  1508. }
  1509. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1510. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1511. _content = $$("div", {
  1512. className: "U_MD_D_KO",
  1513. "onmousedown": U.UF.C.closure(function (obj) {
  1514. //防止拖动图标即打开了桌面应用
  1515. U.MD.D.click(this, obj);
  1516. }, [_thuioeStudentDeskIconInfo[i]]),
  1517. "onclick": U.UF.C.closure(function (obj) {
  1518. //防止拖动图标即打开了桌面应用
  1519. U.MD.D.click(this, obj);
  1520. }, [_thuioeStudentDeskIconInfo[i]])
  1521. }, _frag); //
  1522. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1523. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1524. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1525. }
  1526. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1527. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1528. _content = $$("div", {
  1529. className: "U_MD_D_KO",
  1530. "onmousedown": U.UF.C.closure(function (obj) {
  1531. //防止拖动图标即打开了桌面应用
  1532. U.MD.D.click(this, obj);
  1533. }, [_tpcStudentDeskIconInfo[i]]),
  1534. "onclick": U.UF.C.closure(function (obj) {
  1535. //防止拖动图标即打开了桌面应用
  1536. U.MD.D.click(this, obj);
  1537. }, [_tpcStudentDeskIconInfo[i]])
  1538. }, _frag); //
  1539. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1540. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1541. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1542. } //
  1543. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1544. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1545. _content = $$("div", {
  1546. className: "U_MD_D_KO",
  1547. "onmousedown": U.UF.C.closure(function (obj) {
  1548. //防止拖动图标即打开了桌面应用
  1549. U.MD.D.click(this, obj);
  1550. }, [_chjyjStudentDeskIconInfo[i]]),
  1551. "onclick": U.UF.C.closure(function (obj) {
  1552. //防止拖动图标即打开了桌面应用
  1553. U.MD.D.click(this, obj);
  1554. }, [_chjyjStudentDeskIconInfo[i]])
  1555. }, _frag); //
  1556. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1557. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1558. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1559. }
  1560. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1561. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1562. _content = $$("div", {
  1563. className: "U_MD_D_KO",
  1564. "onmousedown": U.UF.C.closure(function (obj) {
  1565. //防止拖动图标即打开了桌面应用
  1566. U.MD.D.click(this, obj);
  1567. }, [_szjkyStudentDeskIconInfo[i]]),
  1568. "onclick": U.UF.C.closure(function (obj) {
  1569. //防止拖动图标即打开了桌面应用
  1570. U.MD.D.click(this, obj);
  1571. }, [_szjkyStudentDeskIconInfo[i]])
  1572. }, _frag); //
  1573. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1574. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1575. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1576. }
  1577. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1578. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1579. _content = $$("div", {
  1580. className: "U_MD_D_KO",
  1581. "onmousedown": U.UF.C.closure(function (obj) {
  1582. //防止拖动图标即打开了桌面应用
  1583. U.MD.D.click(this, obj);
  1584. }, [_dseiStudentDeskIconInfo[i]]),
  1585. "onclick": U.UF.C.closure(function (obj) {
  1586. //防止拖动图标即打开了桌面应用
  1587. U.MD.D.click(this, obj);
  1588. }, [_dseiStudentDeskIconInfo[i]])
  1589. }, _frag); //
  1590. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1591. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1592. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1593. }
  1594. } else if (_type == 2 && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1595. for (i = 0; i < _lqwmsgzsStudentDeskIconInfo.length; i++) {
  1596. _content = $$("div", {
  1597. className: "U_MD_D_KO",
  1598. "onmousedown": U.UF.C.closure(function (obj) {
  1599. //防止拖动图标即打开了桌面应用
  1600. U.MD.D.click(this, obj);
  1601. }, [_lqwmsgzsStudentDeskIconInfo[i]]),
  1602. "onclick": U.UF.C.closure(function (obj) {
  1603. //防止拖动图标即打开了桌面应用
  1604. U.MD.D.click(this, obj);
  1605. }, [_lqwmsgzsStudentDeskIconInfo[i]])
  1606. }, _frag); //
  1607. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1608. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsStudentDeskIconInfo[i].style }, _iconcontent);
  1609. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsStudentDeskIconInfo[i].Name }, _iconcontent);
  1610. }
  1611. }else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1612. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1613. _content = $$("div", {
  1614. className: "U_MD_D_KO",
  1615. "onmousedown": U.UF.C.closure(function (obj) {
  1616. //防止拖动图标即打开了桌面应用
  1617. U.MD.D.click(this, obj);
  1618. }, [_siesStudentDeskIconInfo[i]]),
  1619. "onclick": U.UF.C.closure(function (obj) {
  1620. //防止拖动图标即打开了桌面应用
  1621. U.MD.D.click(this, obj);
  1622. }, [_siesStudentDeskIconInfo[i]])
  1623. }, _frag); //
  1624. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1625. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1626. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1627. }
  1628. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1629. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1630. _content = $$("div", {
  1631. className: "U_MD_D_KO",
  1632. "onmousedown": U.UF.C.closure(function (obj) {
  1633. //防止拖动图标即打开了桌面应用
  1634. U.MD.D.click(this, obj);
  1635. }, [_hkStudentDeskIconInfo[i]]),
  1636. "onclick": U.UF.C.closure(function (obj) {
  1637. //防止拖动图标即打开了桌面应用
  1638. U.MD.D.click(this, obj);
  1639. }, [_hkStudentDeskIconInfo[i]])
  1640. }, _frag); //
  1641. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1642. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1643. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1644. }
  1645. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1646. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1647. _content = $$("div", {
  1648. className: "U_MD_D_KO",
  1649. "onmousedown": U.UF.C.closure(function (obj) {
  1650. //防止拖动图标即打开了桌面应用
  1651. U.MD.D.click(this, obj);
  1652. }, [_hkaceStudentDeskIconInfo[i]]),
  1653. "onclick": U.UF.C.closure(function (obj) {
  1654. //防止拖动图标即打开了桌面应用
  1655. U.MD.D.click(this, obj);
  1656. }, [_hkaceStudentDeskIconInfo[i]])
  1657. }, _frag); //
  1658. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1659. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1660. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1661. }
  1662. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1663. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1664. _content = $$("div", {
  1665. className: "U_MD_D_KO",
  1666. "onmousedown": U.UF.C.closure(function (obj) {
  1667. //防止拖动图标即打开了桌面应用
  1668. U.MD.D.click(this, obj);
  1669. }, [_studentDesktopIconInfo[i]]),
  1670. "onclick": U.UF.C.closure(function (obj) {
  1671. //防止拖动图标即打开了桌面应用
  1672. U.MD.D.click(this, obj);
  1673. }, [_studentDesktopIconInfo[i]])
  1674. }, _frag); //
  1675. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1676. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1677. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1678. }
  1679. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1680. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1681. _content = $$("div", {
  1682. className: "U_MD_D_KO",
  1683. "onmousedown": U.UF.C.closure(function (obj) {
  1684. //防止拖动图标即打开了桌面应用
  1685. U.MD.D.click(this, obj);
  1686. }, [_tcStudentDeskIconInfo[i]]),
  1687. "onclick": U.UF.C.closure(function (obj) {
  1688. //防止拖动图标即打开了桌面应用
  1689. U.MD.D.click(this, obj);
  1690. }, [_tcStudentDeskIconInfo[i]])
  1691. }, _frag); //
  1692. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1693. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1694. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1695. }
  1696. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1697. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1698. _content = $$("div", {
  1699. className: "U_MD_D_KO",
  1700. "onmousedown": U.UF.C.closure(function (obj) {
  1701. //防止拖动图标即打开了桌面应用
  1702. U.MD.D.click(this, obj);
  1703. }, [_szscStudentDeskIconInfo[i]]),
  1704. "onclick": U.UF.C.closure(function (obj) {
  1705. //防止拖动图标即打开了桌面应用
  1706. U.MD.D.click(this, obj);
  1707. }, [_szscStudentDeskIconInfo[i]])
  1708. }, _frag); //
  1709. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1710. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1711. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1712. }
  1713. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1714. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1715. _content = $$("div", {
  1716. className: "U_MD_D_KO",
  1717. "onmousedown": U.UF.C.closure(function (obj) {
  1718. //防止拖动图标即打开了桌面应用
  1719. U.MD.D.click(this, obj);
  1720. }, [_studentDesktopIconInfo3[i]]),
  1721. "onclick": U.UF.C.closure(function (obj) {
  1722. //防止拖动图标即打开了桌面应用
  1723. U.MD.D.click(this, obj);
  1724. }, [_studentDesktopIconInfo3[i]])
  1725. }, _frag); //
  1726. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1727. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1728. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1729. }
  1730. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1731. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1732. _content = $$("div", {
  1733. className: "U_MD_D_KO",
  1734. "onmousedown": U.UF.C.closure(function (obj) {
  1735. //防止拖动图标即打开了桌面应用
  1736. U.MD.D.click(this, obj);
  1737. }, [_studentDesktopIconInfo2[i]]),
  1738. "onclick": U.UF.C.closure(function (obj) {
  1739. //防止拖动图标即打开了桌面应用
  1740. U.MD.D.click(this, obj);
  1741. }, [_studentDesktopIconInfo2[i]])
  1742. }, _frag); //
  1743. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1744. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1745. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1746. }
  1747. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1748. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1749. _content = $$("div", {
  1750. className: "U_MD_D_KO",
  1751. "onmousedown": U.UF.C.closure(function (obj) {
  1752. //防止拖动图标即打开了桌面应用
  1753. U.MD.D.click(this, obj);
  1754. }, [_wanketeacherDesktopIconInfo[i]]),
  1755. "onclick": U.UF.C.closure(function (obj) {
  1756. //防止拖动图标即打开了桌面应用
  1757. U.MD.D.click(this, obj);
  1758. }, [_wanketeacherDesktopIconInfo[i]])
  1759. }, _frag); //
  1760. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1761. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1762. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1763. }
  1764. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1765. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1766. _content = $$("div", {
  1767. className: "U_MD_D_KO",
  1768. "onmousedown": U.UF.C.closure(function (obj) {
  1769. //防止拖动图标即打开了桌面应用
  1770. U.MD.D.click(this, obj);
  1771. }, [_wankeAdminDesktopIconInfo[i]]),
  1772. "onclick": U.UF.C.closure(function (obj) {
  1773. //防止拖动图标即打开了桌面应用
  1774. U.MD.D.click(this, obj);
  1775. }, [_wankeAdminDesktopIconInfo[i]])
  1776. }, _frag); //
  1777. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1778. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1779. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1780. }
  1781. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1782. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1783. _content = $$("div", {
  1784. className: "U_MD_D_KO",
  1785. "onmousedown": U.UF.C.closure(function (obj) {
  1786. //防止拖动图标即打开了桌面应用
  1787. U.MD.D.click(this, obj);
  1788. }, [_jccssylTeacherDeskIconInfo[i]]),
  1789. "onclick": U.UF.C.closure(function (obj) {
  1790. //防止拖动图标即打开了桌面应用
  1791. U.MD.D.click(this, obj);
  1792. }, [_jccssylTeacherDeskIconInfo[i]])
  1793. }, _frag); //
  1794. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1795. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1796. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1797. }
  1798. } else if ((_type == 1 || _type == 4) && _org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344") {
  1799. for (i = 0; i < _caleTeacherDeskIconInfo.length; i++) {
  1800. _content = $$("div", {
  1801. className: "U_MD_D_KO",
  1802. "onmousedown": U.UF.C.closure(function (obj) {
  1803. //防止拖动图标即打开了桌面应用
  1804. U.MD.D.click(this, obj);
  1805. }, [_caleTeacherDeskIconInfo[i]]),
  1806. "onclick": U.UF.C.closure(function (obj) {
  1807. //防止拖动图标即打开了桌面应用
  1808. U.MD.D.click(this, obj);
  1809. }, [_caleTeacherDeskIconInfo[i]])
  1810. }, _frag); //
  1811. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1812. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleTeacherDeskIconInfo[i].style }, _iconcontent);
  1813. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleTeacherDeskIconInfo[i].Name }, _iconcontent);
  1814. }
  1815. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1816. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1817. _content = $$("div", {
  1818. className: "U_MD_D_KO",
  1819. "onmousedown": U.UF.C.closure(function (obj) {
  1820. //防止拖动图标即打开了桌面应用
  1821. U.MD.D.click(this, obj);
  1822. }, [_tpcOrganizerDeskIconInfo[i]]),
  1823. "onclick": U.UF.C.closure(function (obj) {
  1824. //防止拖动图标即打开了桌面应用
  1825. U.MD.D.click(this, obj);
  1826. }, [_tpcOrganizerDeskIconInfo[i]])
  1827. }, _frag); //
  1828. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1829. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1830. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1831. }
  1832. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1833. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1834. _content = $$("div", {
  1835. className: "U_MD_D_KO",
  1836. "onmousedown": U.UF.C.closure(function (obj) {
  1837. //防止拖动图标即打开了桌面应用
  1838. U.MD.D.click(this, obj);
  1839. }, [_tpcTeacherDeskIconInfo[i]]),
  1840. "onclick": U.UF.C.closure(function (obj) {
  1841. //防止拖动图标即打开了桌面应用
  1842. U.MD.D.click(this, obj);
  1843. }, [_tpcTeacherDeskIconInfo[i]])
  1844. }, _frag); //
  1845. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1846. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1847. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1848. }
  1849. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1850. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1851. _content = $$("div", {
  1852. className: "U_MD_D_KO",
  1853. "onmousedown": U.UF.C.closure(function (obj) {
  1854. //防止拖动图标即打开了桌面应用
  1855. U.MD.D.click(this, obj);
  1856. }, [_teacherDesktopIconInfo2[i]]),
  1857. "onclick": U.UF.C.closure(function (obj) {
  1858. //防止拖动图标即打开了桌面应用
  1859. U.MD.D.click(this, obj);
  1860. }, [_teacherDesktopIconInfo2[i]])
  1861. }, _frag); //
  1862. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1863. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1864. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1865. }
  1866. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1867. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1868. _content = $$("div", {
  1869. className: "U_MD_D_KO",
  1870. "onmousedown": U.UF.C.closure(function (obj) {
  1871. //防止拖动图标即打开了桌面应用
  1872. U.MD.D.click(this, obj);
  1873. }, [_thuioeTeacherDeskIconInfo[i]]),
  1874. "onclick": U.UF.C.closure(function (obj) {
  1875. //防止拖动图标即打开了桌面应用
  1876. U.MD.D.click(this, obj);
  1877. }, [_thuioeTeacherDeskIconInfo[i]])
  1878. }, _frag); //
  1879. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1880. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1881. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1882. }
  1883. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1884. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1885. _content = $$("div", {
  1886. className: "U_MD_D_KO",
  1887. "onmousedown": U.UF.C.closure(function (obj) {
  1888. //防止拖动图标即打开了桌面应用
  1889. U.MD.D.click(this, obj);
  1890. }, [_lotechTeacherDeskIconInfo[i]]),
  1891. "onclick": U.UF.C.closure(function (obj) {
  1892. //防止拖动图标即打开了桌面应用
  1893. U.MD.D.click(this, obj);
  1894. }, [_lotechTeacherDeskIconInfo[i]])
  1895. }, _frag); //
  1896. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1897. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1898. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1899. }//
  1900. } else if ((_type == 1 || _type == 4) && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1901. for (i = 0; i < _lqwmsgzsTeacherDeskIconInfo.length; i++) {
  1902. _content = $$("div", {
  1903. className: "U_MD_D_KO",
  1904. "onmousedown": U.UF.C.closure(function (obj) {
  1905. //防止拖动图标即打开了桌面应用
  1906. U.MD.D.click(this, obj);
  1907. }, [_lqwmsgzsTeacherDeskIconInfo[i]]),
  1908. "onclick": U.UF.C.closure(function (obj) {
  1909. //防止拖动图标即打开了桌面应用
  1910. U.MD.D.click(this, obj);
  1911. }, [_lqwmsgzsTeacherDeskIconInfo[i]])
  1912. }, _frag); //
  1913. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1914. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsTeacherDeskIconInfo[i].style }, _iconcontent);
  1915. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsTeacherDeskIconInfo[i].Name }, _iconcontent);
  1916. }
  1917. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1918. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1919. _content = $$("div", {
  1920. className: "U_MD_D_KO",
  1921. "onmousedown": U.UF.C.closure(function (obj) {
  1922. //防止拖动图标即打开了桌面应用
  1923. U.MD.D.click(this, obj);
  1924. }, [_siesTeacherDeskIconInfo[i]]),
  1925. "onclick": U.UF.C.closure(function (obj) {
  1926. //防止拖动图标即打开了桌面应用
  1927. U.MD.D.click(this, obj);
  1928. }, [_siesTeacherDeskIconInfo[i]])
  1929. }, _frag); //
  1930. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1931. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1932. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1933. }
  1934. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1935. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1936. _content = $$("div", {
  1937. className: "U_MD_D_KO",
  1938. "onmousedown": U.UF.C.closure(function (obj) {
  1939. //防止拖动图标即打开了桌面应用
  1940. U.MD.D.click(this, obj);
  1941. }, [_longhuaTeacherDeskIconInfo[i]]),
  1942. "onclick": U.UF.C.closure(function (obj) {
  1943. //防止拖动图标即打开了桌面应用
  1944. U.MD.D.click(this, obj);
  1945. }, [_longhuaTeacherDeskIconInfo[i]])
  1946. }, _frag); //
  1947. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1948. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1949. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1950. }
  1951. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1952. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1953. _content = $$("div", {
  1954. className: "U_MD_D_KO",
  1955. "onmousedown": U.UF.C.closure(function (obj) {
  1956. //防止拖动图标即打开了桌面应用
  1957. U.MD.D.click(this, obj);
  1958. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1959. "onclick": U.UF.C.closure(function (obj) {
  1960. //防止拖动图标即打开了桌面应用
  1961. U.MD.D.click(this, obj);
  1962. }, [_yunhaiTeacherDeskIconInfo[i]])
  1963. }, _frag); //
  1964. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1965. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1966. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1967. } //_hkStudentDeskIconInfo
  1968. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1969. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1970. _content = $$("div", {
  1971. className: "U_MD_D_KO",
  1972. "onmousedown": U.UF.C.closure(function (obj) {
  1973. //防止拖动图标即打开了桌面应用
  1974. U.MD.D.click(this, obj);
  1975. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1976. "onclick": U.UF.C.closure(function (obj) {
  1977. //防止拖动图标即打开了桌面应用
  1978. U.MD.D.click(this, obj);
  1979. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1980. }, _frag); //
  1981. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1982. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1983. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1984. }
  1985. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1986. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1987. _content = $$("div", {
  1988. className: "U_MD_D_KO",
  1989. "onmousedown": U.UF.C.closure(function (obj) {
  1990. //防止拖动图标即打开了桌面应用
  1991. U.MD.D.click(this, obj);
  1992. }, [_hkTeacherDeskIconInfo[i]]),
  1993. "onclick": U.UF.C.closure(function (obj) {
  1994. //防止拖动图标即打开了桌面应用
  1995. U.MD.D.click(this, obj);
  1996. }, [_hkTeacherDeskIconInfo[i]])
  1997. }, _frag); //
  1998. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1999. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  2000. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  2001. }
  2002. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  2003. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  2004. _content = $$("div", {
  2005. className: "U_MD_D_KO",
  2006. "onmousedown": U.UF.C.closure(function (obj) {
  2007. //防止拖动图标即打开了桌面应用
  2008. U.MD.D.click(this, obj);
  2009. }, [_hkaceTeacherDeskIconInfo[i]]),
  2010. "onclick": U.UF.C.closure(function (obj) {
  2011. //防止拖动图标即打开了桌面应用
  2012. U.MD.D.click(this, obj);
  2013. }, [_hkaceTeacherDeskIconInfo[i]])
  2014. }, _frag); //
  2015. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2016. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  2017. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  2018. }
  2019. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  2020. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  2021. _content = $$("div", {
  2022. className: "U_MD_D_KO",
  2023. "onmousedown": U.UF.C.closure(function (obj) {
  2024. //防止拖动图标即打开了桌面应用
  2025. U.MD.D.click(this, obj);
  2026. }, [_gdjgAdminDeskIconInfo[i]]),
  2027. "onclick": U.UF.C.closure(function (obj) {
  2028. //防止拖动图标即打开了桌面应用
  2029. U.MD.D.click(this, obj);
  2030. }, [_gdjgAdminDeskIconInfo[i]])
  2031. }, _frag); //
  2032. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2033. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  2034. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  2035. }
  2036. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  2037. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  2038. _content = $$("div", {
  2039. className: "U_MD_D_KO",
  2040. "onmousedown": U.UF.C.closure(function (obj) {
  2041. //防止拖动图标即打开了桌面应用
  2042. U.MD.D.click(this, obj);
  2043. }, [_gdjgTeacherDeskIconInfo[i]]),
  2044. "onclick": U.UF.C.closure(function (obj) {
  2045. //防止拖动图标即打开了桌面应用
  2046. U.MD.D.click(this, obj);
  2047. }, [_gdjgTeacherDeskIconInfo[i]])
  2048. }, _frag); //
  2049. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2050. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  2051. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  2052. }
  2053. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  2054. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  2055. _content = $$("div", {
  2056. className: "U_MD_D_KO",
  2057. "onmousedown": U.UF.C.closure(function (obj) {
  2058. //防止拖动图标即打开了桌面应用
  2059. U.MD.D.click(this, obj);
  2060. }, [_szherTeacherDeskIconInfo[i]]),
  2061. "onclick": U.UF.C.closure(function (obj) {
  2062. //防止拖动图标即打开了桌面应用
  2063. U.MD.D.click(this, obj);
  2064. }, [_szherTeacherDeskIconInfo[i]])
  2065. }, _frag); //
  2066. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2067. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  2068. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  2069. }
  2070. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  2071. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  2072. _content = $$("div", {
  2073. className: "U_MD_D_KO",
  2074. "onmousedown": U.UF.C.closure(function (obj) {
  2075. //防止拖动图标即打开了桌面应用
  2076. U.MD.D.click(this, obj);
  2077. }, [_heyuannAdminDeskIconInfo[i]]),
  2078. "onclick": U.UF.C.closure(function (obj) {
  2079. //防止拖动图标即打开了桌面应用
  2080. U.MD.D.click(this, obj);
  2081. }, [_heyuannAdminDeskIconInfo[i]])
  2082. }, _frag); //
  2083. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2084. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  2085. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  2086. }
  2087. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  2088. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  2089. _content = $$("div", {
  2090. className: "U_MD_D_KO",
  2091. "onmousedown": U.UF.C.closure(function (obj) {
  2092. //防止拖动图标即打开了桌面应用
  2093. U.MD.D.click(this, obj);
  2094. }, [_heyuanTeacherDeskIconInfo[i]]),
  2095. "onclick": U.UF.C.closure(function (obj) {
  2096. //防止拖动图标即打开了桌面应用
  2097. U.MD.D.click(this, obj);
  2098. }, [_heyuanTeacherDeskIconInfo[i]])
  2099. }, _frag); //
  2100. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2101. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  2102. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  2103. } //
  2104. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  2105. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  2106. _content = $$("div", {
  2107. className: "U_MD_D_KO",
  2108. "onmousedown": U.UF.C.closure(function (obj) {
  2109. //防止拖动图标即打开了桌面应用
  2110. U.MD.D.click(this, obj);
  2111. }, [_dseiAdminDeskIconInfo[i]]),
  2112. "onclick": U.UF.C.closure(function (obj) {
  2113. //防止拖动图标即打开了桌面应用
  2114. U.MD.D.click(this, obj);
  2115. }, [_dseiAdminDeskIconInfo[i]])
  2116. }, _frag); //
  2117. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2118. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  2119. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  2120. }
  2121. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  2122. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  2123. _content = $$("div", {
  2124. className: "U_MD_D_KO",
  2125. "onmousedown": U.UF.C.closure(function (obj) {
  2126. //防止拖动图标即打开了桌面应用
  2127. U.MD.D.click(this, obj);
  2128. }, [_dseiTeacherDeskIconInfo[i]]),
  2129. "onclick": U.UF.C.closure(function (obj) {
  2130. //防止拖动图标即打开了桌面应用
  2131. U.MD.D.click(this, obj);
  2132. }, [_dseiTeacherDeskIconInfo[i]])
  2133. }, _frag); //
  2134. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2135. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  2136. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2137. } //
  2138. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  2139. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  2140. _content = $$("div", {
  2141. className: "U_MD_D_KO",
  2142. "onmousedown": U.UF.C.closure(function (obj) {
  2143. //防止拖动图标即打开了桌面应用
  2144. U.MD.D.click(this, obj);
  2145. }, [_chjyjAdminDeskIconInfo[i]]),
  2146. "onclick": U.UF.C.closure(function (obj) {
  2147. //防止拖动图标即打开了桌面应用
  2148. U.MD.D.click(this, obj);
  2149. }, [_chjyjAdminDeskIconInfo[i]])
  2150. }, _frag); //
  2151. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2152. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2153. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2154. }//
  2155. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2156. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2157. _content = $$("div", {
  2158. className: "U_MD_D_KO",
  2159. "onmousedown": U.UF.C.closure(function (obj) {
  2160. //防止拖动图标即打开了桌面应用
  2161. U.MD.D.click(this, obj);
  2162. }, [_chjyjTeacherDeskIconInfo[i]]),
  2163. "onclick": U.UF.C.closure(function (obj) {
  2164. //防止拖动图标即打开了桌面应用
  2165. U.MD.D.click(this, obj);
  2166. }, [_chjyjTeacherDeskIconInfo[i]])
  2167. }, _frag); //
  2168. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2169. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2170. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2171. }
  2172. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2173. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2174. _content = $$("div", {
  2175. className: "U_MD_D_KO",
  2176. "onmousedown": U.UF.C.closure(function (obj) {
  2177. //防止拖动图标即打开了桌面应用
  2178. U.MD.D.click(this, obj);
  2179. }, [_szjkyAdminDeskIconInfo[i]]),
  2180. "onclick": U.UF.C.closure(function (obj) {
  2181. //防止拖动图标即打开了桌面应用
  2182. U.MD.D.click(this, obj);
  2183. }, [_szjkyAdminDeskIconInfo[i]])
  2184. }, _frag); //
  2185. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2186. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2187. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2188. }//
  2189. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2190. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2191. _content = $$("div", {
  2192. className: "U_MD_D_KO",
  2193. "onmousedown": U.UF.C.closure(function (obj) {
  2194. //防止拖动图标即打开了桌面应用
  2195. U.MD.D.click(this, obj);
  2196. }, [_szjkyTeacherDeskIconInfo[i]]),
  2197. "onclick": U.UF.C.closure(function (obj) {
  2198. //防止拖动图标即打开了桌面应用
  2199. U.MD.D.click(this, obj);
  2200. }, [_szjkyTeacherDeskIconInfo[i]])
  2201. }, _frag); //
  2202. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2203. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2204. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2205. }
  2206. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2207. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2208. _content = $$("div", {
  2209. className: "U_MD_D_KO",
  2210. "onmousedown": U.UF.C.closure(function (obj) {
  2211. //防止拖动图标即打开了桌面应用
  2212. U.MD.D.click(this, obj);
  2213. }, [_futianAdminDeskIconInfo[i]]),
  2214. "onclick": U.UF.C.closure(function (obj) {
  2215. //防止拖动图标即打开了桌面应用
  2216. U.MD.D.click(this, obj);
  2217. }, [_futianAdminDeskIconInfo[i]])
  2218. }, _frag); //
  2219. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2220. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2221. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2222. }
  2223. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2224. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2225. _content = $$("div", {
  2226. className: "U_MD_D_KO",
  2227. "onmousedown": U.UF.C.closure(function (obj) {
  2228. //防止拖动图标即打开了桌面应用
  2229. U.MD.D.click(this, obj);
  2230. }, [_futianTeacherDeskIconInfo[i]]),
  2231. "onclick": U.UF.C.closure(function (obj) {
  2232. //防止拖动图标即打开了桌面应用
  2233. U.MD.D.click(this, obj);
  2234. }, [_futianTeacherDeskIconInfo[i]])
  2235. }, _frag); //
  2236. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2237. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2238. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2239. }
  2240. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2241. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2242. _content = $$("div", {
  2243. className: "U_MD_D_KO",
  2244. "onmousedown": U.UF.C.closure(function (obj) {
  2245. //防止拖动图标即打开了桌面应用
  2246. U.MD.D.click(this, obj);
  2247. }, [_MingdeTeacherDeskIcon[i]]),
  2248. "onclick": U.UF.C.closure(function (obj) {
  2249. //防止拖动图标即打开了桌面应用
  2250. U.MD.D.click(this, obj);
  2251. }, [_MingdeTeacherDeskIcon[i]])
  2252. }, _frag); //
  2253. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2254. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2255. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2256. }
  2257. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2258. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2259. _content = $$("div", {
  2260. className: "U_MD_D_KO",
  2261. "onmousedown": U.UF.C.closure(function (obj) {
  2262. //防止拖动图标即打开了桌面应用
  2263. U.MD.D.click(this, obj);
  2264. }, [_lhsAdminDesktopIconInfo[i]]),
  2265. "onclick": U.UF.C.closure(function (obj) {
  2266. //防止拖动图标即打开了桌面应用
  2267. U.MD.D.click(this, obj);
  2268. }, [_lhsAdminDesktopIconInfo[i]])
  2269. }, _frag); //
  2270. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2271. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2272. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2273. }
  2274. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2275. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2276. _content = $$("div", {
  2277. className: "U_MD_D_KO",
  2278. "onmousedown": U.UF.C.closure(function (obj) {
  2279. //防止拖动图标即打开了桌面应用
  2280. U.MD.D.click(this, obj);
  2281. }, [_lhsteacherDesktopIconInfo[i]]),
  2282. "onclick": U.UF.C.closure(function (obj) {
  2283. //防止拖动图标即打开了桌面应用
  2284. U.MD.D.click(this, obj);
  2285. }, [_lhsteacherDesktopIconInfo[i]])
  2286. }, _frag); //
  2287. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2288. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2289. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2290. }
  2291. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2292. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2293. _content = $$("div", {
  2294. className: "U_MD_D_KO",
  2295. "onmousedown": U.UF.C.closure(function (obj) {
  2296. //防止拖动图标即打开了桌面应用
  2297. U.MD.D.click(this, obj);
  2298. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2299. "onclick": U.UF.C.closure(function (obj) {
  2300. //防止拖动图标即打开了桌面应用
  2301. U.MD.D.click(this, obj);
  2302. }, [_zhoujiateacherDesktopIconInfo[i]])
  2303. }, _frag); //
  2304. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2305. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2306. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2307. }
  2308. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2309. for (i = 0; i < _hanDeskIcon.length; i++) {
  2310. _content = $$("div", {
  2311. className: "U_MD_D_KO",
  2312. "onmousedown": U.UF.C.closure(function (obj) {
  2313. //防止拖动图标即打开了桌面应用
  2314. U.MD.D.click(this, obj);
  2315. }, [_hanDeskIcon[i]]),
  2316. "onclick": U.UF.C.closure(function (obj) {
  2317. //防止拖动图标即打开了桌面应用
  2318. U.MD.D.click(this, obj);
  2319. }, [_hanDeskIcon[i]])
  2320. }, _frag); //
  2321. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2322. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2323. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2324. }
  2325. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2326. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2327. _content = $$("div", {
  2328. className: "U_MD_D_KO",
  2329. "onmousedown": U.UF.C.closure(function (obj) {
  2330. //防止拖动图标即打开了桌面应用
  2331. U.MD.D.click(this, obj);
  2332. }, [_orgStemDeskIcon[i]]),
  2333. "onclick": U.UF.C.closure(function (obj) {
  2334. //防止拖动图标即打开了桌面应用
  2335. U.MD.D.click(this, obj);
  2336. }, [_orgStemDeskIcon[i]])
  2337. }, _frag); //
  2338. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2339. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2340. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2341. }
  2342. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2343. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2344. _content = $$("div", {
  2345. className: "U_MD_D_KO",
  2346. "onmousedown": U.UF.C.closure(function (obj) {
  2347. //防止拖动图标即打开了桌面应用
  2348. U.MD.D.click(this, obj);
  2349. }, [_szulsDeskIcon[i]]),
  2350. "onclick": U.UF.C.closure(function (obj) {
  2351. //防止拖动图标即打开了桌面应用
  2352. U.MD.D.click(this, obj);
  2353. }, [_szulsDeskIcon[i]])
  2354. }, _frag); //
  2355. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2356. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2357. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2358. }
  2359. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2360. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2361. _content = $$("div", {
  2362. className: "U_MD_D_KO",
  2363. "onmousedown": U.UF.C.closure(function (obj) {
  2364. //防止拖动图标即打开了桌面应用
  2365. U.MD.D.click(this, obj);
  2366. }, [_orgDesktopIconInfo[i]]),
  2367. "onclick": U.UF.C.closure(function (obj) {
  2368. //防止拖动图标即打开了桌面应用
  2369. U.MD.D.click(this, obj);
  2370. }, [_orgDesktopIconInfo[i]])
  2371. }, _frag); //
  2372. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2373. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2374. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2375. }
  2376. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2377. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2378. _content = $$("div", {
  2379. className: "U_MD_D_KO",
  2380. "onmousedown": U.UF.C.closure(function (obj) {
  2381. //防止拖动图标即打开了桌面应用
  2382. U.MD.D.click(this, obj);
  2383. }, [_schoolDesktopIconInfo[i]]),
  2384. "onclick": U.UF.C.closure(function (obj) {
  2385. //防止拖动图标即打开了桌面应用
  2386. U.MD.D.click(this, obj);
  2387. }, [_schoolDesktopIconInfo[i]])
  2388. }, _frag); //
  2389. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2390. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2391. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2392. }
  2393. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2394. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2395. _content = $$("div", {
  2396. className: "U_MD_D_KO",
  2397. "onmousedown": U.UF.C.closure(function (obj) {
  2398. //防止拖动图标即打开了桌面应用
  2399. U.MD.D.click(this, obj);
  2400. }, [_GMteacherDesktopIconInfo[i]]),
  2401. "onclick": U.UF.C.closure(function (obj) {
  2402. //防止拖动图标即打开了桌面应用
  2403. U.MD.D.click(this, obj);
  2404. }, [_GMteacherDesktopIconInfo[i]])
  2405. }, _frag); //
  2406. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2407. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2408. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2409. }
  2410. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2411. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2412. _content = $$("div", {
  2413. className: "U_MD_D_KO",
  2414. "onmousedown": U.UF.C.closure(function (obj) {
  2415. //防止拖动图标即打开了桌面应用
  2416. U.MD.D.click(this, obj);
  2417. }, [_SONGteacherDesktopIconInfo[i]]),
  2418. "onclick": U.UF.C.closure(function (obj) {
  2419. //防止拖动图标即打开了桌面应用
  2420. U.MD.D.click(this, obj);
  2421. }, [_SONGteacherDesktopIconInfo[i]])
  2422. }, _frag); //
  2423. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2424. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2425. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2426. }
  2427. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2428. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2429. _content = $$("div", {
  2430. className: "U_MD_D_KO",
  2431. "onmousedown": U.UF.C.closure(function (obj) {
  2432. //防止拖动图标即打开了桌面应用
  2433. U.MD.D.click(this, obj);
  2434. }, [_GMstudentDesktopIconInfo[i]]),
  2435. "onclick": U.UF.C.closure(function (obj) {
  2436. //防止拖动图标即打开了桌面应用
  2437. U.MD.D.click(this, obj);
  2438. }, [_GMstudentDesktopIconInfo[i]])
  2439. }, _frag); //
  2440. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2441. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2442. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2443. }
  2444. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2445. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2446. _content = $$("div", {
  2447. className: "U_MD_D_KO",
  2448. "onmousedown": U.UF.C.closure(function (obj) {
  2449. //防止拖动图标即打开了桌面应用
  2450. U.MD.D.click(this, obj);
  2451. }, [_tcTeacherDeskIconInfo[i]]),
  2452. "onclick": U.UF.C.closure(function (obj) {
  2453. //防止拖动图标即打开了桌面应用
  2454. U.MD.D.click(this, obj);
  2455. }, [_tcTeacherDeskIconInfo[i]])
  2456. }, _frag); //
  2457. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2458. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2459. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2460. }
  2461. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2462. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2463. _content = $$("div", {
  2464. className: "U_MD_D_KO",
  2465. "onmousedown": U.UF.C.closure(function (obj) {
  2466. //防止拖动图标即打开了桌面应用
  2467. U.MD.D.click(this, obj);
  2468. }, [_tcOrganizerDeskIconInfo[i]]),
  2469. "onclick": U.UF.C.closure(function (obj) {
  2470. //防止拖动图标即打开了桌面应用
  2471. U.MD.D.click(this, obj);
  2472. }, [_tcOrganizerDeskIconInfo[i]])
  2473. }, _frag); //
  2474. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2475. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2476. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2477. }
  2478. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2479. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2480. _content = $$("div", {
  2481. className: "U_MD_D_KO",
  2482. "onmousedown": U.UF.C.closure(function (obj) {
  2483. //防止拖动图标即打开了桌面应用
  2484. U.MD.D.click(this, obj);
  2485. }, [_szscTeacherDeskIconInfo[i]]),
  2486. "onclick": U.UF.C.closure(function (obj) {
  2487. //防止拖动图标即打开了桌面应用
  2488. U.MD.D.click(this, obj);
  2489. }, [_szscTeacherDeskIconInfo[i]])
  2490. }, _frag); //
  2491. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2492. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2493. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2494. }
  2495. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2496. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2497. _content = $$("div", {
  2498. className: "U_MD_D_KO",
  2499. "onmousedown": U.UF.C.closure(function (obj) {
  2500. //防止拖动图标即打开了桌面应用
  2501. U.MD.D.click(this, obj);
  2502. }, [_szscOrganizerDeskIconInfo[i]]),
  2503. "onclick": U.UF.C.closure(function (obj) {
  2504. //防止拖动图标即打开了桌面应用
  2505. U.MD.D.click(this, obj);
  2506. }, [_szscOrganizerDeskIconInfo[i]])
  2507. }, _frag); //
  2508. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2509. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2510. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2511. }
  2512. } else {
  2513. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2514. _content = $$("div", {
  2515. className: "U_MD_D_KO",
  2516. "onmousedown": U.UF.C.closure(function (obj) {
  2517. //防止拖动图标即打开了桌面应用
  2518. U.MD.D.click(this, obj);
  2519. }, [_teacherDesktopIconInfo[i]]),
  2520. "onclick": U.UF.C.closure(function (obj) {
  2521. //防止拖动图标即打开了桌面应用
  2522. U.MD.D.click(this, obj);
  2523. }, [_teacherDesktopIconInfo[i]])
  2524. }, _frag); //
  2525. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2526. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2527. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2528. }
  2529. }
  2530. } else {
  2531. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2532. _content = $$("div", {
  2533. className: "U_MD_D_KO",
  2534. style: { 'width': '124px', 'height': '145px' },
  2535. "onmousedown": U.UF.C.closure(function (obj) {
  2536. //防止拖动图标即打开了桌面应用
  2537. U.MD.D.click(this, obj);
  2538. }, [_easyDesktopIconInfo[i]]),
  2539. "onclick": U.UF.C.closure(function (obj) {
  2540. //防止拖动图标即打开了桌面应用
  2541. U.MD.D.click(this, obj);
  2542. }, [_easyDesktopIconInfo[i]])
  2543. }, _frag); //
  2544. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2545. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2546. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2547. }
  2548. }
  2549. if (type == 1) {
  2550. //加载好后给图标定位
  2551. U.MD.D.iconPostion($(_frag).Child());
  2552. } else {
  2553. //加载好后给图标定位
  2554. U.MD.D.iconPostion2($(_frag).Child());
  2555. }
  2556. //把图标加载到页面
  2557. el.appendChild(_frag);
  2558. }
  2559. /**
  2560. * 显示任务栏
  2561. *
  2562. * @param {element} 桌面元素
  2563. */
  2564. U.MD.D.I.displayTaskbar = function (el) {
  2565. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2566. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2567. //任务栏位置变化
  2568. U.selectEl(el).css({ "bottom": "0px" });
  2569. //桌面位置变话
  2570. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2571. }
  2572. }
  2573. //#region 桌面图标拖动逻辑
  2574. /**
  2575. * 桌面排列图标
  2576. *
  2577. * @param {element} 桌面元素
  2578. * @param {object} 上下相距的距离
  2579. * @param {object} 左右相距的距离
  2580. * @return {object} 命名空间
  2581. */
  2582. U.MD.D.iconPostion = function (childs, top, left) {
  2583. var i; //用于循环处理
  2584. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2585. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2586. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2587. for (i = 0; i < childs.length; i++) {
  2588. //如果竖排top超过了范围处理
  2589. if (top + 95 > US.height - 10) {
  2590. //left超过了页面范围处理,则向上重叠打印处理
  2591. if ((left + 180) > US.width) {
  2592. top -= 110;
  2593. left -= 90;
  2594. }
  2595. //没有超过范围,那么left+90添加到下一个竖排打印
  2596. else {
  2597. left += 90;
  2598. top = 15;
  2599. };
  2600. }
  2601. //给图标的位置赋值
  2602. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2603. if (i < childs.length - 1) {
  2604. //页面图标每次向下加95
  2605. top += 95;
  2606. }
  2607. }
  2608. //返回最后调用的图标的位置
  2609. return [top, left];
  2610. }
  2611. /**
  2612. * 桌面排列图标
  2613. *
  2614. * @param {element} 桌面元素
  2615. * @param {object} 上下相距的距离
  2616. * @param {object} 左右相距的距离
  2617. * @return {object} 命名空间
  2618. */
  2619. U.MD.D.iconPostion2 = function (childs, top, left) {
  2620. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2621. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2622. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2623. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2624. for (i = 0; i < childs.length; i++) {
  2625. //如果竖排top超过了范围处理
  2626. if (left + 150 > US.width - 10) {
  2627. //left超过了页面范围处理,则向上重叠打印处理
  2628. if ((top + 180) > US.Height) {
  2629. top -= 150;
  2630. left -= 150;
  2631. }
  2632. //没有超过范围,那么left+90添加到下一个竖排打印
  2633. else {
  2634. top += 150;
  2635. left = ol;
  2636. };
  2637. }
  2638. //给图标的位置赋值
  2639. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2640. if (i < childs.length - 1) {
  2641. //页面图标每次向下加95
  2642. left += 150;
  2643. }
  2644. }
  2645. //返回最后调用的图标的位置
  2646. return [top, left];
  2647. }
  2648. /**
  2649. * 桌面点击事件逻辑
  2650. *
  2651. * @param {element} 桌面元素
  2652. * @param {object} 上下相距的距离
  2653. * @param {object} 左右相距的距离
  2654. * @return {object} 命名空间
  2655. */
  2656. U.MD.D.click = function (el, obj) {
  2657. var _buttonnumber = event.button; //点击的按钮的事件值
  2658. var _userinfo = US.userInfo;
  2659. U.UF.EV.stopBubble(); //阻止向上冒泡
  2660. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2661. if (_buttonnumber < 2) {
  2662. //如果是click事件的处理
  2663. if (event.type == "click") {
  2664. //如果元素在mousemove事件中没有移动则出发click事件
  2665. if (!U.MD.D.I.IsDrag) {
  2666. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2667. U.alert("请先登录您的账号!");
  2668. setTimeout(() => {
  2669. U.MD.U.L.login();
  2670. }, 2000);
  2671. } else {
  2672. //打开应用处理
  2673. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2674. }
  2675. }
  2676. }
  2677. //如果是mouse事件的处理
  2678. else {
  2679. if (US.Config.type == '1') {
  2680. //拖动处理,添加拖动和拖动结束事件
  2681. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2682. }
  2683. }
  2684. U.MD.D.I.IsDrag = false;
  2685. }
  2686. }
  2687. /**
  2688. * 拖动的处理
  2689. *
  2690. */
  2691. U.MD.D.iconMove = function () {
  2692. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2693. U.MD.D.I.IsDrag = true;
  2694. }
  2695. /**
  2696. * 拖动结束后,这里是定位处理,以网状的形式定位
  2697. *
  2698. * @param {element} 拖动的元素
  2699. * @return {object} 命名空间
  2700. */
  2701. U.MD.D.iconUp = function (el) {
  2702. var _top = 15,
  2703. _left = 20,
  2704. _margin,
  2705. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2706. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2707. if (_positioninfo["OT"] > 15) {
  2708. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2709. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2710. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2711. }
  2712. if (_positioninfo["OL"] > 20) {
  2713. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2714. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2715. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2716. }
  2717. //while循环判断么一个重叠的元素
  2718. do {
  2719. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2720. _top = _positioninfo[0] + 95; //得到定位后的top
  2721. _left = _positioninfo[1]; //得到定位后的left
  2722. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2723. }
  2724. /**
  2725. * 判断拖动后图标是否重叠
  2726. *
  2727. * @param {element} 拖动的元素
  2728. * @param {element} 桌面所有的元素
  2729. * @param {array} 拖动元素的位置
  2730. ----------[0] 上 top
  2731. ----------[1] 左 left
  2732. * @return {object} 命名空间
  2733. */
  2734. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2735. //循环所有的图标
  2736. for (var i = 0; i < childs.length; i++) {
  2737. //判断有没有和该图标诶子重叠的元素
  2738. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2739. return childs[i]; //如果有返回
  2740. }
  2741. }
  2742. }
  2743. //#endregion
  2744. //#endregion
  2745. //#region 桌面应用
  2746. /**
  2747. * 打开应用
  2748. *
  2749. * @param {string} 类型
  2750. -----------------Disk 网盘系统
  2751. -----------------PDisk 学习系统网盘
  2752. -----------------Poto 图片
  2753. -----------------Video 视频
  2754. -----------------Music 音乐
  2755. -----------------Word word
  2756. -----------------Excel excel
  2757. -----------------Txt 记事本
  2758. -----------------PB 学习系统
  2759. -----------------Blog 朋友圈系统
  2760. -----------------FTP ftp系统
  2761. -----------------Group 好友群
  2762. -----------------SY 首页系统
  2763. -----------------Set 个人设置
  2764. -----------------XSet 系统设置
  2765. -----------------App 我们所有的app
  2766. -----------------BC c.1473.cn 平台
  2767. -----------------CWeb d.1473.cn 变成平台
  2768. -----------------其他的外联系统 我们统一用iframe打开
  2769. * @param {array} 类型
  2770. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2771. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2772. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2773. 如果第一个参数为其他,则无第二个参数
  2774. * @returns {array}
  2775. */
  2776. window.addEventListener('message', function (e) { // 监听 message 事件
  2777. // alert(e.data.type);
  2778. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2779. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2780. //3是展示全部阶段 2学生 1老师 4专家
  2781. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2782. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2783. //3是展示全部阶段 2学生 1老师 4专家
  2784. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2785. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2786. //3是展示全部阶段 2学生 1老师 4专家
  2787. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2788. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2789. } else if (e.data.screenType && e.data.screenType == "3train") { //培训管理传入
  2790. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  2791. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2792. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2793. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2794. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2795. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2796. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2797. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2798. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2799. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2800. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2801. //3是展示全部阶段 2学生 1老师 4专家
  2802. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2803. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2804. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2805. U.MD.D.I.selectUser();
  2806. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2807. var _formel = document.getElementById("study");
  2808. U.UF.F.windowZooming(_formel);
  2809. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2810. var _formel = document.getElementById("studyDetail");
  2811. U.UF.F.windowZooming(_formel);
  2812. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2813. var _formel = document.getElementById("studyDetail");
  2814. U.UF.F.windowZooming(_formel);
  2815. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2816. var _formel = document.getElementById("studentStudy");
  2817. U.UF.F.windowZooming(_formel);
  2818. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2819. // var _formel = document.getElementById("study");
  2820. //如果最大化了,那么就把他缩小
  2821. // if (_formel.ismaximize) {
  2822. // return;
  2823. // }
  2824. // U.UF.F.windowZooming(_formel);
  2825. // U.UF.F.topWindow(_formel);
  2826. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2827. // var _formel = document.getElementById("studyDetail");
  2828. //如果最大化了,那么就把他缩小
  2829. // if (_formel.ismaximize) {
  2830. // return;
  2831. // }
  2832. // U.UF.F.windowZooming(_formel);
  2833. // U.UF.F.topWindow(_formel);
  2834. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2835. // var _formel = document.getElementById("studentStudy");
  2836. // if (_formel.ismaximize) {
  2837. // return;
  2838. // }
  2839. // U.UF.F.windowZooming(_formel);
  2840. // U.UF.F.topWindow(_formel);
  2841. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2842. var _formel = document.getElementById("study");
  2843. // if (_formel.ismaximize) {
  2844. // return;
  2845. // }
  2846. // U.UF.F.windowZooming(_formel);
  2847. U.UF.F.topWindow(_formel);
  2848. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2849. var _formel = document.getElementById("studentIndex");
  2850. U.UF.F.windowZooming(_formel);
  2851. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2852. var _formel = document.getElementById("studyDetailS");
  2853. U.UF.F.windowZooming(_formel);
  2854. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2855. var _formel = document.getElementById("studioIndex");
  2856. U.UF.F.windowZooming(_formel);
  2857. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2858. var _formel = document.getElementById("studyDetailStudio");
  2859. U.UF.F.windowZooming(_formel);
  2860. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2861. var _formel = document.getElementById("studyDetailStudio");
  2862. U.UF.F.windowZooming(_formel);
  2863. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2864. var _formel = document.getElementById("studyDetailNT");
  2865. U.UF.F.windowZooming(_formel);
  2866. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2867. var _formel = document.getElementById("studyDetailS");
  2868. U.UF.F.windowZooming(_formel);
  2869. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2870. var _formel = document.getElementById("studyDetailS");
  2871. U.UF.F.topWindow(_formel);
  2872. } else if (e.data.tools && e.data.tools == "1") {
  2873. // U.MD.D.I.openApplication("whiteboard")
  2874. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2875. } else if (e.data.tools && e.data.tools == "2") {
  2876. U.MD.D.I.openApplication("note")
  2877. } else if (e.data.tools && e.data.tools == "3") {
  2878. // U.MD.D.I.openApplication("mind")
  2879. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2880. } else if (e.data.tools && e.data.tools == "4") {
  2881. U.MD.D.I.openApplication("investigation")
  2882. } else if (e.data.tools && e.data.tools == "6") {
  2883. // U.MD.D.I.openApplication("doc")
  2884. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2885. } else if (e.data.tools && e.data.tools == "7") {
  2886. // U.MD.D.I.openApplication("mindNetwork")
  2887. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2888. } else if (e.data.tools && e.data.tools == "8") {
  2889. U.MD.D.I.openApplication("library")
  2890. } else if (e.data.tools && e.data.tools == "17") {
  2891. U.MD.D.I.openApplication("stuLibrary")
  2892. } else if (e.data.tools && e.data.tools == "18") {
  2893. U.MD.D.I.openApplication("train")
  2894. } else if (e.data.tools && e.data.tools == "21") {
  2895. U.MD.D.I.openApplication("program")
  2896. } else if (e.data.tools && e.data.tools == "22") {
  2897. U.MD.D.I.openApplication("AIprogram2")
  2898. } else if (e.data.tools && e.data.tools == "23") {
  2899. U.MD.D.I.openApplication("Pythonprogram")
  2900. } else if (e.data.tools && e.data.tools == "24") {
  2901. U.MD.D.I.openApplication("AIprogram")
  2902. } else if (e.data.tools && e.data.tools == "25") {
  2903. U.MD.D.I.openApplication("sys")
  2904. } else if (e.data.tools && e.data.tools == "26") {
  2905. // U.MD.D.I.openApplication("courseDesign")
  2906. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2907. } else if (e.data.tools && e.data.tools == "31") {
  2908. U.MD.D.I.openApplication("netWorkPanel")
  2909. } else if (e.data.tools && e.data.tools == "32") {
  2910. U.MD.D.I.openApplication("codeEdit")
  2911. } else if (e.data.tools && e.data.tools == "57") {
  2912. U.MD.D.I.openApplication("CocoPi")
  2913. } else if (e.data.tools && e.data.tools == "63") {
  2914. U.MD.D.I.openApplication("Wood")
  2915. } else if (e.data.tools && e.data.tools == "58") {
  2916. U.MD.D.I.openApplication("car")
  2917. } else if (e.data.tools && e.data.tools == "59") {
  2918. U.MD.D.I.openApplication("lineSearch")
  2919. } else if (e.data.tools && e.data.tools == "60") {
  2920. U.MD.D.I.openApplication("deepLearning")
  2921. } else if (e.data.tools && e.data.tools == "61") {
  2922. U.MD.D.I.openApplication("allHistory")
  2923. } else if (e.data.tools && e.data.tools == "28") {
  2924. U.MD.D.I.openApplication("translation")
  2925. } else if (e.data.tools && e.data.tools == "37") {
  2926. U.MD.D.I.openApplication("mohe")
  2927. } else if (e.data.tools && e.data.tools == "38") {
  2928. U.MD.D.I.openApplication("24game")
  2929. } else if (e.data.tools && e.data.tools == "39") {
  2930. U.MD.D.I.openApplication("GeoGebra")
  2931. } else if (e.data.tools && e.data.tools == "43") {
  2932. U.MD.D.I.openApplication("studentEvaluate")
  2933. } else if (e.data.tools && e.data.tools == "44") {
  2934. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2935. } else if (e.data.tools && e.data.tools == "46") {
  2936. U.MD.D.I.openApplication("project")
  2937. } else if (e.data.tools && e.data.tools == "1s") {
  2938. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2939. } else if (e.data.tools && e.data.tools == "3s") {
  2940. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2941. } else if (e.data.tools && e.data.tools == "6s") {
  2942. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2943. } else if (e.data.tools && e.data.tools == "1studio") {
  2944. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2945. } else if (e.data.tools && e.data.tools == "3studio") {
  2946. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2947. } else if (e.data.tools && e.data.tools == "6studio") {
  2948. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2949. } else if (e.data.tools && e.data.tools == "3y") {
  2950. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2951. } else if (e.data.tools && e.data.tools == "1y") {
  2952. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2953. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2954. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2955. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2956. U.MD.D.I.openApplication("AIAnalyse")
  2957. } else if (e.data.tools && e.data.tools == "1teacher") {
  2958. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2959. } else if (e.data.tools && e.data.tools == "3teacher") {
  2960. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2961. } else if (e.data.tools && e.data.tools == "7teacher") {
  2962. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2963. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2964. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2965. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2966. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2967. } else if (e.data.tools && e.data.tools == "1E") {
  2968. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2969. } else if (e.data.tools && e.data.tools == "3E") {
  2970. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2971. } else if (e.data.tools && e.data.tools == "57y") {
  2972. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2973. } else if (e.data.tools && e.data.tools == "57u") {
  2974. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2975. } else if (e.data.tools && e.data.tools == "57teacher") {
  2976. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2977. } else if (e.data.tools && e.data.tools == "64") {
  2978. U.MD.D.I.openApplication("AIChat")
  2979. } else if (e.data.tools && e.data.tools == "66") {
  2980. U.MD.D.I.openApplication("formulaEdi")
  2981. } else if (e.data.tools && e.data.tools == "67") {
  2982. U.MD.D.I.openApplication("molStr")
  2983. } else if (e.data.tools && e.data.tools == "68") {
  2984. U.MD.D.I.openApplication("timeAxis")
  2985. } else if (e.data.tools && e.data.tools == "openCourse") {
  2986. let _data = {
  2987. typea: e.data.typea || '',
  2988. typeb: e.data.typeb || '',
  2989. typed: e.data.typed || '',
  2990. }
  2991. U.MD.D.I.openInApplication("index", _data)
  2992. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2993. let _data = {
  2994. classid: e.data.classid || '',
  2995. }
  2996. U.MD.D.I.openInApplication("dataClass", _data)
  2997. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2998. let _data = {
  2999. cid: e.data.cid || '',
  3000. gid: e.data.gid || '',
  3001. }
  3002. U.MD.D.I.openInApplication("opencCscl", _data)
  3003. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  3004. U.MD.D.I.openApplication("dataBoardTest")
  3005. }
  3006. });
  3007. U.MD.D.I.selectUser = function () {
  3008. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  3009. if (res.value[0].length > 0) {
  3010. US.userInfo = res.value[0][0];
  3011. $(".userName")[0].innerHTML = US.userInfo.username;
  3012. }
  3013. }, [], { "type": "GET", "withCredentials": true });
  3014. }
  3015. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  3016. var _userinfo = US.userInfo, //登录用户信息
  3017. _userid = US.userInfo.userid, //登录用户id
  3018. _oid = _userinfo.organizeid,
  3019. _type = US.userInfo.type,
  3020. _org = US.userInfo.org,
  3021. _role = US.userInfo.role,
  3022. _classId = US.userInfo.classid;
  3023. if (_type == 4) {
  3024. tType = 4
  3025. }
  3026. switch (str) {
  3027. case "studyDetailNT": //无终端模式
  3028. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3029. setTimeout(() => {
  3030. U.MD.U.L.login();
  3031. }, 2000);
  3032. } else {
  3033. _formdiv = new U.UF.UI.form(
  3034. "课程详情",
  3035. $$("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 }), {
  3036. "id": "studyDetailNT",
  3037. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3038. "onresize": function () { }
  3039. }, {
  3040. closecallback: function () { }
  3041. }, { "style": { "height": "36px" } }).form; //创建窗体
  3042. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3043. break;
  3044. }
  3045. case "studyDetail":
  3046. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3047. setTimeout(() => {
  3048. U.MD.U.L.login();
  3049. }, 2000);
  3050. } else {
  3051. _formdiv = new U.UF.UI.form(
  3052. "课程详情",
  3053. $$("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 }), {
  3054. "id": "studyDetail",
  3055. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3056. "onresize": function () { }
  3057. }, {
  3058. closecallback: function () { }
  3059. }, { "style": { "height": "36px" } }).form; //创建窗体
  3060. _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); } }
  3061. break;
  3062. }
  3063. case "studyDetailTrain":
  3064. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3065. setTimeout(() => {
  3066. U.MD.U.L.login();
  3067. }, 2000);
  3068. } else {
  3069. _formdiv = new U.UF.UI.form(
  3070. "培训详情",
  3071. $$("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/#/courseDetailTrain?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  3072. "id": "studyDetailTrain",
  3073. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3074. "onresize": function () { }
  3075. }, {
  3076. closecallback: function () { }
  3077. }, { "style": { "height": "36px" } }).form; //创建窗体
  3078. _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); } }
  3079. break;
  3080. }
  3081. case "studyDetailS":
  3082. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3083. setTimeout(() => {
  3084. U.MD.U.L.login();
  3085. }, 2000);
  3086. } else {
  3087. _formdiv = new U.UF.UI.form(
  3088. "项目详情",
  3089. $$("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 }), {
  3090. "id": "studyDetailS",
  3091. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3092. "onresize": function () { }
  3093. }, {
  3094. closecallback: function () { }
  3095. }, { "style": { "height": "36px" } }).form; //创建窗体
  3096. _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); } }
  3097. break;
  3098. }
  3099. case "studyDetailStudio":
  3100. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3101. setTimeout(() => {
  3102. U.MD.U.L.login();
  3103. }, 2000);
  3104. } else {
  3105. _formdiv = new U.UF.UI.form(
  3106. "工作详情",
  3107. $$("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 }), {
  3108. "id": "studyDetailStudio",
  3109. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3110. "onresize": function () { }
  3111. }, {
  3112. closecallback: function () { }
  3113. }, { "style": { "height": "36px" } }).form; //创建窗体
  3114. _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); } }
  3115. break;
  3116. }
  3117. case "studyDetailS5":
  3118. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3119. setTimeout(() => {
  3120. U.MD.U.L.login();
  3121. }, 2000);
  3122. } else {
  3123. _formdiv = new U.UF.UI.form(
  3124. "项目详情",
  3125. $$("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 }), {
  3126. "id": "studyDetailS",
  3127. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3128. "onresize": function () { }
  3129. }, {
  3130. closecallback: function () { }
  3131. }, { "style": { "height": "36px" } }).form; //创建窗体
  3132. _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); } }
  3133. break;
  3134. }
  3135. case "studyDetailGM":
  3136. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3137. setTimeout(() => {
  3138. U.MD.U.L.login();
  3139. }, 2000);
  3140. } else {
  3141. _formdiv = new U.UF.UI.form(
  3142. "课程详情",
  3143. $$("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 }), {
  3144. "id": "studyDetail",
  3145. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3146. "onresize": function () { }
  3147. }, {
  3148. closecallback: function () { }
  3149. }, { "style": { "height": "36px" } }).form; //创建窗体
  3150. _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); } }
  3151. break;
  3152. }
  3153. case "hanUrl":
  3154. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3155. setTimeout(() => {
  3156. U.MD.U.L.login();
  3157. }, 2000);
  3158. } else {
  3159. _formdiv = new U.UF.UI.form(
  3160. "汉字宫",
  3161. $$("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" }), {
  3162. "id": "hanUrl",
  3163. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3164. "onresize": function () { }
  3165. }, {
  3166. closecallback: function () { }
  3167. }, { "style": { "height": "36px" } }).form; //创建窗体
  3168. _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); } }
  3169. break;
  3170. }
  3171. case "index":
  3172. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3173. setTimeout(() => {
  3174. U.MD.U.L.login();
  3175. }, 2000);
  3176. } else {
  3177. _formdiv = new U.UF.UI.form(
  3178. "课程中心",
  3179. $$("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 }), {
  3180. "id": "study",
  3181. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3182. "onresize": function () { }
  3183. }, {
  3184. closecallback: function () { }
  3185. }, { "style": { "height": "36px" } }).form; //创建窗体
  3186. _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); } }
  3187. break;
  3188. }
  3189. case "dataClass":
  3190. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3191. setTimeout(() => {
  3192. U.MD.U.L.login();
  3193. }, 2000);
  3194. } else {
  3195. _formdiv = new U.UF.UI.form(
  3196. "数据报告",
  3197. $$("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 }), {
  3198. "id": "dataClass",
  3199. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3200. "onresize": function () { }
  3201. }, {
  3202. closecallback: function () { }
  3203. }, { "style": { "height": "36px" } }).form; //创建窗体
  3204. _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); } }
  3205. break;
  3206. }
  3207. case "opencCscl":
  3208. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3209. setTimeout(() => {
  3210. U.MD.U.L.login();
  3211. }, 2000);
  3212. } else {
  3213. _formdiv = new U.UF.UI.form(
  3214. "协同建构",
  3215. $$("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://beta.cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  3216. "id": "futureClass",
  3217. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3218. "onresize": function () { }
  3219. }, {
  3220. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3221. }, { "style": { "height": "36px" } }).form; //创建窗体
  3222. _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); } }
  3223. break;
  3224. }
  3225. }
  3226. }
  3227. U.MD.D.I.openApplication = function (str, obj, info) {
  3228. obj = obj || {};
  3229. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3230. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3231. _userinfo = US.userInfo, //登录用户信息
  3232. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3233. _oid = obj.organizeid || _userinfo.organizeid,
  3234. _type = US.userInfo.type,
  3235. _org = US.userInfo.org,
  3236. _role = US.userInfo.role,
  3237. _classId = US.userInfo.classid,
  3238. _TscreenType = 1
  3239. _screenType = 2,
  3240. _SscreenType = 3;
  3241. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3242. return;
  3243. }
  3244. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3245. switch (str) {
  3246. case "studnetProject": //好友打开
  3247. _formdiv = new U.UF.UI.form(
  3248. "我的项目",
  3249. $$("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 }), {
  3250. "id": "studnetProject",
  3251. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3252. "onresize": function () { }
  3253. }, {
  3254. closecallback: function () { }
  3255. }, { "style": { "height": "36px" } }).form; //创建窗体
  3256. _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); } }
  3257. break;
  3258. case "studentEvaluate": //好友打开
  3259. _formdiv = new U.UF.UI.form(
  3260. "我的评价",
  3261. $$("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 }), {
  3262. "id": "studentEvaluate",
  3263. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3264. "onresize": function () { }
  3265. }, {
  3266. closecallback: function () { }
  3267. }, { "style": { "height": "36px" } }).form; //创建窗体
  3268. _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); } }
  3269. break;
  3270. case "my":
  3271. _formdiv = new U.UF.UI.form(
  3272. "我的资料",
  3273. $$("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 }), {
  3274. "id": "my",
  3275. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3276. "onresize": function () { }
  3277. }, {
  3278. closecallback: function () { }
  3279. }, { "style": { "height": "36px" } }).form; //创建窗体
  3280. _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); } }
  3281. break;
  3282. case "program":
  3283. _formdiv = new U.UF.UI.form(
  3284. "编程平台",
  3285. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3286. "id": "program",
  3287. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3288. "onresize": function () { }
  3289. }, {
  3290. closecallback: function () { }
  3291. }, { "style": { "height": "36px" } }).form; //创建窗体
  3292. _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); } }
  3293. break;
  3294. case "library":
  3295. _formdiv = new U.UF.UI.form(
  3296. "素材库",
  3297. $$("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 }), {
  3298. "id": "library",
  3299. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3300. "onresize": function () { }
  3301. }, {
  3302. closecallback: function () { }
  3303. }, { "style": { "height": "36px" } }).form; //创建窗体
  3304. _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); } }
  3305. break;
  3306. case "whiteboard":
  3307. _formdiv = new U.UF.UI.form(
  3308. "电子白板",
  3309. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3310. "id": "whiteboard",
  3311. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3312. "onresize": function () { }
  3313. }, {
  3314. closecallback: function () { }
  3315. }, { "style": { "height": "36px" } }).form; //创建窗体
  3316. _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); } }
  3317. break;
  3318. case "investigation":
  3319. _formdiv = new U.UF.UI.form(
  3320. "问卷调查",
  3321. $$("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 }), {
  3322. "id": "investigation",
  3323. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3324. "onresize": function () { }
  3325. }, {
  3326. closecallback: function () { }
  3327. }, { "style": { "height": "36px" } }).form; //创建窗体
  3328. _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); } }
  3329. break;
  3330. case "note":
  3331. _formdiv = new U.UF.UI.form(
  3332. "便签分类",
  3333. $$("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 }), {
  3334. "id": "note",
  3335. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3336. "onresize": function () { }
  3337. }, {
  3338. closecallback: function () { }
  3339. }, { "style": { "height": "36px" } }).form; //创建窗体
  3340. _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); } }
  3341. break;
  3342. // case "score":
  3343. // _formdiv = new U.UF.UI.form(
  3344. // "量规评分",
  3345. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3346. // "id": "score",
  3347. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3348. // "onresize": function() {}
  3349. // }, {
  3350. // closecallback: function() {}
  3351. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3352. // _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); } }
  3353. // break;
  3354. case "mind":
  3355. _formdiv = new U.UF.UI.form(
  3356. "思维导图",
  3357. $$("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"
  3358. "id": "mind",
  3359. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3360. "onresize": function () { }
  3361. }, {
  3362. closecallback: function () { }
  3363. }, { "style": { "height": "36px" } }).form; //创建窗体
  3364. _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); } }
  3365. break;
  3366. case "doc":
  3367. // U.MD.D.I.isRoom();
  3368. _formdiv = new U.UF.UI.form(
  3369. "协同文档",
  3370. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3371. "id": "doc",
  3372. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3373. "onresize": function () { }
  3374. }, {
  3375. closecallback: function () { }
  3376. }, { "style": { "height": "36px" } }).form; //创建窗体
  3377. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3378. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3379. // })
  3380. _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); } }
  3381. break;
  3382. case "studentStudy":
  3383. _formdiv = new U.UF.UI.form(
  3384. "课程中心",
  3385. $$("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
  3386. "id": "studentStudy",
  3387. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3388. "onresize": function () { }
  3389. }, {
  3390. closecallback: function () { }
  3391. }, { "style": { "height": "36px" } }).form; //创建窗体
  3392. _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); } }
  3393. break;
  3394. case "train": //好友打开
  3395. _formdiv = new U.UF.UI.form(
  3396. "训练平台",
  3397. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3398. "id": "train",
  3399. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3400. "onresize": function () { }
  3401. }, {
  3402. closecallback: function () { }
  3403. }, { "style": { "height": "36px" } }).form; //创建窗体
  3404. _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); } }
  3405. break;
  3406. case "mindNetwork": //好友打开
  3407. _formdiv = new U.UF.UI.form(
  3408. "思维网格",
  3409. $$("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 }), {
  3410. "id": "mindNetwork",
  3411. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3412. "onresize": function () { }
  3413. }, {
  3414. closecallback: function () { }
  3415. }, { "style": { "height": "36px" } }).form; //创建窗体
  3416. _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); } }
  3417. break;
  3418. case "studentClassRoom": //好友打开
  3419. _formdiv = new U.UF.UI.form(
  3420. "实时课堂",
  3421. $$("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 }), {
  3422. "id": "studentClassRoom",
  3423. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3424. "onresize": function () { }
  3425. }, {
  3426. closecallback: function () { }
  3427. }, { "style": { "height": "36px" } }).form; //创建窗体
  3428. _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); } }
  3429. setTimeout(() => {
  3430. U.UF.F.windowZooming(_formdiv)
  3431. }, 0);
  3432. break;
  3433. }
  3434. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3435. switch (str) {
  3436. case "studnetProject": //好友打开
  3437. _formdiv = new U.UF.UI.form(
  3438. "我的项目",
  3439. $$("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 }), {
  3440. "id": "studnetProject",
  3441. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3442. "onresize": function () { }
  3443. }, {
  3444. closecallback: function () { }
  3445. }, { "style": { "height": "36px" } }).form; //创建窗体
  3446. _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); } }
  3447. break;
  3448. case "studentEvaluate": //好友打开
  3449. _formdiv = new U.UF.UI.form(
  3450. "我的评价",
  3451. $$("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 }), {
  3452. "id": "studentEvaluate",
  3453. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3454. "onresize": function () { }
  3455. }, {
  3456. closecallback: function () { }
  3457. }, { "style": { "height": "36px" } }).form; //创建窗体
  3458. _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); } }
  3459. break;
  3460. case "my":
  3461. _formdiv = new U.UF.UI.form(
  3462. "我的资料",
  3463. $$("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 }), {
  3464. "id": "my",
  3465. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3466. "onresize": function () { }
  3467. }, {
  3468. closecallback: function () { }
  3469. }, { "style": { "height": "36px" } }).form; //创建窗体
  3470. _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); } }
  3471. break;
  3472. case "program":
  3473. _formdiv = new U.UF.UI.form(
  3474. "编程平台",
  3475. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3476. "id": "program",
  3477. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3478. "onresize": function () { }
  3479. }, {
  3480. closecallback: function () { }
  3481. }, { "style": { "height": "36px" } }).form; //创建窗体
  3482. _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); } }
  3483. break;
  3484. case "library":
  3485. _formdiv = new U.UF.UI.form(
  3486. "素材库",
  3487. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  3488. "id": "library",
  3489. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3490. "onresize": function () { }
  3491. }, {
  3492. closecallback: function () { }
  3493. }, { "style": { "height": "36px" } }).form; //创建窗体
  3494. _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); } }
  3495. break;
  3496. case "whiteboard":
  3497. _formdiv = new U.UF.UI.form(
  3498. "电子白板",
  3499. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3500. "id": "whiteboard",
  3501. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3502. "onresize": function () { }
  3503. }, {
  3504. closecallback: function () { }
  3505. }, { "style": { "height": "36px" } }).form; //创建窗体
  3506. _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); } }
  3507. break;
  3508. case "investigation":
  3509. _formdiv = new U.UF.UI.form(
  3510. "问卷调查",
  3511. $$("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 }), {
  3512. "id": "investigation",
  3513. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3514. "onresize": function () { }
  3515. }, {
  3516. closecallback: function () { }
  3517. }, { "style": { "height": "36px" } }).form; //创建窗体
  3518. _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); } }
  3519. break;
  3520. case "note":
  3521. _formdiv = new U.UF.UI.form(
  3522. "便签分类",
  3523. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3524. "id": "note",
  3525. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3526. "onresize": function () { }
  3527. }, {
  3528. closecallback: function () { }
  3529. }, { "style": { "height": "36px" } }).form; //创建窗体
  3530. _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); } }
  3531. break;
  3532. // case "score":
  3533. // _formdiv = new U.UF.UI.form(
  3534. // "量规评分",
  3535. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3536. // "id": "score",
  3537. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3538. // "onresize": function() {}
  3539. // }, {
  3540. // closecallback: function() {}
  3541. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3542. // _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); } }
  3543. // break;
  3544. case "mind":
  3545. _formdiv = new U.UF.UI.form(
  3546. "思维导图",
  3547. $$("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"
  3548. "id": "mind",
  3549. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3550. "onresize": function () { }
  3551. }, {
  3552. closecallback: function () { }
  3553. }, { "style": { "height": "36px" } }).form; //创建窗体
  3554. _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); } }
  3555. break;
  3556. case "doc":
  3557. // U.MD.D.I.isRoom();
  3558. _formdiv = new U.UF.UI.form(
  3559. "协同文档",
  3560. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3561. "id": "doc",
  3562. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3563. "onresize": function () { }
  3564. }, {
  3565. closecallback: function () { }
  3566. }, { "style": { "height": "36px" } }).form; //创建窗体
  3567. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3568. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3569. })
  3570. _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); } }
  3571. break;
  3572. case "train": //好友打开
  3573. _formdiv = new U.UF.UI.form(
  3574. "训练平台",
  3575. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3576. "id": "train",
  3577. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3578. "onresize": function () { }
  3579. }, {
  3580. closecallback: function () { }
  3581. }, { "style": { "height": "36px" } }).form; //创建窗体
  3582. _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); } }
  3583. break;
  3584. case "studentStudy":
  3585. _formdiv = new U.UF.UI.form(
  3586. "课程中心",
  3587. $$("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
  3588. "id": "studentStudy",
  3589. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3590. "onresize": function () { }
  3591. }, {
  3592. closecallback: function () { }
  3593. }, { "style": { "height": "36px" } }).form; //创建窗体
  3594. _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); } }
  3595. break;
  3596. case "mindNetwork": //好友打开
  3597. _formdiv = new U.UF.UI.form(
  3598. "思维网格",
  3599. $$("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 }), {
  3600. "id": "mindNetwork",
  3601. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3602. "onresize": function () { }
  3603. }, {
  3604. closecallback: function () { }
  3605. }, { "style": { "height": "36px" } }).form; //创建窗体
  3606. _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); } }
  3607. break;
  3608. case "studentClassRoom": //好友打开
  3609. _formdiv = new U.UF.UI.form(
  3610. "实时课堂",
  3611. $$("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 }), {
  3612. "id": "studentClassRoom",
  3613. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3614. "onresize": function () { }
  3615. }, {
  3616. closecallback: function () { }
  3617. }, { "style": { "height": "36px" } }).form; //创建窗体
  3618. _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); } }
  3619. setTimeout(() => {
  3620. U.UF.F.windowZooming(_formdiv)
  3621. }, 0);
  3622. break;
  3623. }
  3624. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3625. //选择应用处理
  3626. switch (str) {
  3627. case "project": //好友打开
  3628. _formdiv = new U.UF.UI.form(
  3629. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3630. $$("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 }), {
  3631. "id": "project",
  3632. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3633. "onresize": function () { }
  3634. }, {
  3635. closecallback: function () { }
  3636. }, { "style": { "height": "36px" } }).form; //创建窗体
  3637. _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); } }
  3638. break;
  3639. case "student":
  3640. _formdiv = new U.UF.UI.form(
  3641. "学生管理",
  3642. $$("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 }), {
  3643. "id": "student",
  3644. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3645. "onresize": function () { }
  3646. }, {
  3647. closecallback: function () { }
  3648. }, { "style": { "height": "36px" } }).form; //创建窗体
  3649. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3650. break;
  3651. case "evaluate":
  3652. _formdiv = new U.UF.UI.form(
  3653. "学生评价",
  3654. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3655. "id": "evaluate",
  3656. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3657. "onresize": function () { }
  3658. }, {
  3659. closecallback: function () { }
  3660. }, { "style": { "height": "36px" } }).form; //创建窗体
  3661. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3662. break;
  3663. case "sys":
  3664. _formdiv = new U.UF.UI.form(
  3665. "目标管理",
  3666. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3667. "id": "sys",
  3668. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3669. "onresize": function () { }
  3670. }, {
  3671. closecallback: function () { }
  3672. }, { "style": { "height": "36px" } }).form; //创建窗体
  3673. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3674. break;
  3675. case "courseDesign":
  3676. _formdiv = new U.UF.UI.form(
  3677. "项目设计",
  3678. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3679. "id": "courseDesign",
  3680. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3681. "onresize": function () { }
  3682. }, {
  3683. closecallback: function () { }
  3684. }, { "style": { "height": "36px" } }).form; //创建窗体
  3685. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3686. break;
  3687. case "program":
  3688. _formdiv = new U.UF.UI.form(
  3689. "编程平台",
  3690. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3691. "id": "program",
  3692. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3693. "onresize": function () { }
  3694. }, {
  3695. closecallback: function () { }
  3696. }, { "style": { "height": "36px" } }).form; //创建窗体
  3697. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3698. break;
  3699. case "class":
  3700. _formdiv = new U.UF.UI.form(
  3701. "班级管理",
  3702. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/class?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3703. "id": "class",
  3704. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3705. "onresize": function () { }
  3706. }, {
  3707. closecallback: function () { }
  3708. }, { "style": { "height": "36px" } }).form; //创建窗体
  3709. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3710. break;
  3711. case "Grade":
  3712. _formdiv = new U.UF.UI.form(
  3713. "年级管理",
  3714. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/grade?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3715. "id": "Grade",
  3716. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3717. "onresize": function () { }
  3718. }, {
  3719. closecallback: function () { }
  3720. }, { "style": { "height": "36px" } }).form; //创建窗体
  3721. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Grade.png)" }, "name": "年级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3722. break;
  3723. case "teacherOffice":
  3724. _formdiv = new U.UF.UI.form(
  3725. "教研室",
  3726. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherOffice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3727. "id": "teacherOffice",
  3728. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3729. "onresize": function () { }
  3730. }, {
  3731. closecallback: function () { }
  3732. }, { "style": { "height": "36px" } }).form; //创建窗体
  3733. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "教研室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3734. break;
  3735. case "my":
  3736. _formdiv = new U.UF.UI.form(
  3737. "我的资料",
  3738. $$("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 }), {
  3739. "id": "my",
  3740. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3741. "onresize": function () { }
  3742. }, {
  3743. closecallback: function () { }
  3744. }, { "style": { "height": "36px" } }).form; //创建窗体
  3745. _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); } }
  3746. break;
  3747. case "notice":
  3748. _formdiv = new U.UF.UI.form(
  3749. "通知公告",
  3750. $$("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 }), {
  3751. "id": "notice",
  3752. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3753. "onresize": function () { }
  3754. }, {
  3755. closecallback: function () { }
  3756. }, { "style": { "height": "36px" } }).form; //创建窗体
  3757. _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); } }
  3758. break;
  3759. case "library":
  3760. _formdiv = new U.UF.UI.form(
  3761. "素材库",
  3762. $$("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 }), {
  3763. "id": "library",
  3764. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3765. "onresize": function () { }
  3766. }, {
  3767. closecallback: function () { }
  3768. }, { "style": { "height": "36px" } }).form; //创建窗体
  3769. _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); } }
  3770. break;
  3771. case "whiteboard":
  3772. _formdiv = new U.UF.UI.form(
  3773. "电子白板",
  3774. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3775. "id": "whiteboard",
  3776. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3777. "onresize": function () { }
  3778. }, {
  3779. closecallback: function () { }
  3780. }, { "style": { "height": "36px" } }).form; //创建窗体
  3781. _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); } }
  3782. break;
  3783. case "investigation":
  3784. _formdiv = new U.UF.UI.form(
  3785. "问卷调查",
  3786. $$("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 }), {
  3787. "id": "investigation",
  3788. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3789. "onresize": function () { }
  3790. }, {
  3791. closecallback: function () { }
  3792. }, { "style": { "height": "36px" } }).form; //创建窗体
  3793. _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); } }
  3794. break;
  3795. case "note":
  3796. _formdiv = new U.UF.UI.form(
  3797. "便签分类",
  3798. $$("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 }), {
  3799. "id": "note",
  3800. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3801. "onresize": function () { }
  3802. }, {
  3803. closecallback: function () { }
  3804. }, { "style": { "height": "36px" } }).form; //创建窗体
  3805. _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); } }
  3806. break;
  3807. // case "score":
  3808. // _formdiv = new U.UF.UI.form(
  3809. // "量规评分",
  3810. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3811. // "id": "score",
  3812. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3813. // "onresize": function() {}
  3814. // }, {
  3815. // closecallback: function() {}
  3816. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3817. // _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); } }
  3818. // break;
  3819. case "mind":
  3820. _formdiv = new U.UF.UI.form(
  3821. "思维导图",
  3822. $$("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"
  3823. "id": "mind",
  3824. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3825. "onresize": function () { }
  3826. }, {
  3827. closecallback: function () { }
  3828. }, { "style": { "height": "36px" } }).form; //创建窗体
  3829. _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); } }
  3830. break;
  3831. case "doc":
  3832. // U.MD.D.I.isRoom();
  3833. _formdiv = new U.UF.UI.form(
  3834. "协同文档",
  3835. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3836. "id": "doc",
  3837. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3838. "onresize": function () { }
  3839. }, {
  3840. closecallback: function () { }
  3841. }, { "style": { "height": "36px" } }).form; //创建窗体
  3842. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3843. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3844. })
  3845. _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); } }
  3846. break;
  3847. case "study":
  3848. _formdiv = new U.UF.UI.form(
  3849. "课程中心",
  3850. $$("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
  3851. "id": "study",
  3852. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3853. "onresize": function () { }
  3854. }, {
  3855. closecallback: function () { }
  3856. }, { "style": { "height": "36px" } }).form; //创建窗体
  3857. _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); } }
  3858. break;
  3859. case "mindNetwork": //好友打开
  3860. _formdiv = new U.UF.UI.form(
  3861. "思维网格",
  3862. $$("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 }), {
  3863. "id": "mindNetwork",
  3864. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3865. "onresize": function () { }
  3866. }, {
  3867. closecallback: function () { }
  3868. }, { "style": { "height": "36px" } }).form; //创建窗体
  3869. _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); } }
  3870. break;
  3871. case "train": //好友打开
  3872. _formdiv = new U.UF.UI.form(
  3873. "训练平台",
  3874. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3875. "id": "mindNetwork",
  3876. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3877. "onresize": function () { }
  3878. }, {
  3879. closecallback: function () { }
  3880. }, { "style": { "height": "36px" } }).form; //创建窗体
  3881. _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); } }
  3882. break;
  3883. case "teacherClassRoom": //好友打开
  3884. _formdiv = new U.UF.UI.form(
  3885. "实时课堂",
  3886. $$("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 }), {
  3887. "id": "teacherClassRoom",
  3888. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3889. "onresize": function () { }
  3890. }, {
  3891. closecallback: function () { }
  3892. }, { "style": { "height": "36px" } }).form; //创建窗体
  3893. _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); } }
  3894. setTimeout(() => {
  3895. U.UF.F.windowZooming(_formdiv)
  3896. }, 0);
  3897. break;
  3898. }
  3899. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3900. switch (str) {
  3901. case "project": //好友打开
  3902. _formdiv = new U.UF.UI.form(
  3903. "课程管理",
  3904. $$("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 }), {
  3905. "id": "project",
  3906. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3907. "onresize": function () { }
  3908. }, {
  3909. closecallback: function () { }
  3910. }, { "style": { "height": "36px" } }).form; //创建窗体
  3911. _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); } }
  3912. break;
  3913. case "evaluate":
  3914. _formdiv = new U.UF.UI.form(
  3915. "学生评价",
  3916. $$("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 }), {
  3917. "id": "evaluate",
  3918. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3919. "onresize": function () { }
  3920. }, {
  3921. closecallback: function () { }
  3922. }, { "style": { "height": "36px" } }).form; //创建窗体
  3923. _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); } }
  3924. break;
  3925. case "notice":
  3926. _formdiv = new U.UF.UI.form(
  3927. "通知公告",
  3928. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  3929. "id": "notice",
  3930. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3931. "onresize": function () { }
  3932. }, {
  3933. closecallback: function () { }
  3934. }, { "style": { "height": "36px" } }).form; //创建窗体
  3935. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3936. break;
  3937. case "stuLibrary":
  3938. _formdiv = new U.UF.UI.form(
  3939. "学习资料",
  3940. $$("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 }), {
  3941. "id": "stuLibrary",
  3942. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3943. "onresize": function () { }
  3944. }, {
  3945. closecallback: function () { }
  3946. }, { "style": { "height": "36px" } }).form; //创建窗体
  3947. _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); } }
  3948. break;
  3949. case "program":
  3950. _formdiv = new U.UF.UI.form(
  3951. "编程平台",
  3952. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3953. "id": "program",
  3954. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3955. "onresize": function () { }
  3956. }, {
  3957. closecallback: function () { }
  3958. }, { "style": { "height": "36px" } }).form; //创建窗体
  3959. _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); } }
  3960. break;
  3961. case "whiteboard":
  3962. _formdiv = new U.UF.UI.form(
  3963. "电子白板",
  3964. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3965. "id": "whiteboard",
  3966. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3967. "onresize": function () { }
  3968. }, {
  3969. closecallback: function () { }
  3970. }, { "style": { "height": "36px" } }).form; //创建窗体
  3971. _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); } }
  3972. break;
  3973. case "investigation":
  3974. _formdiv = new U.UF.UI.form(
  3975. "问卷调查",
  3976. $$("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 }), {
  3977. "id": "investigation",
  3978. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3979. "onresize": function () { }
  3980. }, {
  3981. closecallback: function () { }
  3982. }, { "style": { "height": "36px" } }).form; //创建窗体
  3983. _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); } }
  3984. break;
  3985. case "mind":
  3986. _formdiv = new U.UF.UI.form(
  3987. "思维导图",
  3988. $$("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"
  3989. "id": "mind",
  3990. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3991. "onresize": function () { }
  3992. }, {
  3993. closecallback: function () { }
  3994. }, { "style": { "height": "36px" } }).form; //创建窗体
  3995. _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); } }
  3996. break;
  3997. case "doc":
  3998. // U.MD.D.I.isRoom();
  3999. _formdiv = new U.UF.UI.form(
  4000. "协同文档",
  4001. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4002. "id": "doc",
  4003. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4004. "onresize": function () { }
  4005. }, {
  4006. closecallback: function () { }
  4007. }, { "style": { "height": "36px" } }).form; //创建窗体
  4008. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4009. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4010. })
  4011. _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); } }
  4012. break;
  4013. case "study":
  4014. _formdiv = new U.UF.UI.form(
  4015. "课程中心",
  4016. $$("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
  4017. "id": "study",
  4018. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4024. break;
  4025. case "mindNetwork": //好友打开
  4026. _formdiv = new U.UF.UI.form(
  4027. "思维网格",
  4028. $$("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 }), {
  4029. "id": "mindNetwork",
  4030. "style": { "width": "90%", "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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4036. break;
  4037. case "train": //好友打开
  4038. _formdiv = new U.UF.UI.form(
  4039. "训练平台",
  4040. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4041. "id": "train",
  4042. "style": { "width": "90%", "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/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4048. break;
  4049. case "sys":
  4050. _formdiv = new U.UF.UI.form(
  4051. "目标管理",
  4052. $$("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 }), {
  4053. "id": "sys",
  4054. "style": { "width": "100%", "height": "100%", "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/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4060. break;
  4061. case "courseDesign":
  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": "/course-design-vue" }), {
  4065. "id": "courseDesign",
  4066. "style": { "width": "90%", "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/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4072. break;
  4073. }
  4074. } else if (!_type) {
  4075. switch (str) {
  4076. case "my":
  4077. _formdiv = new U.UF.UI.form(
  4078. "我的资料",
  4079. $$("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 }), {
  4080. "id": "my",
  4081. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4082. "onresize": function () { }
  4083. }, {
  4084. closecallback: function () { }
  4085. }, { "style": { "height": "36px" } }).form; //创建窗体
  4086. _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); } }
  4087. break;
  4088. }
  4089. }
  4090. switch (str) {
  4091. // AIprogram2 AI体验 aihub.cocorobo.cn
  4092. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  4093. // AIprogram AI编程 ai-blockly.cocorobo.cn
  4094. case "formulaEdi": //公式编辑
  4095. _formdiv = new U.UF.UI.form(
  4096. "公式编辑",
  4097. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  4098. "id": "formulaEdi",
  4099. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4100. "onresize": function () { }
  4101. }, {
  4102. closecallback: function () { }
  4103. }, { "style": { "height": "36px" } }).form; //创建窗体
  4104. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4105. break;
  4106. case "molStr": //分子结构
  4107. _formdiv = new U.UF.UI.form(
  4108. "分子结构",
  4109. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  4110. "id": "molStr",
  4111. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4112. "onresize": function () { }
  4113. }, {
  4114. closecallback: function () { }
  4115. }, { "style": { "height": "36px" } }).form; //创建窗体
  4116. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4117. break;
  4118. case "timeAxis": //时间轴
  4119. _formdiv = new U.UF.UI.form(
  4120. "时间轴",
  4121. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  4122. "id": "timeAxis",
  4123. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4124. "onresize": function () { }
  4125. }, {
  4126. closecallback: function () { }
  4127. }, { "style": { "height": "36px" } }).form; //创建窗体
  4128. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4129. break;
  4130. case "AIprogram2": //AI体验
  4131. _formdiv = new U.UF.UI.form(
  4132. "AI体验",
  4133. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  4134. "id": "AIprogram2",
  4135. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4136. "onresize": function () { }
  4137. }, {
  4138. closecallback: function () { }
  4139. }, { "style": { "height": "36px" } }).form; //创建窗体
  4140. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI体验", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4141. break;
  4142. case "Pythonprogram": //python编程
  4143. _formdiv = new U.UF.UI.form(
  4144. "Python编程",
  4145. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  4146. "id": "Pythonprogram",
  4147. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4148. "onresize": function () { }
  4149. }, {
  4150. closecallback: function () { }
  4151. }, { "style": { "height": "36px" } }).form; //创建窗体
  4152. _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); } }
  4153. break;
  4154. case "AIprogram": //ai编程
  4155. _formdiv = new U.UF.UI.form(
  4156. "AI编程平台",
  4157. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4158. "id": "AIprogram",
  4159. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4160. "onresize": function () { }
  4161. }, {
  4162. closecallback: function () { }
  4163. }, { "style": { "height": "36px" } }).form; //创建窗体
  4164. _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); } }
  4165. break;
  4166. case "CocoPi": //CocoPi
  4167. _formdiv = new U.UF.UI.form(
  4168. "CocoPi",
  4169. $$("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" }), {
  4170. "id": "CocoPi",
  4171. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4172. "onresize": function () { }
  4173. }, {
  4174. closecallback: function () { }
  4175. }, { "style": { "height": "36px" } }).form; //创建窗体
  4176. _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); } }
  4177. break;
  4178. case "Wood": //Wood
  4179. _formdiv = new U.UF.UI.form(
  4180. "海龟编程",
  4181. $$("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/" }), {
  4182. "id": "Wood",
  4183. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4184. "onresize": function () { }
  4185. }, {
  4186. closecallback: function () { }
  4187. }, { "style": { "height": "36px" } }).form; //创建窗体
  4188. _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); } }
  4189. break;
  4190. case "car": //模拟驾驶
  4191. _formdiv = new U.UF.UI.form(
  4192. "模拟驾驶",
  4193. $$("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/" }), {
  4194. "id": "car",
  4195. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4196. "onresize": function () { }
  4197. }, {
  4198. closecallback: function () { }
  4199. }, { "style": { "height": "36px" } }).form; //创建窗体
  4200. _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); } }
  4201. break;
  4202. case "lineSearch": //路径搜索
  4203. _formdiv = new U.UF.UI.form(
  4204. "路径搜索",
  4205. $$("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/" }), {
  4206. "id": "lineSearch",
  4207. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4208. "onresize": function () { }
  4209. }, {
  4210. closecallback: function () { }
  4211. }, { "style": { "height": "36px" } }).form; //创建窗体
  4212. _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); } }
  4213. break;
  4214. case "deepLearning": //深度学习
  4215. _formdiv = new U.UF.UI.form(
  4216. "深度学习",
  4217. $$("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/#" }), {
  4218. "id": "deepLearning",
  4219. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4220. "onresize": function () { }
  4221. }, {
  4222. closecallback: function () { }
  4223. }, { "style": { "height": "36px" } }).form; //创建窗体
  4224. _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); } }
  4225. break;
  4226. case "allHistory": //深度学习
  4227. _formdiv = new U.UF.UI.form(
  4228. "全历史",
  4229. $$("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/" }), {
  4230. "id": "allHistory",
  4231. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4232. "onresize": function () { }
  4233. }, {
  4234. closecallback: function () { }
  4235. }, { "style": { "height": "36px" } }).form; //创建窗体
  4236. _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); } }
  4237. break;
  4238. case "chatPDF": //ai编程
  4239. _formdiv = new U.UF.UI.form(
  4240. "chatPDF",
  4241. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4242. "id": "chatPDF",
  4243. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4244. "onresize": function () { }
  4245. }, {
  4246. closecallback: function () { }
  4247. }, { "style": { "height": "36px" } }).form; //创建窗体
  4248. _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); } }
  4249. break;
  4250. case "resources": //国家教育
  4251. _formdiv = new U.UF.UI.form(
  4252. "国家教育",
  4253. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4254. "id": "resources",
  4255. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4256. "onresize": function () { }
  4257. }, {
  4258. closecallback: function () { }
  4259. }, { "style": { "height": "36px" } }).form; //创建窗体
  4260. _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); } }
  4261. break;
  4262. case "codeEdit": //源码编辑
  4263. _formdiv = new U.UF.UI.form(
  4264. "源码编辑",
  4265. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4266. "id": "codeEdit",
  4267. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4268. "onresize": function () { }
  4269. }, {
  4270. closecallback: function () { }
  4271. }, { "style": { "height": "36px" } }).form; //创建窗体
  4272. _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); } }
  4273. break; //
  4274. case "MindMap": //MindMap
  4275. _formdiv = new U.UF.UI.form(
  4276. "MindMap",
  4277. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4278. "id": "MindMap",
  4279. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4280. "onresize": function () { }
  4281. }, {
  4282. closecallback: function () { }
  4283. }, { "style": { "height": "36px" } }).form; //创建窗体
  4284. _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); } }
  4285. break;
  4286. case "netWorkPanel": //netWorkPanel
  4287. _formdiv = new U.UF.UI.form(
  4288. "netWorkPanel",
  4289. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4290. "id": "netWorkPanel",
  4291. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4292. "onresize": function () { }
  4293. }, {
  4294. closecallback: function () { }
  4295. }, { "style": { "height": "36px" } }).form; //创建窗体
  4296. _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); } }
  4297. break;
  4298. case "GeoGebra": //GeoGebra
  4299. _formdiv = new U.UF.UI.form(
  4300. "GeoGebra",
  4301. $$("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" }), {
  4302. "id": "GeoGebra",
  4303. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4304. "onresize": function () { }
  4305. }, {
  4306. closecallback: function () { }
  4307. }, { "style": { "height": "36px" } }).form; //创建窗体
  4308. _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); } }
  4309. break;
  4310. case "translation": //翻译
  4311. _formdiv = new U.UF.UI.form(
  4312. "翻译",
  4313. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4314. "id": "translation",
  4315. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4316. "onresize": function () { }
  4317. }, {
  4318. closecallback: function () { }
  4319. }, { "style": { "height": "36px" } }).form; //创建窗体
  4320. _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); } }
  4321. break;
  4322. case "mohe": //魔盒
  4323. _formdiv = new U.UF.UI.form(
  4324. "魔盒识字",
  4325. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4326. "id": "mohe",
  4327. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4328. "onresize": function () { }
  4329. }, {
  4330. closecallback: function () { }
  4331. }, { "style": { "height": "36px" } }).form; //创建窗体
  4332. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4333. break;
  4334. case "24game": //24点
  4335. _formdiv = new U.UF.UI.form(
  4336. "24点",
  4337. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4338. "id": "24game",
  4339. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4340. "onresize": function () { }
  4341. }, {
  4342. closecallback: function () { }
  4343. }, { "style": { "height": "36px" } }).form; //创建窗体
  4344. _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); } }
  4345. break;
  4346. case "case":
  4347. _formdiv = new U.UF.UI.form(
  4348. "课程进展",
  4349. $$("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 }), {
  4350. "id": "case",
  4351. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4352. "onresize": function () { }
  4353. }, {
  4354. closecallback: function () { }
  4355. }, { "style": { "height": "36px" } }).form; //创建窗体
  4356. _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); } }
  4357. break;
  4358. case "snf":
  4359. _formdiv = new U.UF.UI.form(
  4360. "赛诺梵",
  4361. $$("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" }), {
  4362. "id": "snf",
  4363. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4364. "onresize": function () { }
  4365. }, {
  4366. closecallback: function () { }
  4367. }, { "style": { "height": "36px" } }).form; //创建窗体
  4368. _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); } }
  4369. break;
  4370. case "hanFamily":
  4371. _formdiv = new U.UF.UI.form(
  4372. "汉字家族",
  4373. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4374. "id": "hanFamily",
  4375. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4376. "onresize": function () { }
  4377. }, {
  4378. closecallback: function () { }
  4379. }, { "style": { "height": "36px" } }).form; //创建窗体
  4380. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4381. break;
  4382. case "hanClassics":
  4383. _formdiv = new U.UF.UI.form(
  4384. "国学经典",
  4385. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4386. "id": "hanClassics",
  4387. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4388. "onresize": function () { }
  4389. }, {
  4390. closecallback: function () { }
  4391. }, { "style": { "height": "36px" } }).form; //创建窗体
  4392. _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); } }
  4393. break;
  4394. case "hanTraining":
  4395. _formdiv = new U.UF.UI.form(
  4396. "笔画训练",
  4397. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4398. "id": "hanTraining",
  4399. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4400. "onresize": function () { }
  4401. }, {
  4402. closecallback: function () { }
  4403. }, { "style": { "height": "36px" } }).form; //创建窗体
  4404. _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); } }
  4405. break;
  4406. case "hanClass":
  4407. _formdiv = new U.UF.UI.form(
  4408. "书法课堂",
  4409. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4410. "id": "hanClass",
  4411. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4412. "onresize": function () { }
  4413. }, {
  4414. closecallback: function () { }
  4415. }, { "style": { "height": "36px" } }).form; //创建窗体
  4416. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4417. break;
  4418. case "han":
  4419. _formdiv = new U.UF.UI.form(
  4420. "汉字宫",
  4421. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4422. "id": "han",
  4423. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4424. "onresize": function () { }
  4425. }, {
  4426. closecallback: function () { }
  4427. }, { "style": { "height": "36px" } }).form; //创建窗体
  4428. _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); } }
  4429. break;
  4430. case "projectGM": //课程管理
  4431. _formdiv = new U.UF.UI.form(
  4432. "课程管理",
  4433. $$("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 }), {
  4434. "id": "projectGM",
  4435. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4436. "onresize": function () { }
  4437. }, {
  4438. closecallback: function () { }
  4439. }, { "style": { "height": "36px" } }).form; //创建窗体
  4440. _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); } }
  4441. break;
  4442. case "studyGM": //课程中心
  4443. _formdiv = new U.UF.UI.form(
  4444. "课程中心",
  4445. $$("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
  4446. "id": "study",
  4447. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4448. "onresize": function () { }
  4449. }, {
  4450. closecallback: function () { }
  4451. }, { "style": { "height": "36px" } }).form; //创建窗体
  4452. _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); } }
  4453. break;
  4454. // studentGM
  4455. case "studentGM": //学生管理
  4456. _formdiv = new U.UF.UI.form(
  4457. "学生管理",
  4458. $$("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 }), {
  4459. "id": "studentGM",
  4460. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4461. "onresize": function () { }
  4462. }, {
  4463. closecallback: function () { }
  4464. }, { "style": { "height": "36px" } }).form; //创建窗体
  4465. _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); } }
  4466. break;
  4467. case "evaluateGM": //学生评价
  4468. _formdiv = new U.UF.UI.form(
  4469. "学生评价",
  4470. $$("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 }), {
  4471. "id": "evaluateGM",
  4472. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4473. "onresize": function () { }
  4474. }, {
  4475. closecallback: function () { }
  4476. }, { "style": { "height": "36px" } }).form; //创建窗体
  4477. _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); } }
  4478. break;
  4479. // classGM
  4480. case "classGM": //班级管理
  4481. _formdiv = new U.UF.UI.form(
  4482. "班级管理",
  4483. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/classGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4484. "id": "classGM",
  4485. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4486. "onresize": function () { }
  4487. }, {
  4488. closecallback: function () { }
  4489. }, { "style": { "height": "36px" } }).form; //创建窗体
  4490. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4491. break;
  4492. // dataGM
  4493. case "dataGM":
  4494. _formdiv = new U.UF.UI.form(
  4495. "我的资料",
  4496. $$("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 }), {
  4497. "id": "dataGM",
  4498. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4499. "onresize": function () { }
  4500. }, {
  4501. closecallback: function () { }
  4502. }, { "style": { "height": "36px" } }).form; //创建窗体
  4503. _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); } }
  4504. break;
  4505. // caseGM
  4506. case "caseGM": //课程进展
  4507. _formdiv = new U.UF.UI.form(
  4508. "课程进展",
  4509. $$("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 }), {
  4510. "id": "caseGM",
  4511. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4512. "onresize": function () { }
  4513. }, {
  4514. closecallback: function () { }
  4515. }, { "style": { "height": "36px" } }).form; //创建窗体
  4516. _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); } }
  4517. break;
  4518. // meterialGM
  4519. case "meterialGM": //素材库
  4520. _formdiv = new U.UF.UI.form(
  4521. "素材库",
  4522. $$("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 }), {
  4523. "id": "meterialGM",
  4524. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4525. "onresize": function () { }
  4526. }, {
  4527. closecallback: function () { }
  4528. }, { "style": { "height": "36px" } }).form; //创建窗体
  4529. _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); } }
  4530. break;
  4531. // evaluateSGM
  4532. case "evaluateSGM": //我的评价
  4533. _formdiv = new U.UF.UI.form(
  4534. "我的评价",
  4535. $$("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 }), {
  4536. "id": "evaluateSGM",
  4537. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4538. "onresize": function () { }
  4539. }, {
  4540. closecallback: function () { }
  4541. }, { "style": { "height": "36px" } }).form; //创建窗体
  4542. _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); } }
  4543. break;
  4544. case "jupyter": //jupyter
  4545. _formdiv = new U.UF.UI.form(
  4546. "jupyter",
  4547. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4548. "id": "jupyter",
  4549. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4550. "onresize": function () { }
  4551. }, {
  4552. closecallback: function () { }
  4553. }, { "style": { "height": "36px" } }).form; //创建窗体
  4554. _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); } }
  4555. break;
  4556. case "number": //数字实验室
  4557. _formdiv = new U.UF.UI.form(
  4558. "数字实验室",
  4559. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4560. "id": "number",
  4561. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4562. "onresize": function () { }
  4563. }, {
  4564. closecallback: function () { }
  4565. }, { "style": { "height": "36px" } }).form; //创建窗体
  4566. _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); } }
  4567. break;
  4568. case "studentCourse": //项目管理 学生
  4569. _formdiv = new U.UF.UI.form(
  4570. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4571. $$("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 }), {
  4572. "id": "studentCourse",
  4573. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4574. "onresize": function () { }
  4575. }, {
  4576. closecallback: function () { }
  4577. }, { "style": { "height": "36px" } }).form; //创建窗体
  4578. _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); } }
  4579. break;
  4580. case "studentCourseS": //项目管理 老师
  4581. _formdiv = new U.UF.UI.form(
  4582. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4583. $$("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 }), {
  4584. "id": "studentCourseS",
  4585. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4586. "onresize": function () { }
  4587. }, {
  4588. closecallback: function () { }
  4589. }, { "style": { "height": "36px" } }).form; //创建窗体
  4590. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4591. break;
  4592. case "studentIndex": //项目中心
  4593. _formdiv = new U.UF.UI.form(
  4594. "项目中心",
  4595. $$("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 }), {
  4596. "id": "studentIndex",
  4597. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4598. "onresize": function () { }
  4599. }, {
  4600. closecallback: function () { }
  4601. }, { "style": { "height": "36px" } }).form; //创建窗体
  4602. _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); } }
  4603. break;
  4604. case "CaseDesignS":
  4605. _formdiv = new U.UF.UI.form(
  4606. "项目进展",
  4607. $$("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 }), {
  4608. "id": "case",
  4609. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4610. "onresize": function () { }
  4611. }, {
  4612. closecallback: function () { }
  4613. }, { "style": { "height": "36px" } }).form; //创建窗体
  4614. _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); } }
  4615. break;
  4616. case "tcStudent": //腾讯学生管理
  4617. _formdiv = new U.UF.UI.form(
  4618. "学生管理",
  4619. $$("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 }), {
  4620. "id": "tcStudent",
  4621. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4622. "onresize": function () { }
  4623. }, {
  4624. closecallback: function () { }
  4625. }, { "style": { "height": "36px" } }).form; //创建窗体
  4626. _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); } }
  4627. break;
  4628. case "tcSchool": //腾讯学校管理
  4629. _formdiv = new U.UF.UI.form(
  4630. "学校管理",
  4631. $$("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 }), {
  4632. "id": "tcSchool",
  4633. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4634. "onresize": function () { }
  4635. }, {
  4636. closecallback: function () { }
  4637. }, { "style": { "height": "36px" } }).form; //创建窗体
  4638. _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); } }
  4639. break;
  4640. case "tcTeacher": //腾讯学校管理
  4641. _formdiv = new U.UF.UI.form(
  4642. "教师管理",
  4643. $$("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 }), {
  4644. "id": "tcTeacher",
  4645. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4646. "onresize": function () { }
  4647. }, {
  4648. closecallback: function () { }
  4649. }, { "style": { "height": "36px" } }).form; //创建窗体
  4650. _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); } }
  4651. break;
  4652. case "tcData": //腾讯我的资料
  4653. _formdiv = new U.UF.UI.form(
  4654. "我的资料",
  4655. $$("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 }), {
  4656. "id": "tcData",
  4657. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4658. "onresize": function () { }
  4659. }, {
  4660. closecallback: function () { }
  4661. }, { "style": { "height": "36px" } }).form; //创建窗体
  4662. _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); } }
  4663. break;
  4664. case "tcNotice": //腾讯消息通知
  4665. _formdiv = new U.UF.UI.form(
  4666. "消息通知",
  4667. $$("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 }), {
  4668. "id": "tcNotice",
  4669. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4670. "onresize": function () { }
  4671. }, {
  4672. closecallback: function () { }
  4673. }, { "style": { "height": "36px" } }).form; //创建窗体
  4674. _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); } }
  4675. break;
  4676. case "myReport": //好友打开
  4677. _formdiv = new U.UF.UI.form(
  4678. "我的评价",
  4679. $$("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 }), {
  4680. "id": "myReport",
  4681. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4682. "onresize": function () { }
  4683. }, {
  4684. closecallback: function () { }
  4685. }, { "style": { "height": "36px" } }).form; //创建窗体
  4686. _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); } }
  4687. break;
  4688. case "learnAna": //好友打开
  4689. _formdiv = new U.UF.UI.form(
  4690. "学习分析",
  4691. $$("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 }), {
  4692. "id": "learnAna",
  4693. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4694. "onresize": function () { }
  4695. }, {
  4696. closecallback: function () { }
  4697. }, { "style": { "height": "36px" } }).form; //创建窗体
  4698. _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); } }
  4699. break;
  4700. case "AIChat": //AI共创
  4701. _formdiv = new U.UF.UI.form(
  4702. "AI共创",
  4703. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4704. "id": "AIChat",
  4705. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4706. "onresize": function () { }
  4707. }, {
  4708. istop: true,
  4709. closecallback: function () { $("#aichat_icon").remove(); },
  4710. narrowcallback: function () {
  4711. if (!$("#aichat_icon")[0]) {
  4712. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4713. }
  4714. },
  4715. }, { "style": { "height": "36px" } }).form; //创建窗体
  4716. _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); } }
  4717. break;
  4718. case "ainew": //AI共创
  4719. _formdiv = new U.UF.UI.form(
  4720. "AI协同",
  4721. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4722. "id": "ainew",
  4723. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4724. "onresize": function () { }
  4725. }, {
  4726. closecallback: function () { }
  4727. }, { "style": { "height": "36px" } }).form; //创建窗体
  4728. _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); } }
  4729. break;
  4730. case "gpt4": //gpt4
  4731. _formdiv = new U.UF.UI.form(
  4732. "AI助手",
  4733. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/gpt4/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4734. "id": "gpt4",
  4735. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4736. "onresize": function () { }
  4737. }, {
  4738. closecallback: function () { }
  4739. }, { "style": { "height": "36px" } }).form; //创建窗体
  4740. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpt4.png)" }, "name": "AI助手", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4741. break;
  4742. case "aigpt": //gpt4
  4743. _formdiv = new U.UF.UI.form(
  4744. "AI助手+",
  4745. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aigpt/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4746. "id": "aigpt",
  4747. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4748. "onresize": function () { }
  4749. }, {
  4750. closecallback: function () { }
  4751. }, { "style": { "height": "36px" } }).form; //创建窗体
  4752. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigpt.png)" }, "name": "AI助手+", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4753. break;
  4754. case "futureClass": //AI共创
  4755. _formdiv = new U.UF.UI.form(
  4756. "协同建构",
  4757. $$("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://beta.cscl.cocorobo.cn
  4758. "id": "synergyCourse",
  4759. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4760. "onresize": function () { }
  4761. }, {
  4762. closecallback: function () {
  4763. $("iframe", _formdiv)[0].contentWindow.loginout();
  4764. }
  4765. }, { "style": { "height": "36px" } }).form; //创建窗体
  4766. _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); } }
  4767. break;
  4768. case "aiagent": //ai agent
  4769. _formdiv = new U.UF.UI.form(
  4770. "AI Agent",
  4771. $$("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" }), {
  4772. "id": "AIAgent",
  4773. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4774. "onresize": function () { }
  4775. }, {
  4776. closecallback: function () { }
  4777. }, { "style": { "height": "36px" } }).form; //创建窗体
  4778. _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); } }
  4779. break;
  4780. case "dataBoard": //数据看板
  4781. _formdiv = new U.UF.UI.form(
  4782. "数据看板",
  4783. $$("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 }), {
  4784. "id": "dataBoard",
  4785. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4786. "onresize": function () { }
  4787. }, {
  4788. closecallback: function () { }
  4789. }, { "style": { "height": "36px" } }).form; //创建窗体
  4790. _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); } }
  4791. break;
  4792. case "dataBoardSies": //数据融合
  4793. _formdiv = new U.UF.UI.form(
  4794. "数据融合",
  4795. $$("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 }), {
  4796. "id": "dataBoardSies",
  4797. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4798. "onresize": function () { }
  4799. }, {
  4800. closecallback: function () { }
  4801. }, { "style": { "height": "36px" } }).form; //创建窗体
  4802. _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); } }
  4803. break;
  4804. case "dataBoardNew": //数据看板
  4805. _formdiv = new U.UF.UI.form(
  4806. "综合看板",
  4807. $$("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 }), {
  4808. "id": "dataBoardNew",
  4809. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4810. "onresize": function () { }
  4811. }, {
  4812. closecallback: function () { }
  4813. }, { "style": { "height": "36px" } }).form; //创建窗体
  4814. _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); } }
  4815. break;
  4816. case "dataBoardTest": //数据看板
  4817. _formdiv = new U.UF.UI.form(
  4818. "评测看板",
  4819. $$("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/#/dataBoardTest?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4820. "id": "dataBoardTest",
  4821. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4822. "onresize": function () { }
  4823. }, {
  4824. closecallback: function () { }
  4825. }, { "style": { "height": "36px" } }).form; //创建窗体
  4826. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardTest.png)" }, "name": "评测看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4827. break;
  4828. case "AIAnalyse": //AI共创
  4829. _formdiv = new U.UF.UI.form(
  4830. "AI分析",
  4831. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4832. "id": "AIAnalyse",
  4833. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4834. "onresize": function () { }
  4835. }, {
  4836. closecallback: function () { }
  4837. }, { "style": { "height": "36px" } }).form; //创建窗体
  4838. _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); } }
  4839. break;
  4840. case "studioCourse": //AI共创
  4841. _formdiv = new U.UF.UI.form(
  4842. "工作管理",
  4843. $$("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 }), {
  4844. "id": "studioCourse",
  4845. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4846. "onresize": function () { }
  4847. }, {
  4848. closecallback: function () { }
  4849. }, { "style": { "height": "36px" } }).form; //创建窗体
  4850. _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); } }
  4851. break;
  4852. case "studioIndex": //AI共创
  4853. _formdiv = new U.UF.UI.form(
  4854. "工作中心",
  4855. $$("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 }), {
  4856. "id": "studioIndex",
  4857. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4858. "onresize": function () { }
  4859. }, {
  4860. closecallback: function () { }
  4861. }, { "style": { "height": "36px" } }).form; //创建窗体
  4862. _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); } }
  4863. break;
  4864. case "source":
  4865. _formdiv = new U.UF.UI.form(
  4866. "教学资源",
  4867. $$("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 }), {
  4868. "id": "source",
  4869. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4870. "onresize": function () { }
  4871. }, {
  4872. closecallback: function () { }
  4873. }, { "style": { "height": "36px" } }).form; //创建窗体
  4874. _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); } }
  4875. break;
  4876. case "testTeacher":
  4877. _formdiv = new U.UF.UI.form(
  4878. "评测管理",
  4879. $$("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 }), {
  4880. "id": "testTeacher",
  4881. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4882. "onresize": function () { }
  4883. }, {
  4884. closecallback: function () { }
  4885. }, { "style": { "height": "36px" } }).form; //创建窗体
  4886. _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); } }
  4887. break;
  4888. case "testStudent":
  4889. _formdiv = new U.UF.UI.form(
  4890. "评测中心",
  4891. $$("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 }), {
  4892. "id": "testStudent",
  4893. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4894. "onresize": function () { }
  4895. }, {
  4896. closecallback: function () { }
  4897. }, { "style": { "height": "36px" } }).form; //创建窗体
  4898. _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); } }
  4899. break;
  4900. case "testTeacherSies":
  4901. _formdiv = new U.UF.UI.form(
  4902. "教师管理",
  4903. $$("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 }), {
  4904. "id": "testTeacherSies",
  4905. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4906. "onresize": function () { }
  4907. }, {
  4908. closecallback: function () { }
  4909. }, { "style": { "height": "36px" } }).form; //创建窗体
  4910. _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); } }
  4911. break;
  4912. case "testStudentSies":
  4913. _formdiv = new U.UF.UI.form(
  4914. "教师中心",
  4915. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testPerson?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  4916. "id": "testStudentSies",
  4917. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4918. "onresize": function () { }
  4919. }, {
  4920. closecallback: function () { }
  4921. }, { "style": { "height": "36px" } }).form; //创建窗体
  4922. _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); } }
  4923. break;
  4924. case "ytpbl": //消息通知
  4925. _formdiv = new U.UF.UI.form(
  4926. "案例征集",
  4927. $$("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://pblyt.cocorobo.cn/#/login?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4928. "id": "ytpbl",
  4929. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4930. "onresize": function () { }
  4931. }, {
  4932. closecallback: function () { }
  4933. }, { "style": { "height": "36px" } }).form; //创建窗体
  4934. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpbl2.png)" }, "name": "案例征集", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4935. // window.open("https://gdpbl.cocorobo.cn/#/login", "案例征集", "height=" + US.height + ", width=" + US.width + ", top=100, left=100, toolbar=no, menubar=0, resizable=0, location=0, status=no");
  4936. break;
  4937. }
  4938. //U.MD.D.I.openClick(str);
  4939. //如果有任务栏信息
  4940. if (_taskbar) {
  4941. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4942. }
  4943. }
  4944. // U.MD.D.I.openClick = function(str){
  4945. // var click = '';
  4946. // switch(str){
  4947. // case 'friend':
  4948. // click = '我的好友';
  4949. // break;
  4950. // case 'domain':
  4951. // click = '域名管理';
  4952. // break;
  4953. // case 'disk':
  4954. // click = '我的云盘';
  4955. // break;
  4956. // case 'word':
  4957. // click = 'Word';
  4958. // break;
  4959. // case 'excel':
  4960. // click = 'Execl';
  4961. // break;
  4962. // case 'txt':
  4963. // click = '文本文件';
  4964. // break;
  4965. // case 'lookupFriend':
  4966. // click = '查找好友';
  4967. // break;
  4968. // case 'ftp':
  4969. // click = 'FTP';
  4970. // break;
  4971. // case 'group':
  4972. // click = '群组';
  4973. // break;
  4974. // case 'set':
  4975. // click = '我的设置';
  4976. // break;
  4977. // case 'systemSet':
  4978. // click = '系统设置';
  4979. // break;
  4980. // case 'boomYun':
  4981. // click = '互联办公';
  4982. // break;
  4983. // case 'xz':
  4984. // click = '云端下载';
  4985. // break;
  4986. // case 'client':
  4987. // click = '有思浏览器';
  4988. // break;
  4989. // case 'backEndProgramming':
  4990. // click = '在线后台编程';
  4991. // break;
  4992. // case 'frontEndProgramming':
  4993. // click = '在线前端编程';
  4994. // break;
  4995. // default: break;
  4996. // }
  4997. // if(U.MD.D.I.Ip && click){
  4998. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4999. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  5000. // })
  5001. // }
  5002. // }
  5003. /**
  5004. *函数作用:ajax简易函数,使用post格式
  5005. *@param url {data} 后台地址
  5006. *@param data {data} 参数json
  5007. *@param fn {data} 回调函数
  5008. *
  5009. */
  5010. // U.MD.D.I.Mysqlrequest = function(url,fn){
  5011. // var xhr = new XMLHttpRequest();
  5012. // xhr.open("GET",url,true);
  5013. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  5014. // xhr.onreadystatechange = function(){
  5015. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  5016. // fn.call(this,xhr.responseText);
  5017. // }
  5018. // };
  5019. // xhr.send();
  5020. // }
  5021. /*判断是否是内网IP*/
  5022. // U.MD.D.I.isInnerIPFn = function(str){
  5023. // var curPageUrl = str;
  5024. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  5025. // curPageUrl =curPageUrl.replace(reg1,'');
  5026. // // console.log('curPageUrl-1 '+curPageUrl);
  5027. // var reg2 = /\:+/g;//替换冒号为一点
  5028. // curPageUrl =curPageUrl.replace(reg2,'.');
  5029. // // console.log('curPageUrl-2 '+curPageUrl);
  5030. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  5031. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  5032. // if(curPageUrl[2] != '16'){
  5033. // return ipAddress;
  5034. // }else{
  5035. // return false;
  5036. // }
  5037. // }
  5038. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  5039. // //compatibility for firefox and chrome
  5040. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  5041. // var pc = new myPeerConnection({
  5042. // iceServers: []
  5043. // }),
  5044. // noop = function() {},
  5045. // localIPs = {},
  5046. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  5047. // key;
  5048. // function iterateIP(ip) {
  5049. // if (!localIPs[ip]) onNewIP(ip);
  5050. // localIPs[ip] = true;
  5051. // }
  5052. // //create a bogus data channel
  5053. // pc.createDataChannel("");
  5054. // // create offer and set local description
  5055. // pc.createOffer().then(function(sdp) {
  5056. // sdp.sdp.split('\n').forEach(function(line) {
  5057. // if (line.indexOf('candidate') < 0) return;
  5058. // line.match(ipRegex).forEach(iterateIP);
  5059. // });
  5060. // pc.setLocalDescription(sdp, noop, noop);
  5061. // }).catch(function(reason) {
  5062. // // An error occurred, so handle the failure to connect
  5063. // });
  5064. // //sten for candidate events
  5065. // pc.onicecandidate = function(ice) {
  5066. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  5067. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  5068. // };
  5069. // }
  5070. // U.MD.D.I.getUserIpBool = function(callback){
  5071. // U.MD.D.I.getUserIP(function(ip){
  5072. // alert("Got IP! :" + ip);
  5073. // });
  5074. //}
  5075. //#endregion
  5076. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  5077. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5078. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5079. _userinfo = US.userInfo, //登录用户信息
  5080. _userid = US.userInfo.userid //登录用户id
  5081. let _iframe;
  5082. let _cid = cid,
  5083. _stage = stage,
  5084. _task = task,
  5085. _tool = tool;
  5086. var _jie = $$("div", {
  5087. "style": {
  5088. "position": "absolute",
  5089. "bottom": "50px",
  5090. "right": "50px",
  5091. "zIndex": "9999",
  5092. "backgroundColor": "#2268bc",
  5093. "color": "#fff",
  5094. "padding": "12px 20px",
  5095. "cursor": "pointer",
  5096. "borderRadius": "4px",
  5097. },
  5098. "innerHTML": "提交作业"
  5099. })
  5100. let aTool = ''
  5101. let _loading = document.createElement('div')
  5102. _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;"
  5103. // _loading.id = "";
  5104. let _lchild = document.createElement('div')
  5105. let _limg = document.createElement('img')
  5106. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5107. _limg.style = "width: 26px;margin-right: 10px;"
  5108. _lchild.appendChild(_limg)
  5109. let _lspan = document.createElement('span')
  5110. _lspan.innerHTML = "上传中..."
  5111. _lchild.appendChild(_lspan)
  5112. _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%);"
  5113. _loading.appendChild(_lchild)
  5114. var _box = $$('div', {
  5115. "style": {
  5116. "position": "relative",
  5117. "width": "100%",
  5118. "height": "100%",
  5119. },
  5120. })
  5121. _box.appendChild(_loading)
  5122. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  5123. switch (str) {
  5124. case "whiteboard":
  5125. aTool = 1;
  5126. _iframe = $$("iframe", {
  5127. "frameborder": "no",
  5128. "border": "0",
  5129. "scrolling ": "no",
  5130. "style": {
  5131. "cssText": "border:0;width:100%;height:100%"
  5132. },
  5133. "src": "https://iwb.cocorobo.cn/"
  5134. })
  5135. _box.appendChild(_iframe);
  5136. _box.appendChild(_jie);
  5137. _formdiv = new U.UF.UI.form(
  5138. "电子白板",
  5139. _box, {
  5140. "id": "whiteboard" + cid + stage + task + tool,
  5141. "style": {
  5142. "width": "90%",
  5143. "height": "90%",
  5144. "overflow": 'hidden'
  5145. },
  5146. "onresize": function () { }
  5147. }, {
  5148. closecallback: function () { }
  5149. }, {
  5150. "style": {
  5151. "height": "36px"
  5152. }
  5153. }).form; //创建窗体
  5154. _taskbar = {
  5155. "id": str + _formdiv.id,
  5156. "style": {
  5157. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5158. },
  5159. "name": "电子白板",
  5160. "forms": _formdiv,
  5161. "click": function () {
  5162. U.MD.D.I.openApplication(str, obj, info);
  5163. }
  5164. }
  5165. break;
  5166. case "mind":
  5167. aTool = 3;
  5168. _iframe = $$("iframe", {
  5169. "frameborder": "no",
  5170. "border": "0",
  5171. "scrolling ": "no",
  5172. "style": {
  5173. "cssText": "border:0;width:100%;height:100%"
  5174. },
  5175. "src": "/kityminder-editor/dist/index.html"
  5176. })
  5177. _box.appendChild(_iframe);
  5178. _box.appendChild(_jie);
  5179. _formdiv = new U.UF.UI.form(
  5180. "思维导图",
  5181. _box, { //"/jsmind/example/demo.html"
  5182. "id": "mind" + cid + stage + task + tool,
  5183. "style": {
  5184. "width": "90%",
  5185. "height": "90%",
  5186. "overflow": 'hidden'
  5187. },
  5188. "onresize": function () { }
  5189. }, {
  5190. closecallback: function () { }
  5191. }, {
  5192. "style": {
  5193. "height": "36px"
  5194. }
  5195. }).form; //创建窗体
  5196. _taskbar = {
  5197. "id": str + _formdiv.id,
  5198. "style": {
  5199. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5200. },
  5201. "name": "思维导图",
  5202. "forms": _formdiv,
  5203. "click": function () {
  5204. U.MD.D.I.openApplication(str, obj, info);
  5205. }
  5206. }
  5207. break;
  5208. case "MindMap":
  5209. aTool = 3;
  5210. _iframe = $$("iframe", {
  5211. "frameborder": "no",
  5212. "border": "0",
  5213. "scrolling ": "no",
  5214. "style": {
  5215. "cssText": "border:0;width:100%;height:100%"
  5216. },
  5217. "src": "//cloud.cocorobo.cn/mind/"
  5218. })
  5219. _box.appendChild(_iframe);
  5220. _box.appendChild(_jie);
  5221. _formdiv = new U.UF.UI.form(
  5222. "思维导图",
  5223. _box, { //"/jsmind/example/demo.html"
  5224. "id": "mind" + cid + stage + task + tool,
  5225. "style": {
  5226. "width": "90%",
  5227. "height": "90%",
  5228. "overflow": 'hidden'
  5229. },
  5230. "onresize": function () { }
  5231. }, {
  5232. closecallback: function () { }
  5233. }, {
  5234. "style": {
  5235. "height": "36px"
  5236. }
  5237. }).form; //创建窗体
  5238. _taskbar = {
  5239. "id": str + _formdiv.id,
  5240. "style": {
  5241. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5242. },
  5243. "name": "思维导图",
  5244. "forms": _formdiv,
  5245. "click": function () {
  5246. U.MD.D.I.openApplication(str, obj, info);
  5247. }
  5248. }
  5249. break;
  5250. case "doc":
  5251. aTool = 6;
  5252. _iframe = $$("iframe", {
  5253. "frameborder": "no",
  5254. "border": "0",
  5255. "scrolling ": "no",
  5256. "style": {
  5257. "cssText": "border:0;width:100%;height:100%"
  5258. },
  5259. "src": "/Office/Word/WordEditArea.htm"
  5260. })
  5261. _box.appendChild(_iframe);
  5262. _box.appendChild(_jie);
  5263. _formdiv = new U.UF.UI.form(
  5264. "协同文档",
  5265. _box, {
  5266. "id": "doc" + cid + stage + task + tool,
  5267. "style": {
  5268. "width": "90%",
  5269. "height": "90%",
  5270. "overflow": 'hidden'
  5271. },
  5272. "onresize": function () { }
  5273. }, {
  5274. closecallback: function () { }
  5275. }, {
  5276. "style": {
  5277. "height": "36px"
  5278. }
  5279. }).form; //创建窗体
  5280. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5281. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5282. })
  5283. _taskbar = {
  5284. "id": str + _formdiv.id,
  5285. "style": {
  5286. "backgroundImage": "url(/img/icon/doc.png)"
  5287. },
  5288. "name": "协同文档",
  5289. "forms": _formdiv,
  5290. "click": function () {
  5291. U.MD.D.I.openApplication(str, obj, info);
  5292. }
  5293. }
  5294. break;
  5295. case "mindNetwork": //好友打开
  5296. aTool = 7;
  5297. _iframe = $$("iframe", {
  5298. "webkitallowfullscreen": "",
  5299. "mozallowfullscreen": "",
  5300. "allowfullscreen": "",
  5301. "frameborder": "no",
  5302. "border": "0",
  5303. "scrolling ": "no",
  5304. "style": {
  5305. "cssText": "border:0; width:100%; height:100%;"
  5306. },
  5307. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5308. })
  5309. _box.appendChild(_iframe);
  5310. _box.appendChild(_jie);
  5311. _formdiv = new U.UF.UI.form(
  5312. "思维网格",
  5313. _box, {
  5314. "id": "mindNetwork" + cid + stage + task + tool,
  5315. "style": {
  5316. "width": "90%",
  5317. "height": "90%",
  5318. "overflow": 'hidden'
  5319. },
  5320. "onresize": function () { }
  5321. }, {
  5322. closecallback: function () { }
  5323. }, {
  5324. "style": {
  5325. "height": "36px"
  5326. }
  5327. }).form; //创建窗体
  5328. _taskbar = {
  5329. "id": str + _formdiv.id,
  5330. "style": {
  5331. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5332. },
  5333. "name": "思维网格",
  5334. "forms": _formdiv,
  5335. "click": function () {
  5336. U.MD.D.I.openApplication(str, obj, info);
  5337. }
  5338. }
  5339. break;
  5340. case "courseDesign":
  5341. _iframe = $$("iframe", {
  5342. "webkitallowfullscreen": "",
  5343. "mozallowfullscreen": "",
  5344. "allowfullscreen": "",
  5345. "frameborder": "no",
  5346. "border": "0",
  5347. "scrolling ": "no",
  5348. "style": {
  5349. "cssText": "border:0; width:100%; height:100%;"
  5350. },
  5351. "src": "/course-design-vue"
  5352. })
  5353. _box.appendChild(_iframe);
  5354. _box.appendChild(_jie);
  5355. _formdiv = new U.UF.UI.form(
  5356. "项目设计",
  5357. _box, {
  5358. "id": "courseDesign" + cid + stage + task + tool,
  5359. "style": {
  5360. "width": "90%",
  5361. "height": "90%",
  5362. "overflow": 'hidden'
  5363. },
  5364. "onresize": function () { }
  5365. }, {
  5366. closecallback: function () { }
  5367. }, {
  5368. "style": {
  5369. "height": "36px"
  5370. }
  5371. }).form; //创建窗体
  5372. _taskbar = {
  5373. "id": str + _formdiv.id,
  5374. "style": {
  5375. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5376. },
  5377. "name": "项目设计",
  5378. "forms": _formdiv,
  5379. "click": function () {
  5380. U.MD.D.I.openApplication(str, obj, info);
  5381. }
  5382. }
  5383. break;
  5384. }
  5385. const script1 = document.createElement("script");
  5386. script1.type = "text/javascript";
  5387. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5388. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5389. const script2 = document.createElement("script");
  5390. script2.type = "text/javascript";
  5391. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5392. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5393. const script3 = document.createElement("script");
  5394. script3.type = "text/javascript";
  5395. script3.charset = "UTF-8";
  5396. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5397. const script4 = document.createElement("script");
  5398. script4.type = "text/javascript";
  5399. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5400. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5401. if (_iframe) {
  5402. if (str == 'doc') {
  5403. _iframe = _formdiv.querySelector('iframe')
  5404. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5405. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5406. _iframe.contentWindow.document.body.appendChild(script1);
  5407. _iframe.contentWindow.document.body.appendChild(script2);
  5408. // _iframe.contentWindow.document.body.appendChild(script3);
  5409. _iframe.contentWindow.document.body.appendChild(script4);
  5410. })
  5411. if (onloadListener) {
  5412. _iframe.contentDocument.location.reload()
  5413. } else {
  5414. _iframe.contentDocument.location.reload()
  5415. }
  5416. } else if (str == 'courseDesign') {
  5417. U.UF.DL.iframeLoad(_iframe, function () {
  5418. // _iframe.contentWindow.U.MD.O.W.load();
  5419. // _iframe.contentWindow.document.body.appendChild(script1);
  5420. _iframe.contentWindow.document.body.appendChild(script2);
  5421. _iframe.contentWindow.document.body.appendChild(script4);
  5422. })
  5423. } else if (str == 'mind') {
  5424. _iframe = _formdiv.querySelector('iframe')
  5425. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5426. //
  5427. _iframe.contentWindow.document.body.appendChild(script1);
  5428. _iframe.contentWindow.document.body.appendChild(script2);
  5429. _iframe.contentWindow.document.body.appendChild(script4);
  5430. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5431. })
  5432. if (onloadListener) {
  5433. _iframe.contentDocument.location.reload()
  5434. } else {
  5435. _iframe.contentDocument.location.reload()
  5436. }
  5437. } else if (str == 'whiteboard') {
  5438. _iframe = _formdiv.querySelector('iframe')
  5439. let onloadListener = _iframe.onload = () => {
  5440. _iframe.contentWindow.document.body.appendChild(script1);
  5441. _iframe.contentWindow.document.body.appendChild(script2);
  5442. _iframe.contentWindow.document.body.appendChild(script4);
  5443. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5444. };
  5445. if (onloadListener) {
  5446. _iframe.contentDocument.location.reload()
  5447. } else {
  5448. _iframe.contentDocument.location.reload()
  5449. }
  5450. } else {
  5451. _iframe.onload = () => {
  5452. _iframe.contentWindow.document.body.appendChild(script1);
  5453. _iframe.contentWindow.document.body.appendChild(script2);
  5454. // _iframe.contentWindow.document.body.appendChild(script3);
  5455. _iframe.contentWindow.document.body.appendChild(script4);
  5456. };
  5457. }
  5458. _jie.onclick = async () => {
  5459. let text = ''
  5460. if (aTool == 1) {
  5461. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5462. } else if (aTool == 6) {
  5463. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5464. } else if (aTool == 3) {
  5465. text = await U.MD.D.I.getEditorContent(_iframe);
  5466. }
  5467. _loading.style.display = 'flex'
  5468. console.log(_loading);
  5469. var _ajs = _iframe.contentWindow.document.createElement("script");
  5470. _ajs.type = "text/javascript";
  5471. _ajs.innerHTML =
  5472. // 'console.log(' + _loading + ');\n' +
  5473. 'var _js = document.createElement("script");\n' +
  5474. '_js.type="text/javascript";\n' +
  5475. '_js.charset="UTF-8";\n' +
  5476. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5477. "_js.onload = function(){\n" +
  5478. ' var a = document.getElementsByTagName("img")\n' +
  5479. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5480. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5481. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5482. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5483. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5484. "beforeUpload_shishi(file," +
  5485. "'" +
  5486. _userid +
  5487. "'" +
  5488. ", " +
  5489. "'" +
  5490. _cid +
  5491. "'" +
  5492. ", " +
  5493. "'" +
  5494. _stage +
  5495. "'" +
  5496. ", " +
  5497. "'" +
  5498. _task +
  5499. "'" +
  5500. ", " +
  5501. "'" +
  5502. _tool +
  5503. "'" +
  5504. ", " +
  5505. "'" +
  5506. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5507. "'" +
  5508. ", " +
  5509. "'" +
  5510. aTool +
  5511. "'" +
  5512. ", " +
  5513. "`" +
  5514. text +
  5515. "`" +
  5516. ")\n" +
  5517. " });\n" +
  5518. "}\n" +
  5519. "document.head.appendChild(_js);\n";
  5520. _iframe.contentWindow.document.head.appendChild(_ajs);
  5521. }
  5522. }
  5523. //U.MD.D.I.openClick(str);
  5524. //如果有任务栏信息
  5525. // if (_taskbar) {
  5526. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5527. // }
  5528. }
  5529. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5530. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5531. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5532. _userinfo = US.userInfo, //登录用户信息
  5533. _userid = US.userInfo.userid //登录用户id
  5534. let _iframe;
  5535. let _cid = cid,
  5536. _stage = stage,
  5537. _task = task,
  5538. _tool = tool;
  5539. var _jie = $$("div", {
  5540. "style": {
  5541. "position": "absolute",
  5542. "bottom": "50px",
  5543. "right": "50px",
  5544. "zIndex": "9999",
  5545. "backgroundColor": "#2268bc",
  5546. "color": "#fff",
  5547. "padding": "12px 20px",
  5548. "cursor": "pointer",
  5549. "borderRadius": "4px",
  5550. },
  5551. "innerHTML": "提交作业"
  5552. })
  5553. let aTool = ''
  5554. let _loading = document.createElement('div')
  5555. _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;"
  5556. // _loading.id = "";
  5557. let _lchild = document.createElement('div')
  5558. let _limg = document.createElement('img')
  5559. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5560. _limg.style = "width: 26px;margin-right: 10px;"
  5561. _lchild.appendChild(_limg)
  5562. let _lspan = document.createElement('span')
  5563. _lspan.innerHTML = "上传中..."
  5564. _lchild.appendChild(_lspan)
  5565. _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%);"
  5566. _loading.appendChild(_lchild)
  5567. var _box = $$('div', {
  5568. "style": {
  5569. "position": "relative",
  5570. "width": "100%",
  5571. "height": "100%",
  5572. },
  5573. })
  5574. _box.appendChild(_loading)
  5575. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5576. switch (str) {
  5577. case "whiteboard":
  5578. aTool = 1;
  5579. _iframe = $$("iframe", {
  5580. "frameborder": "no",
  5581. "border": "0",
  5582. "scrolling ": "no",
  5583. "style": {
  5584. "cssText": "border:0;width:100%;height:100%"
  5585. },
  5586. "src": "https://iwb.cocorobo.cn/"
  5587. })
  5588. _box.appendChild(_iframe);
  5589. _box.appendChild(_jie);
  5590. _formdiv = new U.UF.UI.form(
  5591. "电子白板",
  5592. _box, {
  5593. "id": "whiteboard" + cid + stage + task + tool,
  5594. "style": {
  5595. "width": "90%",
  5596. "height": "90%",
  5597. "overflow": 'hidden'
  5598. },
  5599. "onresize": function () { }
  5600. }, {
  5601. closecallback: function () { }
  5602. }, {
  5603. "style": {
  5604. "height": "36px"
  5605. }
  5606. }).form; //创建窗体
  5607. _taskbar = {
  5608. "id": str + _formdiv.id,
  5609. "style": {
  5610. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5611. },
  5612. "name": "电子白板",
  5613. "forms": _formdiv,
  5614. "click": function () {
  5615. U.MD.D.I.openApplication(str, obj, info);
  5616. }
  5617. }
  5618. break;
  5619. case "mind":
  5620. aTool = 3;
  5621. _iframe = $$("iframe", {
  5622. "frameborder": "no",
  5623. "border": "0",
  5624. "scrolling ": "no",
  5625. "style": {
  5626. "cssText": "border:0;width:100%;height:100%"
  5627. },
  5628. "src": "/kityminder-editor/dist/index.html"
  5629. })
  5630. _box.appendChild(_iframe);
  5631. _box.appendChild(_jie);
  5632. _formdiv = new U.UF.UI.form(
  5633. "思维导图",
  5634. _box, { //"/jsmind/example/demo.html"
  5635. "id": "mind" + cid + stage + task + tool,
  5636. "style": {
  5637. "width": "90%",
  5638. "height": "90%",
  5639. "overflow": 'hidden'
  5640. },
  5641. "onresize": function () { }
  5642. }, {
  5643. closecallback: function () { }
  5644. }, {
  5645. "style": {
  5646. "height": "36px"
  5647. }
  5648. }).form; //创建窗体
  5649. _taskbar = {
  5650. "id": str + _formdiv.id,
  5651. "style": {
  5652. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5653. },
  5654. "name": "思维导图",
  5655. "forms": _formdiv,
  5656. "click": function () {
  5657. U.MD.D.I.openApplication(str, obj, info);
  5658. }
  5659. }
  5660. break;
  5661. case "MindMap":
  5662. aTool = 3;
  5663. _iframe = $$("iframe", {
  5664. "frameborder": "no",
  5665. "border": "0",
  5666. "scrolling ": "no",
  5667. "style": {
  5668. "cssText": "border:0;width:100%;height:100%"
  5669. },
  5670. "src": "//cloud.cocorobo.cn/mind/"
  5671. })
  5672. _box.appendChild(_iframe);
  5673. _box.appendChild(_jie);
  5674. _formdiv = new U.UF.UI.form(
  5675. "思维导图",
  5676. _box, { //"/jsmind/example/demo.html"
  5677. "id": "mind" + cid + stage + task + tool,
  5678. "style": {
  5679. "width": "90%",
  5680. "height": "90%",
  5681. "overflow": 'hidden'
  5682. },
  5683. "onresize": function () { }
  5684. }, {
  5685. closecallback: function () { }
  5686. }, {
  5687. "style": {
  5688. "height": "36px"
  5689. }
  5690. }).form; //创建窗体
  5691. _taskbar = {
  5692. "id": str + _formdiv.id,
  5693. "style": {
  5694. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5695. },
  5696. "name": "思维导图",
  5697. "forms": _formdiv,
  5698. "click": function () {
  5699. U.MD.D.I.openApplication(str, obj, info);
  5700. }
  5701. }
  5702. break;
  5703. case "doc":
  5704. aTool = 6;
  5705. _iframe = $$("iframe", {
  5706. "frameborder": "no",
  5707. "border": "0",
  5708. "scrolling ": "no",
  5709. "style": {
  5710. "cssText": "border:0;width:100%;height:100%"
  5711. },
  5712. "src": "/Office/Word/WordEditArea.htm"
  5713. })
  5714. _box.appendChild(_iframe);
  5715. _box.appendChild(_jie);
  5716. _formdiv = new U.UF.UI.form(
  5717. "协同文档",
  5718. _box, {
  5719. "id": "doc" + cid + stage + task + tool,
  5720. "style": {
  5721. "width": "90%",
  5722. "height": "90%",
  5723. "overflow": 'hidden'
  5724. },
  5725. "onresize": function () { }
  5726. }, {
  5727. closecallback: function () { }
  5728. }, {
  5729. "style": {
  5730. "height": "36px"
  5731. }
  5732. }).form; //创建窗体
  5733. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5734. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5735. })
  5736. _taskbar = {
  5737. "id": str + _formdiv.id,
  5738. "style": {
  5739. "backgroundImage": "url(/img/icon/doc.png)"
  5740. },
  5741. "name": "协同文档",
  5742. "forms": _formdiv,
  5743. "click": function () {
  5744. U.MD.D.I.openApplication(str, obj, info);
  5745. }
  5746. }
  5747. break;
  5748. case "mindNetwork": //好友打开
  5749. aTool = 7;
  5750. _iframe = $$("iframe", {
  5751. "webkitallowfullscreen": "",
  5752. "mozallowfullscreen": "",
  5753. "allowfullscreen": "",
  5754. "frameborder": "no",
  5755. "border": "0",
  5756. "scrolling ": "no",
  5757. "style": {
  5758. "cssText": "border:0; width:100%; height:100%;"
  5759. },
  5760. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5761. })
  5762. _box.appendChild(_iframe);
  5763. _box.appendChild(_jie);
  5764. _formdiv = new U.UF.UI.form(
  5765. "思维网格",
  5766. _box, {
  5767. "id": "mindNetwork" + cid + stage + task + tool,
  5768. "style": {
  5769. "width": "90%",
  5770. "height": "90%",
  5771. "overflow": 'hidden'
  5772. },
  5773. "onresize": function () { }
  5774. }, {
  5775. closecallback: function () { }
  5776. }, {
  5777. "style": {
  5778. "height": "36px"
  5779. }
  5780. }).form; //创建窗体
  5781. _taskbar = {
  5782. "id": str + _formdiv.id,
  5783. "style": {
  5784. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5785. },
  5786. "name": "思维网格",
  5787. "forms": _formdiv,
  5788. "click": function () {
  5789. U.MD.D.I.openApplication(str, obj, info);
  5790. }
  5791. }
  5792. break;
  5793. case "courseDesign":
  5794. _iframe = $$("iframe", {
  5795. "webkitallowfullscreen": "",
  5796. "mozallowfullscreen": "",
  5797. "allowfullscreen": "",
  5798. "frameborder": "no",
  5799. "border": "0",
  5800. "scrolling ": "no",
  5801. "style": {
  5802. "cssText": "border:0; width:100%; height:100%;"
  5803. },
  5804. "src": "/course-design-vue"
  5805. })
  5806. _box.appendChild(_iframe);
  5807. _box.appendChild(_jie);
  5808. _formdiv = new U.UF.UI.form(
  5809. "项目设计",
  5810. _box, {
  5811. "id": "courseDesign" + cid + stage + task + tool,
  5812. "style": {
  5813. "width": "90%",
  5814. "height": "90%",
  5815. "overflow": 'hidden'
  5816. },
  5817. "onresize": function () { }
  5818. }, {
  5819. closecallback: function () { }
  5820. }, {
  5821. "style": {
  5822. "height": "36px"
  5823. }
  5824. }).form; //创建窗体
  5825. _taskbar = {
  5826. "id": str + _formdiv.id,
  5827. "style": {
  5828. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5829. },
  5830. "name": "项目设计",
  5831. "forms": _formdiv,
  5832. "click": function () {
  5833. U.MD.D.I.openApplication(str, obj, info);
  5834. }
  5835. }
  5836. break;
  5837. }
  5838. const script1 = document.createElement("script");
  5839. script1.type = "text/javascript";
  5840. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5841. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5842. const script2 = document.createElement("script");
  5843. script2.type = "text/javascript";
  5844. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5845. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5846. const script3 = document.createElement("script");
  5847. script3.type = "text/javascript";
  5848. script3.charset = "UTF-8";
  5849. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5850. const script4 = document.createElement("script");
  5851. script4.type = "text/javascript";
  5852. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5853. script4.src = window.origin + "/js/Common/jietu2E.js";
  5854. if (_iframe) {
  5855. if (str == 'doc') {
  5856. _iframe = _formdiv.querySelector('iframe')
  5857. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5858. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5859. _iframe.contentWindow.document.body.appendChild(script1);
  5860. _iframe.contentWindow.document.body.appendChild(script2);
  5861. // _iframe.contentWindow.document.body.appendChild(script3);
  5862. _iframe.contentWindow.document.body.appendChild(script4);
  5863. })
  5864. if (onloadListener) {
  5865. _iframe.contentDocument.location.reload()
  5866. } else {
  5867. _iframe.contentDocument.location.reload()
  5868. }
  5869. } else if (str == 'courseDesign') {
  5870. U.UF.DL.iframeLoad(_iframe, function () {
  5871. // _iframe.contentWindow.U.MD.O.W.load();
  5872. // _iframe.contentWindow.document.body.appendChild(script1);
  5873. _iframe.contentWindow.document.body.appendChild(script2);
  5874. _iframe.contentWindow.document.body.appendChild(script4);
  5875. })
  5876. } else if (str == 'mind') {
  5877. _iframe = _formdiv.querySelector('iframe')
  5878. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5879. //
  5880. _iframe.contentWindow.document.body.appendChild(script1);
  5881. _iframe.contentWindow.document.body.appendChild(script2);
  5882. _iframe.contentWindow.document.body.appendChild(script4);
  5883. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5884. })
  5885. if (onloadListener) {
  5886. _iframe.contentDocument.location.reload()
  5887. } else {
  5888. _iframe.contentDocument.location.reload()
  5889. }
  5890. } else if (str == 'whiteboard') {
  5891. _iframe = _formdiv.querySelector('iframe')
  5892. let onloadListener = _iframe.onload = () => {
  5893. _iframe.contentWindow.document.body.appendChild(script1);
  5894. _iframe.contentWindow.document.body.appendChild(script2);
  5895. _iframe.contentWindow.document.body.appendChild(script4);
  5896. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5897. };
  5898. if (onloadListener) {
  5899. _iframe.contentDocument.location.reload()
  5900. } else {
  5901. _iframe.contentDocument.location.reload()
  5902. }
  5903. } else {
  5904. _iframe.onload = () => {
  5905. _iframe.contentWindow.document.body.appendChild(script1);
  5906. _iframe.contentWindow.document.body.appendChild(script2);
  5907. // _iframe.contentWindow.document.body.appendChild(script3);
  5908. _iframe.contentWindow.document.body.appendChild(script4);
  5909. };
  5910. }
  5911. _jie.onclick = async () => {
  5912. let text = ''
  5913. if (aTool == 1) {
  5914. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5915. } else if (aTool == 6) {
  5916. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5917. } else if (aTool == 3) {
  5918. text = await U.MD.D.I.getEditorContent(_iframe);
  5919. }
  5920. _loading.style.display = 'flex'
  5921. console.log(_loading);
  5922. var _ajs = _iframe.contentWindow.document.createElement("script");
  5923. _ajs.type = "text/javascript";
  5924. _ajs.innerHTML =
  5925. // 'console.log(' + _loading + ');\n' +
  5926. 'var _js = document.createElement("script");\n' +
  5927. '_js.type="text/javascript";\n' +
  5928. '_js.charset="UTF-8";\n' +
  5929. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5930. "_js.onload = function(){\n" +
  5931. ' var a = document.getElementsByTagName("img")\n' +
  5932. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5933. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5934. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5935. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5936. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5937. "beforeUpload_shishi(file," +
  5938. "'" +
  5939. _userid +
  5940. "'" +
  5941. ", " +
  5942. "'" +
  5943. _cid +
  5944. "'" +
  5945. ", " +
  5946. "'" +
  5947. _stage +
  5948. "'" +
  5949. ", " +
  5950. "'" +
  5951. _task +
  5952. "'" +
  5953. ", " +
  5954. "'" +
  5955. _tool +
  5956. "'" +
  5957. ", " +
  5958. "'" +
  5959. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5960. "'" +
  5961. ", " +
  5962. "'" +
  5963. aTool +
  5964. "'" +
  5965. ", " +
  5966. "`" +
  5967. text +
  5968. "`" +
  5969. ")\n" +
  5970. " });\n" +
  5971. "}\n" +
  5972. "document.head.appendChild(_js);\n";
  5973. _iframe.contentWindow.document.head.appendChild(_ajs);
  5974. }
  5975. }
  5976. //U.MD.D.I.openClick(str);
  5977. //如果有任务栏信息
  5978. // if (_taskbar) {
  5979. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5980. // }
  5981. }
  5982. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5983. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5984. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5985. _userid = student.userid, //登录用户id
  5986. _username = student.student //用户名字
  5987. let _iframe;
  5988. let _cid = cid,
  5989. _stage = stage,
  5990. _task = task,
  5991. _tool = tool;
  5992. var _jie = $$("div", {
  5993. "style": {
  5994. "position": "absolute",
  5995. "bottom": "50px",
  5996. "right": "50px",
  5997. "zIndex": "9999",
  5998. "backgroundColor": "#2268bc",
  5999. "color": "#fff",
  6000. "padding": "12px 20px",
  6001. "cursor": "pointer",
  6002. "borderRadius": "4px",
  6003. },
  6004. "innerHTML": "提交作业"
  6005. })
  6006. let aTool = ''
  6007. let _loading = document.createElement('div')
  6008. _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;"
  6009. // _loading.id = "";
  6010. let _lchild = document.createElement('div')
  6011. let _limg = document.createElement('img')
  6012. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6013. _limg.style = "width: 26px;margin-right: 10px;"
  6014. _lchild.appendChild(_limg)
  6015. let _lspan = document.createElement('span')
  6016. _lspan.innerHTML = "上传中..."
  6017. _lchild.appendChild(_lspan)
  6018. _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%);"
  6019. _loading.appendChild(_lchild)
  6020. var _box = $$('div', {
  6021. "style": {
  6022. "position": "relative",
  6023. "width": "100%",
  6024. "height": "100%",
  6025. },
  6026. })
  6027. _box.appendChild(_loading)
  6028. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  6029. switch (str) {
  6030. case "whiteboard":
  6031. aTool = 1;
  6032. _iframe = $$("iframe", {
  6033. "frameborder": "no",
  6034. "border": "0",
  6035. "scrolling ": "no",
  6036. "style": {
  6037. "cssText": "border:0;width:100%;height:100%"
  6038. },
  6039. "src": "https://iwb.cocorobo.cn/"
  6040. })
  6041. _box.appendChild(_iframe);
  6042. _box.appendChild(_jie);
  6043. _formdiv = new U.UF.UI.form(
  6044. "电子白板-" + _username,
  6045. _box, {
  6046. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6047. "style": {
  6048. "width": "90%",
  6049. "height": "90%",
  6050. "overflow": 'hidden'
  6051. },
  6052. "onresize": function () { }
  6053. }, {
  6054. closecallback: function () { }
  6055. }, {
  6056. "style": {
  6057. "height": "36px"
  6058. }
  6059. }).form; //创建窗体
  6060. _taskbar = {
  6061. "id": str + _formdiv.id,
  6062. "style": {
  6063. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6064. },
  6065. "name": "电子白板",
  6066. "forms": _formdiv,
  6067. "click": function () {
  6068. U.MD.D.I.openApplication(str, obj, info);
  6069. }
  6070. }
  6071. break;
  6072. case "mind":
  6073. aTool = 3;
  6074. _iframe = $$("iframe", {
  6075. "frameborder": "no",
  6076. "border": "0",
  6077. "scrolling ": "no",
  6078. "style": {
  6079. "cssText": "border:0;width:100%;height:100%"
  6080. },
  6081. "src": "/kityminder-editor/dist/index.html"
  6082. })
  6083. _box.appendChild(_iframe);
  6084. _box.appendChild(_jie);
  6085. _formdiv = new U.UF.UI.form(
  6086. "思维导图-" + _username,
  6087. _box, { //"/jsmind/example/demo.html"
  6088. "id": "mind" + cid + stage + task + tool + _userid,
  6089. "style": {
  6090. "width": "90%",
  6091. "height": "90%",
  6092. "overflow": 'hidden'
  6093. },
  6094. "onresize": function () { }
  6095. }, {
  6096. closecallback: function () { }
  6097. }, {
  6098. "style": {
  6099. "height": "36px"
  6100. }
  6101. }).form; //创建窗体
  6102. _taskbar = {
  6103. "id": str + _formdiv.id,
  6104. "style": {
  6105. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6106. },
  6107. "name": "思维导图",
  6108. "forms": _formdiv,
  6109. "click": function () {
  6110. U.MD.D.I.openApplication(str, obj, info);
  6111. }
  6112. }
  6113. break;
  6114. case "MindMap":
  6115. aTool = 3;
  6116. _iframe = $$("iframe", {
  6117. "frameborder": "no",
  6118. "border": "0",
  6119. "scrolling ": "no",
  6120. "style": {
  6121. "cssText": "border:0;width:100%;height:100%"
  6122. },
  6123. "src": "//cloud.cocorobo.cn/mind/"
  6124. })
  6125. _box.appendChild(_iframe);
  6126. _box.appendChild(_jie);
  6127. _formdiv = new U.UF.UI.form(
  6128. "思维导图-" + _username,
  6129. _box, { //"/jsmind/example/demo.html"
  6130. "id": "mind" + cid + stage + task + tool + _userid,
  6131. "style": {
  6132. "width": "90%",
  6133. "height": "90%",
  6134. "overflow": 'hidden'
  6135. },
  6136. "onresize": function () { }
  6137. }, {
  6138. closecallback: function () { }
  6139. }, {
  6140. "style": {
  6141. "height": "36px"
  6142. }
  6143. }).form; //创建窗体
  6144. _taskbar = {
  6145. "id": str + _formdiv.id,
  6146. "style": {
  6147. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6148. },
  6149. "name": "思维导图",
  6150. "forms": _formdiv,
  6151. "click": function () {
  6152. U.MD.D.I.openApplication(str, obj, info);
  6153. }
  6154. }
  6155. break;
  6156. case "doc":
  6157. aTool = 6;
  6158. _iframe = $$("iframe", {
  6159. "frameborder": "no",
  6160. "border": "0",
  6161. "scrolling ": "no",
  6162. "style": {
  6163. "cssText": "border:0;width:100%;height:100%"
  6164. },
  6165. "src": "/Office/Word/WordEditArea.htm"
  6166. })
  6167. _box.appendChild(_iframe);
  6168. _box.appendChild(_jie);
  6169. _formdiv = new U.UF.UI.form(
  6170. "协同文档-" + _username,
  6171. _box, {
  6172. "id": "doc" + cid + stage + task + tool + _userid,
  6173. "style": {
  6174. "width": "90%",
  6175. "height": "90%",
  6176. "overflow": 'hidden'
  6177. },
  6178. "onresize": function () { }
  6179. }, {
  6180. closecallback: function () { }
  6181. }, {
  6182. "style": {
  6183. "height": "36px"
  6184. }
  6185. }).form; //创建窗体
  6186. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6187. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6188. })
  6189. _taskbar = {
  6190. "id": str + _formdiv.id,
  6191. "style": {
  6192. "backgroundImage": "url(/img/icon/doc.png)"
  6193. },
  6194. "name": "协同文档",
  6195. "forms": _formdiv,
  6196. "click": function () {
  6197. U.MD.D.I.openApplication(str, obj, info);
  6198. }
  6199. }
  6200. break;
  6201. case "mindNetwork": //好友打开
  6202. aTool = 7;
  6203. _iframe = $$("iframe", {
  6204. "webkitallowfullscreen": "",
  6205. "mozallowfullscreen": "",
  6206. "allowfullscreen": "",
  6207. "frameborder": "no",
  6208. "border": "0",
  6209. "scrolling ": "no",
  6210. "style": {
  6211. "cssText": "border:0; width:100%; height:100%;"
  6212. },
  6213. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6214. })
  6215. _box.appendChild(_iframe);
  6216. _box.appendChild(_jie);
  6217. _formdiv = new U.UF.UI.form(
  6218. "思维网格-" + _username,
  6219. _box, {
  6220. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6221. "style": {
  6222. "width": "90%",
  6223. "height": "90%",
  6224. "overflow": 'hidden'
  6225. },
  6226. "onresize": function () { }
  6227. }, {
  6228. closecallback: function () { }
  6229. }, {
  6230. "style": {
  6231. "height": "36px"
  6232. }
  6233. }).form; //创建窗体
  6234. _taskbar = {
  6235. "id": str + _formdiv.id,
  6236. "style": {
  6237. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6238. },
  6239. "name": "思维网格",
  6240. "forms": _formdiv,
  6241. "click": function () {
  6242. U.MD.D.I.openApplication(str, obj, info);
  6243. }
  6244. }
  6245. break;
  6246. case "courseDesign":
  6247. _iframe = $$("iframe", {
  6248. "webkitallowfullscreen": "",
  6249. "mozallowfullscreen": "",
  6250. "allowfullscreen": "",
  6251. "frameborder": "no",
  6252. "border": "0",
  6253. "scrolling ": "no",
  6254. "style": {
  6255. "cssText": "border:0; width:100%; height:100%;"
  6256. },
  6257. "src": "/course-design-vue"
  6258. })
  6259. _box.appendChild(_iframe);
  6260. _box.appendChild(_jie);
  6261. _formdiv = new U.UF.UI.form(
  6262. "项目设计-" + _username,
  6263. _box, {
  6264. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6265. "style": {
  6266. "width": "90%",
  6267. "height": "90%",
  6268. "overflow": 'hidden'
  6269. },
  6270. "onresize": function () { }
  6271. }, {
  6272. closecallback: function () { }
  6273. }, {
  6274. "style": {
  6275. "height": "36px"
  6276. }
  6277. }).form; //创建窗体
  6278. _taskbar = {
  6279. "id": str + _formdiv.id,
  6280. "style": {
  6281. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6282. },
  6283. "name": "项目设计",
  6284. "forms": _formdiv,
  6285. "click": function () {
  6286. U.MD.D.I.openApplication(str, obj, info);
  6287. }
  6288. }
  6289. break;
  6290. }
  6291. const script1 = document.createElement("script");
  6292. script1.type = "text/javascript";
  6293. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6294. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6295. const script2 = document.createElement("script");
  6296. script2.type = "text/javascript";
  6297. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6298. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6299. const script3 = document.createElement("script");
  6300. script3.type = "text/javascript";
  6301. script3.charset = "UTF-8";
  6302. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6303. const script4 = document.createElement("script");
  6304. script4.type = "text/javascript";
  6305. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6306. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6307. if (_iframe) {
  6308. if (str == 'doc') {
  6309. _iframe = _formdiv.querySelector('iframe')
  6310. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6311. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6312. _iframe.contentWindow.document.body.appendChild(script1);
  6313. _iframe.contentWindow.document.body.appendChild(script2);
  6314. // _iframe.contentWindow.document.body.appendChild(script3);
  6315. _iframe.contentWindow.document.body.appendChild(script4);
  6316. })
  6317. if (onloadListener) {
  6318. _iframe.contentDocument.location.reload()
  6319. } else {
  6320. _iframe.contentDocument.location.reload()
  6321. }
  6322. } else if (str == 'courseDesign') {
  6323. U.UF.DL.iframeLoad(_iframe, function () {
  6324. // _iframe.contentWindow.U.MD.O.W.load();
  6325. // _iframe.contentWindow.document.body.appendChild(script1);
  6326. _iframe.contentWindow.document.body.appendChild(script2);
  6327. _iframe.contentWindow.document.body.appendChild(script4);
  6328. })
  6329. } else if (str == 'mind') {
  6330. _iframe = _formdiv.querySelector('iframe')
  6331. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6332. //
  6333. _iframe.contentWindow.document.body.appendChild(script1);
  6334. _iframe.contentWindow.document.body.appendChild(script2);
  6335. _iframe.contentWindow.document.body.appendChild(script4);
  6336. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6337. })
  6338. if (onloadListener) {
  6339. _iframe.contentDocument.location.reload()
  6340. } else {
  6341. _iframe.contentDocument.location.reload()
  6342. }
  6343. } else if (str == 'whiteboard') {
  6344. _iframe = _formdiv.querySelector('iframe')
  6345. let onloadListener = _iframe.onload = () => {
  6346. _iframe.contentWindow.document.body.appendChild(script1);
  6347. _iframe.contentWindow.document.body.appendChild(script2);
  6348. _iframe.contentWindow.document.body.appendChild(script4);
  6349. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6350. };
  6351. if (onloadListener) {
  6352. _iframe.contentDocument.location.reload()
  6353. } else {
  6354. _iframe.contentDocument.location.reload()
  6355. }
  6356. } else {
  6357. _iframe.onload = () => {
  6358. _iframe.contentWindow.document.body.appendChild(script1);
  6359. _iframe.contentWindow.document.body.appendChild(script2);
  6360. // _iframe.contentWindow.document.body.appendChild(script3);
  6361. _iframe.contentWindow.document.body.appendChild(script4);
  6362. };
  6363. }
  6364. _jie.onclick = async () => {
  6365. let text = ''
  6366. if (aTool == 1) {
  6367. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6368. } else if (aTool == 6) {
  6369. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6370. } else if (aTool == 3) {
  6371. text = await U.MD.D.I.getEditorContent(_iframe);
  6372. }
  6373. _loading.style.display = 'flex'
  6374. console.log(_loading);
  6375. var _ajs = _iframe.contentWindow.document.createElement("script");
  6376. _ajs.type = "text/javascript";
  6377. _ajs.innerHTML =
  6378. // 'console.log(' + _loading + ');\n' +
  6379. 'var _js = document.createElement("script");\n' +
  6380. '_js.type="text/javascript";\n' +
  6381. '_js.charset="UTF-8";\n' +
  6382. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6383. "_js.onload = function(){\n" +
  6384. ' var a = document.getElementsByTagName("img")\n' +
  6385. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6386. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6387. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6388. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6389. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6390. "beforeUpload_shishi(file," +
  6391. "'" +
  6392. _userid +
  6393. "'" +
  6394. ", " +
  6395. "'" +
  6396. _cid +
  6397. "'" +
  6398. ", " +
  6399. "'" +
  6400. _stage +
  6401. "'" +
  6402. ", " +
  6403. "'" +
  6404. _task +
  6405. "'" +
  6406. ", " +
  6407. "'" +
  6408. _tool +
  6409. "'" +
  6410. ", " +
  6411. "'" +
  6412. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6413. "'" +
  6414. ", " +
  6415. "'" +
  6416. aTool +
  6417. "'" +
  6418. ", " +
  6419. "`" +
  6420. text +
  6421. "`" +
  6422. ")\n" +
  6423. " });\n" +
  6424. "}\n" +
  6425. "document.head.appendChild(_js);\n";
  6426. _iframe.contentWindow.document.head.appendChild(_ajs);
  6427. }
  6428. }
  6429. }
  6430. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6431. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6432. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6433. _userid = student.userid, //登录用户id
  6434. _username = student.student //用户名字
  6435. let _iframe;
  6436. let _cid = cid,
  6437. _stage = stage,
  6438. _task = task,
  6439. _tool = tool;
  6440. var _jie = $$("div", {
  6441. "style": {
  6442. "position": "absolute",
  6443. "bottom": "50px",
  6444. "right": "50px",
  6445. "zIndex": "9999",
  6446. "backgroundColor": "#2268bc",
  6447. "color": "#fff",
  6448. "padding": "12px 20px",
  6449. "cursor": "pointer",
  6450. "borderRadius": "4px",
  6451. },
  6452. "innerHTML": "提交作业"
  6453. })
  6454. let aTool = ''
  6455. let _loading = document.createElement('div')
  6456. _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;"
  6457. // _loading.id = "";
  6458. let _lchild = document.createElement('div')
  6459. let _limg = document.createElement('img')
  6460. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6461. _limg.style = "width: 26px;margin-right: 10px;"
  6462. _lchild.appendChild(_limg)
  6463. let _lspan = document.createElement('span')
  6464. _lspan.innerHTML = "上传中..."
  6465. _lchild.appendChild(_lspan)
  6466. _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%);"
  6467. _loading.appendChild(_lchild)
  6468. var _box = $$('div', {
  6469. "style": {
  6470. "position": "relative",
  6471. "width": "100%",
  6472. "height": "100%",
  6473. },
  6474. })
  6475. _box.appendChild(_loading)
  6476. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6477. switch (str) {
  6478. case "whiteboard":
  6479. aTool = 1;
  6480. _iframe = $$("iframe", {
  6481. "frameborder": "no",
  6482. "border": "0",
  6483. "scrolling ": "no",
  6484. "style": {
  6485. "cssText": "border:0;width:100%;height:100%"
  6486. },
  6487. "src": "https://iwb.cocorobo.cn/"
  6488. })
  6489. _box.appendChild(_iframe);
  6490. _box.appendChild(_jie);
  6491. _formdiv = new U.UF.UI.form(
  6492. "电子白板-" + _username,
  6493. _box, {
  6494. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6495. "style": {
  6496. "width": "90%",
  6497. "height": "90%",
  6498. "overflow": 'hidden'
  6499. },
  6500. "onresize": function () { }
  6501. }, {
  6502. closecallback: function () { }
  6503. }, {
  6504. "style": {
  6505. "height": "36px"
  6506. }
  6507. }).form; //创建窗体
  6508. _taskbar = {
  6509. "id": str + _formdiv.id,
  6510. "style": {
  6511. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6512. },
  6513. "name": "电子白板",
  6514. "forms": _formdiv,
  6515. "click": function () {
  6516. U.MD.D.I.openApplication(str, obj, info);
  6517. }
  6518. }
  6519. break;
  6520. case "mind":
  6521. aTool = 3;
  6522. _iframe = $$("iframe", {
  6523. "frameborder": "no",
  6524. "border": "0",
  6525. "scrolling ": "no",
  6526. "style": {
  6527. "cssText": "border:0;width:100%;height:100%"
  6528. },
  6529. "src": "/kityminder-editor/dist/index.html"
  6530. })
  6531. _box.appendChild(_iframe);
  6532. _box.appendChild(_jie);
  6533. _formdiv = new U.UF.UI.form(
  6534. "思维导图-" + _username,
  6535. _box, { //"/jsmind/example/demo.html"
  6536. "id": "mind" + cid + stage + task + tool + _userid,
  6537. "style": {
  6538. "width": "90%",
  6539. "height": "90%",
  6540. "overflow": 'hidden'
  6541. },
  6542. "onresize": function () { }
  6543. }, {
  6544. closecallback: function () { }
  6545. }, {
  6546. "style": {
  6547. "height": "36px"
  6548. }
  6549. }).form; //创建窗体
  6550. _taskbar = {
  6551. "id": str + _formdiv.id,
  6552. "style": {
  6553. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6554. },
  6555. "name": "思维导图",
  6556. "forms": _formdiv,
  6557. "click": function () {
  6558. U.MD.D.I.openApplication(str, obj, info);
  6559. }
  6560. }
  6561. break;
  6562. case "MindMap":
  6563. aTool = 3;
  6564. _iframe = $$("iframe", {
  6565. "frameborder": "no",
  6566. "border": "0",
  6567. "scrolling ": "no",
  6568. "style": {
  6569. "cssText": "border:0;width:100%;height:100%"
  6570. },
  6571. "src": "//cloud.cocorobo.cn/mind/"
  6572. })
  6573. _box.appendChild(_iframe);
  6574. _box.appendChild(_jie);
  6575. _formdiv = new U.UF.UI.form(
  6576. "思维导图-" + _username,
  6577. _box, { //"/jsmind/example/demo.html"
  6578. "id": "mind" + cid + stage + task + tool + _userid,
  6579. "style": {
  6580. "width": "90%",
  6581. "height": "90%",
  6582. "overflow": 'hidden'
  6583. },
  6584. "onresize": function () { }
  6585. }, {
  6586. closecallback: function () { }
  6587. }, {
  6588. "style": {
  6589. "height": "36px"
  6590. }
  6591. }).form; //创建窗体
  6592. _taskbar = {
  6593. "id": str + _formdiv.id,
  6594. "style": {
  6595. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6596. },
  6597. "name": "思维导图",
  6598. "forms": _formdiv,
  6599. "click": function () {
  6600. U.MD.D.I.openApplication(str, obj, info);
  6601. }
  6602. }
  6603. break;
  6604. case "doc":
  6605. aTool = 6;
  6606. _iframe = $$("iframe", {
  6607. "frameborder": "no",
  6608. "border": "0",
  6609. "scrolling ": "no",
  6610. "style": {
  6611. "cssText": "border:0;width:100%;height:100%"
  6612. },
  6613. "src": "/Office/Word/WordEditArea.htm"
  6614. })
  6615. _box.appendChild(_iframe);
  6616. _box.appendChild(_jie);
  6617. _formdiv = new U.UF.UI.form(
  6618. "协同文档-" + _username,
  6619. _box, {
  6620. "id": "doc" + cid + stage + task + tool + _userid,
  6621. "style": {
  6622. "width": "90%",
  6623. "height": "90%",
  6624. "overflow": 'hidden'
  6625. },
  6626. "onresize": function () { }
  6627. }, {
  6628. closecallback: function () { }
  6629. }, {
  6630. "style": {
  6631. "height": "36px"
  6632. }
  6633. }).form; //创建窗体
  6634. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6635. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6636. })
  6637. _taskbar = {
  6638. "id": str + _formdiv.id,
  6639. "style": {
  6640. "backgroundImage": "url(/img/icon/doc.png)"
  6641. },
  6642. "name": "协同文档",
  6643. "forms": _formdiv,
  6644. "click": function () {
  6645. U.MD.D.I.openApplication(str, obj, info);
  6646. }
  6647. }
  6648. break;
  6649. case "mindNetwork": //好友打开
  6650. aTool = 7;
  6651. _iframe = $$("iframe", {
  6652. "webkitallowfullscreen": "",
  6653. "mozallowfullscreen": "",
  6654. "allowfullscreen": "",
  6655. "frameborder": "no",
  6656. "border": "0",
  6657. "scrolling ": "no",
  6658. "style": {
  6659. "cssText": "border:0; width:100%; height:100%;"
  6660. },
  6661. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6662. })
  6663. _box.appendChild(_iframe);
  6664. _box.appendChild(_jie);
  6665. _formdiv = new U.UF.UI.form(
  6666. "思维网格-" + _username,
  6667. _box, {
  6668. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6669. "style": {
  6670. "width": "90%",
  6671. "height": "90%",
  6672. "overflow": 'hidden'
  6673. },
  6674. "onresize": function () { }
  6675. }, {
  6676. closecallback: function () { }
  6677. }, {
  6678. "style": {
  6679. "height": "36px"
  6680. }
  6681. }).form; //创建窗体
  6682. _taskbar = {
  6683. "id": str + _formdiv.id,
  6684. "style": {
  6685. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6686. },
  6687. "name": "思维网格",
  6688. "forms": _formdiv,
  6689. "click": function () {
  6690. U.MD.D.I.openApplication(str, obj, info);
  6691. }
  6692. }
  6693. break;
  6694. case "courseDesign":
  6695. _iframe = $$("iframe", {
  6696. "webkitallowfullscreen": "",
  6697. "mozallowfullscreen": "",
  6698. "allowfullscreen": "",
  6699. "frameborder": "no",
  6700. "border": "0",
  6701. "scrolling ": "no",
  6702. "style": {
  6703. "cssText": "border:0; width:100%; height:100%;"
  6704. },
  6705. "src": "/course-design-vue"
  6706. })
  6707. _box.appendChild(_iframe);
  6708. _box.appendChild(_jie);
  6709. _formdiv = new U.UF.UI.form(
  6710. "项目设计-" + _username,
  6711. _box, {
  6712. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6713. "style": {
  6714. "width": "90%",
  6715. "height": "90%",
  6716. "overflow": 'hidden'
  6717. },
  6718. "onresize": function () { }
  6719. }, {
  6720. closecallback: function () { }
  6721. }, {
  6722. "style": {
  6723. "height": "36px"
  6724. }
  6725. }).form; //创建窗体
  6726. _taskbar = {
  6727. "id": str + _formdiv.id,
  6728. "style": {
  6729. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6730. },
  6731. "name": "项目设计",
  6732. "forms": _formdiv,
  6733. "click": function () {
  6734. U.MD.D.I.openApplication(str, obj, info);
  6735. }
  6736. }
  6737. break;
  6738. }
  6739. const script1 = document.createElement("script");
  6740. script1.type = "text/javascript";
  6741. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6742. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6743. const script2 = document.createElement("script");
  6744. script2.type = "text/javascript";
  6745. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6746. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6747. const script3 = document.createElement("script");
  6748. script3.type = "text/javascript";
  6749. script3.charset = "UTF-8";
  6750. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6751. const script4 = document.createElement("script");
  6752. script4.type = "text/javascript";
  6753. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6754. script4.src = window.origin + "/js/Common/jietu2E.js";
  6755. if (_iframe) {
  6756. if (str == 'doc') {
  6757. _iframe = _formdiv.querySelector('iframe')
  6758. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6759. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6760. _iframe.contentWindow.document.body.appendChild(script1);
  6761. _iframe.contentWindow.document.body.appendChild(script2);
  6762. // _iframe.contentWindow.document.body.appendChild(script3);
  6763. _iframe.contentWindow.document.body.appendChild(script4);
  6764. })
  6765. if (onloadListener) {
  6766. _iframe.contentDocument.location.reload()
  6767. } else {
  6768. _iframe.contentDocument.location.reload()
  6769. }
  6770. } else if (str == 'courseDesign') {
  6771. U.UF.DL.iframeLoad(_iframe, function () {
  6772. // _iframe.contentWindow.U.MD.O.W.load();
  6773. // _iframe.contentWindow.document.body.appendChild(script1);
  6774. _iframe.contentWindow.document.body.appendChild(script2);
  6775. _iframe.contentWindow.document.body.appendChild(script4);
  6776. })
  6777. } else if (str == 'mind') {
  6778. _iframe = _formdiv.querySelector('iframe')
  6779. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6780. //
  6781. _iframe.contentWindow.document.body.appendChild(script1);
  6782. _iframe.contentWindow.document.body.appendChild(script2);
  6783. _iframe.contentWindow.document.body.appendChild(script4);
  6784. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6785. })
  6786. if (onloadListener) {
  6787. _iframe.contentDocument.location.reload()
  6788. } else {
  6789. _iframe.contentDocument.location.reload()
  6790. }
  6791. } else if (str == 'whiteboard') {
  6792. _iframe = _formdiv.querySelector('iframe')
  6793. let onloadListener = _iframe.onload = () => {
  6794. _iframe.contentWindow.document.body.appendChild(script1);
  6795. _iframe.contentWindow.document.body.appendChild(script2);
  6796. _iframe.contentWindow.document.body.appendChild(script4);
  6797. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6798. };
  6799. if (onloadListener) {
  6800. _iframe.contentDocument.location.reload()
  6801. } else {
  6802. _iframe.contentDocument.location.reload()
  6803. }
  6804. } else {
  6805. _iframe.onload = () => {
  6806. _iframe.contentWindow.document.body.appendChild(script1);
  6807. _iframe.contentWindow.document.body.appendChild(script2);
  6808. // _iframe.contentWindow.document.body.appendChild(script3);
  6809. _iframe.contentWindow.document.body.appendChild(script4);
  6810. };
  6811. }
  6812. _jie.onclick = async () => {
  6813. let text = ''
  6814. if (aTool == 1) {
  6815. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6816. } else if (aTool == 6) {
  6817. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6818. } else if (aTool == 3) {
  6819. text = await U.MD.D.I.getEditorContent(_iframe);
  6820. }
  6821. _loading.style.display = 'flex'
  6822. console.log(_loading);
  6823. var _ajs = _iframe.contentWindow.document.createElement("script");
  6824. _ajs.type = "text/javascript";
  6825. _ajs.innerHTML =
  6826. // 'console.log(' + _loading + ');\n' +
  6827. 'var _js = document.createElement("script");\n' +
  6828. '_js.type="text/javascript";\n' +
  6829. '_js.charset="UTF-8";\n' +
  6830. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6831. "_js.onload = function(){\n" +
  6832. ' var a = document.getElementsByTagName("img")\n' +
  6833. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6834. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6835. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6836. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6837. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6838. "beforeUpload_shishi(file," +
  6839. "'" +
  6840. _userid +
  6841. "'" +
  6842. ", " +
  6843. "'" +
  6844. _cid +
  6845. "'" +
  6846. ", " +
  6847. "'" +
  6848. _stage +
  6849. "'" +
  6850. ", " +
  6851. "'" +
  6852. _task +
  6853. "'" +
  6854. ", " +
  6855. "'" +
  6856. _tool +
  6857. "'" +
  6858. ", " +
  6859. "'" +
  6860. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6861. "'" +
  6862. ", " +
  6863. "'" +
  6864. aTool +
  6865. "'" +
  6866. ", " +
  6867. "`" +
  6868. text +
  6869. "`" +
  6870. ")\n" +
  6871. " });\n" +
  6872. "}\n" +
  6873. "document.head.appendChild(_js);\n";
  6874. _iframe.contentWindow.document.head.appendChild(_ajs);
  6875. }
  6876. }
  6877. }
  6878. U.MD.D.I.getEditorContent = function (iframe) {
  6879. return new Promise((resolve, reject) => {
  6880. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6881. console.log(content);
  6882. resolve(content)
  6883. });
  6884. });
  6885. }
  6886. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6887. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6888. // if (res.value[0].length > 0) {
  6889. // // resolve(res.value[0][0].text);
  6890. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6891. // $(fileInput).val('');
  6892. // });
  6893. // }
  6894. // }, [], { "type": "GET", "withCredentials": true });
  6895. var xmlhttp;
  6896. var Mac, Sn, DeviceId
  6897. if (window.XMLHttpRequest) {
  6898. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6899. xmlhttp = new XMLHttpRequest();
  6900. } else {
  6901. // IE6, IE5 浏览器执行代码
  6902. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6903. }
  6904. xmlhttp.onreadystatechange = function () {
  6905. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6906. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6907. // resolve(res.value[0][0].text);
  6908. if (type == '2') {
  6909. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6910. } else if (type == '3') {
  6911. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6912. }
  6913. } else {
  6914. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6915. }
  6916. }
  6917. }
  6918. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6919. xmlhttp.send();
  6920. }
  6921. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6922. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6923. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6924. _userinfo = US.userInfo, //登录用户信息
  6925. _userid = US.userInfo.userid //登录用户id
  6926. let _iframe;
  6927. let _cid = cid,
  6928. _stage = stage,
  6929. _task = task,
  6930. _tool = tool;
  6931. var _jie = $$("div", {
  6932. "style": {
  6933. "position": "absolute",
  6934. "bottom": "50px",
  6935. "right": "50px",
  6936. "zIndex": "9999",
  6937. "backgroundColor": "#2268bc",
  6938. "color": "#fff",
  6939. "padding": "12px 20px",
  6940. "cursor": "pointer",
  6941. "borderRadius": "4px",
  6942. },
  6943. "innerHTML": "确认并提交"
  6944. })
  6945. let aTool = ''
  6946. let _loading = document.createElement('div')
  6947. _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;"
  6948. // _loading.id = "";
  6949. let _lchild = document.createElement('div')
  6950. let _limg = document.createElement('img')
  6951. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6952. _limg.style = "width: 26px;margin-right: 10px;"
  6953. _lchild.appendChild(_limg)
  6954. let _lspan = document.createElement('span')
  6955. _lspan.innerHTML = "上传中..."
  6956. _lchild.appendChild(_lspan)
  6957. _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%);"
  6958. _loading.appendChild(_lchild)
  6959. var _box = $$('div', {
  6960. "style": {
  6961. "position": "relative",
  6962. "width": "100%",
  6963. "height": "100%",
  6964. },
  6965. })
  6966. _box.appendChild(_loading)
  6967. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6968. switch (str) {
  6969. case "whiteboard":
  6970. aTool = 1;
  6971. _iframe = $$("iframe", {
  6972. "frameborder": "no",
  6973. "border": "0",
  6974. "scrolling ": "no",
  6975. "style": {
  6976. "cssText": "border:0;width:100%;height:100%"
  6977. },
  6978. "src": "https://iwb.cocorobo.cn/"
  6979. })
  6980. _box.appendChild(_iframe);
  6981. _box.appendChild(_jie);
  6982. _formdiv = new U.UF.UI.form(
  6983. "电子白板",
  6984. _box, {
  6985. "id": "whiteboards" + cid + stage + task + tool,
  6986. "style": {
  6987. "width": "90%",
  6988. "height": "90%",
  6989. "overflow": 'hidden'
  6990. },
  6991. "onresize": function () { }
  6992. }, {
  6993. closecallback: function () { }
  6994. }, {
  6995. "style": {
  6996. "height": "36px"
  6997. }
  6998. }).form; //创建窗体
  6999. _taskbar = {
  7000. "id": str + _formdiv.id,
  7001. "style": {
  7002. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7003. },
  7004. "name": "电子白板",
  7005. "forms": _formdiv,
  7006. "click": function () {
  7007. U.MD.D.I.openApplication(str, obj, info);
  7008. }
  7009. }
  7010. break;
  7011. case "mind":
  7012. aTool = 3;
  7013. _iframe = $$("iframe", {
  7014. "frameborder": "no",
  7015. "border": "0",
  7016. "scrolling ": "no",
  7017. "style": {
  7018. "cssText": "border:0;width:100%;height:100%"
  7019. },
  7020. "src": "/kityminder-editor/dist/index.html"
  7021. });
  7022. _box.appendChild(_iframe);
  7023. _box.appendChild(_jie);
  7024. _formdiv = new U.UF.UI.form(
  7025. "思维导图",
  7026. _box, { //"/jsmind/example/demo.html"
  7027. "id": "minds" + cid + stage + task + tool,
  7028. "style": {
  7029. "width": "90%",
  7030. "height": "90%",
  7031. "overflow": 'hidden'
  7032. },
  7033. "onresize": function () { }
  7034. }, {
  7035. closecallback: function () { }
  7036. }, {
  7037. "style": {
  7038. "height": "36px"
  7039. }
  7040. }).form; //创建窗体
  7041. _taskbar = {
  7042. "id": str + _formdiv.id,
  7043. "style": {
  7044. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7045. },
  7046. "name": "思维导图",
  7047. "forms": _formdiv,
  7048. "click": function () {
  7049. U.MD.D.I.openApplication(str, obj, info);
  7050. }
  7051. }
  7052. break;
  7053. case "doc":
  7054. aTool = 6;
  7055. _iframe = $$("iframe", {
  7056. "frameborder": "no",
  7057. "border": "0",
  7058. "scrolling ": "no",
  7059. "style": {
  7060. "cssText": "border:0;width:100%;height:100%"
  7061. },
  7062. "src": "/Office/Word/WordEditArea.htm"
  7063. })
  7064. _box.appendChild(_iframe);
  7065. _box.appendChild(_jie);
  7066. _formdiv = new U.UF.UI.form(
  7067. "协同文档",
  7068. _box, {
  7069. "id": "docs" + cid + stage + task + tool,
  7070. "style": {
  7071. "width": "90%",
  7072. "height": "90%",
  7073. "overflow": 'hidden'
  7074. },
  7075. "onresize": function () { }
  7076. }, {
  7077. closecallback: function () { }
  7078. }, {
  7079. "style": {
  7080. "height": "36px"
  7081. }
  7082. }).form; //创建窗体
  7083. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7084. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7085. })
  7086. _taskbar = {
  7087. "id": str + _formdiv.id,
  7088. "style": {
  7089. "backgroundImage": "url(/img/icon/doc.png)"
  7090. },
  7091. "name": "协同文档",
  7092. "forms": _formdiv,
  7093. "click": function () {
  7094. U.MD.D.I.openApplication(str, obj, info);
  7095. }
  7096. }
  7097. break;
  7098. }
  7099. const script1 = document.createElement("script");
  7100. script1.type = "text/javascript";
  7101. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7102. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7103. const script2 = document.createElement("script");
  7104. script2.type = "text/javascript";
  7105. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7106. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7107. const script3 = document.createElement("script");
  7108. script3.type = "text/javascript";
  7109. script3.charset = "UTF-8";
  7110. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7111. const script4 = document.createElement("script");
  7112. script4.type = "text/javascript";
  7113. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7114. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  7115. if (_iframe) {
  7116. if (str == 'doc') {
  7117. _iframe = _formdiv.querySelector('iframe')
  7118. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7119. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7120. _iframe.contentWindow.document.body.appendChild(script1);
  7121. _iframe.contentWindow.document.body.appendChild(script2);
  7122. // _iframe.contentWindow.document.body.appendChild(script3);
  7123. _iframe.contentWindow.document.body.appendChild(script4);
  7124. })
  7125. if (onloadListener) {
  7126. _iframe.contentDocument.location.reload()
  7127. } else {
  7128. _iframe.contentDocument.location.reload()
  7129. }
  7130. } else if (str == 'mind') {
  7131. _iframe = _formdiv.querySelector('iframe')
  7132. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7133. _iframe.contentWindow.document.body.appendChild(script1);
  7134. _iframe.contentWindow.document.body.appendChild(script2);
  7135. _iframe.contentWindow.document.body.appendChild(script4);
  7136. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7137. })
  7138. if (onloadListener) {
  7139. _iframe.contentDocument.location.reload()
  7140. } else {
  7141. _iframe.contentDocument.location.reload()
  7142. }
  7143. } else {
  7144. _iframe.onload = () => {
  7145. _iframe.contentWindow.document.body.appendChild(script1);
  7146. _iframe.contentWindow.document.body.appendChild(script2);
  7147. // _iframe.contentWindow.document.body.appendChild(script3);
  7148. _iframe.contentWindow.document.body.appendChild(script4);
  7149. };
  7150. }
  7151. _jie.onclick = async () => {
  7152. let text = ''
  7153. if (aTool == 6) {
  7154. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7155. } else if (aTool == 3) {
  7156. text = await U.MD.D.I.getEditorContent(_iframe);
  7157. }
  7158. _loading.style.display = 'flex'
  7159. console.log(_loading);
  7160. var _ajs = _iframe.contentWindow.document.createElement("script");
  7161. _ajs.type = "text/javascript";
  7162. _ajs.innerHTML =
  7163. // 'console.log(' + _loading + ');\n' +
  7164. 'var _js = document.createElement("script");\n' +
  7165. '_js.type="text/javascript";\n' +
  7166. '_js.charset="UTF-8";\n' +
  7167. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7168. "_js.onload = function(){\n" +
  7169. ' var a = document.getElementsByTagName("img")\n' +
  7170. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7171. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7172. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7173. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7174. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7175. "beforeUpload_shishi(file," +
  7176. "'" +
  7177. _userid +
  7178. "'" +
  7179. ", " +
  7180. "'" +
  7181. _cid +
  7182. "'" +
  7183. ", " +
  7184. "'" +
  7185. _stage +
  7186. "'" +
  7187. ", " +
  7188. "'" +
  7189. _task +
  7190. "'" +
  7191. ", " +
  7192. "'" +
  7193. _tool +
  7194. "'" +
  7195. ", " +
  7196. "'" +
  7197. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7198. "'" +
  7199. ", " +
  7200. "'" +
  7201. aTool +
  7202. "'" +
  7203. ", " +
  7204. "`" +
  7205. text +
  7206. "`" +
  7207. ")\n" +
  7208. " });\n" +
  7209. "}\n" +
  7210. "document.head.appendChild(_js);\n";
  7211. _iframe.contentWindow.document.head.appendChild(_ajs);
  7212. }
  7213. }
  7214. //U.MD.D.I.openClick(str);
  7215. //如果有任务栏信息
  7216. // if (_taskbar) {
  7217. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7218. // }
  7219. }
  7220. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7221. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7222. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7223. _userinfo = US.userInfo, //登录用户信息
  7224. _userid = US.userInfo.userid //登录用户id
  7225. let _iframe;
  7226. let _cid = cid,
  7227. _stage = stage,
  7228. _task = task,
  7229. _tool = tool;
  7230. var _jie = $$("div", {
  7231. "style": {
  7232. "position": "absolute",
  7233. "bottom": "50px",
  7234. "right": "50px",
  7235. "zIndex": "9999",
  7236. "backgroundColor": "#2268bc",
  7237. "color": "#fff",
  7238. "padding": "12px 20px",
  7239. "cursor": "pointer",
  7240. "borderRadius": "4px",
  7241. },
  7242. "innerHTML": "确认并提交"
  7243. })
  7244. let aTool = ''
  7245. let _loading = document.createElement('div')
  7246. _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;"
  7247. // _loading.id = "";
  7248. let _lchild = document.createElement('div')
  7249. let _limg = document.createElement('img')
  7250. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7251. _limg.style = "width: 26px;margin-right: 10px;"
  7252. _lchild.appendChild(_limg)
  7253. let _lspan = document.createElement('span')
  7254. _lspan.innerHTML = "上传中..."
  7255. _lchild.appendChild(_lspan)
  7256. _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%);"
  7257. _loading.appendChild(_lchild)
  7258. var _box = $$('div', {
  7259. "style": {
  7260. "position": "relative",
  7261. "width": "100%",
  7262. "height": "100%",
  7263. },
  7264. })
  7265. _box.appendChild(_loading)
  7266. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7267. switch (str) {
  7268. case "whiteboard":
  7269. aTool = 1;
  7270. _iframe = $$("iframe", {
  7271. "frameborder": "no",
  7272. "border": "0",
  7273. "scrolling ": "no",
  7274. "style": {
  7275. "cssText": "border:0;width:100%;height:100%"
  7276. },
  7277. "src": "https://iwb.cocorobo.cn/"
  7278. })
  7279. _box.appendChild(_iframe);
  7280. _box.appendChild(_jie);
  7281. _formdiv = new U.UF.UI.form(
  7282. "电子白板",
  7283. _box, {
  7284. "id": "whiteboards" + cid + stage + task + tool,
  7285. "style": {
  7286. "width": "90%",
  7287. "height": "90%",
  7288. "overflow": 'hidden'
  7289. },
  7290. "onresize": function () { }
  7291. }, {
  7292. closecallback: function () { }
  7293. }, {
  7294. "style": {
  7295. "height": "36px"
  7296. }
  7297. }).form; //创建窗体
  7298. _taskbar = {
  7299. "id": str + _formdiv.id,
  7300. "style": {
  7301. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7302. },
  7303. "name": "电子白板",
  7304. "forms": _formdiv,
  7305. "click": function () {
  7306. U.MD.D.I.openApplication(str, obj, info);
  7307. }
  7308. }
  7309. break;
  7310. case "mind":
  7311. aTool = 3;
  7312. _iframe = $$("iframe", {
  7313. "frameborder": "no",
  7314. "border": "0",
  7315. "scrolling ": "no",
  7316. "style": {
  7317. "cssText": "border:0;width:100%;height:100%"
  7318. },
  7319. "src": "/kityminder-editor/dist/index.html"
  7320. });
  7321. _box.appendChild(_iframe);
  7322. _box.appendChild(_jie);
  7323. _formdiv = new U.UF.UI.form(
  7324. "思维导图",
  7325. _box, { //"/jsmind/example/demo.html"
  7326. "id": "minds" + cid + stage + task + tool,
  7327. "style": {
  7328. "width": "90%",
  7329. "height": "90%",
  7330. "overflow": 'hidden'
  7331. },
  7332. "onresize": function () { }
  7333. }, {
  7334. closecallback: function () { }
  7335. }, {
  7336. "style": {
  7337. "height": "36px"
  7338. }
  7339. }).form; //创建窗体
  7340. _taskbar = {
  7341. "id": str + _formdiv.id,
  7342. "style": {
  7343. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7344. },
  7345. "name": "思维导图",
  7346. "forms": _formdiv,
  7347. "click": function () {
  7348. U.MD.D.I.openApplication(str, obj, info);
  7349. }
  7350. }
  7351. break;
  7352. case "doc":
  7353. aTool = 6;
  7354. _iframe = $$("iframe", {
  7355. "frameborder": "no",
  7356. "border": "0",
  7357. "scrolling ": "no",
  7358. "style": {
  7359. "cssText": "border:0;width:100%;height:100%"
  7360. },
  7361. "src": "/Office/Word/WordEditArea.htm"
  7362. })
  7363. _box.appendChild(_iframe);
  7364. _box.appendChild(_jie);
  7365. _formdiv = new U.UF.UI.form(
  7366. "协同文档",
  7367. _box, {
  7368. "id": "docs" + cid + stage + task + tool,
  7369. "style": {
  7370. "width": "90%",
  7371. "height": "90%",
  7372. "overflow": 'hidden'
  7373. },
  7374. "onresize": function () { }
  7375. }, {
  7376. closecallback: function () { }
  7377. }, {
  7378. "style": {
  7379. "height": "36px"
  7380. }
  7381. }).form; //创建窗体
  7382. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7383. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7384. })
  7385. _taskbar = {
  7386. "id": str + _formdiv.id,
  7387. "style": {
  7388. "backgroundImage": "url(/img/icon/doc.png)"
  7389. },
  7390. "name": "协同文档",
  7391. "forms": _formdiv,
  7392. "click": function () {
  7393. U.MD.D.I.openApplication(str, obj, info);
  7394. }
  7395. }
  7396. break;
  7397. }
  7398. const script1 = document.createElement("script");
  7399. script1.type = "text/javascript";
  7400. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7401. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7402. const script2 = document.createElement("script");
  7403. script2.type = "text/javascript";
  7404. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7405. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7406. const script3 = document.createElement("script");
  7407. script3.type = "text/javascript";
  7408. script3.charset = "UTF-8";
  7409. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7410. const script4 = document.createElement("script");
  7411. script4.type = "text/javascript";
  7412. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7413. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7414. if (_iframe) {
  7415. if (str == 'doc') {
  7416. _iframe = _formdiv.querySelector('iframe')
  7417. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7418. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7419. _iframe.contentWindow.document.body.appendChild(script1);
  7420. _iframe.contentWindow.document.body.appendChild(script2);
  7421. // _iframe.contentWindow.document.body.appendChild(script3);
  7422. _iframe.contentWindow.document.body.appendChild(script4);
  7423. })
  7424. if (onloadListener) {
  7425. _iframe.contentDocument.location.reload()
  7426. } else {
  7427. _iframe.contentDocument.location.reload()
  7428. }
  7429. } else if (str == 'mind') {
  7430. _iframe = _formdiv.querySelector('iframe')
  7431. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7432. _iframe.contentWindow.document.body.appendChild(script1);
  7433. _iframe.contentWindow.document.body.appendChild(script2);
  7434. _iframe.contentWindow.document.body.appendChild(script4);
  7435. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7436. })
  7437. if (onloadListener) {
  7438. _iframe.contentDocument.location.reload()
  7439. } else {
  7440. _iframe.contentDocument.location.reload()
  7441. }
  7442. } else {
  7443. _iframe.onload = () => {
  7444. _iframe.contentWindow.document.body.appendChild(script1);
  7445. _iframe.contentWindow.document.body.appendChild(script2);
  7446. // _iframe.contentWindow.document.body.appendChild(script3);
  7447. _iframe.contentWindow.document.body.appendChild(script4);
  7448. };
  7449. }
  7450. _jie.onclick = async () => {
  7451. let text = ''
  7452. if (aTool == 6) {
  7453. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7454. } else if (aTool == 3) {
  7455. text = await U.MD.D.I.getEditorContent(_iframe);
  7456. }
  7457. _loading.style.display = 'flex'
  7458. console.log(_loading);
  7459. var _ajs = _iframe.contentWindow.document.createElement("script");
  7460. _ajs.type = "text/javascript";
  7461. _ajs.innerHTML =
  7462. // 'console.log(' + _loading + ');\n' +
  7463. 'var _js = document.createElement("script");\n' +
  7464. '_js.type="text/javascript";\n' +
  7465. '_js.charset="UTF-8";\n' +
  7466. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7467. "_js.onload = function(){\n" +
  7468. ' var a = document.getElementsByTagName("img")\n' +
  7469. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7470. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7471. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7472. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7473. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7474. "beforeUpload_shishi(file," +
  7475. "'" +
  7476. _userid +
  7477. "'" +
  7478. ", " +
  7479. "'" +
  7480. _cid +
  7481. "'" +
  7482. ", " +
  7483. "'" +
  7484. _stage +
  7485. "'" +
  7486. ", " +
  7487. "'" +
  7488. _task +
  7489. "'" +
  7490. ", " +
  7491. "'" +
  7492. _tool +
  7493. "'" +
  7494. ", " +
  7495. "'" +
  7496. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7497. "'" +
  7498. ", " +
  7499. "'" +
  7500. aTool +
  7501. "'" +
  7502. ", " +
  7503. "`" +
  7504. text +
  7505. "`" +
  7506. ")\n" +
  7507. " });\n" +
  7508. "}\n" +
  7509. "document.head.appendChild(_js);\n";
  7510. _iframe.contentWindow.document.head.appendChild(_ajs);
  7511. }
  7512. }
  7513. //U.MD.D.I.openClick(str);
  7514. //如果有任务栏信息
  7515. // if (_taskbar) {
  7516. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7517. // }
  7518. }
  7519. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7520. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7521. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7522. _userinfo = US.userInfo, //登录用户信息
  7523. _userid = US.userInfo.userid //登录用户id
  7524. let _iframe;
  7525. let _cid = cid,
  7526. _stage = stage,
  7527. _task = task,
  7528. _tool = tool;
  7529. var _jie = $$("div", {
  7530. "style": {
  7531. "position": "absolute",
  7532. "bottom": "50px",
  7533. "right": "50px",
  7534. "zIndex": "9999",
  7535. "backgroundColor": "#2268bc",
  7536. "color": "#fff",
  7537. "padding": "12px 20px",
  7538. "cursor": "pointer",
  7539. "borderRadius": "4px",
  7540. },
  7541. "innerHTML": "上传模板"
  7542. })
  7543. let aTool = ''
  7544. let _loading = document.createElement('div')
  7545. _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;"
  7546. // _loading.id = "";
  7547. let _lchild = document.createElement('div')
  7548. let _limg = document.createElement('img')
  7549. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7550. _limg.style = "width: 26px;margin-right: 10px;"
  7551. _lchild.appendChild(_limg)
  7552. let _lspan = document.createElement('span')
  7553. _lspan.innerHTML = "上传中..."
  7554. _lchild.appendChild(_lspan)
  7555. _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%);"
  7556. _loading.appendChild(_lchild)
  7557. var _box = $$('div', {
  7558. "style": {
  7559. "position": "relative",
  7560. "width": "100%",
  7561. "height": "100%",
  7562. },
  7563. })
  7564. _box.appendChild(_loading)
  7565. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7566. switch (str) {
  7567. case "whiteboard":
  7568. aTool = 1;
  7569. _iframe = $$("iframe", {
  7570. "frameborder": "no",
  7571. "border": "0",
  7572. "scrolling ": "no",
  7573. "style": {
  7574. "cssText": "border:0;width:100%;height:100%"
  7575. },
  7576. "src": "https://iwb.cocorobo.cn/"
  7577. })
  7578. _box.appendChild(_iframe);
  7579. _box.appendChild(_jie);
  7580. _formdiv = new U.UF.UI.form(
  7581. "电子白板",
  7582. _box, {
  7583. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7584. "style": {
  7585. "width": "90%",
  7586. "height": "90%",
  7587. "overflow": 'hidden'
  7588. },
  7589. "onresize": function () { }
  7590. }, {
  7591. closecallback: function () { }
  7592. }, {
  7593. "style": {
  7594. "height": "36px"
  7595. }
  7596. }).form; //创建窗体
  7597. _taskbar = {
  7598. "id": str + _formdiv.id,
  7599. "style": {
  7600. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7601. },
  7602. "name": "电子白板",
  7603. "forms": _formdiv,
  7604. "click": function () {
  7605. U.MD.D.I.openApplication(str, obj, info);
  7606. }
  7607. }
  7608. break;
  7609. case "mind":
  7610. aTool = 3;
  7611. _iframe = $$("iframe", {
  7612. "frameborder": "no",
  7613. "border": "0",
  7614. "scrolling ": "no",
  7615. "style": {
  7616. "cssText": "border:0;width:100%;height:100%"
  7617. },
  7618. "src": "/kityminder-editor/dist/index.html"
  7619. });
  7620. _box.appendChild(_iframe);
  7621. _box.appendChild(_jie);
  7622. _formdiv = new U.UF.UI.form(
  7623. "思维导图",
  7624. _box, { //"/jsmind/example/demo.html"
  7625. "id": "minds_Yu" + cid + stage + task + tool,
  7626. "style": {
  7627. "width": "90%",
  7628. "height": "90%",
  7629. "overflow": 'hidden'
  7630. },
  7631. "onresize": function () { }
  7632. }, {
  7633. closecallback: function () { }
  7634. }, {
  7635. "style": {
  7636. "height": "36px"
  7637. }
  7638. }).form; //创建窗体
  7639. _taskbar = {
  7640. "id": str + _formdiv.id,
  7641. "style": {
  7642. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7643. },
  7644. "name": "思维导图",
  7645. "forms": _formdiv,
  7646. "click": function () {
  7647. U.MD.D.I.openApplication(str, obj, info);
  7648. }
  7649. }
  7650. break;
  7651. case "doc":
  7652. aTool = 6;
  7653. _iframe = $$("iframe", {
  7654. "frameborder": "no",
  7655. "border": "0",
  7656. "scrolling ": "no",
  7657. "style": {
  7658. "cssText": "border:0;width:100%;height:100%"
  7659. },
  7660. "src": "/Office/Word/WordEditArea.htm"
  7661. })
  7662. _box.appendChild(_iframe);
  7663. _box.appendChild(_jie);
  7664. _formdiv = new U.UF.UI.form(
  7665. "协同文档",
  7666. _box, {
  7667. "id": "docs_Yu" + cid + stage + task + tool,
  7668. "style": {
  7669. "width": "90%",
  7670. "height": "90%",
  7671. "overflow": 'hidden'
  7672. },
  7673. "onresize": function () { }
  7674. }, {
  7675. closecallback: function () { }
  7676. }, {
  7677. "style": {
  7678. "height": "36px"
  7679. }
  7680. }).form; //创建窗体
  7681. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7682. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7683. })
  7684. _taskbar = {
  7685. "id": str + _formdiv.id,
  7686. "style": {
  7687. "backgroundImage": "url(/img/icon/doc.png)"
  7688. },
  7689. "name": "协同文档",
  7690. "forms": _formdiv,
  7691. "click": function () {
  7692. U.MD.D.I.openApplication(str, obj, info);
  7693. }
  7694. }
  7695. break;
  7696. case "CocoPi":
  7697. aTool = 57;
  7698. _iframe = $$("iframe", {
  7699. "allowpaymentrequest": "allowpaymentrequest",
  7700. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7701. "webkitallowfullscreen": "",
  7702. "mozallowfullscreen": "",
  7703. "frameborder": "no",
  7704. "border": "0",
  7705. "scrolling ": "no",
  7706. "style": {
  7707. "cssText": "border:0;width:100%;height:100%"
  7708. },
  7709. "src": "https://pi.cocorobo.cn/"
  7710. })
  7711. _box.appendChild(_iframe);
  7712. _box.appendChild(_jie);
  7713. _formdiv = new U.UF.UI.form(
  7714. "CocoPi",
  7715. _box, {
  7716. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7717. "style": {
  7718. "width": "90%",
  7719. "height": "90%",
  7720. "overflow": 'hidden'
  7721. },
  7722. "onresize": function () { }
  7723. }, {
  7724. closecallback: function () { }
  7725. }, {
  7726. "style": {
  7727. "height": "36px"
  7728. }
  7729. }).form; //创建窗体
  7730. _taskbar = {
  7731. "id": str + _formdiv.id,
  7732. "style": {
  7733. "backgroundImage": "url(/img/icon/cocopi.png)"
  7734. },
  7735. "name": "CocoPi",
  7736. "forms": _formdiv,
  7737. "click": function () {
  7738. U.MD.D.I.openApplication(str, obj, info);
  7739. }
  7740. }
  7741. break;
  7742. }
  7743. if (_iframe) {
  7744. if (str == 'doc') {
  7745. _iframe = _formdiv.querySelector('iframe')
  7746. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7747. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7748. })
  7749. if (onloadListener) {
  7750. _iframe.contentDocument.location.reload()
  7751. } else {
  7752. _iframe.contentDocument.location.reload()
  7753. }
  7754. } else if (str == 'mind') {
  7755. _iframe = _formdiv.querySelector('iframe')
  7756. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7757. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7758. })
  7759. if (onloadListener) {
  7760. _iframe.contentDocument.location.reload()
  7761. } else {
  7762. _iframe.contentDocument.location.reload()
  7763. }
  7764. } else if (str == 'whiteboard') {
  7765. _iframe = _formdiv.querySelector('iframe')
  7766. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7767. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7768. })
  7769. if (onloadListener) {
  7770. _iframe.contentDocument.location.reload()
  7771. } else {
  7772. _iframe.contentDocument.location.reload()
  7773. }
  7774. } else if (str == 'CocoPi') {
  7775. _iframe = _formdiv.querySelector('iframe')
  7776. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7777. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7778. })
  7779. if (onloadListener) {
  7780. _iframe.contentDocument.location.reload()
  7781. } else {
  7782. _iframe.contentDocument.location.reload()
  7783. }
  7784. } else {
  7785. _iframe.onload = () => { };
  7786. }
  7787. _jie.onclick = async () => {
  7788. let text = ''
  7789. let type = '2'
  7790. if (aTool == 1) {
  7791. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7792. type = '3'
  7793. } else if (aTool == 6) {
  7794. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7795. type = '1'
  7796. } else if (aTool == 3) {
  7797. text = await U.MD.D.I.getEditorContent(_iframe);
  7798. type = '2'
  7799. } else if (aTool == 57) {
  7800. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7801. type = '4'
  7802. }
  7803. _loading.style.display = 'flex'
  7804. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7805. }
  7806. }
  7807. //U.MD.D.I.openClick(str);
  7808. //如果有任务栏信息
  7809. // if (_taskbar) {
  7810. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7811. // }
  7812. }
  7813. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7814. var xmlhttp;
  7815. var Mac, Sn, DeviceId
  7816. if (window.XMLHttpRequest) {
  7817. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7818. xmlhttp = new XMLHttpRequest();
  7819. } else {
  7820. // IE6, IE5 浏览器执行代码
  7821. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7822. }
  7823. xmlhttp.onreadystatechange = function () {
  7824. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7825. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7826. // resolve(res.value[0][0].text);
  7827. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7828. }
  7829. }
  7830. }
  7831. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7832. xmlhttp.send();
  7833. }
  7834. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7835. var xmlhttp;
  7836. var Mac, Sn, DeviceId
  7837. if (window.XMLHttpRequest) {
  7838. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7839. xmlhttp = new XMLHttpRequest();
  7840. } else {
  7841. // IE6, IE5 浏览器执行代码
  7842. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7843. }
  7844. xmlhttp.onreadystatechange = function () {
  7845. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7846. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7847. // resolve(res.value[0][0].text);
  7848. if (type == '2') {
  7849. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7850. } else if (type == '3') {
  7851. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7852. } else if (type == '4') {
  7853. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7854. }
  7855. } else {
  7856. if (type == '2') {
  7857. iframe.contentWindow.editor.minder.importData('json', '')
  7858. } else if (type == '3') {
  7859. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7860. } else if (type == '4') {
  7861. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7862. }
  7863. }
  7864. }
  7865. }
  7866. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7867. xmlhttp.send();
  7868. }
  7869. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7870. var xmlhttp;
  7871. var Mac, Sn, DeviceId
  7872. if (window.XMLHttpRequest) {
  7873. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7874. xmlhttp = new XMLHttpRequest();
  7875. } else {
  7876. // IE6, IE5 浏览器执行代码
  7877. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7878. }
  7879. xmlhttp.onreadystatechange = function () {
  7880. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7881. if (xmlhttp.response) {
  7882. // resolve(res.value[0][0].text);
  7883. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7884. // $(fileInput).val('');
  7885. // });
  7886. span.innerHTML = '上传成功'
  7887. setTimeout(() => {
  7888. loading.style.display = 'none'
  7889. }, 1000);
  7890. }
  7891. }
  7892. }
  7893. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7894. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7895. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7896. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7897. // 设置请求头,表示请求体的编码格式
  7898. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7899. // 设置请求体,使用url-encoded格式的数据
  7900. }
  7901. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7902. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7903. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7904. _userinfo = US.userInfo, //登录用户信息
  7905. _userid = US.userInfo.userid //登录用户id
  7906. let _iframe;
  7907. let _cid = cid,
  7908. _stage = stage,
  7909. _task = task,
  7910. _tool = tool;
  7911. var _jie = $$("div", {
  7912. "style": {
  7913. "position": "absolute",
  7914. "bottom": "50px",
  7915. "right": "50px",
  7916. "zIndex": "9999",
  7917. "backgroundColor": "#2268bc",
  7918. "color": "#fff",
  7919. "padding": "12px 20px",
  7920. "cursor": "pointer",
  7921. "borderRadius": "4px",
  7922. },
  7923. "innerHTML": "提交作业"
  7924. })
  7925. let aTool = ''
  7926. let _loading = document.createElement('div')
  7927. _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;"
  7928. // _loading.id = "";
  7929. let _lchild = document.createElement('div')
  7930. let _limg = document.createElement('img')
  7931. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7932. _limg.style = "width: 26px;margin-right: 10px;"
  7933. _lchild.appendChild(_limg)
  7934. let _lspan = document.createElement('span')
  7935. _lspan.innerHTML = "上传中..."
  7936. _lchild.appendChild(_lspan)
  7937. _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%);"
  7938. _loading.appendChild(_lchild)
  7939. var _box = $$('div', {
  7940. "style": {
  7941. "position": "relative",
  7942. "width": "100%",
  7943. "height": "100%",
  7944. },
  7945. })
  7946. _box.appendChild(_loading)
  7947. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7948. switch (str) {
  7949. case "CocoPi":
  7950. aTool = 57;
  7951. _iframe = $$("iframe", {
  7952. "allowpaymentrequest": "allowpaymentrequest",
  7953. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7954. "webkitallowfullscreen": "",
  7955. "mozallowfullscreen": "",
  7956. "frameborder": "no",
  7957. "border": "0",
  7958. "scrolling ": "no",
  7959. "style": {
  7960. "cssText": "border:0;width:100%;height:100%"
  7961. },
  7962. "src": "https://pi.cocorobo.cn/"
  7963. })
  7964. _box.appendChild(_iframe);
  7965. _box.appendChild(_jie);
  7966. _formdiv = new U.UF.UI.form(
  7967. "CocoPi",
  7968. _box, {
  7969. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7970. "style": {
  7971. "width": "90%",
  7972. "height": "90%",
  7973. "overflow": 'hidden'
  7974. },
  7975. "onresize": function () { }
  7976. }, {
  7977. closecallback: function () { }
  7978. }, {
  7979. "style": {
  7980. "height": "36px"
  7981. }
  7982. }).form; //创建窗体
  7983. _taskbar = {
  7984. "id": str + _formdiv.id,
  7985. "style": {
  7986. "backgroundImage": "url(/img/icon/cocopi.png)"
  7987. },
  7988. "name": "CocoPi",
  7989. "forms": _formdiv,
  7990. "click": function () {
  7991. U.MD.D.I.openApplication(str, obj, info);
  7992. }
  7993. }
  7994. break;
  7995. }
  7996. if (_iframe) {
  7997. if (str == 'CocoPi') {
  7998. _iframe = _formdiv.querySelector('iframe')
  7999. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8000. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8001. })
  8002. if (onloadListener) {
  8003. _iframe.contentDocument.location.reload()
  8004. } else {
  8005. _iframe.contentDocument.location.reload()
  8006. }
  8007. }
  8008. _jie.onclick = async () => {
  8009. let text = ''
  8010. if (aTool == 57) {
  8011. text = _iframe.contentWindow.getLoadXmlStr()
  8012. }
  8013. _loading.style.display = 'flex'
  8014. console.log(_loading);
  8015. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8016. _loading.style.display = 'none'
  8017. let _div = document.createElement('div')
  8018. _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;"
  8019. let _inner = document.createElement('div')
  8020. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8021. _inner.innerHTML = "上传成功"
  8022. _div.appendChild(_inner)
  8023. _iframe.contentWindow.window.document.body.appendChild(_div)
  8024. _div.onclick = () => {
  8025. _iframe.contentWindow.window.document.body.removeChild(_div)
  8026. }
  8027. setTimeout(() => {
  8028. _iframe.contentWindow.window.document.body.removeChild(_div)
  8029. }, 1000);
  8030. }, [], { "type": "POST", "withCredentials": true });
  8031. }
  8032. }
  8033. }
  8034. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  8035. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8036. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8037. _userid = student.userid, //登录用户id
  8038. _username = student.student //用户名字
  8039. let _iframe;
  8040. let _cid = cid,
  8041. _stage = stage,
  8042. _task = task,
  8043. _tool = tool;
  8044. var _jie = $$("div", {
  8045. "style": {
  8046. "position": "absolute",
  8047. "bottom": "50px",
  8048. "right": "50px",
  8049. "zIndex": "9999",
  8050. "backgroundColor": "#2268bc",
  8051. "color": "#fff",
  8052. "padding": "12px 20px",
  8053. "cursor": "pointer",
  8054. "borderRadius": "4px",
  8055. },
  8056. "innerHTML": "提交作业"
  8057. })
  8058. let aTool = ''
  8059. let _loading = document.createElement('div')
  8060. _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;"
  8061. // _loading.id = "";
  8062. let _lchild = document.createElement('div')
  8063. let _limg = document.createElement('img')
  8064. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8065. _limg.style = "width: 26px;margin-right: 10px;"
  8066. _lchild.appendChild(_limg)
  8067. let _lspan = document.createElement('span')
  8068. _lspan.innerHTML = "上传中..."
  8069. _lchild.appendChild(_lspan)
  8070. _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%);"
  8071. _loading.appendChild(_lchild)
  8072. var _box = $$('div', {
  8073. "style": {
  8074. "position": "relative",
  8075. "width": "100%",
  8076. "height": "100%",
  8077. },
  8078. })
  8079. _box.appendChild(_loading)
  8080. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  8081. switch (str) {
  8082. case "CocoPi":
  8083. aTool = 57;
  8084. _iframe = $$("iframe", {
  8085. "allowpaymentrequest": "allowpaymentrequest",
  8086. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8087. "webkitallowfullscreen": "",
  8088. "mozallowfullscreen": "",
  8089. "frameborder": "no",
  8090. "border": "0",
  8091. "scrolling ": "no",
  8092. "style": {
  8093. "cssText": "border:0;width:100%;height:100%"
  8094. },
  8095. "src": "https://pi.cocorobo.cn/"
  8096. })
  8097. _box.appendChild(_iframe);
  8098. _box.appendChild(_jie);
  8099. _formdiv = new U.UF.UI.form(
  8100. "CocoPi-" + _username,
  8101. _box, {
  8102. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  8103. "style": {
  8104. "width": "90%",
  8105. "height": "90%",
  8106. "overflow": 'hidden'
  8107. },
  8108. "onresize": function () { }
  8109. }, {
  8110. closecallback: function () { }
  8111. }, {
  8112. "style": {
  8113. "height": "36px"
  8114. }
  8115. }).form; //创建窗体
  8116. _taskbar = {
  8117. "id": str + _formdiv.id,
  8118. "style": {
  8119. "backgroundImage": "url(/img/icon/cocopi.png)"
  8120. },
  8121. "name": "CocoPi",
  8122. "forms": _formdiv,
  8123. "click": function () {
  8124. U.MD.D.I.openApplication(str, obj, info);
  8125. }
  8126. }
  8127. break;
  8128. }
  8129. if (_iframe) {
  8130. if (str == 'CocoPi') {
  8131. _iframe = _formdiv.querySelector('iframe')
  8132. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8133. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8134. })
  8135. if (onloadListener) {
  8136. _iframe.contentDocument.location.reload()
  8137. } else {
  8138. _iframe.contentDocument.location.reload()
  8139. }
  8140. }
  8141. _jie.onclick = async () => {
  8142. let text = ''
  8143. if (aTool == 57) {
  8144. text = _iframe.contentWindow.getLoadXmlStr()
  8145. }
  8146. _loading.style.display = 'flex'
  8147. console.log(_loading);
  8148. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8149. _loading.style.display = 'none'
  8150. let _div = document.createElement('div')
  8151. _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;"
  8152. let _inner = document.createElement('div')
  8153. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8154. _inner.innerHTML = "上传成功"
  8155. _div.appendChild(_inner)
  8156. _iframe.contentWindow.window.document.body.appendChild(_div)
  8157. _div.onclick = () => {
  8158. _iframe.contentWindow.window.document.body.removeChild(_div)
  8159. }
  8160. setTimeout(() => {
  8161. _iframe.contentWindow.window.document.body.removeChild(_div)
  8162. }, 1000);
  8163. }, [], { "type": "POST", "withCredentials": true });
  8164. }
  8165. }
  8166. }
  8167. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8168. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8169. if (res.value[0].length > 0) {
  8170. if (atool == 57) {
  8171. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8172. }
  8173. } else {
  8174. if (atool == 57) {
  8175. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8176. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8177. }
  8178. }
  8179. }, [], { "type": "POST", "withCredentials": true });
  8180. }