DeskTop.js 523 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644
  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": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  423. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  424. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  425. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  426. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  427. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  428. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  429. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  430. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  431. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  432. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  433. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  434. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  435. ];
  436. U.MD.D.I.wankeAdminDeskIcon = [
  437. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  438. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  439. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  440. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  441. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  442. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  443. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  444. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  445. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  446. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  447. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  448. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  449. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  450. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  451. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  452. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  453. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  454. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  455. ];
  456. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  457. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  458. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  459. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  460. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  461. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  462. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  463. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  464. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  465. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  466. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  467. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  468. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  469. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  470. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  471. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  472. ];
  473. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  474. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  475. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  476. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  477. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  478. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  479. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  480. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  481. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  482. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  483. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  484. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  485. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  486. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  487. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  488. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  489. ];
  490. //明德教师桌面图标的全局变量
  491. U.MD.D.I.MingdeTeacherDeskIcon = [
  492. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  493. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  494. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  495. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  496. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  497. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  498. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  499. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  500. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  501. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  502. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  503. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  504. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  505. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  506. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  507. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  508. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  509. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  510. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  511. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  512. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  513. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  514. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  515. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  516. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  517. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  518. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  519. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  520. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  521. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  522. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  523. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  524. ];
  525. //97c4ee8b-d010-4042-986d-e9d3c217264f
  526. //教师桌面图标的全局变量
  527. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  528. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  529. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  530. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  531. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  532. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  533. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  534. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  535. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  536. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  537. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  538. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  539. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  540. ];
  541. //福田
  542. U.MD.D.I.futianTeacherDeskIcon = [
  543. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  544. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  545. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  546. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  547. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  548. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  549. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  550. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  551. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  552. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  553. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  554. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  555. ];
  556. //福田
  557. U.MD.D.I.futianAdminDeskIcon = [
  558. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  559. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  560. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  561. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  562. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  563. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  564. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  565. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  566. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  567. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  568. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  569. ];
  570. //lotech
  571. U.MD.D.I.lotechTeacherDeskIcon = [
  572. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  573. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  574. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  575. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  576. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  577. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  578. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  579. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  580. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  581. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  582. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  583. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  584. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  585. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  586. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  587. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  588. ];
  589. //龙华中心小学教师桌面图标的全局变量
  590. U.MD.D.I.longhuateacherDeskIcon = [
  591. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  592. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  593. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  594. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  595. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  596. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  597. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  598. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  599. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  600. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  601. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  602. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  603. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  604. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  605. ];
  606. //教科院实小教师桌面图标的全局变量
  607. U.MD.D.I.siesteacherDeskIcon = [
  608. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  609. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  610. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  611. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  612. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  613. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  614. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  615. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  616. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  617. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  618. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  619. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  620. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  621. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  622. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  623. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  624. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  625. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  627. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  628. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  629. { "Name": "评测看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  630. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  631. { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  632. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  633. ];
  634. //教科院实小教师桌面图标的全局变量
  635. U.MD.D.I.siesStudentDeskIcon = [
  636. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  637. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  638. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  639. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  640. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  641. ];
  642. //福田
  643. U.MD.D.I.gdjgTeacherDeskIcon = [
  644. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  645. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  646. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  647. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  648. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  649. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  650. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  651. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  652. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  653. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  654. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  655. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  656. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  657. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  658. ];
  659. //gdjg
  660. U.MD.D.I.gdjgAdminDeskIcon = [
  661. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  662. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  663. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  664. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  665. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  666. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  667. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  668. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  669. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  670. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  671. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  672. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  673. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  674. ];
  675. //hk
  676. U.MD.D.I.hkteacherDeskIcon = [
  677. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  678. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  679. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  680. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  681. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  682. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  683. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  684. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  685. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  686. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  687. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  688. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  689. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  690. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  691. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  692. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  693. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  694. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  695. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  696. ];
  697. //hk
  698. U.MD.D.I.hkStudentDeskIcon = [
  699. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  700. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  701. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  702. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  703. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  704. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  705. ];
  706. //hk
  707. U.MD.D.I.hkaceteacherDeskIcon = [
  708. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  709. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  710. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  711. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  712. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  713. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  714. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  715. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  716. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  717. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  718. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  719. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  720. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  721. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  722. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  723. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  724. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  725. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  726. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  727. ];
  728. //hk
  729. U.MD.D.I.hkaceStudentDeskIcon = [
  730. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  731. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  732. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  733. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  734. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  735. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  736. ];
  737. //香海正覺蓮社佛教正覺中學
  738. U.MD.D.I.hkZJLSteacherDeskIcon = [
  739. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  740. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  741. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  742. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  743. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  744. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  745. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  746. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  747. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  748. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  749. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  750. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  751. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  752. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  753. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  754. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  755. ];
  756. //香海正覺蓮社佛教正覺中學
  757. U.MD.D.I.hkZJLSStudentDeskIcon = [
  758. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  759. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  760. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  761. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  762. ];
  763. //云海
  764. U.MD.D.I.yunhaiTeacherDeskIcon = [
  765. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  766. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  767. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  768. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  769. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  770. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  771. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  772. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  773. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  774. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  775. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  776. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  777. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  778. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  779. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  780. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  781. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  782. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  783. ];
  784. //福田
  785. U.MD.D.I.heyuanTeacherDeskIcon = [
  786. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  787. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  788. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  789. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  790. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  791. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  792. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  793. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  794. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  795. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  796. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  797. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  798. ];
  799. //福田
  800. U.MD.D.I.heyuanAdminDeskIcon = [
  801. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  802. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  803. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  804. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  805. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  806. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  807. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  808. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  809. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  810. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  811. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  812. ];
  813. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  814. U.MD.D.I.szherTeacherDeskIcon = [
  815. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  816. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  817. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  818. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  819. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  820. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  821. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  822. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  823. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  824. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  825. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  826. ];
  827. //dsei
  828. U.MD.D.I.dseiTeacherDeskIcon = [
  829. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  830. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  831. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  832. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  833. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  834. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  835. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  836. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  837. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  838. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  839. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  840. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  841. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  842. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  843. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  844. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  845. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  846. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  847. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  848. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  849. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  850. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  851. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  852. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  853. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  854. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  855. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  856. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  857. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  858. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  859. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  860. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  861. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  862. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  863. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  864. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  865. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  866. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  867. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  868. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  869. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  870. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  871. ];
  872. //dsei
  873. U.MD.D.I.dseiAdminDeskIcon = [
  874. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  875. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  876. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  877. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  878. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  879. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  880. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  881. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  882. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  883. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  884. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  885. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  886. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  887. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  888. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  889. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  890. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  891. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  892. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  893. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  894. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  895. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  896. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  897. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  898. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  899. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  900. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  901. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  902. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  903. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  904. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  905. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  906. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  907. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  908. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  909. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  910. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  911. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  912. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  913. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  914. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  915. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  916. ];
  917. //dsei
  918. U.MD.D.I.dseiStudentDeskIcon = [
  919. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  920. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  921. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  922. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  923. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  924. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  925. ];
  926. //未来教育基地
  927. U.MD.D.I.szjkyTeacherDeskIcon = [
  928. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  929. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  930. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  931. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  932. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  933. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  934. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  935. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  936. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  937. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  938. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  939. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  940. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  941. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  942. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  943. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  944. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  945. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  946. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  947. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  948. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  949. ];
  950. //未来教育基地
  951. U.MD.D.I.szjkyAdminDeskIcon = [
  952. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  953. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  954. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  955. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  956. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  957. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  958. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  959. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  960. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  961. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  962. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  963. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  964. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  965. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  966. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  967. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  968. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  969. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  970. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  971. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  972. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  973. ];
  974. //未来教育基地
  975. U.MD.D.I.szjkyStudentDeskIcon = [
  976. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  977. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  978. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  979. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  980. ];
  981. //成华教育局
  982. U.MD.D.I.chjyjTeacherDeskIcon = [
  983. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  984. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  985. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  986. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  987. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  988. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  989. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  990. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  991. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  992. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  993. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  994. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  995. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  996. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  997. ];
  998. //成华教育局chjyj
  999. U.MD.D.I.chjyjAdminDeskIcon = [
  1000. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1001. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1002. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1003. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1004. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1005. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1006. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1007. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1008. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1009. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1010. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1011. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1012. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1013. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1014. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1015. ];
  1016. //成华教育局chjyj
  1017. U.MD.D.I.chjyjStudentDeskIcon = [
  1018. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1019. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1020. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1021. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1022. ];
  1023. //tpc
  1024. U.MD.D.I.tpcStudentDeskIcon = [
  1025. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1026. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1027. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1028. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1029. ];
  1030. //tpc
  1031. U.MD.D.I.tpcTeacherDeskIcon = [
  1032. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1033. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1034. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1035. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1036. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1037. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1038. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1039. ];
  1040. //tpc
  1041. U.MD.D.I.tpcAdminDeskIcon = [
  1042. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1043. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1044. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1045. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1046. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1047. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1048. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1049. ];
  1050. //THU-IOE
  1051. U.MD.D.I.thuioeTeacherDeskIcon = [
  1052. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1053. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1054. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1055. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1056. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1057. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1058. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1059. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1060. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1061. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1062. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1063. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1064. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1065. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1066. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1067. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1068. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1069. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1070. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1071. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1072. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1073. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1074. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1075. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1076. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1077. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1078. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1079. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1080. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1081. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1082. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1083. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1084. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1085. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1086. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1087. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1088. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1089. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1090. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1091. ];
  1092. //THU-IOE
  1093. U.MD.D.I.thuioeStudentDeskIcon = [
  1094. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1095. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1096. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1097. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1098. ];
  1099. //jccssyl
  1100. U.MD.D.I.jccssylTeacherDeskIcon = [
  1101. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1102. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1103. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1104. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1105. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1106. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1107. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1108. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1109. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1110. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1111. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1112. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1113. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1114. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1115. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1116. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1117. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1118. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1119. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1120. ];
  1121. //jccssyl
  1122. U.MD.D.I.jccssylStudentDeskIcon = [
  1123. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1124. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1125. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1126. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1127. ];
  1128. //cale
  1129. U.MD.D.I.caleTeacherDeskIcon = [
  1130. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1131. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1132. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1133. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1134. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1135. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1136. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1137. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1138. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1139. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1140. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1141. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1142. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1143. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1144. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1145. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1146. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1147. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1148. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1149. ];
  1150. //cale
  1151. U.MD.D.I.caleStudentDeskIcon = [
  1152. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1153. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1154. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1155. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1156. ];
  1157. //lqwmsgzs
  1158. U.MD.D.I.lqwmsgzsTeacherDeskIcon = [
  1159. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1160. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1161. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1162. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1163. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1164. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1165. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1166. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1167. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1168. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1169. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1170. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1171. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1172. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1173. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1174. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1175. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1176. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1177. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1178. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1179. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1180. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1181. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1182. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1183. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1184. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1185. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1186. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1187. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1188. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1189. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1190. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1191. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1192. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1193. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1194. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1195. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1196. ];
  1197. //lqwmsgzs
  1198. U.MD.D.I.lqwmsgzsStudentDeskIcon = [
  1199. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1200. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1201. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1202. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1203. ];
  1204. //盐田区幼儿园
  1205. U.MD.D.I.ytyTeacherDeskIcon = [
  1206. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1207. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1208. { "Name": "课程评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1209. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1210. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1211. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1212. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1213. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1214. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1215. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1216. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1217. { "Name": "观察记录", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1218. ];
  1219. //盐田区幼儿园
  1220. U.MD.D.I.ytyStudentDeskIcon = [
  1221. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1222. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1223. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1224. ];
  1225. //#region 桌面初始化a
  1226. /**
  1227. * 初始化桌面的起始函数
  1228. *
  1229. */
  1230. U.MD.D.I.init = function () {
  1231. if ($("#U_MD_D_K")[0]) {
  1232. //初始化桌面图标
  1233. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1234. // var clickUrl = ':12588/requestIp.php';
  1235. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1236. // U.MD.D.I.Ip = data;
  1237. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1238. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1239. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1240. // })
  1241. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1242. // })
  1243. }
  1244. }
  1245. /**
  1246. * 模式切换
  1247. *
  1248. */
  1249. U.MD.D.I.ModeCheck = function (type) {
  1250. if (US.Config.type == type) {
  1251. return
  1252. }
  1253. US.Config.type = type
  1254. $('.U_PBL_Check .active')[0].className = ''
  1255. if (type == 1) {
  1256. $('.U_PBL_Check div')[0].className = 'active'
  1257. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1258. } else {
  1259. $('.U_PBL_Check div')[1].className = 'active'
  1260. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1261. }
  1262. //初始化桌面图标
  1263. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1264. if (type == 2) {
  1265. U.MD.D.I.openApplication("project")
  1266. }
  1267. }
  1268. /**
  1269. * 隐藏任务栏
  1270. *
  1271. * @param {element} 桌面元素
  1272. */
  1273. U.MD.D.I.hiddenTaskbar = function (el) {
  1274. //任务栏位置变小
  1275. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1276. //桌面的位置变大
  1277. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1278. }
  1279. /**
  1280. * 隐藏任务栏
  1281. *
  1282. * @param {element} 桌面元素
  1283. */
  1284. U.MD.D.I.hiddenTaskbarout = function (el) {
  1285. //任务栏位置变小
  1286. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1287. //任务栏位置变化
  1288. U.selectEl(el).css({ "bottom": "-60px" });
  1289. //桌面的位置变大
  1290. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1291. }
  1292. }
  1293. /**
  1294. * 初始化打印桌面图标
  1295. *
  1296. * @param {element} 桌面元素
  1297. */
  1298. U.MD.D.I.initDesktopIcons = function (el, type) {
  1299. var i, //用于循环
  1300. _content, //桌面图标元素
  1301. _iconcontent, //桌面图标元素
  1302. _frag = $$("frag"), //定义一个碎片元素
  1303. _type = US.userInfo.type,
  1304. _org = US.userInfo.org,
  1305. _oid = US.userInfo.organizeid,
  1306. _role = US.userInfo.role,
  1307. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1308. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1309. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1310. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1311. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1312. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1313. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1314. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1315. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1316. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1317. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1318. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1319. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1320. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1321. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1322. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1323. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1324. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1325. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1326. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1327. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1328. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1329. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1330. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1331. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1332. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1333. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1334. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1335. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1336. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1337. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1338. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1339. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1340. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1341. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1342. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1343. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1344. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1345. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1346. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1347. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1348. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1349. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1350. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1351. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1352. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1353. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1354. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1355. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1356. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1357. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1358. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1359. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1360. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1361. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1362. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1363. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1364. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1365. _caleStudentDeskIconInfo = U.MD.D.I.caleStudentDeskIcon, // jccssyl
  1366. _caleTeacherDeskIconInfo = U.MD.D.I.caleTeacherDeskIcon, // jccssyl
  1367. _lqwmsgzsStudentDeskIconInfo = U.MD.D.I.lqwmsgzsStudentDeskIcon, // lqwmsgzs
  1368. _lqwmsgzsTeacherDeskIconInfo = U.MD.D.I.lqwmsgzsTeacherDeskIcon, // lqwmsgzs
  1369. _ytyStudentDeskIconInfo = U.MD.D.I.ytyStudentDeskIcon, // 盐田幼儿园
  1370. _ytyTeacherDeskIconInfo = U.MD.D.I.ytyTeacherDeskIcon, // 盐田幼儿园
  1371. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1372. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1373. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1374. 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', 'eaba9110-d1eb-11ee-b534-005056b86db5'];
  1375. 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'];
  1376. //清楚桌面图标
  1377. el.innerHTML = "";
  1378. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1379. _teacherDesktopIconInfo.push(
  1380. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1381. { "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)" } },
  1382. )
  1383. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1384. }
  1385. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1386. _teacherDesktopIconInfo.push(
  1387. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1388. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1389. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1390. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1391. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1392. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1393. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1394. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1395. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1396. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1397. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1398. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1399. { "Name": "观察记录", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1400. )
  1401. }
  1402. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1403. // _teacherDesktopIconInfo.push(
  1404. // )
  1405. // }
  1406. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1407. _teacherDesktopIconInfo.push(
  1408. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1409. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1410. )
  1411. }
  1412. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1413. _teacherDesktopIconInfo.push(
  1414. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1415. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1416. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1417. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1418. )
  1419. _studentDesktopIconInfo.push(
  1420. )
  1421. }
  1422. if (_org == '1ef7bdf6-c300-11ed-8d51-005056b86db5') {
  1423. _teacherDesktopIconInfo.push(
  1424. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1425. )
  1426. _studentDesktopIconInfo.push(
  1427. )
  1428. }
  1429. //麒麟二中 和 民新小学
  1430. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1431. _teacherDesktopIconInfo.push(
  1432. )
  1433. }
  1434. if (_oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1435. _teacherDesktopIconInfo.push(
  1436. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1437. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1438. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1439. )
  1440. }
  1441. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1442. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1443. _teacherDesktopIconInfo.push(
  1444. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1445. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1446. )
  1447. }
  1448. //麒麟二中
  1449. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1450. _studentDesktopIconInfo.push(
  1451. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1452. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1453. )
  1454. }
  1455. //万科双语
  1456. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1457. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1458. if (el.Name == '项目管理') {
  1459. el.Name = 'PBL项目'
  1460. }
  1461. return el
  1462. })
  1463. _studentDesktopIconInfo3.push(
  1464. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1465. )
  1466. }
  1467. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1468. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1469. return el.Name != '魔盒识字' && el.Name != '24点'
  1470. })
  1471. }
  1472. 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) {
  1473. _studentDesktopIconInfo.push(
  1474. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1475. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1476. )
  1477. }
  1478. //循环创建桌面图标
  1479. if (type == 1) {
  1480. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1481. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1482. _content = $$("div", {
  1483. className: "U_MD_D_KO",
  1484. "onmousedown": U.UF.C.closure(function (obj) {
  1485. //防止拖动图标即打开了桌面应用
  1486. U.MD.D.click(this, obj);
  1487. }, [_studentDesktopIconInfo[i]]),
  1488. "onclick": U.UF.C.closure(function (obj) {
  1489. //防止拖动图标即打开了桌面应用
  1490. U.MD.D.click(this, obj);
  1491. }, [_studentDesktopIconInfo[i]])
  1492. }, _frag); //
  1493. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1494. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1495. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1496. }
  1497. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1498. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1499. _content = $$("div", {
  1500. className: "U_MD_D_KO",
  1501. "onmousedown": U.UF.C.closure(function (obj) {
  1502. //防止拖动图标即打开了桌面应用
  1503. U.MD.D.click(this, obj);
  1504. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1505. "onclick": U.UF.C.closure(function (obj) {
  1506. //防止拖动图标即打开了桌面应用
  1507. U.MD.D.click(this, obj);
  1508. }, [_hkZJLSStudentDeskIconInfo[i]])
  1509. }, _frag); //
  1510. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1511. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1512. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1513. } //
  1514. }else if (_type == 2 && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  1515. for (i = 0; i < _ytyStudentDeskIconInfo.length; i++) {
  1516. _content = $$("div", {
  1517. className: "U_MD_D_KO",
  1518. "onmousedown": U.UF.C.closure(function (obj) {
  1519. //防止拖动图标即打开了桌面应用
  1520. U.MD.D.click(this, obj);
  1521. }, [_ytyStudentDeskIconInfo[i]]),
  1522. "onclick": U.UF.C.closure(function (obj) {
  1523. //防止拖动图标即打开了桌面应用
  1524. U.MD.D.click(this, obj);
  1525. }, [_ytyStudentDeskIconInfo[i]])
  1526. }, _frag); //
  1527. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1528. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyStudentDeskIconInfo[i].style }, _iconcontent);
  1529. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyStudentDeskIconInfo[i].Name }, _iconcontent);
  1530. } //
  1531. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1532. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1533. _content = $$("div", {
  1534. className: "U_MD_D_KO",
  1535. "onmousedown": U.UF.C.closure(function (obj) {
  1536. //防止拖动图标即打开了桌面应用
  1537. U.MD.D.click(this, obj);
  1538. }, [_jccssylStudentDeskIconInfo[i]]),
  1539. "onclick": U.UF.C.closure(function (obj) {
  1540. //防止拖动图标即打开了桌面应用
  1541. U.MD.D.click(this, obj);
  1542. }, [_jccssylStudentDeskIconInfo[i]])
  1543. }, _frag); //
  1544. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1545. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1546. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1547. }
  1548. } else if (_type == 2 && (_org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344")) {
  1549. for (i = 0; i < _caleStudentDeskIconInfo.length; i++) {
  1550. _content = $$("div", {
  1551. className: "U_MD_D_KO",
  1552. "onmousedown": U.UF.C.closure(function (obj) {
  1553. //防止拖动图标即打开了桌面应用
  1554. U.MD.D.click(this, obj);
  1555. }, [_caleStudentDeskIconInfo[i]]),
  1556. "onclick": U.UF.C.closure(function (obj) {
  1557. //防止拖动图标即打开了桌面应用
  1558. U.MD.D.click(this, obj);
  1559. }, [_caleStudentDeskIconInfo[i]])
  1560. }, _frag); //
  1561. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1562. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleStudentDeskIconInfo[i].style }, _iconcontent);
  1563. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleStudentDeskIconInfo[i].Name }, _iconcontent);
  1564. }
  1565. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1566. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1567. _content = $$("div", {
  1568. className: "U_MD_D_KO",
  1569. "onmousedown": U.UF.C.closure(function (obj) {
  1570. //防止拖动图标即打开了桌面应用
  1571. U.MD.D.click(this, obj);
  1572. }, [_thuioeStudentDeskIconInfo[i]]),
  1573. "onclick": U.UF.C.closure(function (obj) {
  1574. //防止拖动图标即打开了桌面应用
  1575. U.MD.D.click(this, obj);
  1576. }, [_thuioeStudentDeskIconInfo[i]])
  1577. }, _frag); //
  1578. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1579. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1580. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1581. }
  1582. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1583. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1584. _content = $$("div", {
  1585. className: "U_MD_D_KO",
  1586. "onmousedown": U.UF.C.closure(function (obj) {
  1587. //防止拖动图标即打开了桌面应用
  1588. U.MD.D.click(this, obj);
  1589. }, [_tpcStudentDeskIconInfo[i]]),
  1590. "onclick": U.UF.C.closure(function (obj) {
  1591. //防止拖动图标即打开了桌面应用
  1592. U.MD.D.click(this, obj);
  1593. }, [_tpcStudentDeskIconInfo[i]])
  1594. }, _frag); //
  1595. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1596. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1597. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1598. } //
  1599. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1600. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1601. _content = $$("div", {
  1602. className: "U_MD_D_KO",
  1603. "onmousedown": U.UF.C.closure(function (obj) {
  1604. //防止拖动图标即打开了桌面应用
  1605. U.MD.D.click(this, obj);
  1606. }, [_chjyjStudentDeskIconInfo[i]]),
  1607. "onclick": U.UF.C.closure(function (obj) {
  1608. //防止拖动图标即打开了桌面应用
  1609. U.MD.D.click(this, obj);
  1610. }, [_chjyjStudentDeskIconInfo[i]])
  1611. }, _frag); //
  1612. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1613. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1614. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1615. }
  1616. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1617. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1618. _content = $$("div", {
  1619. className: "U_MD_D_KO",
  1620. "onmousedown": U.UF.C.closure(function (obj) {
  1621. //防止拖动图标即打开了桌面应用
  1622. U.MD.D.click(this, obj);
  1623. }, [_szjkyStudentDeskIconInfo[i]]),
  1624. "onclick": U.UF.C.closure(function (obj) {
  1625. //防止拖动图标即打开了桌面应用
  1626. U.MD.D.click(this, obj);
  1627. }, [_szjkyStudentDeskIconInfo[i]])
  1628. }, _frag); //
  1629. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1630. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1631. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1632. }
  1633. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1634. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1635. _content = $$("div", {
  1636. className: "U_MD_D_KO",
  1637. "onmousedown": U.UF.C.closure(function (obj) {
  1638. //防止拖动图标即打开了桌面应用
  1639. U.MD.D.click(this, obj);
  1640. }, [_dseiStudentDeskIconInfo[i]]),
  1641. "onclick": U.UF.C.closure(function (obj) {
  1642. //防止拖动图标即打开了桌面应用
  1643. U.MD.D.click(this, obj);
  1644. }, [_dseiStudentDeskIconInfo[i]])
  1645. }, _frag); //
  1646. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1647. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1648. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1649. }
  1650. } else if (_type == 2 && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1651. for (i = 0; i < _lqwmsgzsStudentDeskIconInfo.length; i++) {
  1652. _content = $$("div", {
  1653. className: "U_MD_D_KO",
  1654. "onmousedown": U.UF.C.closure(function (obj) {
  1655. //防止拖动图标即打开了桌面应用
  1656. U.MD.D.click(this, obj);
  1657. }, [_lqwmsgzsStudentDeskIconInfo[i]]),
  1658. "onclick": U.UF.C.closure(function (obj) {
  1659. //防止拖动图标即打开了桌面应用
  1660. U.MD.D.click(this, obj);
  1661. }, [_lqwmsgzsStudentDeskIconInfo[i]])
  1662. }, _frag); //
  1663. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1664. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsStudentDeskIconInfo[i].style }, _iconcontent);
  1665. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsStudentDeskIconInfo[i].Name }, _iconcontent);
  1666. }
  1667. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1668. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1669. _content = $$("div", {
  1670. className: "U_MD_D_KO",
  1671. "onmousedown": U.UF.C.closure(function (obj) {
  1672. //防止拖动图标即打开了桌面应用
  1673. U.MD.D.click(this, obj);
  1674. }, [_siesStudentDeskIconInfo[i]]),
  1675. "onclick": U.UF.C.closure(function (obj) {
  1676. //防止拖动图标即打开了桌面应用
  1677. U.MD.D.click(this, obj);
  1678. }, [_siesStudentDeskIconInfo[i]])
  1679. }, _frag); //
  1680. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1681. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1682. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1683. }
  1684. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1685. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1686. _content = $$("div", {
  1687. className: "U_MD_D_KO",
  1688. "onmousedown": U.UF.C.closure(function (obj) {
  1689. //防止拖动图标即打开了桌面应用
  1690. U.MD.D.click(this, obj);
  1691. }, [_hkStudentDeskIconInfo[i]]),
  1692. "onclick": U.UF.C.closure(function (obj) {
  1693. //防止拖动图标即打开了桌面应用
  1694. U.MD.D.click(this, obj);
  1695. }, [_hkStudentDeskIconInfo[i]])
  1696. }, _frag); //
  1697. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1698. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1699. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1700. }
  1701. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1702. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1703. _content = $$("div", {
  1704. className: "U_MD_D_KO",
  1705. "onmousedown": U.UF.C.closure(function (obj) {
  1706. //防止拖动图标即打开了桌面应用
  1707. U.MD.D.click(this, obj);
  1708. }, [_hkaceStudentDeskIconInfo[i]]),
  1709. "onclick": U.UF.C.closure(function (obj) {
  1710. //防止拖动图标即打开了桌面应用
  1711. U.MD.D.click(this, obj);
  1712. }, [_hkaceStudentDeskIconInfo[i]])
  1713. }, _frag); //
  1714. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1715. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1716. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1717. }
  1718. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1719. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1720. _content = $$("div", {
  1721. className: "U_MD_D_KO",
  1722. "onmousedown": U.UF.C.closure(function (obj) {
  1723. //防止拖动图标即打开了桌面应用
  1724. U.MD.D.click(this, obj);
  1725. }, [_studentDesktopIconInfo[i]]),
  1726. "onclick": U.UF.C.closure(function (obj) {
  1727. //防止拖动图标即打开了桌面应用
  1728. U.MD.D.click(this, obj);
  1729. }, [_studentDesktopIconInfo[i]])
  1730. }, _frag); //
  1731. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1732. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1733. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1734. }
  1735. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1736. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1737. _content = $$("div", {
  1738. className: "U_MD_D_KO",
  1739. "onmousedown": U.UF.C.closure(function (obj) {
  1740. //防止拖动图标即打开了桌面应用
  1741. U.MD.D.click(this, obj);
  1742. }, [_tcStudentDeskIconInfo[i]]),
  1743. "onclick": U.UF.C.closure(function (obj) {
  1744. //防止拖动图标即打开了桌面应用
  1745. U.MD.D.click(this, obj);
  1746. }, [_tcStudentDeskIconInfo[i]])
  1747. }, _frag); //
  1748. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1749. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1750. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1751. }
  1752. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1753. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1754. _content = $$("div", {
  1755. className: "U_MD_D_KO",
  1756. "onmousedown": U.UF.C.closure(function (obj) {
  1757. //防止拖动图标即打开了桌面应用
  1758. U.MD.D.click(this, obj);
  1759. }, [_szscStudentDeskIconInfo[i]]),
  1760. "onclick": U.UF.C.closure(function (obj) {
  1761. //防止拖动图标即打开了桌面应用
  1762. U.MD.D.click(this, obj);
  1763. }, [_szscStudentDeskIconInfo[i]])
  1764. }, _frag); //
  1765. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1766. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1767. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1768. }
  1769. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1770. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1771. _content = $$("div", {
  1772. className: "U_MD_D_KO",
  1773. "onmousedown": U.UF.C.closure(function (obj) {
  1774. //防止拖动图标即打开了桌面应用
  1775. U.MD.D.click(this, obj);
  1776. }, [_studentDesktopIconInfo3[i]]),
  1777. "onclick": U.UF.C.closure(function (obj) {
  1778. //防止拖动图标即打开了桌面应用
  1779. U.MD.D.click(this, obj);
  1780. }, [_studentDesktopIconInfo3[i]])
  1781. }, _frag); //
  1782. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1783. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1784. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1785. }
  1786. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1787. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1788. _content = $$("div", {
  1789. className: "U_MD_D_KO",
  1790. "onmousedown": U.UF.C.closure(function (obj) {
  1791. //防止拖动图标即打开了桌面应用
  1792. U.MD.D.click(this, obj);
  1793. }, [_studentDesktopIconInfo2[i]]),
  1794. "onclick": U.UF.C.closure(function (obj) {
  1795. //防止拖动图标即打开了桌面应用
  1796. U.MD.D.click(this, obj);
  1797. }, [_studentDesktopIconInfo2[i]])
  1798. }, _frag); //
  1799. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1800. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1801. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1802. }
  1803. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1804. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1805. _content = $$("div", {
  1806. className: "U_MD_D_KO",
  1807. "onmousedown": U.UF.C.closure(function (obj) {
  1808. //防止拖动图标即打开了桌面应用
  1809. U.MD.D.click(this, obj);
  1810. }, [_wanketeacherDesktopIconInfo[i]]),
  1811. "onclick": U.UF.C.closure(function (obj) {
  1812. //防止拖动图标即打开了桌面应用
  1813. U.MD.D.click(this, obj);
  1814. }, [_wanketeacherDesktopIconInfo[i]])
  1815. }, _frag); //
  1816. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1817. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1818. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1819. }
  1820. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1821. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1822. _content = $$("div", {
  1823. className: "U_MD_D_KO",
  1824. "onmousedown": U.UF.C.closure(function (obj) {
  1825. //防止拖动图标即打开了桌面应用
  1826. U.MD.D.click(this, obj);
  1827. }, [_wankeAdminDesktopIconInfo[i]]),
  1828. "onclick": U.UF.C.closure(function (obj) {
  1829. //防止拖动图标即打开了桌面应用
  1830. U.MD.D.click(this, obj);
  1831. }, [_wankeAdminDesktopIconInfo[i]])
  1832. }, _frag); //
  1833. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1834. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1835. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1836. }
  1837. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1838. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1839. _content = $$("div", {
  1840. className: "U_MD_D_KO",
  1841. "onmousedown": U.UF.C.closure(function (obj) {
  1842. //防止拖动图标即打开了桌面应用
  1843. U.MD.D.click(this, obj);
  1844. }, [_jccssylTeacherDeskIconInfo[i]]),
  1845. "onclick": U.UF.C.closure(function (obj) {
  1846. //防止拖动图标即打开了桌面应用
  1847. U.MD.D.click(this, obj);
  1848. }, [_jccssylTeacherDeskIconInfo[i]])
  1849. }, _frag); //
  1850. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1851. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1852. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1853. }
  1854. } else if ((_type == 1 || _type == 4) && _org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344") {
  1855. for (i = 0; i < _caleTeacherDeskIconInfo.length; i++) {
  1856. _content = $$("div", {
  1857. className: "U_MD_D_KO",
  1858. "onmousedown": U.UF.C.closure(function (obj) {
  1859. //防止拖动图标即打开了桌面应用
  1860. U.MD.D.click(this, obj);
  1861. }, [_caleTeacherDeskIconInfo[i]]),
  1862. "onclick": U.UF.C.closure(function (obj) {
  1863. //防止拖动图标即打开了桌面应用
  1864. U.MD.D.click(this, obj);
  1865. }, [_caleTeacherDeskIconInfo[i]])
  1866. }, _frag); //
  1867. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1868. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleTeacherDeskIconInfo[i].style }, _iconcontent);
  1869. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleTeacherDeskIconInfo[i].Name }, _iconcontent);
  1870. }
  1871. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1872. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1873. _content = $$("div", {
  1874. className: "U_MD_D_KO",
  1875. "onmousedown": U.UF.C.closure(function (obj) {
  1876. //防止拖动图标即打开了桌面应用
  1877. U.MD.D.click(this, obj);
  1878. }, [_tpcOrganizerDeskIconInfo[i]]),
  1879. "onclick": U.UF.C.closure(function (obj) {
  1880. //防止拖动图标即打开了桌面应用
  1881. U.MD.D.click(this, obj);
  1882. }, [_tpcOrganizerDeskIconInfo[i]])
  1883. }, _frag); //
  1884. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1885. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1886. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1887. }
  1888. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1889. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1890. _content = $$("div", {
  1891. className: "U_MD_D_KO",
  1892. "onmousedown": U.UF.C.closure(function (obj) {
  1893. //防止拖动图标即打开了桌面应用
  1894. U.MD.D.click(this, obj);
  1895. }, [_tpcTeacherDeskIconInfo[i]]),
  1896. "onclick": U.UF.C.closure(function (obj) {
  1897. //防止拖动图标即打开了桌面应用
  1898. U.MD.D.click(this, obj);
  1899. }, [_tpcTeacherDeskIconInfo[i]])
  1900. }, _frag); //
  1901. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1902. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1903. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1904. }
  1905. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1906. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1907. _content = $$("div", {
  1908. className: "U_MD_D_KO",
  1909. "onmousedown": U.UF.C.closure(function (obj) {
  1910. //防止拖动图标即打开了桌面应用
  1911. U.MD.D.click(this, obj);
  1912. }, [_teacherDesktopIconInfo2[i]]),
  1913. "onclick": U.UF.C.closure(function (obj) {
  1914. //防止拖动图标即打开了桌面应用
  1915. U.MD.D.click(this, obj);
  1916. }, [_teacherDesktopIconInfo2[i]])
  1917. }, _frag); //
  1918. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1919. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1920. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1921. }
  1922. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1923. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1924. _content = $$("div", {
  1925. className: "U_MD_D_KO",
  1926. "onmousedown": U.UF.C.closure(function (obj) {
  1927. //防止拖动图标即打开了桌面应用
  1928. U.MD.D.click(this, obj);
  1929. }, [_thuioeTeacherDeskIconInfo[i]]),
  1930. "onclick": U.UF.C.closure(function (obj) {
  1931. //防止拖动图标即打开了桌面应用
  1932. U.MD.D.click(this, obj);
  1933. }, [_thuioeTeacherDeskIconInfo[i]])
  1934. }, _frag); //
  1935. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1936. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1937. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1938. }
  1939. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1940. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1941. _content = $$("div", {
  1942. className: "U_MD_D_KO",
  1943. "onmousedown": U.UF.C.closure(function (obj) {
  1944. //防止拖动图标即打开了桌面应用
  1945. U.MD.D.click(this, obj);
  1946. }, [_lotechTeacherDeskIconInfo[i]]),
  1947. "onclick": U.UF.C.closure(function (obj) {
  1948. //防止拖动图标即打开了桌面应用
  1949. U.MD.D.click(this, obj);
  1950. }, [_lotechTeacherDeskIconInfo[i]])
  1951. }, _frag); //
  1952. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1953. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1954. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1955. }//
  1956. } else if ((_type == 1 || _type == 4) && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1957. for (i = 0; i < _lqwmsgzsTeacherDeskIconInfo.length; i++) {
  1958. _content = $$("div", {
  1959. className: "U_MD_D_KO",
  1960. "onmousedown": U.UF.C.closure(function (obj) {
  1961. //防止拖动图标即打开了桌面应用
  1962. U.MD.D.click(this, obj);
  1963. }, [_lqwmsgzsTeacherDeskIconInfo[i]]),
  1964. "onclick": U.UF.C.closure(function (obj) {
  1965. //防止拖动图标即打开了桌面应用
  1966. U.MD.D.click(this, obj);
  1967. }, [_lqwmsgzsTeacherDeskIconInfo[i]])
  1968. }, _frag); //
  1969. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1970. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsTeacherDeskIconInfo[i].style }, _iconcontent);
  1971. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsTeacherDeskIconInfo[i].Name }, _iconcontent);
  1972. }
  1973. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1974. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1975. _content = $$("div", {
  1976. className: "U_MD_D_KO",
  1977. "onmousedown": U.UF.C.closure(function (obj) {
  1978. //防止拖动图标即打开了桌面应用
  1979. U.MD.D.click(this, obj);
  1980. }, [_siesTeacherDeskIconInfo[i]]),
  1981. "onclick": U.UF.C.closure(function (obj) {
  1982. //防止拖动图标即打开了桌面应用
  1983. U.MD.D.click(this, obj);
  1984. }, [_siesTeacherDeskIconInfo[i]])
  1985. }, _frag); //
  1986. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1987. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1988. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1989. }
  1990. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1991. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1992. _content = $$("div", {
  1993. className: "U_MD_D_KO",
  1994. "onmousedown": U.UF.C.closure(function (obj) {
  1995. //防止拖动图标即打开了桌面应用
  1996. U.MD.D.click(this, obj);
  1997. }, [_longhuaTeacherDeskIconInfo[i]]),
  1998. "onclick": U.UF.C.closure(function (obj) {
  1999. //防止拖动图标即打开了桌面应用
  2000. U.MD.D.click(this, obj);
  2001. }, [_longhuaTeacherDeskIconInfo[i]])
  2002. }, _frag); //
  2003. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2004. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  2005. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  2006. }
  2007. } else if ((_type == 1 || _type == 4) && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  2008. for (i = 0; i < _ytyTeacherDeskIconInfo.length; i++) {
  2009. _content = $$("div", {
  2010. className: "U_MD_D_KO",
  2011. "onmousedown": U.UF.C.closure(function (obj) {
  2012. //防止拖动图标即打开了桌面应用
  2013. U.MD.D.click(this, obj);
  2014. }, [_ytyTeacherDeskIconInfo[i]]),
  2015. "onclick": U.UF.C.closure(function (obj) {
  2016. //防止拖动图标即打开了桌面应用
  2017. U.MD.D.click(this, obj);
  2018. }, [_ytyTeacherDeskIconInfo[i]])
  2019. }, _frag); //
  2020. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2021. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyTeacherDeskIconInfo[i].style }, _iconcontent);
  2022. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2023. }
  2024. }else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  2025. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  2026. _content = $$("div", {
  2027. className: "U_MD_D_KO",
  2028. "onmousedown": U.UF.C.closure(function (obj) {
  2029. //防止拖动图标即打开了桌面应用
  2030. U.MD.D.click(this, obj);
  2031. }, [_yunhaiTeacherDeskIconInfo[i]]),
  2032. "onclick": U.UF.C.closure(function (obj) {
  2033. //防止拖动图标即打开了桌面应用
  2034. U.MD.D.click(this, obj);
  2035. }, [_yunhaiTeacherDeskIconInfo[i]])
  2036. }, _frag); //
  2037. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2038. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  2039. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2040. } //_hkStudentDeskIconInfo
  2041. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  2042. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  2043. _content = $$("div", {
  2044. className: "U_MD_D_KO",
  2045. "onmousedown": U.UF.C.closure(function (obj) {
  2046. //防止拖动图标即打开了桌面应用
  2047. U.MD.D.click(this, obj);
  2048. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  2049. "onclick": U.UF.C.closure(function (obj) {
  2050. //防止拖动图标即打开了桌面应用
  2051. U.MD.D.click(this, obj);
  2052. }, [_hkZJLSTeacherDeskIconInfo[i]])
  2053. }, _frag); //
  2054. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2055. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  2056. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  2057. }
  2058. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  2059. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  2060. _content = $$("div", {
  2061. className: "U_MD_D_KO",
  2062. "onmousedown": U.UF.C.closure(function (obj) {
  2063. //防止拖动图标即打开了桌面应用
  2064. U.MD.D.click(this, obj);
  2065. }, [_hkTeacherDeskIconInfo[i]]),
  2066. "onclick": U.UF.C.closure(function (obj) {
  2067. //防止拖动图标即打开了桌面应用
  2068. U.MD.D.click(this, obj);
  2069. }, [_hkTeacherDeskIconInfo[i]])
  2070. }, _frag); //
  2071. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2072. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  2073. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  2074. }
  2075. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  2076. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  2077. _content = $$("div", {
  2078. className: "U_MD_D_KO",
  2079. "onmousedown": U.UF.C.closure(function (obj) {
  2080. //防止拖动图标即打开了桌面应用
  2081. U.MD.D.click(this, obj);
  2082. }, [_hkaceTeacherDeskIconInfo[i]]),
  2083. "onclick": U.UF.C.closure(function (obj) {
  2084. //防止拖动图标即打开了桌面应用
  2085. U.MD.D.click(this, obj);
  2086. }, [_hkaceTeacherDeskIconInfo[i]])
  2087. }, _frag); //
  2088. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2089. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  2090. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  2091. }
  2092. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  2093. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  2094. _content = $$("div", {
  2095. className: "U_MD_D_KO",
  2096. "onmousedown": U.UF.C.closure(function (obj) {
  2097. //防止拖动图标即打开了桌面应用
  2098. U.MD.D.click(this, obj);
  2099. }, [_gdjgAdminDeskIconInfo[i]]),
  2100. "onclick": U.UF.C.closure(function (obj) {
  2101. //防止拖动图标即打开了桌面应用
  2102. U.MD.D.click(this, obj);
  2103. }, [_gdjgAdminDeskIconInfo[i]])
  2104. }, _frag); //
  2105. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2106. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  2107. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  2108. }
  2109. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  2110. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  2111. _content = $$("div", {
  2112. className: "U_MD_D_KO",
  2113. "onmousedown": U.UF.C.closure(function (obj) {
  2114. //防止拖动图标即打开了桌面应用
  2115. U.MD.D.click(this, obj);
  2116. }, [_gdjgTeacherDeskIconInfo[i]]),
  2117. "onclick": U.UF.C.closure(function (obj) {
  2118. //防止拖动图标即打开了桌面应用
  2119. U.MD.D.click(this, obj);
  2120. }, [_gdjgTeacherDeskIconInfo[i]])
  2121. }, _frag); //
  2122. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2123. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  2124. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  2125. }
  2126. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  2127. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  2128. _content = $$("div", {
  2129. className: "U_MD_D_KO",
  2130. "onmousedown": U.UF.C.closure(function (obj) {
  2131. //防止拖动图标即打开了桌面应用
  2132. U.MD.D.click(this, obj);
  2133. }, [_szherTeacherDeskIconInfo[i]]),
  2134. "onclick": U.UF.C.closure(function (obj) {
  2135. //防止拖动图标即打开了桌面应用
  2136. U.MD.D.click(this, obj);
  2137. }, [_szherTeacherDeskIconInfo[i]])
  2138. }, _frag); //
  2139. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2140. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  2141. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  2142. }
  2143. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  2144. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  2145. _content = $$("div", {
  2146. className: "U_MD_D_KO",
  2147. "onmousedown": U.UF.C.closure(function (obj) {
  2148. //防止拖动图标即打开了桌面应用
  2149. U.MD.D.click(this, obj);
  2150. }, [_heyuannAdminDeskIconInfo[i]]),
  2151. "onclick": U.UF.C.closure(function (obj) {
  2152. //防止拖动图标即打开了桌面应用
  2153. U.MD.D.click(this, obj);
  2154. }, [_heyuannAdminDeskIconInfo[i]])
  2155. }, _frag); //
  2156. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2157. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  2158. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  2159. }
  2160. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  2161. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  2162. _content = $$("div", {
  2163. className: "U_MD_D_KO",
  2164. "onmousedown": U.UF.C.closure(function (obj) {
  2165. //防止拖动图标即打开了桌面应用
  2166. U.MD.D.click(this, obj);
  2167. }, [_heyuanTeacherDeskIconInfo[i]]),
  2168. "onclick": U.UF.C.closure(function (obj) {
  2169. //防止拖动图标即打开了桌面应用
  2170. U.MD.D.click(this, obj);
  2171. }, [_heyuanTeacherDeskIconInfo[i]])
  2172. }, _frag); //
  2173. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2174. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  2175. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  2176. } //
  2177. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  2178. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  2179. _content = $$("div", {
  2180. className: "U_MD_D_KO",
  2181. "onmousedown": U.UF.C.closure(function (obj) {
  2182. //防止拖动图标即打开了桌面应用
  2183. U.MD.D.click(this, obj);
  2184. }, [_dseiAdminDeskIconInfo[i]]),
  2185. "onclick": U.UF.C.closure(function (obj) {
  2186. //防止拖动图标即打开了桌面应用
  2187. U.MD.D.click(this, obj);
  2188. }, [_dseiAdminDeskIconInfo[i]])
  2189. }, _frag); //
  2190. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2191. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  2192. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  2193. }
  2194. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  2195. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  2196. _content = $$("div", {
  2197. className: "U_MD_D_KO",
  2198. "onmousedown": U.UF.C.closure(function (obj) {
  2199. //防止拖动图标即打开了桌面应用
  2200. U.MD.D.click(this, obj);
  2201. }, [_dseiTeacherDeskIconInfo[i]]),
  2202. "onclick": U.UF.C.closure(function (obj) {
  2203. //防止拖动图标即打开了桌面应用
  2204. U.MD.D.click(this, obj);
  2205. }, [_dseiTeacherDeskIconInfo[i]])
  2206. }, _frag); //
  2207. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2208. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  2209. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2210. } //
  2211. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  2212. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  2213. _content = $$("div", {
  2214. className: "U_MD_D_KO",
  2215. "onmousedown": U.UF.C.closure(function (obj) {
  2216. //防止拖动图标即打开了桌面应用
  2217. U.MD.D.click(this, obj);
  2218. }, [_chjyjAdminDeskIconInfo[i]]),
  2219. "onclick": U.UF.C.closure(function (obj) {
  2220. //防止拖动图标即打开了桌面应用
  2221. U.MD.D.click(this, obj);
  2222. }, [_chjyjAdminDeskIconInfo[i]])
  2223. }, _frag); //
  2224. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2225. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2226. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2227. }//
  2228. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2229. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2230. _content = $$("div", {
  2231. className: "U_MD_D_KO",
  2232. "onmousedown": U.UF.C.closure(function (obj) {
  2233. //防止拖动图标即打开了桌面应用
  2234. U.MD.D.click(this, obj);
  2235. }, [_chjyjTeacherDeskIconInfo[i]]),
  2236. "onclick": U.UF.C.closure(function (obj) {
  2237. //防止拖动图标即打开了桌面应用
  2238. U.MD.D.click(this, obj);
  2239. }, [_chjyjTeacherDeskIconInfo[i]])
  2240. }, _frag); //
  2241. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2242. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2243. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2244. }
  2245. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2246. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2247. _content = $$("div", {
  2248. className: "U_MD_D_KO",
  2249. "onmousedown": U.UF.C.closure(function (obj) {
  2250. //防止拖动图标即打开了桌面应用
  2251. U.MD.D.click(this, obj);
  2252. }, [_szjkyAdminDeskIconInfo[i]]),
  2253. "onclick": U.UF.C.closure(function (obj) {
  2254. //防止拖动图标即打开了桌面应用
  2255. U.MD.D.click(this, obj);
  2256. }, [_szjkyAdminDeskIconInfo[i]])
  2257. }, _frag); //
  2258. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2259. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2260. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2261. }//
  2262. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2263. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2264. _content = $$("div", {
  2265. className: "U_MD_D_KO",
  2266. "onmousedown": U.UF.C.closure(function (obj) {
  2267. //防止拖动图标即打开了桌面应用
  2268. U.MD.D.click(this, obj);
  2269. }, [_szjkyTeacherDeskIconInfo[i]]),
  2270. "onclick": U.UF.C.closure(function (obj) {
  2271. //防止拖动图标即打开了桌面应用
  2272. U.MD.D.click(this, obj);
  2273. }, [_szjkyTeacherDeskIconInfo[i]])
  2274. }, _frag); //
  2275. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2276. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2277. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2278. }
  2279. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2280. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2281. _content = $$("div", {
  2282. className: "U_MD_D_KO",
  2283. "onmousedown": U.UF.C.closure(function (obj) {
  2284. //防止拖动图标即打开了桌面应用
  2285. U.MD.D.click(this, obj);
  2286. }, [_futianAdminDeskIconInfo[i]]),
  2287. "onclick": U.UF.C.closure(function (obj) {
  2288. //防止拖动图标即打开了桌面应用
  2289. U.MD.D.click(this, obj);
  2290. }, [_futianAdminDeskIconInfo[i]])
  2291. }, _frag); //
  2292. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2293. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2294. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2295. }
  2296. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2297. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2298. _content = $$("div", {
  2299. className: "U_MD_D_KO",
  2300. "onmousedown": U.UF.C.closure(function (obj) {
  2301. //防止拖动图标即打开了桌面应用
  2302. U.MD.D.click(this, obj);
  2303. }, [_futianTeacherDeskIconInfo[i]]),
  2304. "onclick": U.UF.C.closure(function (obj) {
  2305. //防止拖动图标即打开了桌面应用
  2306. U.MD.D.click(this, obj);
  2307. }, [_futianTeacherDeskIconInfo[i]])
  2308. }, _frag); //
  2309. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2310. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2311. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2312. }
  2313. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2314. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2315. _content = $$("div", {
  2316. className: "U_MD_D_KO",
  2317. "onmousedown": U.UF.C.closure(function (obj) {
  2318. //防止拖动图标即打开了桌面应用
  2319. U.MD.D.click(this, obj);
  2320. }, [_MingdeTeacherDeskIcon[i]]),
  2321. "onclick": U.UF.C.closure(function (obj) {
  2322. //防止拖动图标即打开了桌面应用
  2323. U.MD.D.click(this, obj);
  2324. }, [_MingdeTeacherDeskIcon[i]])
  2325. }, _frag); //
  2326. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2327. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2328. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2329. }
  2330. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2331. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2332. _content = $$("div", {
  2333. className: "U_MD_D_KO",
  2334. "onmousedown": U.UF.C.closure(function (obj) {
  2335. //防止拖动图标即打开了桌面应用
  2336. U.MD.D.click(this, obj);
  2337. }, [_lhsAdminDesktopIconInfo[i]]),
  2338. "onclick": U.UF.C.closure(function (obj) {
  2339. //防止拖动图标即打开了桌面应用
  2340. U.MD.D.click(this, obj);
  2341. }, [_lhsAdminDesktopIconInfo[i]])
  2342. }, _frag); //
  2343. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2344. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2345. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2346. }
  2347. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2348. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2349. _content = $$("div", {
  2350. className: "U_MD_D_KO",
  2351. "onmousedown": U.UF.C.closure(function (obj) {
  2352. //防止拖动图标即打开了桌面应用
  2353. U.MD.D.click(this, obj);
  2354. }, [_lhsteacherDesktopIconInfo[i]]),
  2355. "onclick": U.UF.C.closure(function (obj) {
  2356. //防止拖动图标即打开了桌面应用
  2357. U.MD.D.click(this, obj);
  2358. }, [_lhsteacherDesktopIconInfo[i]])
  2359. }, _frag); //
  2360. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2361. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2362. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2363. }
  2364. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2365. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2366. _content = $$("div", {
  2367. className: "U_MD_D_KO",
  2368. "onmousedown": U.UF.C.closure(function (obj) {
  2369. //防止拖动图标即打开了桌面应用
  2370. U.MD.D.click(this, obj);
  2371. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2372. "onclick": U.UF.C.closure(function (obj) {
  2373. //防止拖动图标即打开了桌面应用
  2374. U.MD.D.click(this, obj);
  2375. }, [_zhoujiateacherDesktopIconInfo[i]])
  2376. }, _frag); //
  2377. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2378. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2379. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2380. }
  2381. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2382. for (i = 0; i < _hanDeskIcon.length; i++) {
  2383. _content = $$("div", {
  2384. className: "U_MD_D_KO",
  2385. "onmousedown": U.UF.C.closure(function (obj) {
  2386. //防止拖动图标即打开了桌面应用
  2387. U.MD.D.click(this, obj);
  2388. }, [_hanDeskIcon[i]]),
  2389. "onclick": U.UF.C.closure(function (obj) {
  2390. //防止拖动图标即打开了桌面应用
  2391. U.MD.D.click(this, obj);
  2392. }, [_hanDeskIcon[i]])
  2393. }, _frag); //
  2394. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2395. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2396. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2397. }
  2398. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2399. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2400. _content = $$("div", {
  2401. className: "U_MD_D_KO",
  2402. "onmousedown": U.UF.C.closure(function (obj) {
  2403. //防止拖动图标即打开了桌面应用
  2404. U.MD.D.click(this, obj);
  2405. }, [_orgStemDeskIcon[i]]),
  2406. "onclick": U.UF.C.closure(function (obj) {
  2407. //防止拖动图标即打开了桌面应用
  2408. U.MD.D.click(this, obj);
  2409. }, [_orgStemDeskIcon[i]])
  2410. }, _frag); //
  2411. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2412. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2413. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2414. }
  2415. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2416. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2417. _content = $$("div", {
  2418. className: "U_MD_D_KO",
  2419. "onmousedown": U.UF.C.closure(function (obj) {
  2420. //防止拖动图标即打开了桌面应用
  2421. U.MD.D.click(this, obj);
  2422. }, [_szulsDeskIcon[i]]),
  2423. "onclick": U.UF.C.closure(function (obj) {
  2424. //防止拖动图标即打开了桌面应用
  2425. U.MD.D.click(this, obj);
  2426. }, [_szulsDeskIcon[i]])
  2427. }, _frag); //
  2428. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2429. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2430. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2431. }
  2432. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2433. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2434. _content = $$("div", {
  2435. className: "U_MD_D_KO",
  2436. "onmousedown": U.UF.C.closure(function (obj) {
  2437. //防止拖动图标即打开了桌面应用
  2438. U.MD.D.click(this, obj);
  2439. }, [_orgDesktopIconInfo[i]]),
  2440. "onclick": U.UF.C.closure(function (obj) {
  2441. //防止拖动图标即打开了桌面应用
  2442. U.MD.D.click(this, obj);
  2443. }, [_orgDesktopIconInfo[i]])
  2444. }, _frag); //
  2445. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2446. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2447. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2448. }
  2449. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2450. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2451. _content = $$("div", {
  2452. className: "U_MD_D_KO",
  2453. "onmousedown": U.UF.C.closure(function (obj) {
  2454. //防止拖动图标即打开了桌面应用
  2455. U.MD.D.click(this, obj);
  2456. }, [_schoolDesktopIconInfo[i]]),
  2457. "onclick": U.UF.C.closure(function (obj) {
  2458. //防止拖动图标即打开了桌面应用
  2459. U.MD.D.click(this, obj);
  2460. }, [_schoolDesktopIconInfo[i]])
  2461. }, _frag); //
  2462. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2463. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2464. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2465. }
  2466. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2467. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2468. _content = $$("div", {
  2469. className: "U_MD_D_KO",
  2470. "onmousedown": U.UF.C.closure(function (obj) {
  2471. //防止拖动图标即打开了桌面应用
  2472. U.MD.D.click(this, obj);
  2473. }, [_GMteacherDesktopIconInfo[i]]),
  2474. "onclick": U.UF.C.closure(function (obj) {
  2475. //防止拖动图标即打开了桌面应用
  2476. U.MD.D.click(this, obj);
  2477. }, [_GMteacherDesktopIconInfo[i]])
  2478. }, _frag); //
  2479. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2480. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2481. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2482. }
  2483. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2484. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2485. _content = $$("div", {
  2486. className: "U_MD_D_KO",
  2487. "onmousedown": U.UF.C.closure(function (obj) {
  2488. //防止拖动图标即打开了桌面应用
  2489. U.MD.D.click(this, obj);
  2490. }, [_SONGteacherDesktopIconInfo[i]]),
  2491. "onclick": U.UF.C.closure(function (obj) {
  2492. //防止拖动图标即打开了桌面应用
  2493. U.MD.D.click(this, obj);
  2494. }, [_SONGteacherDesktopIconInfo[i]])
  2495. }, _frag); //
  2496. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2497. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2498. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2499. }
  2500. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2501. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2502. _content = $$("div", {
  2503. className: "U_MD_D_KO",
  2504. "onmousedown": U.UF.C.closure(function (obj) {
  2505. //防止拖动图标即打开了桌面应用
  2506. U.MD.D.click(this, obj);
  2507. }, [_GMstudentDesktopIconInfo[i]]),
  2508. "onclick": U.UF.C.closure(function (obj) {
  2509. //防止拖动图标即打开了桌面应用
  2510. U.MD.D.click(this, obj);
  2511. }, [_GMstudentDesktopIconInfo[i]])
  2512. }, _frag); //
  2513. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2514. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2515. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2516. }
  2517. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2518. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2519. _content = $$("div", {
  2520. className: "U_MD_D_KO",
  2521. "onmousedown": U.UF.C.closure(function (obj) {
  2522. //防止拖动图标即打开了桌面应用
  2523. U.MD.D.click(this, obj);
  2524. }, [_tcTeacherDeskIconInfo[i]]),
  2525. "onclick": U.UF.C.closure(function (obj) {
  2526. //防止拖动图标即打开了桌面应用
  2527. U.MD.D.click(this, obj);
  2528. }, [_tcTeacherDeskIconInfo[i]])
  2529. }, _frag); //
  2530. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2531. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2532. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2533. }
  2534. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2535. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2536. _content = $$("div", {
  2537. className: "U_MD_D_KO",
  2538. "onmousedown": U.UF.C.closure(function (obj) {
  2539. //防止拖动图标即打开了桌面应用
  2540. U.MD.D.click(this, obj);
  2541. }, [_tcOrganizerDeskIconInfo[i]]),
  2542. "onclick": U.UF.C.closure(function (obj) {
  2543. //防止拖动图标即打开了桌面应用
  2544. U.MD.D.click(this, obj);
  2545. }, [_tcOrganizerDeskIconInfo[i]])
  2546. }, _frag); //
  2547. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2548. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2549. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2550. }
  2551. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2552. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2553. _content = $$("div", {
  2554. className: "U_MD_D_KO",
  2555. "onmousedown": U.UF.C.closure(function (obj) {
  2556. //防止拖动图标即打开了桌面应用
  2557. U.MD.D.click(this, obj);
  2558. }, [_szscTeacherDeskIconInfo[i]]),
  2559. "onclick": U.UF.C.closure(function (obj) {
  2560. //防止拖动图标即打开了桌面应用
  2561. U.MD.D.click(this, obj);
  2562. }, [_szscTeacherDeskIconInfo[i]])
  2563. }, _frag); //
  2564. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2565. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2566. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2567. }
  2568. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2569. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2570. _content = $$("div", {
  2571. className: "U_MD_D_KO",
  2572. "onmousedown": U.UF.C.closure(function (obj) {
  2573. //防止拖动图标即打开了桌面应用
  2574. U.MD.D.click(this, obj);
  2575. }, [_szscOrganizerDeskIconInfo[i]]),
  2576. "onclick": U.UF.C.closure(function (obj) {
  2577. //防止拖动图标即打开了桌面应用
  2578. U.MD.D.click(this, obj);
  2579. }, [_szscOrganizerDeskIconInfo[i]])
  2580. }, _frag); //
  2581. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2582. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2583. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2584. }
  2585. } else {
  2586. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2587. _content = $$("div", {
  2588. className: "U_MD_D_KO",
  2589. "onmousedown": U.UF.C.closure(function (obj) {
  2590. //防止拖动图标即打开了桌面应用
  2591. U.MD.D.click(this, obj);
  2592. }, [_teacherDesktopIconInfo[i]]),
  2593. "onclick": U.UF.C.closure(function (obj) {
  2594. //防止拖动图标即打开了桌面应用
  2595. U.MD.D.click(this, obj);
  2596. }, [_teacherDesktopIconInfo[i]])
  2597. }, _frag); //
  2598. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2599. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2600. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2601. }
  2602. }
  2603. } else {
  2604. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2605. _content = $$("div", {
  2606. className: "U_MD_D_KO",
  2607. style: { 'width': '124px', 'height': '145px' },
  2608. "onmousedown": U.UF.C.closure(function (obj) {
  2609. //防止拖动图标即打开了桌面应用
  2610. U.MD.D.click(this, obj);
  2611. }, [_easyDesktopIconInfo[i]]),
  2612. "onclick": U.UF.C.closure(function (obj) {
  2613. //防止拖动图标即打开了桌面应用
  2614. U.MD.D.click(this, obj);
  2615. }, [_easyDesktopIconInfo[i]])
  2616. }, _frag); //
  2617. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2618. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2619. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2620. }
  2621. }
  2622. if (type == 1) {
  2623. //加载好后给图标定位
  2624. U.MD.D.iconPostion($(_frag).Child());
  2625. } else {
  2626. //加载好后给图标定位
  2627. U.MD.D.iconPostion2($(_frag).Child());
  2628. }
  2629. //把图标加载到页面
  2630. el.appendChild(_frag);
  2631. }
  2632. /**
  2633. * 显示任务栏
  2634. *
  2635. * @param {element} 桌面元素
  2636. */
  2637. U.MD.D.I.displayTaskbar = function (el) {
  2638. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2639. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2640. //任务栏位置变化
  2641. U.selectEl(el).css({ "bottom": "0px" });
  2642. //桌面位置变话
  2643. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2644. }
  2645. }
  2646. //#region 桌面图标拖动逻辑
  2647. /**
  2648. * 桌面排列图标
  2649. *
  2650. * @param {element} 桌面元素
  2651. * @param {object} 上下相距的距离
  2652. * @param {object} 左右相距的距离
  2653. * @return {object} 命名空间
  2654. */
  2655. U.MD.D.iconPostion = function (childs, top, left) {
  2656. var i; //用于循环处理
  2657. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2658. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2659. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2660. for (i = 0; i < childs.length; i++) {
  2661. //如果竖排top超过了范围处理
  2662. if (top + 95 > US.height - 10) {
  2663. //left超过了页面范围处理,则向上重叠打印处理
  2664. if ((left + 180) > US.width) {
  2665. top -= 110;
  2666. left -= 90;
  2667. }
  2668. //没有超过范围,那么left+90添加到下一个竖排打印
  2669. else {
  2670. left += 90;
  2671. top = 15;
  2672. };
  2673. }
  2674. //给图标的位置赋值
  2675. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2676. if (i < childs.length - 1) {
  2677. //页面图标每次向下加95
  2678. top += 95;
  2679. }
  2680. }
  2681. //返回最后调用的图标的位置
  2682. return [top, left];
  2683. }
  2684. /**
  2685. * 桌面排列图标
  2686. *
  2687. * @param {element} 桌面元素
  2688. * @param {object} 上下相距的距离
  2689. * @param {object} 左右相距的距离
  2690. * @return {object} 命名空间
  2691. */
  2692. U.MD.D.iconPostion2 = function (childs, top, left) {
  2693. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2694. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2695. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2696. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2697. for (i = 0; i < childs.length; i++) {
  2698. //如果竖排top超过了范围处理
  2699. if (left + 150 > US.width - 10) {
  2700. //left超过了页面范围处理,则向上重叠打印处理
  2701. if ((top + 180) > US.Height) {
  2702. top -= 150;
  2703. left -= 150;
  2704. }
  2705. //没有超过范围,那么left+90添加到下一个竖排打印
  2706. else {
  2707. top += 150;
  2708. left = ol;
  2709. };
  2710. }
  2711. //给图标的位置赋值
  2712. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2713. if (i < childs.length - 1) {
  2714. //页面图标每次向下加95
  2715. left += 150;
  2716. }
  2717. }
  2718. //返回最后调用的图标的位置
  2719. return [top, left];
  2720. }
  2721. /**
  2722. * 桌面点击事件逻辑
  2723. *
  2724. * @param {element} 桌面元素
  2725. * @param {object} 上下相距的距离
  2726. * @param {object} 左右相距的距离
  2727. * @return {object} 命名空间
  2728. */
  2729. U.MD.D.click = function (el, obj) {
  2730. var _buttonnumber = event.button; //点击的按钮的事件值
  2731. var _userinfo = US.userInfo;
  2732. U.UF.EV.stopBubble(); //阻止向上冒泡
  2733. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2734. if (_buttonnumber < 2) {
  2735. //如果是click事件的处理
  2736. if (event.type == "click") {
  2737. //如果元素在mousemove事件中没有移动则出发click事件
  2738. if (!U.MD.D.I.IsDrag) {
  2739. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2740. U.alert("请先登录您的账号!");
  2741. setTimeout(() => {
  2742. U.MD.U.L.login();
  2743. }, 2000);
  2744. } else {
  2745. //打开应用处理
  2746. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2747. }
  2748. }
  2749. }
  2750. //如果是mouse事件的处理
  2751. else {
  2752. if (US.Config.type == '1') {
  2753. //拖动处理,添加拖动和拖动结束事件
  2754. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2755. }
  2756. }
  2757. U.MD.D.I.IsDrag = false;
  2758. }
  2759. }
  2760. /**
  2761. * 拖动的处理
  2762. *
  2763. */
  2764. U.MD.D.iconMove = function () {
  2765. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2766. U.MD.D.I.IsDrag = true;
  2767. }
  2768. /**
  2769. * 拖动结束后,这里是定位处理,以网状的形式定位
  2770. *
  2771. * @param {element} 拖动的元素
  2772. * @return {object} 命名空间
  2773. */
  2774. U.MD.D.iconUp = function (el) {
  2775. var _top = 15,
  2776. _left = 20,
  2777. _margin,
  2778. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2779. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2780. if (_positioninfo["OT"] > 15) {
  2781. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2782. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2783. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2784. }
  2785. if (_positioninfo["OL"] > 20) {
  2786. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2787. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2788. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2789. }
  2790. //while循环判断么一个重叠的元素
  2791. do {
  2792. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2793. _top = _positioninfo[0] + 95; //得到定位后的top
  2794. _left = _positioninfo[1]; //得到定位后的left
  2795. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2796. }
  2797. /**
  2798. * 判断拖动后图标是否重叠
  2799. *
  2800. * @param {element} 拖动的元素
  2801. * @param {element} 桌面所有的元素
  2802. * @param {array} 拖动元素的位置
  2803. ----------[0] 上 top
  2804. ----------[1] 左 left
  2805. * @return {object} 命名空间
  2806. */
  2807. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2808. //循环所有的图标
  2809. for (var i = 0; i < childs.length; i++) {
  2810. //判断有没有和该图标诶子重叠的元素
  2811. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2812. return childs[i]; //如果有返回
  2813. }
  2814. }
  2815. }
  2816. //#endregion
  2817. //#endregion
  2818. //#region 桌面应用
  2819. /**
  2820. * 打开应用
  2821. *
  2822. * @param {string} 类型
  2823. -----------------Disk 网盘系统
  2824. -----------------PDisk 学习系统网盘
  2825. -----------------Poto 图片
  2826. -----------------Video 视频
  2827. -----------------Music 音乐
  2828. -----------------Word word
  2829. -----------------Excel excel
  2830. -----------------Txt 记事本
  2831. -----------------PB 学习系统
  2832. -----------------Blog 朋友圈系统
  2833. -----------------FTP ftp系统
  2834. -----------------Group 好友群
  2835. -----------------SY 首页系统
  2836. -----------------Set 个人设置
  2837. -----------------XSet 系统设置
  2838. -----------------App 我们所有的app
  2839. -----------------BC c.1473.cn 平台
  2840. -----------------CWeb d.1473.cn 变成平台
  2841. -----------------其他的外联系统 我们统一用iframe打开
  2842. * @param {array} 类型
  2843. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2844. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2845. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2846. 如果第一个参数为其他,则无第二个参数
  2847. * @returns {array}
  2848. */
  2849. window.addEventListener('message', function (e) { // 监听 message 事件
  2850. // alert(e.data.type);
  2851. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2852. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2853. //3是展示全部阶段 2学生 1老师 4专家
  2854. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2855. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2856. //3是展示全部阶段 2学生 1老师 4专家
  2857. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2858. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2859. //3是展示全部阶段 2学生 1老师 4专家
  2860. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2861. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2862. } else if (e.data.screenType && e.data.screenType == "3train") { //培训管理传入
  2863. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  2864. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2865. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2866. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2867. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2868. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2869. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2870. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2871. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2872. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2873. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2874. //3是展示全部阶段 2学生 1老师 4专家
  2875. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2876. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2877. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2878. U.MD.D.I.selectUser();
  2879. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2880. var _formel = document.getElementById("study");
  2881. U.UF.F.windowZooming(_formel);
  2882. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2883. var _formel = document.getElementById("studyDetail");
  2884. U.UF.F.windowZooming(_formel);
  2885. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2886. var _formel = document.getElementById("studyDetail");
  2887. U.UF.F.windowZooming(_formel);
  2888. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2889. var _formel = document.getElementById("studentStudy");
  2890. U.UF.F.windowZooming(_formel);
  2891. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2892. // var _formel = document.getElementById("study");
  2893. //如果最大化了,那么就把他缩小
  2894. // if (_formel.ismaximize) {
  2895. // return;
  2896. // }
  2897. // U.UF.F.windowZooming(_formel);
  2898. // U.UF.F.topWindow(_formel);
  2899. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2900. // var _formel = document.getElementById("studyDetail");
  2901. //如果最大化了,那么就把他缩小
  2902. // if (_formel.ismaximize) {
  2903. // return;
  2904. // }
  2905. // U.UF.F.windowZooming(_formel);
  2906. // U.UF.F.topWindow(_formel);
  2907. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2908. // var _formel = document.getElementById("studentStudy");
  2909. // if (_formel.ismaximize) {
  2910. // return;
  2911. // }
  2912. // U.UF.F.windowZooming(_formel);
  2913. // U.UF.F.topWindow(_formel);
  2914. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2915. var _formel = document.getElementById("study");
  2916. // if (_formel.ismaximize) {
  2917. // return;
  2918. // }
  2919. // U.UF.F.windowZooming(_formel);
  2920. U.UF.F.topWindow(_formel);
  2921. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2922. var _formel = document.getElementById("studentIndex");
  2923. U.UF.F.windowZooming(_formel);
  2924. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2925. var _formel = document.getElementById("studyDetailS");
  2926. U.UF.F.windowZooming(_formel);
  2927. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2928. var _formel = document.getElementById("studioIndex");
  2929. U.UF.F.windowZooming(_formel);
  2930. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2931. var _formel = document.getElementById("studyDetailStudio");
  2932. U.UF.F.windowZooming(_formel);
  2933. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2934. var _formel = document.getElementById("studyDetailStudio");
  2935. U.UF.F.windowZooming(_formel);
  2936. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2937. var _formel = document.getElementById("studyDetailNT");
  2938. U.UF.F.windowZooming(_formel);
  2939. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2940. var _formel = document.getElementById("studyDetailS");
  2941. U.UF.F.windowZooming(_formel);
  2942. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2943. var _formel = document.getElementById("studyDetailS");
  2944. U.UF.F.topWindow(_formel);
  2945. } else if (e.data.tools && e.data.tools == "1") {
  2946. // U.MD.D.I.openApplication("whiteboard")
  2947. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2948. } else if (e.data.tools && e.data.tools == "2") {
  2949. U.MD.D.I.openApplication("note")
  2950. } else if (e.data.tools && e.data.tools == "3") {
  2951. // U.MD.D.I.openApplication("mind")
  2952. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2953. } else if (e.data.tools && e.data.tools == "4") {
  2954. U.MD.D.I.openApplication("investigation")
  2955. } else if (e.data.tools && e.data.tools == "6") {
  2956. // U.MD.D.I.openApplication("doc")
  2957. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2958. } else if (e.data.tools && e.data.tools == "7") {
  2959. // U.MD.D.I.openApplication("mindNetwork")
  2960. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2961. } else if (e.data.tools && e.data.tools == "8") {
  2962. U.MD.D.I.openApplication("library")
  2963. } else if (e.data.tools && e.data.tools == "17") {
  2964. U.MD.D.I.openApplication("stuLibrary")
  2965. } else if (e.data.tools && e.data.tools == "18") {
  2966. U.MD.D.I.openApplication("train")
  2967. } else if (e.data.tools && e.data.tools == "21") {
  2968. U.MD.D.I.openApplication("program")
  2969. } else if (e.data.tools && e.data.tools == "22") {
  2970. U.MD.D.I.openApplication("AIprogram2")
  2971. } else if (e.data.tools && e.data.tools == "23") {
  2972. U.MD.D.I.openApplication("Pythonprogram")
  2973. } else if (e.data.tools && e.data.tools == "24") {
  2974. U.MD.D.I.openApplication("AIprogram")
  2975. } else if (e.data.tools && e.data.tools == "25") {
  2976. U.MD.D.I.openApplication("sys")
  2977. } else if (e.data.tools && e.data.tools == "26") {
  2978. // U.MD.D.I.openApplication("courseDesign")
  2979. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2980. } else if (e.data.tools && e.data.tools == "31") {
  2981. U.MD.D.I.openApplication("netWorkPanel")
  2982. } else if (e.data.tools && e.data.tools == "32") {
  2983. U.MD.D.I.openApplication("codeEdit")
  2984. } else if (e.data.tools && e.data.tools == "57") {
  2985. U.MD.D.I.openApplication("CocoPi")
  2986. } else if (e.data.tools && e.data.tools == "63") {
  2987. U.MD.D.I.openApplication("Wood")
  2988. } else if (e.data.tools && e.data.tools == "58") {
  2989. U.MD.D.I.openApplication("car")
  2990. } else if (e.data.tools && e.data.tools == "59") {
  2991. U.MD.D.I.openApplication("lineSearch")
  2992. } else if (e.data.tools && e.data.tools == "60") {
  2993. U.MD.D.I.openApplication("deepLearning")
  2994. } else if (e.data.tools && e.data.tools == "61") {
  2995. U.MD.D.I.openApplication("allHistory")
  2996. } else if (e.data.tools && e.data.tools == "28") {
  2997. U.MD.D.I.openApplication("translation")
  2998. } else if (e.data.tools && e.data.tools == "37") {
  2999. U.MD.D.I.openApplication("mohe")
  3000. } else if (e.data.tools && e.data.tools == "38") {
  3001. U.MD.D.I.openApplication("24game")
  3002. } else if (e.data.tools && e.data.tools == "39") {
  3003. U.MD.D.I.openApplication("GeoGebra")
  3004. } else if (e.data.tools && e.data.tools == "43") {
  3005. U.MD.D.I.openApplication("studentEvaluate")
  3006. } else if (e.data.tools && e.data.tools == "44") {
  3007. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  3008. } else if (e.data.tools && e.data.tools == "46") {
  3009. U.MD.D.I.openApplication("project")
  3010. } else if (e.data.tools && e.data.tools == "1s") {
  3011. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3012. } else if (e.data.tools && e.data.tools == "3s") {
  3013. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3014. } else if (e.data.tools && e.data.tools == "6s") {
  3015. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3016. } else if (e.data.tools && e.data.tools == "1studio") {
  3017. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3018. } else if (e.data.tools && e.data.tools == "3studio") {
  3019. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3020. } else if (e.data.tools && e.data.tools == "6studio") {
  3021. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3022. } else if (e.data.tools && e.data.tools == "3y") {
  3023. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3024. } else if (e.data.tools && e.data.tools == "1y") {
  3025. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3026. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  3027. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  3028. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  3029. U.MD.D.I.openApplication("AIAnalyse")
  3030. } else if (e.data.tools && e.data.tools == "1teacher") {
  3031. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3032. } else if (e.data.tools && e.data.tools == "3teacher") {
  3033. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3034. } else if (e.data.tools && e.data.tools == "7teacher") {
  3035. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3036. } else if (e.data.tools && e.data.tools == "1teacherE") {
  3037. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3038. } else if (e.data.tools && e.data.tools == "3teacherE") {
  3039. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3040. } else if (e.data.tools && e.data.tools == "1E") {
  3041. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3042. } else if (e.data.tools && e.data.tools == "3E") {
  3043. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3044. } else if (e.data.tools && e.data.tools == "57y") {
  3045. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3046. } else if (e.data.tools && e.data.tools == "57u") {
  3047. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3048. } else if (e.data.tools && e.data.tools == "57teacher") {
  3049. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3050. } else if (e.data.tools && e.data.tools == "64") {
  3051. U.MD.D.I.openApplication("AIChat")
  3052. } else if (e.data.tools && e.data.tools == "66") {
  3053. U.MD.D.I.openApplication("formulaEdi")
  3054. } else if (e.data.tools && e.data.tools == "67") {
  3055. U.MD.D.I.openApplication("molStr")
  3056. } else if (e.data.tools && e.data.tools == "68") {
  3057. U.MD.D.I.openApplication("timeAxis")
  3058. } else if (e.data.tools && e.data.tools == "openCourse") {
  3059. let _data = {
  3060. typea: e.data.typea || '',
  3061. typeb: e.data.typeb || '',
  3062. typed: e.data.typed || '',
  3063. }
  3064. U.MD.D.I.openInApplication("index", _data)
  3065. } else if (e.data.tools && e.data.tools == "openDataClass") {
  3066. let _data = {
  3067. classid: e.data.classid || '',
  3068. }
  3069. U.MD.D.I.openInApplication("dataClass", _data)
  3070. } else if (e.data.tools && e.data.tools == "opencCscl") {
  3071. let _data = {
  3072. cid: e.data.cid || '',
  3073. gid: e.data.gid || '',
  3074. }
  3075. U.MD.D.I.openInApplication("opencCscl", _data)
  3076. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  3077. U.MD.D.I.openApplication("dataBoardTest")
  3078. }
  3079. });
  3080. U.MD.D.I.selectUser = function () {
  3081. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  3082. if (res.value[0].length > 0) {
  3083. US.userInfo = res.value[0][0];
  3084. $(".userName")[0].innerHTML = US.userInfo.username;
  3085. }
  3086. }, [], { "type": "GET", "withCredentials": true });
  3087. }
  3088. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  3089. var _userinfo = US.userInfo, //登录用户信息
  3090. _userid = US.userInfo.userid, //登录用户id
  3091. _oid = _userinfo.organizeid,
  3092. _type = US.userInfo.type,
  3093. _org = US.userInfo.org,
  3094. _role = US.userInfo.role,
  3095. _classId = US.userInfo.classid;
  3096. if (_type == 4) {
  3097. tType = 4
  3098. }
  3099. switch (str) {
  3100. case "studyDetailNT": //无终端模式
  3101. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3102. setTimeout(() => {
  3103. U.MD.U.L.login();
  3104. }, 2000);
  3105. } else {
  3106. _formdiv = new U.UF.UI.form(
  3107. "课程详情",
  3108. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailNT?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  3109. "id": "studyDetailNT",
  3110. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3111. "onresize": function () { }
  3112. }, {
  3113. closecallback: function () { }
  3114. }, { "style": { "height": "36px" } }).form; //创建窗体
  3115. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3116. break;
  3117. }
  3118. case "studyDetail":
  3119. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3120. setTimeout(() => {
  3121. U.MD.U.L.login();
  3122. }, 2000);
  3123. } else {
  3124. _formdiv = new U.UF.UI.form(
  3125. "课程详情",
  3126. $$("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 }), {
  3127. "id": "studyDetail",
  3128. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3129. "onresize": function () { }
  3130. }, {
  3131. closecallback: function () { }
  3132. }, { "style": { "height": "36px" } }).form; //创建窗体
  3133. _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); } }
  3134. break;
  3135. }
  3136. case "studyDetailTrain":
  3137. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3138. setTimeout(() => {
  3139. U.MD.U.L.login();
  3140. }, 2000);
  3141. } else {
  3142. _formdiv = new U.UF.UI.form(
  3143. "培训详情",
  3144. $$("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 }), {
  3145. "id": "studyDetailTrain",
  3146. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3147. "onresize": function () { }
  3148. }, {
  3149. closecallback: function () { }
  3150. }, { "style": { "height": "36px" } }).form; //创建窗体
  3151. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3152. break;
  3153. }
  3154. case "studyDetailS":
  3155. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3156. setTimeout(() => {
  3157. U.MD.U.L.login();
  3158. }, 2000);
  3159. } else {
  3160. _formdiv = new U.UF.UI.form(
  3161. "项目详情",
  3162. $$("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 }), {
  3163. "id": "studyDetailS",
  3164. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3165. "onresize": function () { }
  3166. }, {
  3167. closecallback: function () { }
  3168. }, { "style": { "height": "36px" } }).form; //创建窗体
  3169. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3170. break;
  3171. }
  3172. case "studyDetailStudio":
  3173. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3174. setTimeout(() => {
  3175. U.MD.U.L.login();
  3176. }, 2000);
  3177. } else {
  3178. _formdiv = new U.UF.UI.form(
  3179. "工作详情",
  3180. $$("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 }), {
  3181. "id": "studyDetailStudio",
  3182. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3183. "onresize": function () { }
  3184. }, {
  3185. closecallback: function () { }
  3186. }, { "style": { "height": "36px" } }).form; //创建窗体
  3187. _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); } }
  3188. break;
  3189. }
  3190. case "studyDetailS5":
  3191. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3192. setTimeout(() => {
  3193. U.MD.U.L.login();
  3194. }, 2000);
  3195. } else {
  3196. _formdiv = new U.UF.UI.form(
  3197. "项目详情",
  3198. $$("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 }), {
  3199. "id": "studyDetailS",
  3200. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3201. "onresize": function () { }
  3202. }, {
  3203. closecallback: function () { }
  3204. }, { "style": { "height": "36px" } }).form; //创建窗体
  3205. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3206. break;
  3207. }
  3208. case "studyDetailGM":
  3209. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3210. setTimeout(() => {
  3211. U.MD.U.L.login();
  3212. }, 2000);
  3213. } else {
  3214. _formdiv = new U.UF.UI.form(
  3215. "课程详情",
  3216. $$("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 }), {
  3217. "id": "studyDetail",
  3218. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3219. "onresize": function () { }
  3220. }, {
  3221. closecallback: function () { }
  3222. }, { "style": { "height": "36px" } }).form; //创建窗体
  3223. _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); } }
  3224. break;
  3225. }
  3226. case "hanUrl":
  3227. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3228. setTimeout(() => {
  3229. U.MD.U.L.login();
  3230. }, 2000);
  3231. } else {
  3232. _formdiv = new U.UF.UI.form(
  3233. "汉字宫",
  3234. $$("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" }), {
  3235. "id": "hanUrl",
  3236. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3237. "onresize": function () { }
  3238. }, {
  3239. closecallback: function () { }
  3240. }, { "style": { "height": "36px" } }).form; //创建窗体
  3241. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3242. break;
  3243. }
  3244. case "index":
  3245. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3246. setTimeout(() => {
  3247. U.MD.U.L.login();
  3248. }, 2000);
  3249. } else {
  3250. _formdiv = new U.UF.UI.form(
  3251. "课程中心",
  3252. $$("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 }), {
  3253. "id": "study",
  3254. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3255. "onresize": function () { }
  3256. }, {
  3257. closecallback: function () { }
  3258. }, { "style": { "height": "36px" } }).form; //创建窗体
  3259. _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); } }
  3260. break;
  3261. }
  3262. case "dataClass":
  3263. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3264. setTimeout(() => {
  3265. U.MD.U.L.login();
  3266. }, 2000);
  3267. } else {
  3268. _formdiv = new U.UF.UI.form(
  3269. "数据报告",
  3270. $$("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 }), {
  3271. "id": "dataClass",
  3272. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3273. "onresize": function () { }
  3274. }, {
  3275. closecallback: function () { }
  3276. }, { "style": { "height": "36px" } }).form; //创建窗体
  3277. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "数据报告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3278. break;
  3279. }
  3280. case "opencCscl":
  3281. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3282. setTimeout(() => {
  3283. U.MD.U.L.login();
  3284. }, 2000);
  3285. } else {
  3286. _formdiv = new U.UF.UI.form(
  3287. "协同建构",
  3288. $$("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 }), {
  3289. "id": "futureClass",
  3290. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3291. "onresize": function () { }
  3292. }, {
  3293. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3294. }, { "style": { "height": "36px" } }).form; //创建窗体
  3295. _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); } }
  3296. break;
  3297. }
  3298. case "openCourseUpdate":
  3299. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3300. setTimeout(() => {
  3301. U.MD.U.L.login();
  3302. }, 2000);
  3303. } else {
  3304. _formdiv = new U.UF.UI.form(
  3305. "课程管理",
  3306. $$("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/#/course/addCourse?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3307. "id": "openCourseUpdate",
  3308. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3309. "onresize": function () { }
  3310. }, {
  3311. closecallback: function () { }
  3312. }, { "style": { "height": "36px" } }).form; //创建窗体
  3313. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "协同建构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3314. break;
  3315. }
  3316. case "openCourseEUpdate":
  3317. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3318. setTimeout(() => {
  3319. U.MD.U.L.login();
  3320. }, 2000);
  3321. } else {
  3322. _formdiv = new U.UF.UI.form(
  3323. "课程管理",
  3324. $$("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/#/course/addCourseE?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3325. "id": "openCourseUpdate",
  3326. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3327. "onresize": function () { }
  3328. }, {
  3329. closecallback: function () { }
  3330. }, { "style": { "height": "36px" } }).form; //创建窗体
  3331. _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); } }
  3332. break;
  3333. }
  3334. }
  3335. }
  3336. U.MD.D.I.openApplication = function (str, obj, info) {
  3337. obj = obj || {};
  3338. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3339. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3340. _userinfo = US.userInfo, //登录用户信息
  3341. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3342. _oid = obj.organizeid || _userinfo.organizeid,
  3343. _type = US.userInfo.type,
  3344. _org = US.userInfo.org,
  3345. _role = US.userInfo.role,
  3346. _classId = US.userInfo.classid,
  3347. _TscreenType = 1
  3348. _screenType = 2,
  3349. _SscreenType = 3;
  3350. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3351. return;
  3352. }
  3353. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3354. switch (str) {
  3355. case "studnetProject": //好友打开
  3356. _formdiv = new U.UF.UI.form(
  3357. "我的项目",
  3358. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  3359. "id": "studnetProject",
  3360. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3361. "onresize": function () { }
  3362. }, {
  3363. closecallback: function () { }
  3364. }, { "style": { "height": "36px" } }).form; //创建窗体
  3365. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3366. break;
  3367. case "studentEvaluate": //好友打开
  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": US.Config.bpbl + "/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3371. "id": "studentEvaluate",
  3372. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3373. "onresize": function () { }
  3374. }, {
  3375. closecallback: function () { }
  3376. }, { "style": { "height": "36px" } }).form; //创建窗体
  3377. _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); } }
  3378. break;
  3379. case "my":
  3380. _formdiv = new U.UF.UI.form(
  3381. "我的资料",
  3382. $$("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 }), {
  3383. "id": "my",
  3384. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3385. "onresize": function () { }
  3386. }, {
  3387. closecallback: function () { }
  3388. }, { "style": { "height": "36px" } }).form; //创建窗体
  3389. _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); } }
  3390. break;
  3391. case "program":
  3392. _formdiv = new U.UF.UI.form(
  3393. "编程平台",
  3394. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3395. "id": "program",
  3396. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3397. "onresize": function () { }
  3398. }, {
  3399. closecallback: function () { }
  3400. }, { "style": { "height": "36px" } }).form; //创建窗体
  3401. _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); } }
  3402. break;
  3403. case "library":
  3404. _formdiv = new U.UF.UI.form(
  3405. "素材库",
  3406. $$("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 }), {
  3407. "id": "library",
  3408. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3409. "onresize": function () { }
  3410. }, {
  3411. closecallback: function () { }
  3412. }, { "style": { "height": "36px" } }).form; //创建窗体
  3413. _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); } }
  3414. break;
  3415. case "whiteboard":
  3416. _formdiv = new U.UF.UI.form(
  3417. "电子白板",
  3418. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3419. "id": "whiteboard",
  3420. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3421. "onresize": function () { }
  3422. }, {
  3423. closecallback: function () { }
  3424. }, { "style": { "height": "36px" } }).form; //创建窗体
  3425. _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); } }
  3426. break;
  3427. case "investigation":
  3428. _formdiv = new U.UF.UI.form(
  3429. "问卷调查",
  3430. $$("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 }), {
  3431. "id": "investigation",
  3432. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3433. "onresize": function () { }
  3434. }, {
  3435. closecallback: function () { }
  3436. }, { "style": { "height": "36px" } }).form; //创建窗体
  3437. _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); } }
  3438. break;
  3439. case "note":
  3440. _formdiv = new U.UF.UI.form(
  3441. "便签分类",
  3442. $$("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 }), {
  3443. "id": "note",
  3444. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3445. "onresize": function () { }
  3446. }, {
  3447. closecallback: function () { }
  3448. }, { "style": { "height": "36px" } }).form; //创建窗体
  3449. _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); } }
  3450. break;
  3451. // case "score":
  3452. // _formdiv = new U.UF.UI.form(
  3453. // "量规评分",
  3454. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3455. // "id": "score",
  3456. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3457. // "onresize": function() {}
  3458. // }, {
  3459. // closecallback: function() {}
  3460. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3461. // _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); } }
  3462. // break;
  3463. case "mind":
  3464. _formdiv = new U.UF.UI.form(
  3465. "思维导图",
  3466. $$("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"
  3467. "id": "mind",
  3468. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3469. "onresize": function () { }
  3470. }, {
  3471. closecallback: function () { }
  3472. }, { "style": { "height": "36px" } }).form; //创建窗体
  3473. _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); } }
  3474. break;
  3475. case "doc":
  3476. // U.MD.D.I.isRoom();
  3477. _formdiv = new U.UF.UI.form(
  3478. "协同文档",
  3479. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3480. "id": "doc",
  3481. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3482. "onresize": function () { }
  3483. }, {
  3484. closecallback: function () { }
  3485. }, { "style": { "height": "36px" } }).form; //创建窗体
  3486. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3487. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3488. // })
  3489. _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); } }
  3490. break;
  3491. case "studentStudy":
  3492. _formdiv = new U.UF.UI.form(
  3493. "课程中心",
  3494. $$("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
  3495. "id": "studentStudy",
  3496. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3497. "onresize": function () { }
  3498. }, {
  3499. closecallback: function () { }
  3500. }, { "style": { "height": "36px" } }).form; //创建窗体
  3501. _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); } }
  3502. break;
  3503. case "train": //好友打开
  3504. _formdiv = new U.UF.UI.form(
  3505. "训练平台",
  3506. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3507. "id": "train",
  3508. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3509. "onresize": function () { }
  3510. }, {
  3511. closecallback: function () { }
  3512. }, { "style": { "height": "36px" } }).form; //创建窗体
  3513. _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); } }
  3514. break;
  3515. case "mindNetwork": //好友打开
  3516. _formdiv = new U.UF.UI.form(
  3517. "思维网格",
  3518. $$("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 }), {
  3519. "id": "mindNetwork",
  3520. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3521. "onresize": function () { }
  3522. }, {
  3523. closecallback: function () { }
  3524. }, { "style": { "height": "36px" } }).form; //创建窗体
  3525. _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); } }
  3526. break;
  3527. case "studentClassRoom": //好友打开
  3528. _formdiv = new U.UF.UI.form(
  3529. "实时课堂",
  3530. $$("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 }), {
  3531. "id": "studentClassRoom",
  3532. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3533. "onresize": function () { }
  3534. }, {
  3535. closecallback: function () { }
  3536. }, { "style": { "height": "36px" } }).form; //创建窗体
  3537. _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); } }
  3538. setTimeout(() => {
  3539. U.UF.F.windowZooming(_formdiv)
  3540. }, 0);
  3541. break;
  3542. }
  3543. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3544. switch (str) {
  3545. case "studnetProject": //好友打开
  3546. _formdiv = new U.UF.UI.form(
  3547. "我的项目",
  3548. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  3549. "id": "studnetProject",
  3550. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3551. "onresize": function () { }
  3552. }, {
  3553. closecallback: function () { }
  3554. }, { "style": { "height": "36px" } }).form; //创建窗体
  3555. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3556. break;
  3557. case "studentEvaluate": //好友打开
  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": US.Config.bpbl + "/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3561. "id": "studentEvaluate",
  3562. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3563. "onresize": function () { }
  3564. }, {
  3565. closecallback: function () { }
  3566. }, { "style": { "height": "36px" } }).form; //创建窗体
  3567. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3568. break;
  3569. case "my":
  3570. _formdiv = new U.UF.UI.form(
  3571. "我的资料",
  3572. $$("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 }), {
  3573. "id": "my",
  3574. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3575. "onresize": function () { }
  3576. }, {
  3577. closecallback: function () { }
  3578. }, { "style": { "height": "36px" } }).form; //创建窗体
  3579. _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); } }
  3580. break;
  3581. case "program":
  3582. _formdiv = new U.UF.UI.form(
  3583. "编程平台",
  3584. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3585. "id": "program",
  3586. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3587. "onresize": function () { }
  3588. }, {
  3589. closecallback: function () { }
  3590. }, { "style": { "height": "36px" } }).form; //创建窗体
  3591. _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); } }
  3592. break;
  3593. case "library":
  3594. _formdiv = new U.UF.UI.form(
  3595. "素材库",
  3596. $$("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 }), {
  3597. "id": "library",
  3598. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3599. "onresize": function () { }
  3600. }, {
  3601. closecallback: function () { }
  3602. }, { "style": { "height": "36px" } }).form; //创建窗体
  3603. _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); } }
  3604. break;
  3605. case "whiteboard":
  3606. _formdiv = new U.UF.UI.form(
  3607. "电子白板",
  3608. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3609. "id": "whiteboard",
  3610. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3611. "onresize": function () { }
  3612. }, {
  3613. closecallback: function () { }
  3614. }, { "style": { "height": "36px" } }).form; //创建窗体
  3615. _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); } }
  3616. break;
  3617. case "investigation":
  3618. _formdiv = new U.UF.UI.form(
  3619. "问卷调查",
  3620. $$("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 }), {
  3621. "id": "investigation",
  3622. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3623. "onresize": function () { }
  3624. }, {
  3625. closecallback: function () { }
  3626. }, { "style": { "height": "36px" } }).form; //创建窗体
  3627. _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); } }
  3628. break;
  3629. case "note":
  3630. _formdiv = new U.UF.UI.form(
  3631. "便签分类",
  3632. $$("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 }), {
  3633. "id": "note",
  3634. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3635. "onresize": function () { }
  3636. }, {
  3637. closecallback: function () { }
  3638. }, { "style": { "height": "36px" } }).form; //创建窗体
  3639. _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); } }
  3640. break;
  3641. // case "score":
  3642. // _formdiv = new U.UF.UI.form(
  3643. // "量规评分",
  3644. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3645. // "id": "score",
  3646. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3647. // "onresize": function() {}
  3648. // }, {
  3649. // closecallback: function() {}
  3650. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3651. // _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); } }
  3652. // break;
  3653. case "mind":
  3654. _formdiv = new U.UF.UI.form(
  3655. "思维导图",
  3656. $$("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"
  3657. "id": "mind",
  3658. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3659. "onresize": function () { }
  3660. }, {
  3661. closecallback: function () { }
  3662. }, { "style": { "height": "36px" } }).form; //创建窗体
  3663. _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); } }
  3664. break;
  3665. case "doc":
  3666. // U.MD.D.I.isRoom();
  3667. _formdiv = new U.UF.UI.form(
  3668. "协同文档",
  3669. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3670. "id": "doc",
  3671. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3672. "onresize": function () { }
  3673. }, {
  3674. closecallback: function () { }
  3675. }, { "style": { "height": "36px" } }).form; //创建窗体
  3676. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3677. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3678. })
  3679. _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); } }
  3680. break;
  3681. case "train": //好友打开
  3682. _formdiv = new U.UF.UI.form(
  3683. "训练平台",
  3684. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3685. "id": "train",
  3686. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3687. "onresize": function () { }
  3688. }, {
  3689. closecallback: function () { }
  3690. }, { "style": { "height": "36px" } }).form; //创建窗体
  3691. _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); } }
  3692. break;
  3693. case "studentStudy":
  3694. _formdiv = new U.UF.UI.form(
  3695. "课程中心",
  3696. $$("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
  3697. "id": "studentStudy",
  3698. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3699. "onresize": function () { }
  3700. }, {
  3701. closecallback: function () { }
  3702. }, { "style": { "height": "36px" } }).form; //创建窗体
  3703. _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); } }
  3704. break;
  3705. case "mindNetwork": //好友打开
  3706. _formdiv = new U.UF.UI.form(
  3707. "思维网格",
  3708. $$("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 }), {
  3709. "id": "mindNetwork",
  3710. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3711. "onresize": function () { }
  3712. }, {
  3713. closecallback: function () { }
  3714. }, { "style": { "height": "36px" } }).form; //创建窗体
  3715. _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); } }
  3716. break;
  3717. case "studentClassRoom": //好友打开
  3718. _formdiv = new U.UF.UI.form(
  3719. "实时课堂",
  3720. $$("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 }), {
  3721. "id": "studentClassRoom",
  3722. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3723. "onresize": function () { }
  3724. }, {
  3725. closecallback: function () { }
  3726. }, { "style": { "height": "36px" } }).form; //创建窗体
  3727. _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); } }
  3728. setTimeout(() => {
  3729. U.UF.F.windowZooming(_formdiv)
  3730. }, 0);
  3731. break;
  3732. }
  3733. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3734. //选择应用处理
  3735. switch (str) {
  3736. case "project": //好友打开
  3737. _formdiv = new U.UF.UI.form(
  3738. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3739. $$("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 }), {
  3740. "id": "project",
  3741. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3742. "onresize": function () { }
  3743. }, {
  3744. closecallback: function () { }
  3745. }, { "style": { "height": "36px" } }).form; //创建窗体
  3746. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3747. break;
  3748. case "student":
  3749. _formdiv = new U.UF.UI.form(
  3750. "学生管理",
  3751. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org + "&role=" + _role }), {
  3752. "id": "student",
  3753. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3754. "onresize": function () { }
  3755. }, {
  3756. closecallback: function () { }
  3757. }, { "style": { "height": "36px" } }).form; //创建窗体
  3758. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3759. break;
  3760. case "evaluate":
  3761. _formdiv = new U.UF.UI.form(
  3762. "学生评价",
  3763. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3764. "id": "evaluate",
  3765. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3766. "onresize": function () { }
  3767. }, {
  3768. closecallback: function () { }
  3769. }, { "style": { "height": "36px" } }).form; //创建窗体
  3770. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3771. break;
  3772. case "sys":
  3773. _formdiv = new U.UF.UI.form(
  3774. "目标管理",
  3775. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3776. "id": "sys",
  3777. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3778. "onresize": function () { }
  3779. }, {
  3780. closecallback: function () { }
  3781. }, { "style": { "height": "36px" } }).form; //创建窗体
  3782. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3783. break;
  3784. case "courseDesign":
  3785. _formdiv = new U.UF.UI.form(
  3786. "项目设计",
  3787. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3788. "id": "courseDesign",
  3789. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3790. "onresize": function () { }
  3791. }, {
  3792. closecallback: function () { }
  3793. }, { "style": { "height": "36px" } }).form; //创建窗体
  3794. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3795. break;
  3796. case "program":
  3797. _formdiv = new U.UF.UI.form(
  3798. "编程平台",
  3799. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3800. "id": "program",
  3801. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3802. "onresize": function () { }
  3803. }, {
  3804. closecallback: function () { }
  3805. }, { "style": { "height": "36px" } }).form; //创建窗体
  3806. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3807. break;
  3808. case "class":
  3809. _formdiv = new U.UF.UI.form(
  3810. "班级管理",
  3811. $$("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 }), {
  3812. "id": "class",
  3813. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3814. "onresize": function () { }
  3815. }, {
  3816. closecallback: function () { }
  3817. }, { "style": { "height": "36px" } }).form; //创建窗体
  3818. _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); } }
  3819. break;
  3820. case "Grade":
  3821. _formdiv = new U.UF.UI.form(
  3822. "年级管理",
  3823. $$("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 }), {
  3824. "id": "Grade",
  3825. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3826. "onresize": function () { }
  3827. }, {
  3828. closecallback: function () { }
  3829. }, { "style": { "height": "36px" } }).form; //创建窗体
  3830. _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); } }
  3831. break;
  3832. case "teacherOffice":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherOffice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3836. "id": "teacherOffice",
  3837. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3838. "onresize": function () { }
  3839. }, {
  3840. closecallback: function () { }
  3841. }, { "style": { "height": "36px" } }).form; //创建窗体
  3842. _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); } }
  3843. break;
  3844. case "my":
  3845. _formdiv = new U.UF.UI.form(
  3846. "我的资料",
  3847. $$("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 }), {
  3848. "id": "my",
  3849. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3850. "onresize": function () { }
  3851. }, {
  3852. closecallback: function () { }
  3853. }, { "style": { "height": "36px" } }).form; //创建窗体
  3854. _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); } }
  3855. break;
  3856. case "notice":
  3857. _formdiv = new U.UF.UI.form(
  3858. "通知公告",
  3859. $$("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 }), {
  3860. "id": "notice",
  3861. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3862. "onresize": function () { }
  3863. }, {
  3864. closecallback: function () { }
  3865. }, { "style": { "height": "36px" } }).form; //创建窗体
  3866. _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); } }
  3867. break;
  3868. case "library":
  3869. _formdiv = new U.UF.UI.form(
  3870. "素材库",
  3871. $$("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 }), {
  3872. "id": "library",
  3873. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3874. "onresize": function () { }
  3875. }, {
  3876. closecallback: function () { }
  3877. }, { "style": { "height": "36px" } }).form; //创建窗体
  3878. _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); } }
  3879. break;
  3880. case "whiteboard":
  3881. _formdiv = new U.UF.UI.form(
  3882. "电子白板",
  3883. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3884. "id": "whiteboard",
  3885. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3886. "onresize": function () { }
  3887. }, {
  3888. closecallback: function () { }
  3889. }, { "style": { "height": "36px" } }).form; //创建窗体
  3890. _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); } }
  3891. break;
  3892. case "investigation":
  3893. _formdiv = new U.UF.UI.form(
  3894. "问卷调查",
  3895. $$("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 }), {
  3896. "id": "investigation",
  3897. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3898. "onresize": function () { }
  3899. }, {
  3900. closecallback: function () { }
  3901. }, { "style": { "height": "36px" } }).form; //创建窗体
  3902. _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); } }
  3903. break;
  3904. case "note":
  3905. _formdiv = new U.UF.UI.form(
  3906. "便签分类",
  3907. $$("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 }), {
  3908. "id": "note",
  3909. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3910. "onresize": function () { }
  3911. }, {
  3912. closecallback: function () { }
  3913. }, { "style": { "height": "36px" } }).form; //创建窗体
  3914. _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); } }
  3915. break;
  3916. // case "score":
  3917. // _formdiv = new U.UF.UI.form(
  3918. // "量规评分",
  3919. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3920. // "id": "score",
  3921. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3922. // "onresize": function() {}
  3923. // }, {
  3924. // closecallback: function() {}
  3925. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3926. // _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); } }
  3927. // break;
  3928. case "mind":
  3929. _formdiv = new U.UF.UI.form(
  3930. "思维导图",
  3931. $$("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"
  3932. "id": "mind",
  3933. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3934. "onresize": function () { }
  3935. }, {
  3936. closecallback: function () { }
  3937. }, { "style": { "height": "36px" } }).form; //创建窗体
  3938. _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); } }
  3939. break;
  3940. case "doc":
  3941. // U.MD.D.I.isRoom();
  3942. _formdiv = new U.UF.UI.form(
  3943. "协同文档",
  3944. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3945. "id": "doc",
  3946. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3947. "onresize": function () { }
  3948. }, {
  3949. closecallback: function () { }
  3950. }, { "style": { "height": "36px" } }).form; //创建窗体
  3951. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3952. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3953. })
  3954. _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); } }
  3955. break;
  3956. case "study":
  3957. _formdiv = new U.UF.UI.form(
  3958. "课程中心",
  3959. $$("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
  3960. "id": "study",
  3961. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3962. "onresize": function () { }
  3963. }, {
  3964. closecallback: function () { }
  3965. }, { "style": { "height": "36px" } }).form; //创建窗体
  3966. _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); } }
  3967. break;
  3968. case "mindNetwork": //好友打开
  3969. _formdiv = new U.UF.UI.form(
  3970. "思维网格",
  3971. $$("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 }), {
  3972. "id": "mindNetwork",
  3973. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3974. "onresize": function () { }
  3975. }, {
  3976. closecallback: function () { }
  3977. }, { "style": { "height": "36px" } }).form; //创建窗体
  3978. _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); } }
  3979. break;
  3980. case "train": //好友打开
  3981. _formdiv = new U.UF.UI.form(
  3982. "训练平台",
  3983. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3984. "id": "mindNetwork",
  3985. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3986. "onresize": function () { }
  3987. }, {
  3988. closecallback: function () { }
  3989. }, { "style": { "height": "36px" } }).form; //创建窗体
  3990. _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); } }
  3991. break;
  3992. case "teacherClassRoom": //好友打开
  3993. _formdiv = new U.UF.UI.form(
  3994. "实时课堂",
  3995. $$("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 }), {
  3996. "id": "teacherClassRoom",
  3997. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3998. "onresize": function () { }
  3999. }, {
  4000. closecallback: function () { }
  4001. }, { "style": { "height": "36px" } }).form; //创建窗体
  4002. _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); } }
  4003. setTimeout(() => {
  4004. U.UF.F.windowZooming(_formdiv)
  4005. }, 0);
  4006. break;
  4007. }
  4008. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  4009. switch (str) {
  4010. case "project": //好友打开
  4011. _formdiv = new U.UF.UI.form(
  4012. "课程管理",
  4013. $$("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 }), {
  4014. "id": "project",
  4015. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4016. "onresize": function () { }
  4017. }, {
  4018. closecallback: function () { }
  4019. }, { "style": { "height": "36px" } }).form; //创建窗体
  4020. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4021. break;
  4022. case "evaluate":
  4023. _formdiv = new U.UF.UI.form(
  4024. "学生评价",
  4025. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4026. "id": "evaluate",
  4027. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4028. "onresize": function () { }
  4029. }, {
  4030. closecallback: function () { }
  4031. }, { "style": { "height": "36px" } }).form; //创建窗体
  4032. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4033. break;
  4034. case "notice":
  4035. _formdiv = new U.UF.UI.form(
  4036. "通知公告",
  4037. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  4038. "id": "notice",
  4039. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4040. "onresize": function () { }
  4041. }, {
  4042. closecallback: function () { }
  4043. }, { "style": { "height": "36px" } }).form; //创建窗体
  4044. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4045. break;
  4046. case "stuLibrary":
  4047. _formdiv = new U.UF.UI.form(
  4048. "学习资料",
  4049. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studyLibrary?userid=" + _userid + "&org=" + _org }), {
  4050. "id": "stuLibrary",
  4051. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4052. "onresize": function () { }
  4053. }, {
  4054. closecallback: function () { }
  4055. }, { "style": { "height": "36px" } }).form; //创建窗体
  4056. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4057. break;
  4058. case "program":
  4059. _formdiv = new U.UF.UI.form(
  4060. "编程平台",
  4061. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4062. "id": "program",
  4063. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4064. "onresize": function () { }
  4065. }, {
  4066. closecallback: function () { }
  4067. }, { "style": { "height": "36px" } }).form; //创建窗体
  4068. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4069. break;
  4070. case "whiteboard":
  4071. _formdiv = new U.UF.UI.form(
  4072. "电子白板",
  4073. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  4074. "id": "whiteboard",
  4075. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4076. "onresize": function () { }
  4077. }, {
  4078. closecallback: function () { }
  4079. }, { "style": { "height": "36px" } }).form; //创建窗体
  4080. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4081. break;
  4082. case "investigation":
  4083. _formdiv = new U.UF.UI.form(
  4084. "问卷调查",
  4085. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  4086. "id": "investigation",
  4087. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4088. "onresize": function () { }
  4089. }, {
  4090. closecallback: function () { }
  4091. }, { "style": { "height": "36px" } }).form; //创建窗体
  4092. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4093. break;
  4094. case "mind":
  4095. _formdiv = new U.UF.UI.form(
  4096. "思维导图",
  4097. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  4098. "id": "mind",
  4099. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4100. "onresize": function () { }
  4101. }, {
  4102. closecallback: function () { }
  4103. }, { "style": { "height": "36px" } }).form; //创建窗体
  4104. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4105. break;
  4106. case "doc":
  4107. // U.MD.D.I.isRoom();
  4108. _formdiv = new U.UF.UI.form(
  4109. "协同文档",
  4110. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4111. "id": "doc",
  4112. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4113. "onresize": function () { }
  4114. }, {
  4115. closecallback: function () { }
  4116. }, { "style": { "height": "36px" } }).form; //创建窗体
  4117. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4118. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4119. })
  4120. _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); } }
  4121. break;
  4122. case "study":
  4123. _formdiv = new U.UF.UI.form(
  4124. "课程中心",
  4125. $$("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
  4126. "id": "study",
  4127. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4128. "onresize": function () { }
  4129. }, {
  4130. closecallback: function () { }
  4131. }, { "style": { "height": "36px" } }).form; //创建窗体
  4132. _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); } }
  4133. break;
  4134. case "mindNetwork": //好友打开
  4135. _formdiv = new U.UF.UI.form(
  4136. "思维网格",
  4137. $$("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 }), {
  4138. "id": "mindNetwork",
  4139. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4140. "onresize": function () { }
  4141. }, {
  4142. closecallback: function () { }
  4143. }, { "style": { "height": "36px" } }).form; //创建窗体
  4144. _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); } }
  4145. break;
  4146. case "train": //好友打开
  4147. _formdiv = new U.UF.UI.form(
  4148. "训练平台",
  4149. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4150. "id": "train",
  4151. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4152. "onresize": function () { }
  4153. }, {
  4154. closecallback: function () { }
  4155. }, { "style": { "height": "36px" } }).form; //创建窗体
  4156. _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); } }
  4157. break;
  4158. case "sys":
  4159. _formdiv = new U.UF.UI.form(
  4160. "目标管理",
  4161. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4162. "id": "sys",
  4163. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4164. "onresize": function () { }
  4165. }, {
  4166. closecallback: function () { }
  4167. }, { "style": { "height": "36px" } }).form; //创建窗体
  4168. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4169. break;
  4170. case "courseDesign":
  4171. _formdiv = new U.UF.UI.form(
  4172. "项目设计",
  4173. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  4174. "id": "courseDesign",
  4175. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4176. "onresize": function () { }
  4177. }, {
  4178. closecallback: function () { }
  4179. }, { "style": { "height": "36px" } }).form; //创建窗体
  4180. _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); } }
  4181. break;
  4182. }
  4183. } else if (!_type) {
  4184. switch (str) {
  4185. case "my":
  4186. _formdiv = new U.UF.UI.form(
  4187. "我的资料",
  4188. $$("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 }), {
  4189. "id": "my",
  4190. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4191. "onresize": function () { }
  4192. }, {
  4193. closecallback: function () { }
  4194. }, { "style": { "height": "36px" } }).form; //创建窗体
  4195. _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); } }
  4196. break;
  4197. }
  4198. }
  4199. switch (str) {
  4200. // AIprogram2 AI体验 aihub.cocorobo.cn
  4201. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  4202. // AIprogram AI编程 ai-blockly.cocorobo.cn
  4203. case "formulaEdi": //公式编辑
  4204. _formdiv = new U.UF.UI.form(
  4205. "公式编辑",
  4206. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  4207. "id": "formulaEdi",
  4208. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4209. "onresize": function () { }
  4210. }, {
  4211. closecallback: function () { }
  4212. }, { "style": { "height": "36px" } }).form; //创建窗体
  4213. _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); } }
  4214. break;
  4215. case "molStr": //分子结构
  4216. _formdiv = new U.UF.UI.form(
  4217. "分子结构",
  4218. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  4219. "id": "molStr",
  4220. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4221. "onresize": function () { }
  4222. }, {
  4223. closecallback: function () { }
  4224. }, { "style": { "height": "36px" } }).form; //创建窗体
  4225. _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); } }
  4226. break;
  4227. case "timeAxis": //时间轴
  4228. _formdiv = new U.UF.UI.form(
  4229. "时间轴",
  4230. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  4231. "id": "timeAxis",
  4232. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4233. "onresize": function () { }
  4234. }, {
  4235. closecallback: function () { }
  4236. }, { "style": { "height": "36px" } }).form; //创建窗体
  4237. _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); } }
  4238. break;
  4239. case "AIprogram2": //AI体验
  4240. _formdiv = new U.UF.UI.form(
  4241. "AI体验",
  4242. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  4243. "id": "AIprogram2",
  4244. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4245. "onresize": function () { }
  4246. }, {
  4247. closecallback: function () { }
  4248. }, { "style": { "height": "36px" } }).form; //创建窗体
  4249. _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); } }
  4250. break;
  4251. case "Pythonprogram": //python编程
  4252. _formdiv = new U.UF.UI.form(
  4253. "Python编程",
  4254. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  4255. "id": "Pythonprogram",
  4256. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4257. "onresize": function () { }
  4258. }, {
  4259. closecallback: function () { }
  4260. }, { "style": { "height": "36px" } }).form; //创建窗体
  4261. _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); } }
  4262. break;
  4263. case "AIprogram": //ai编程
  4264. _formdiv = new U.UF.UI.form(
  4265. "AI编程平台",
  4266. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4267. "id": "AIprogram",
  4268. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4269. "onresize": function () { }
  4270. }, {
  4271. closecallback: function () { }
  4272. }, { "style": { "height": "36px" } }).form; //创建窗体
  4273. _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); } }
  4274. break;
  4275. case "CocoPi": //CocoPi
  4276. _formdiv = new U.UF.UI.form(
  4277. "CocoPi",
  4278. $$("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" }), {
  4279. "id": "CocoPi",
  4280. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4281. "onresize": function () { }
  4282. }, {
  4283. closecallback: function () { }
  4284. }, { "style": { "height": "36px" } }).form; //创建窗体
  4285. _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); } }
  4286. break;
  4287. case "Wood": //Wood
  4288. _formdiv = new U.UF.UI.form(
  4289. "海龟编程",
  4290. $$("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/" }), {
  4291. "id": "Wood",
  4292. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4293. "onresize": function () { }
  4294. }, {
  4295. closecallback: function () { }
  4296. }, { "style": { "height": "36px" } }).form; //创建窗体
  4297. _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); } }
  4298. break;
  4299. case "car": //模拟驾驶
  4300. _formdiv = new U.UF.UI.form(
  4301. "模拟驾驶",
  4302. $$("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/" }), {
  4303. "id": "car",
  4304. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4305. "onresize": function () { }
  4306. }, {
  4307. closecallback: function () { }
  4308. }, { "style": { "height": "36px" } }).form; //创建窗体
  4309. _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); } }
  4310. break;
  4311. case "lineSearch": //路径搜索
  4312. _formdiv = new U.UF.UI.form(
  4313. "路径搜索",
  4314. $$("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/" }), {
  4315. "id": "lineSearch",
  4316. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4317. "onresize": function () { }
  4318. }, {
  4319. closecallback: function () { }
  4320. }, { "style": { "height": "36px" } }).form; //创建窗体
  4321. _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); } }
  4322. break;
  4323. case "deepLearning": //深度学习
  4324. _formdiv = new U.UF.UI.form(
  4325. "深度学习",
  4326. $$("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/#" }), {
  4327. "id": "deepLearning",
  4328. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4329. "onresize": function () { }
  4330. }, {
  4331. closecallback: function () { }
  4332. }, { "style": { "height": "36px" } }).form; //创建窗体
  4333. _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); } }
  4334. break;
  4335. case "allHistory": //深度学习
  4336. _formdiv = new U.UF.UI.form(
  4337. "全历史",
  4338. $$("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/" }), {
  4339. "id": "allHistory",
  4340. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4341. "onresize": function () { }
  4342. }, {
  4343. closecallback: function () { }
  4344. }, { "style": { "height": "36px" } }).form; //创建窗体
  4345. _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); } }
  4346. break;
  4347. case "chatPDF": //ai编程
  4348. _formdiv = new U.UF.UI.form(
  4349. "chatPDF",
  4350. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4351. "id": "chatPDF",
  4352. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4353. "onresize": function () { }
  4354. }, {
  4355. closecallback: function () { }
  4356. }, { "style": { "height": "36px" } }).form; //创建窗体
  4357. _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); } }
  4358. break;
  4359. case "resources": //国家教育
  4360. _formdiv = new U.UF.UI.form(
  4361. "国家教育",
  4362. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4363. "id": "resources",
  4364. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4365. "onresize": function () { }
  4366. }, {
  4367. closecallback: function () { }
  4368. }, { "style": { "height": "36px" } }).form; //创建窗体
  4369. _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); } }
  4370. break;
  4371. case "codeEdit": //源码编辑
  4372. _formdiv = new U.UF.UI.form(
  4373. "源码编辑",
  4374. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4375. "id": "codeEdit",
  4376. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4377. "onresize": function () { }
  4378. }, {
  4379. closecallback: function () { }
  4380. }, { "style": { "height": "36px" } }).form; //创建窗体
  4381. _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); } }
  4382. break; //
  4383. case "MindMap": //MindMap
  4384. _formdiv = new U.UF.UI.form(
  4385. "MindMap",
  4386. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4387. "id": "MindMap",
  4388. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4389. "onresize": function () { }
  4390. }, {
  4391. closecallback: function () { }
  4392. }, { "style": { "height": "36px" } }).form; //创建窗体
  4393. _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); } }
  4394. break;
  4395. case "netWorkPanel": //netWorkPanel
  4396. _formdiv = new U.UF.UI.form(
  4397. "netWorkPanel",
  4398. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4399. "id": "netWorkPanel",
  4400. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4401. "onresize": function () { }
  4402. }, {
  4403. closecallback: function () { }
  4404. }, { "style": { "height": "36px" } }).form; //创建窗体
  4405. _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); } }
  4406. break;
  4407. case "GeoGebra": //GeoGebra
  4408. _formdiv = new U.UF.UI.form(
  4409. "GeoGebra",
  4410. $$("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" }), {
  4411. "id": "GeoGebra",
  4412. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4413. "onresize": function () { }
  4414. }, {
  4415. closecallback: function () { }
  4416. }, { "style": { "height": "36px" } }).form; //创建窗体
  4417. _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); } }
  4418. break;
  4419. case "translation": //翻译
  4420. _formdiv = new U.UF.UI.form(
  4421. "翻译",
  4422. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4423. "id": "translation",
  4424. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4425. "onresize": function () { }
  4426. }, {
  4427. closecallback: function () { }
  4428. }, { "style": { "height": "36px" } }).form; //创建窗体
  4429. _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); } }
  4430. break;
  4431. case "mohe": //魔盒
  4432. _formdiv = new U.UF.UI.form(
  4433. "魔盒识字",
  4434. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4435. "id": "mohe",
  4436. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4437. "onresize": function () { }
  4438. }, {
  4439. closecallback: function () { }
  4440. }, { "style": { "height": "36px" } }).form; //创建窗体
  4441. _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); } }
  4442. break;
  4443. case "24game": //24点
  4444. _formdiv = new U.UF.UI.form(
  4445. "24点",
  4446. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4447. "id": "24game",
  4448. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4449. "onresize": function () { }
  4450. }, {
  4451. closecallback: function () { }
  4452. }, { "style": { "height": "36px" } }).form; //创建窗体
  4453. _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); } }
  4454. break;
  4455. case "case":
  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/#/CaseDesign?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4459. "id": "case",
  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/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4466. break;
  4467. case "snf":
  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": "//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" }), {
  4471. "id": "snf",
  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/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4478. break;
  4479. case "hanFamily":
  4480. _formdiv = new U.UF.UI.form(
  4481. "汉字家族",
  4482. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4483. "id": "hanFamily",
  4484. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4485. "onresize": function () { }
  4486. }, {
  4487. closecallback: function () { }
  4488. }, { "style": { "height": "36px" } }).form; //创建窗体
  4489. _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); } }
  4490. break;
  4491. case "hanClassics":
  4492. _formdiv = new U.UF.UI.form(
  4493. "国学经典",
  4494. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4495. "id": "hanClassics",
  4496. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4497. "onresize": function () { }
  4498. }, {
  4499. closecallback: function () { }
  4500. }, { "style": { "height": "36px" } }).form; //创建窗体
  4501. _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); } }
  4502. break;
  4503. case "hanTraining":
  4504. _formdiv = new U.UF.UI.form(
  4505. "笔画训练",
  4506. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4507. "id": "hanTraining",
  4508. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4509. "onresize": function () { }
  4510. }, {
  4511. closecallback: function () { }
  4512. }, { "style": { "height": "36px" } }).form; //创建窗体
  4513. _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); } }
  4514. break;
  4515. case "hanClass":
  4516. _formdiv = new U.UF.UI.form(
  4517. "书法课堂",
  4518. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4519. "id": "hanClass",
  4520. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4521. "onresize": function () { }
  4522. }, {
  4523. closecallback: function () { }
  4524. }, { "style": { "height": "36px" } }).form; //创建窗体
  4525. _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); } }
  4526. break;
  4527. case "han":
  4528. _formdiv = new U.UF.UI.form(
  4529. "汉字宫",
  4530. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4531. "id": "han",
  4532. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4533. "onresize": function () { }
  4534. }, {
  4535. closecallback: function () { }
  4536. }, { "style": { "height": "36px" } }).form; //创建窗体
  4537. _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); } }
  4538. break;
  4539. case "projectGM": //课程管理
  4540. _formdiv = new U.UF.UI.form(
  4541. "课程管理",
  4542. $$("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 }), {
  4543. "id": "projectGM",
  4544. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4545. "onresize": function () { }
  4546. }, {
  4547. closecallback: function () { }
  4548. }, { "style": { "height": "36px" } }).form; //创建窗体
  4549. _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); } }
  4550. break;
  4551. case "studyGM": //课程中心
  4552. _formdiv = new U.UF.UI.form(
  4553. "课程中心",
  4554. $$("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
  4555. "id": "study",
  4556. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4557. "onresize": function () { }
  4558. }, {
  4559. closecallback: function () { }
  4560. }, { "style": { "height": "36px" } }).form; //创建窗体
  4561. _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); } }
  4562. break;
  4563. // studentGM
  4564. case "studentGM": //学生管理
  4565. _formdiv = new U.UF.UI.form(
  4566. "学生管理",
  4567. $$("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 }), {
  4568. "id": "studentGM",
  4569. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4570. "onresize": function () { }
  4571. }, {
  4572. closecallback: function () { }
  4573. }, { "style": { "height": "36px" } }).form; //创建窗体
  4574. _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); } }
  4575. break;
  4576. case "evaluateGM": //学生评价
  4577. _formdiv = new U.UF.UI.form(
  4578. "学生评价",
  4579. $$("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 }), {
  4580. "id": "evaluateGM",
  4581. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4582. "onresize": function () { }
  4583. }, {
  4584. closecallback: function () { }
  4585. }, { "style": { "height": "36px" } }).form; //创建窗体
  4586. _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); } }
  4587. break;
  4588. // classGM
  4589. case "classGM": //班级管理
  4590. _formdiv = new U.UF.UI.form(
  4591. "班级管理",
  4592. $$("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 }), {
  4593. "id": "classGM",
  4594. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4595. "onresize": function () { }
  4596. }, {
  4597. closecallback: function () { }
  4598. }, { "style": { "height": "36px" } }).form; //创建窗体
  4599. _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); } }
  4600. break;
  4601. // dataGM
  4602. case "dataGM":
  4603. _formdiv = new U.UF.UI.form(
  4604. "我的资料",
  4605. $$("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 }), {
  4606. "id": "dataGM",
  4607. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4608. "onresize": function () { }
  4609. }, {
  4610. closecallback: function () { }
  4611. }, { "style": { "height": "36px" } }).form; //创建窗体
  4612. _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); } }
  4613. break;
  4614. // caseGM
  4615. case "caseGM": //课程进展
  4616. _formdiv = new U.UF.UI.form(
  4617. "课程进展",
  4618. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4619. "id": "caseGM",
  4620. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4621. "onresize": function () { }
  4622. }, {
  4623. closecallback: function () { }
  4624. }, { "style": { "height": "36px" } }).form; //创建窗体
  4625. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4626. break;
  4627. // meterialGM
  4628. case "meterialGM": //素材库
  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/#/libraryGM?userid=" + _userid + "&org=" + _org }), {
  4632. "id": "meterialGM",
  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/gm/material.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4639. break;
  4640. // evaluateSGM
  4641. case "evaluateSGM": //我的评价
  4642. _formdiv = new U.UF.UI.form(
  4643. "我的评价",
  4644. $$("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 }), {
  4645. "id": "evaluateSGM",
  4646. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4647. "onresize": function () { }
  4648. }, {
  4649. closecallback: function () { }
  4650. }, { "style": { "height": "36px" } }).form; //创建窗体
  4651. _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); } }
  4652. break;
  4653. case "jupyter": //jupyter
  4654. _formdiv = new U.UF.UI.form(
  4655. "jupyter",
  4656. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4657. "id": "jupyter",
  4658. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4659. "onresize": function () { }
  4660. }, {
  4661. closecallback: function () { }
  4662. }, { "style": { "height": "36px" } }).form; //创建窗体
  4663. _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); } }
  4664. break;
  4665. case "number": //数字实验室
  4666. _formdiv = new U.UF.UI.form(
  4667. "数字实验室",
  4668. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4669. "id": "number",
  4670. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4671. "onresize": function () { }
  4672. }, {
  4673. closecallback: function () { }
  4674. }, { "style": { "height": "36px" } }).form; //创建窗体
  4675. _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); } }
  4676. break;
  4677. case "studentCourse": //项目管理 学生
  4678. _formdiv = new U.UF.UI.form(
  4679. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4680. $$("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 }), {
  4681. "id": "studentCourse",
  4682. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4683. "onresize": function () { }
  4684. }, {
  4685. closecallback: function () { }
  4686. }, { "style": { "height": "36px" } }).form; //创建窗体
  4687. _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); } }
  4688. break;
  4689. case "studentCourseS": //项目管理 老师
  4690. _formdiv = new U.UF.UI.form(
  4691. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4692. $$("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 }), {
  4693. "id": "studentCourseS",
  4694. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4695. "onresize": function () { }
  4696. }, {
  4697. closecallback: function () { }
  4698. }, { "style": { "height": "36px" } }).form; //创建窗体
  4699. _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); } }
  4700. break;
  4701. case "studentIndex": //项目中心
  4702. _formdiv = new U.UF.UI.form(
  4703. "项目中心",
  4704. $$("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 }), {
  4705. "id": "studentIndex",
  4706. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4707. "onresize": function () { }
  4708. }, {
  4709. closecallback: function () { }
  4710. }, { "style": { "height": "36px" } }).form; //创建窗体
  4711. _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); } }
  4712. break;
  4713. case "CaseDesignS":
  4714. _formdiv = new U.UF.UI.form(
  4715. "项目进展",
  4716. $$("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 }), {
  4717. "id": "case",
  4718. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4719. "onresize": function () { }
  4720. }, {
  4721. closecallback: function () { }
  4722. }, { "style": { "height": "36px" } }).form; //创建窗体
  4723. _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); } }
  4724. break;
  4725. case "tcStudent": //腾讯学生管理
  4726. _formdiv = new U.UF.UI.form(
  4727. "学生管理",
  4728. $$("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 }), {
  4729. "id": "tcStudent",
  4730. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4731. "onresize": function () { }
  4732. }, {
  4733. closecallback: function () { }
  4734. }, { "style": { "height": "36px" } }).form; //创建窗体
  4735. _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); } }
  4736. break;
  4737. case "tcSchool": //腾讯学校管理
  4738. _formdiv = new U.UF.UI.form(
  4739. "学校管理",
  4740. $$("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 }), {
  4741. "id": "tcSchool",
  4742. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4743. "onresize": function () { }
  4744. }, {
  4745. closecallback: function () { }
  4746. }, { "style": { "height": "36px" } }).form; //创建窗体
  4747. _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); } }
  4748. break;
  4749. case "tcTeacher": //腾讯学校管理
  4750. _formdiv = new U.UF.UI.form(
  4751. "教师管理",
  4752. $$("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 }), {
  4753. "id": "tcTeacher",
  4754. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4755. "onresize": function () { }
  4756. }, {
  4757. closecallback: function () { }
  4758. }, { "style": { "height": "36px" } }).form; //创建窗体
  4759. _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); } }
  4760. break;
  4761. case "tcData": //腾讯我的资料
  4762. _formdiv = new U.UF.UI.form(
  4763. "我的资料",
  4764. $$("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 }), {
  4765. "id": "tcData",
  4766. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4767. "onresize": function () { }
  4768. }, {
  4769. closecallback: function () { }
  4770. }, { "style": { "height": "36px" } }).form; //创建窗体
  4771. _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); } }
  4772. break;
  4773. case "tcNotice": //腾讯消息通知
  4774. _formdiv = new U.UF.UI.form(
  4775. "消息通知",
  4776. $$("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 }), {
  4777. "id": "tcNotice",
  4778. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4779. "onresize": function () { }
  4780. }, {
  4781. closecallback: function () { }
  4782. }, { "style": { "height": "36px" } }).form; //创建窗体
  4783. _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); } }
  4784. break;
  4785. case "myReport": //好友打开
  4786. _formdiv = new U.UF.UI.form(
  4787. "我的评价",
  4788. $$("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 }), {
  4789. "id": "myReport",
  4790. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4791. "onresize": function () { }
  4792. }, {
  4793. closecallback: function () { }
  4794. }, { "style": { "height": "36px" } }).form; //创建窗体
  4795. _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); } }
  4796. break;
  4797. case "learnAna": //好友打开
  4798. _formdiv = new U.UF.UI.form(
  4799. "学习分析",
  4800. $$("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 }), {
  4801. "id": "learnAna",
  4802. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4803. "onresize": function () { }
  4804. }, {
  4805. closecallback: function () { }
  4806. }, { "style": { "height": "36px" } }).form; //创建窗体
  4807. _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); } }
  4808. break;
  4809. case "AIChat": //AI共创
  4810. _formdiv = new U.UF.UI.form(
  4811. "AI共创",
  4812. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4813. "id": "AIChat",
  4814. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4815. "onresize": function () { }
  4816. }, {
  4817. istop: true,
  4818. closecallback: function () { $("#aichat_icon").remove(); },
  4819. narrowcallback: function () {
  4820. if (!$("#aichat_icon")[0]) {
  4821. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4822. }
  4823. },
  4824. }, { "style": { "height": "36px" } }).form; //创建窗体
  4825. _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); } }
  4826. break;
  4827. case "ainew": //AI共创
  4828. _formdiv = new U.UF.UI.form(
  4829. "AI协同",
  4830. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4831. "id": "ainew",
  4832. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4833. "onresize": function () { }
  4834. }, {
  4835. closecallback: function () { }
  4836. }, { "style": { "height": "36px" } }).form; //创建窗体
  4837. _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); } }
  4838. break;
  4839. case "gpt4": //gpt4
  4840. _formdiv = new U.UF.UI.form(
  4841. "AI助手",
  4842. $$("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 }), {
  4843. "id": "gpt4",
  4844. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4845. "onresize": function () { }
  4846. }, {
  4847. closecallback: function () { }
  4848. }, { "style": { "height": "36px" } }).form; //创建窗体
  4849. _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); } }
  4850. break;
  4851. case "aigpt": //gpt4
  4852. _formdiv = new U.UF.UI.form(
  4853. "AI助手+",
  4854. $$("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 }), {
  4855. "id": "aigpt",
  4856. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4857. "onresize": function () { }
  4858. }, {
  4859. closecallback: function () { }
  4860. }, { "style": { "height": "36px" } }).form; //创建窗体
  4861. _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); } }
  4862. break;
  4863. case "futureClass": //AI共创
  4864. _formdiv = new U.UF.UI.form(
  4865. "协同建构",
  4866. $$("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
  4867. "id": "synergyCourse",
  4868. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4869. "onresize": function () { }
  4870. }, {
  4871. closecallback: function () {
  4872. $("iframe", _formdiv)[0].contentWindow.loginout();
  4873. }
  4874. }, { "style": { "height": "36px" } }).form; //创建窗体
  4875. _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); } }
  4876. break;
  4877. case "aiagent": //ai agent
  4878. _formdiv = new U.UF.UI.form(
  4879. "AI Agent",
  4880. $$("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" }), {
  4881. "id": "AIAgent",
  4882. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4883. "onresize": function () { }
  4884. }, {
  4885. closecallback: function () { }
  4886. }, { "style": { "height": "36px" } }).form; //创建窗体
  4887. _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); } }
  4888. break;
  4889. case "dataBoard": //数据看板
  4890. _formdiv = new U.UF.UI.form(
  4891. "数据看板",
  4892. $$("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 }), {
  4893. "id": "dataBoard",
  4894. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4895. "onresize": function () { }
  4896. }, {
  4897. closecallback: function () { }
  4898. }, { "style": { "height": "36px" } }).form; //创建窗体
  4899. _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); } }
  4900. break;
  4901. case "dataBoardSies": //数据融合
  4902. _formdiv = new U.UF.UI.form(
  4903. "数据融合",
  4904. $$("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 }), {
  4905. "id": "dataBoardSies",
  4906. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4907. "onresize": function () { }
  4908. }, {
  4909. closecallback: function () { }
  4910. }, { "style": { "height": "36px" } }).form; //创建窗体
  4911. _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); } }
  4912. break;
  4913. case "dataBoardNew": //数据看板
  4914. _formdiv = new U.UF.UI.form(
  4915. "综合看板",
  4916. $$("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 }), {
  4917. "id": "dataBoardNew",
  4918. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4919. "onresize": function () { }
  4920. }, {
  4921. closecallback: function () { }
  4922. }, { "style": { "height": "36px" } }).form; //创建窗体
  4923. _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); } }
  4924. break;
  4925. case "dataBoardTest": //数据看板
  4926. _formdiv = new U.UF.UI.form(
  4927. "评测看板",
  4928. $$("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 }), {
  4929. "id": "dataBoardTest",
  4930. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4931. "onresize": function () { }
  4932. }, {
  4933. closecallback: function () { }
  4934. }, { "style": { "height": "36px" } }).form; //创建窗体
  4935. _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); } }
  4936. break;
  4937. case "AIAnalyse": //AI共创
  4938. _formdiv = new U.UF.UI.form(
  4939. "AI分析",
  4940. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4941. "id": "AIAnalyse",
  4942. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4943. "onresize": function () { }
  4944. }, {
  4945. closecallback: function () { }
  4946. }, { "style": { "height": "36px" } }).form; //创建窗体
  4947. _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); } }
  4948. break;
  4949. case "studioCourse": //AI共创
  4950. _formdiv = new U.UF.UI.form(
  4951. "工作管理",
  4952. $$("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 }), {
  4953. "id": "studioCourse",
  4954. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4955. "onresize": function () { }
  4956. }, {
  4957. closecallback: function () { }
  4958. }, { "style": { "height": "36px" } }).form; //创建窗体
  4959. _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); } }
  4960. break;
  4961. case "studioIndex": //AI共创
  4962. _formdiv = new U.UF.UI.form(
  4963. "工作中心",
  4964. $$("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 }), {
  4965. "id": "studioIndex",
  4966. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4967. "onresize": function () { }
  4968. }, {
  4969. closecallback: function () { }
  4970. }, { "style": { "height": "36px" } }).form; //创建窗体
  4971. _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); } }
  4972. break;
  4973. case "source":
  4974. _formdiv = new U.UF.UI.form(
  4975. "教学资源",
  4976. $$("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 }), {
  4977. "id": "source",
  4978. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4979. "onresize": function () { }
  4980. }, {
  4981. closecallback: function () { }
  4982. }, { "style": { "height": "36px" } }).form; //创建窗体
  4983. _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); } }
  4984. break;
  4985. case "testTeacher":
  4986. _formdiv = new U.UF.UI.form(
  4987. "教师管理",
  4988. $$("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 }), {
  4989. "id": "testTeacher",
  4990. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4991. "onresize": function () { }
  4992. }, {
  4993. closecallback: function () { }
  4994. }, { "style": { "height": "36px" } }).form; //创建窗体
  4995. _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); } }
  4996. break;
  4997. case "testStudent":
  4998. _formdiv = new U.UF.UI.form(
  4999. "教师中心",
  5000. $$("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 }), {
  5001. "id": "testStudent",
  5002. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5003. "onresize": function () { }
  5004. }, {
  5005. closecallback: function () { }
  5006. }, { "style": { "height": "36px" } }).form; //创建窗体
  5007. _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); } }
  5008. break;
  5009. case "testTeacherSies":
  5010. _formdiv = new U.UF.UI.form(
  5011. "教师管理",
  5012. $$("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 }), {
  5013. "id": "testTeacherSies",
  5014. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5015. "onresize": function () { }
  5016. }, {
  5017. closecallback: function () { }
  5018. }, { "style": { "height": "36px" } }).form; //创建窗体
  5019. _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); } }
  5020. break;
  5021. case "testStudentSies":
  5022. _formdiv = new U.UF.UI.form(
  5023. "教师中心",
  5024. $$("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 }), {
  5025. "id": "testStudentSies",
  5026. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5027. "onresize": function () { }
  5028. }, {
  5029. closecallback: function () { }
  5030. }, { "style": { "height": "36px" } }).form; //创建窗体
  5031. _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); } }
  5032. break;
  5033. case "ytpbl": //消息通知
  5034. _formdiv = new U.UF.UI.form(
  5035. "案例征集",
  5036. $$("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 }), {
  5037. "id": "ytpbl",
  5038. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5039. "onresize": function () { }
  5040. }, {
  5041. closecallback: function () { }
  5042. }, { "style": { "height": "36px" } }).form; //创建窗体
  5043. _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); } }
  5044. // 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");
  5045. break;
  5046. case "aiCourseResource": //人工智能窗体
  5047. _formdiv = new U.UF.UI.form(
  5048. false,
  5049. $$("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/course_resource/index.html" + window.location.search }), {
  5050. "id": "aiCourseResource",
  5051. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5052. "onresize": function () { },
  5053. "isdrag": false,
  5054. }, {
  5055. closecallback: function () { }
  5056. }, { "style": { "height": "36px" } }).form; //创建窗体
  5057. _taskbar = ''
  5058. break;
  5059. case "szdjgCocooroboX": //图形化编程
  5060. _formdiv = new U.UF.UI.form(
  5061. "图形化编程",
  5062. $$("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/course_resource/cocoblockly-x/index.html" }), {
  5063. "id": "szdjgCocooroboX",
  5064. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5065. "onresize": function () { }
  5066. }, {
  5067. closecallback: function () { }
  5068. }, { "style": { "height": "36px" } }).form; //创建窗体
  5069. _taskbar = ''
  5070. break;
  5071. case "szdjgPython": //python编程
  5072. _formdiv = new U.UF.UI.form(
  5073. "python编程",
  5074. $$("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/course_resource/cocoblockly-x/python/index.html" }), {
  5075. "id": "szdjgPython",
  5076. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5077. "onresize": function () { }
  5078. }, {
  5079. closecallback: function () { }
  5080. }, { "style": { "height": "36px" } }).form; //创建窗体
  5081. _taskbar = ''
  5082. break;
  5083. case "Record":
  5084. _formdiv = new U.UF.UI.form(
  5085. "观察记录",
  5086. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/record?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  5087. "id": "Record",
  5088. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5089. "onresize": function () { }
  5090. }, {
  5091. closecallback: function () { }
  5092. }, { "style": { "height": "36px" } }).form; //创建窗体
  5093. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Record.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5094. break;
  5095. }
  5096. //U.MD.D.I.openClick(str);
  5097. //如果有任务栏信息
  5098. if (_taskbar) {
  5099. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5100. }
  5101. }
  5102. // U.MD.D.I.openClick = function(str){
  5103. // var click = '';
  5104. // switch(str){
  5105. // case 'friend':
  5106. // click = '我的好友';
  5107. // break;
  5108. // case 'domain':
  5109. // click = '域名管理';
  5110. // break;
  5111. // case 'disk':
  5112. // click = '我的云盘';
  5113. // break;
  5114. // case 'word':
  5115. // click = 'Word';
  5116. // break;
  5117. // case 'excel':
  5118. // click = 'Execl';
  5119. // break;
  5120. // case 'txt':
  5121. // click = '文本文件';
  5122. // break;
  5123. // case 'lookupFriend':
  5124. // click = '查找好友';
  5125. // break;
  5126. // case 'ftp':
  5127. // click = 'FTP';
  5128. // break;
  5129. // case 'group':
  5130. // click = '群组';
  5131. // break;
  5132. // case 'set':
  5133. // click = '我的设置';
  5134. // break;
  5135. // case 'systemSet':
  5136. // click = '系统设置';
  5137. // break;
  5138. // case 'boomYun':
  5139. // click = '互联办公';
  5140. // break;
  5141. // case 'xz':
  5142. // click = '云端下载';
  5143. // break;
  5144. // case 'client':
  5145. // click = '有思浏览器';
  5146. // break;
  5147. // case 'backEndProgramming':
  5148. // click = '在线后台编程';
  5149. // break;
  5150. // case 'frontEndProgramming':
  5151. // click = '在线前端编程';
  5152. // break;
  5153. // default: break;
  5154. // }
  5155. // if(U.MD.D.I.Ip && click){
  5156. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  5157. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  5158. // })
  5159. // }
  5160. // }
  5161. /**
  5162. *函数作用:ajax简易函数,使用post格式
  5163. *@param url {data} 后台地址
  5164. *@param data {data} 参数json
  5165. *@param fn {data} 回调函数
  5166. *
  5167. */
  5168. // U.MD.D.I.Mysqlrequest = function(url,fn){
  5169. // var xhr = new XMLHttpRequest();
  5170. // xhr.open("GET",url,true);
  5171. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  5172. // xhr.onreadystatechange = function(){
  5173. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  5174. // fn.call(this,xhr.responseText);
  5175. // }
  5176. // };
  5177. // xhr.send();
  5178. // }
  5179. /*判断是否是内网IP*/
  5180. // U.MD.D.I.isInnerIPFn = function(str){
  5181. // var curPageUrl = str;
  5182. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  5183. // curPageUrl =curPageUrl.replace(reg1,'');
  5184. // // console.log('curPageUrl-1 '+curPageUrl);
  5185. // var reg2 = /\:+/g;//替换冒号为一点
  5186. // curPageUrl =curPageUrl.replace(reg2,'.');
  5187. // // console.log('curPageUrl-2 '+curPageUrl);
  5188. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  5189. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  5190. // if(curPageUrl[2] != '16'){
  5191. // return ipAddress;
  5192. // }else{
  5193. // return false;
  5194. // }
  5195. // }
  5196. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  5197. // //compatibility for firefox and chrome
  5198. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  5199. // var pc = new myPeerConnection({
  5200. // iceServers: []
  5201. // }),
  5202. // noop = function() {},
  5203. // localIPs = {},
  5204. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  5205. // key;
  5206. // function iterateIP(ip) {
  5207. // if (!localIPs[ip]) onNewIP(ip);
  5208. // localIPs[ip] = true;
  5209. // }
  5210. // //create a bogus data channel
  5211. // pc.createDataChannel("");
  5212. // // create offer and set local description
  5213. // pc.createOffer().then(function(sdp) {
  5214. // sdp.sdp.split('\n').forEach(function(line) {
  5215. // if (line.indexOf('candidate') < 0) return;
  5216. // line.match(ipRegex).forEach(iterateIP);
  5217. // });
  5218. // pc.setLocalDescription(sdp, noop, noop);
  5219. // }).catch(function(reason) {
  5220. // // An error occurred, so handle the failure to connect
  5221. // });
  5222. // //sten for candidate events
  5223. // pc.onicecandidate = function(ice) {
  5224. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  5225. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  5226. // };
  5227. // }
  5228. // U.MD.D.I.getUserIpBool = function(callback){
  5229. // U.MD.D.I.getUserIP(function(ip){
  5230. // alert("Got IP! :" + ip);
  5231. // });
  5232. //}
  5233. //#endregion
  5234. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  5235. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5236. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5237. _userinfo = US.userInfo, //登录用户信息
  5238. _userid = US.userInfo.userid //登录用户id
  5239. let _iframe;
  5240. let _cid = cid,
  5241. _stage = stage,
  5242. _task = task,
  5243. _tool = tool;
  5244. var _jie = $$("div", {
  5245. "style": {
  5246. "position": "absolute",
  5247. "bottom": "50px",
  5248. "right": "50px",
  5249. "zIndex": "9999",
  5250. "backgroundColor": "#2268bc",
  5251. "color": "#fff",
  5252. "padding": "12px 20px",
  5253. "cursor": "pointer",
  5254. "borderRadius": "4px",
  5255. },
  5256. "innerHTML": "提交作业"
  5257. })
  5258. let aTool = ''
  5259. let _loading = document.createElement('div')
  5260. _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;"
  5261. // _loading.id = "";
  5262. let _lchild = document.createElement('div')
  5263. let _limg = document.createElement('img')
  5264. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5265. _limg.style = "width: 26px;margin-right: 10px;"
  5266. _lchild.appendChild(_limg)
  5267. let _lspan = document.createElement('span')
  5268. _lspan.innerHTML = "上传中..."
  5269. _lchild.appendChild(_lspan)
  5270. _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%);"
  5271. _loading.appendChild(_lchild)
  5272. var _box = $$('div', {
  5273. "style": {
  5274. "position": "relative",
  5275. "width": "100%",
  5276. "height": "100%",
  5277. },
  5278. })
  5279. _box.appendChild(_loading)
  5280. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  5281. switch (str) {
  5282. case "whiteboard":
  5283. aTool = 1;
  5284. _iframe = $$("iframe", {
  5285. "frameborder": "no",
  5286. "border": "0",
  5287. "scrolling ": "no",
  5288. "style": {
  5289. "cssText": "border:0;width:100%;height:100%"
  5290. },
  5291. "src": "https://iwb.cocorobo.cn/"
  5292. })
  5293. _box.appendChild(_iframe);
  5294. _box.appendChild(_jie);
  5295. _formdiv = new U.UF.UI.form(
  5296. "电子白板",
  5297. _box, {
  5298. "id": "whiteboard" + cid + stage + task + tool,
  5299. "style": {
  5300. "width": "90%",
  5301. "height": "90%",
  5302. "overflow": 'hidden'
  5303. },
  5304. "onresize": function () { }
  5305. }, {
  5306. closecallback: function () { }
  5307. }, {
  5308. "style": {
  5309. "height": "36px"
  5310. }
  5311. }).form; //创建窗体
  5312. _taskbar = {
  5313. "id": str + _formdiv.id,
  5314. "style": {
  5315. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5316. },
  5317. "name": "电子白板",
  5318. "forms": _formdiv,
  5319. "click": function () {
  5320. U.MD.D.I.openApplication(str, obj, info);
  5321. }
  5322. }
  5323. break;
  5324. case "mind":
  5325. aTool = 3;
  5326. _iframe = $$("iframe", {
  5327. "frameborder": "no",
  5328. "border": "0",
  5329. "scrolling ": "no",
  5330. "style": {
  5331. "cssText": "border:0;width:100%;height:100%"
  5332. },
  5333. "src": "/kityminder-editor/dist/index.html"
  5334. })
  5335. _box.appendChild(_iframe);
  5336. _box.appendChild(_jie);
  5337. _formdiv = new U.UF.UI.form(
  5338. "思维导图",
  5339. _box, { //"/jsmind/example/demo.html"
  5340. "id": "mind" + cid + stage + task + tool,
  5341. "style": {
  5342. "width": "90%",
  5343. "height": "90%",
  5344. "overflow": 'hidden'
  5345. },
  5346. "onresize": function () { }
  5347. }, {
  5348. closecallback: function () { }
  5349. }, {
  5350. "style": {
  5351. "height": "36px"
  5352. }
  5353. }).form; //创建窗体
  5354. _taskbar = {
  5355. "id": str + _formdiv.id,
  5356. "style": {
  5357. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5358. },
  5359. "name": "思维导图",
  5360. "forms": _formdiv,
  5361. "click": function () {
  5362. U.MD.D.I.openApplication(str, obj, info);
  5363. }
  5364. }
  5365. break;
  5366. case "MindMap":
  5367. aTool = 3;
  5368. _iframe = $$("iframe", {
  5369. "frameborder": "no",
  5370. "border": "0",
  5371. "scrolling ": "no",
  5372. "style": {
  5373. "cssText": "border:0;width:100%;height:100%"
  5374. },
  5375. "src": "//cloud.cocorobo.cn/mind/"
  5376. })
  5377. _box.appendChild(_iframe);
  5378. _box.appendChild(_jie);
  5379. _formdiv = new U.UF.UI.form(
  5380. "思维导图",
  5381. _box, { //"/jsmind/example/demo.html"
  5382. "id": "mind" + cid + stage + task + tool,
  5383. "style": {
  5384. "width": "90%",
  5385. "height": "90%",
  5386. "overflow": 'hidden'
  5387. },
  5388. "onresize": function () { }
  5389. }, {
  5390. closecallback: function () { }
  5391. }, {
  5392. "style": {
  5393. "height": "36px"
  5394. }
  5395. }).form; //创建窗体
  5396. _taskbar = {
  5397. "id": str + _formdiv.id,
  5398. "style": {
  5399. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5400. },
  5401. "name": "思维导图",
  5402. "forms": _formdiv,
  5403. "click": function () {
  5404. U.MD.D.I.openApplication(str, obj, info);
  5405. }
  5406. }
  5407. break;
  5408. case "doc":
  5409. aTool = 6;
  5410. _iframe = $$("iframe", {
  5411. "frameborder": "no",
  5412. "border": "0",
  5413. "scrolling ": "no",
  5414. "style": {
  5415. "cssText": "border:0;width:100%;height:100%"
  5416. },
  5417. "src": "/Office/Word/WordEditArea.htm"
  5418. })
  5419. _box.appendChild(_iframe);
  5420. _box.appendChild(_jie);
  5421. _formdiv = new U.UF.UI.form(
  5422. "协同文档",
  5423. _box, {
  5424. "id": "doc" + cid + stage + task + tool,
  5425. "style": {
  5426. "width": "90%",
  5427. "height": "90%",
  5428. "overflow": 'hidden'
  5429. },
  5430. "onresize": function () { }
  5431. }, {
  5432. closecallback: function () { }
  5433. }, {
  5434. "style": {
  5435. "height": "36px"
  5436. }
  5437. }).form; //创建窗体
  5438. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5439. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5440. })
  5441. _taskbar = {
  5442. "id": str + _formdiv.id,
  5443. "style": {
  5444. "backgroundImage": "url(/img/icon/doc.png)"
  5445. },
  5446. "name": "协同文档",
  5447. "forms": _formdiv,
  5448. "click": function () {
  5449. U.MD.D.I.openApplication(str, obj, info);
  5450. }
  5451. }
  5452. break;
  5453. case "mindNetwork": //好友打开
  5454. aTool = 7;
  5455. _iframe = $$("iframe", {
  5456. "webkitallowfullscreen": "",
  5457. "mozallowfullscreen": "",
  5458. "allowfullscreen": "",
  5459. "frameborder": "no",
  5460. "border": "0",
  5461. "scrolling ": "no",
  5462. "style": {
  5463. "cssText": "border:0; width:100%; height:100%;"
  5464. },
  5465. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5466. })
  5467. _box.appendChild(_iframe);
  5468. _box.appendChild(_jie);
  5469. _formdiv = new U.UF.UI.form(
  5470. "思维网格",
  5471. _box, {
  5472. "id": "mindNetwork" + cid + stage + task + tool,
  5473. "style": {
  5474. "width": "90%",
  5475. "height": "90%",
  5476. "overflow": 'hidden'
  5477. },
  5478. "onresize": function () { }
  5479. }, {
  5480. closecallback: function () { }
  5481. }, {
  5482. "style": {
  5483. "height": "36px"
  5484. }
  5485. }).form; //创建窗体
  5486. _taskbar = {
  5487. "id": str + _formdiv.id,
  5488. "style": {
  5489. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5490. },
  5491. "name": "思维网格",
  5492. "forms": _formdiv,
  5493. "click": function () {
  5494. U.MD.D.I.openApplication(str, obj, info);
  5495. }
  5496. }
  5497. break;
  5498. case "courseDesign":
  5499. _iframe = $$("iframe", {
  5500. "webkitallowfullscreen": "",
  5501. "mozallowfullscreen": "",
  5502. "allowfullscreen": "",
  5503. "frameborder": "no",
  5504. "border": "0",
  5505. "scrolling ": "no",
  5506. "style": {
  5507. "cssText": "border:0; width:100%; height:100%;"
  5508. },
  5509. "src": "/course-design-vue"
  5510. })
  5511. _box.appendChild(_iframe);
  5512. _box.appendChild(_jie);
  5513. _formdiv = new U.UF.UI.form(
  5514. "项目设计",
  5515. _box, {
  5516. "id": "courseDesign" + cid + stage + task + tool,
  5517. "style": {
  5518. "width": "90%",
  5519. "height": "90%",
  5520. "overflow": 'hidden'
  5521. },
  5522. "onresize": function () { }
  5523. }, {
  5524. closecallback: function () { }
  5525. }, {
  5526. "style": {
  5527. "height": "36px"
  5528. }
  5529. }).form; //创建窗体
  5530. _taskbar = {
  5531. "id": str + _formdiv.id,
  5532. "style": {
  5533. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5534. },
  5535. "name": "项目设计",
  5536. "forms": _formdiv,
  5537. "click": function () {
  5538. U.MD.D.I.openApplication(str, obj, info);
  5539. }
  5540. }
  5541. break;
  5542. }
  5543. const script1 = document.createElement("script");
  5544. script1.type = "text/javascript";
  5545. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5546. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5547. const script2 = document.createElement("script");
  5548. script2.type = "text/javascript";
  5549. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5550. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5551. const script3 = document.createElement("script");
  5552. script3.type = "text/javascript";
  5553. script3.charset = "UTF-8";
  5554. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5555. const script4 = document.createElement("script");
  5556. script4.type = "text/javascript";
  5557. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5558. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5559. if (_iframe) {
  5560. if (str == 'doc') {
  5561. _iframe = _formdiv.querySelector('iframe')
  5562. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5563. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5564. _iframe.contentWindow.document.body.appendChild(script1);
  5565. _iframe.contentWindow.document.body.appendChild(script2);
  5566. // _iframe.contentWindow.document.body.appendChild(script3);
  5567. _iframe.contentWindow.document.body.appendChild(script4);
  5568. })
  5569. if (onloadListener) {
  5570. _iframe.contentDocument.location.reload()
  5571. } else {
  5572. _iframe.contentDocument.location.reload()
  5573. }
  5574. } else if (str == 'courseDesign') {
  5575. U.UF.DL.iframeLoad(_iframe, function () {
  5576. // _iframe.contentWindow.U.MD.O.W.load();
  5577. // _iframe.contentWindow.document.body.appendChild(script1);
  5578. _iframe.contentWindow.document.body.appendChild(script2);
  5579. _iframe.contentWindow.document.body.appendChild(script4);
  5580. })
  5581. } else if (str == 'mind') {
  5582. _iframe = _formdiv.querySelector('iframe')
  5583. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5584. //
  5585. _iframe.contentWindow.document.body.appendChild(script1);
  5586. _iframe.contentWindow.document.body.appendChild(script2);
  5587. _iframe.contentWindow.document.body.appendChild(script4);
  5588. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5589. })
  5590. if (onloadListener) {
  5591. _iframe.contentDocument.location.reload()
  5592. } else {
  5593. _iframe.contentDocument.location.reload()
  5594. }
  5595. } else if (str == 'whiteboard') {
  5596. _iframe = _formdiv.querySelector('iframe')
  5597. let onloadListener = _iframe.onload = () => {
  5598. _iframe.contentWindow.document.body.appendChild(script1);
  5599. _iframe.contentWindow.document.body.appendChild(script2);
  5600. _iframe.contentWindow.document.body.appendChild(script4);
  5601. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5602. };
  5603. if (onloadListener) {
  5604. _iframe.contentDocument.location.reload()
  5605. } else {
  5606. _iframe.contentDocument.location.reload()
  5607. }
  5608. } else {
  5609. _iframe.onload = () => {
  5610. _iframe.contentWindow.document.body.appendChild(script1);
  5611. _iframe.contentWindow.document.body.appendChild(script2);
  5612. // _iframe.contentWindow.document.body.appendChild(script3);
  5613. _iframe.contentWindow.document.body.appendChild(script4);
  5614. };
  5615. }
  5616. _jie.onclick = async () => {
  5617. let text = ''
  5618. if (aTool == 1) {
  5619. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5620. } else if (aTool == 6) {
  5621. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5622. } else if (aTool == 3) {
  5623. text = await U.MD.D.I.getEditorContent(_iframe);
  5624. }
  5625. _loading.style.display = 'flex'
  5626. console.log(_loading);
  5627. var _ajs = _iframe.contentWindow.document.createElement("script");
  5628. _ajs.type = "text/javascript";
  5629. _ajs.innerHTML =
  5630. // 'console.log(' + _loading + ');\n' +
  5631. 'var _js = document.createElement("script");\n' +
  5632. '_js.type="text/javascript";\n' +
  5633. '_js.charset="UTF-8";\n' +
  5634. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5635. "_js.onload = function(){\n" +
  5636. ' var a = document.getElementsByTagName("img")\n' +
  5637. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5638. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5639. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5640. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5641. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5642. "beforeUpload_shishi(file," +
  5643. "'" +
  5644. _userid +
  5645. "'" +
  5646. ", " +
  5647. "'" +
  5648. _cid +
  5649. "'" +
  5650. ", " +
  5651. "'" +
  5652. _stage +
  5653. "'" +
  5654. ", " +
  5655. "'" +
  5656. _task +
  5657. "'" +
  5658. ", " +
  5659. "'" +
  5660. _tool +
  5661. "'" +
  5662. ", " +
  5663. "'" +
  5664. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5665. "'" +
  5666. ", " +
  5667. "'" +
  5668. aTool +
  5669. "'" +
  5670. ", " +
  5671. "`" +
  5672. text +
  5673. "`" +
  5674. ")\n" +
  5675. " });\n" +
  5676. "}\n" +
  5677. "document.head.appendChild(_js);\n";
  5678. _iframe.contentWindow.document.head.appendChild(_ajs);
  5679. }
  5680. }
  5681. //U.MD.D.I.openClick(str);
  5682. //如果有任务栏信息
  5683. // if (_taskbar) {
  5684. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5685. // }
  5686. }
  5687. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5688. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5689. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5690. _userinfo = US.userInfo, //登录用户信息
  5691. _userid = US.userInfo.userid //登录用户id
  5692. let _iframe;
  5693. let _cid = cid,
  5694. _stage = stage,
  5695. _task = task,
  5696. _tool = tool;
  5697. var _jie = $$("div", {
  5698. "style": {
  5699. "position": "absolute",
  5700. "bottom": "50px",
  5701. "right": "50px",
  5702. "zIndex": "9999",
  5703. "backgroundColor": "#2268bc",
  5704. "color": "#fff",
  5705. "padding": "12px 20px",
  5706. "cursor": "pointer",
  5707. "borderRadius": "4px",
  5708. },
  5709. "innerHTML": "提交作业"
  5710. })
  5711. let aTool = ''
  5712. let _loading = document.createElement('div')
  5713. _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;"
  5714. // _loading.id = "";
  5715. let _lchild = document.createElement('div')
  5716. let _limg = document.createElement('img')
  5717. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5718. _limg.style = "width: 26px;margin-right: 10px;"
  5719. _lchild.appendChild(_limg)
  5720. let _lspan = document.createElement('span')
  5721. _lspan.innerHTML = "上传中..."
  5722. _lchild.appendChild(_lspan)
  5723. _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%);"
  5724. _loading.appendChild(_lchild)
  5725. var _box = $$('div', {
  5726. "style": {
  5727. "position": "relative",
  5728. "width": "100%",
  5729. "height": "100%",
  5730. },
  5731. })
  5732. _box.appendChild(_loading)
  5733. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5734. switch (str) {
  5735. case "whiteboard":
  5736. aTool = 1;
  5737. _iframe = $$("iframe", {
  5738. "frameborder": "no",
  5739. "border": "0",
  5740. "scrolling ": "no",
  5741. "style": {
  5742. "cssText": "border:0;width:100%;height:100%"
  5743. },
  5744. "src": "https://iwb.cocorobo.cn/"
  5745. })
  5746. _box.appendChild(_iframe);
  5747. _box.appendChild(_jie);
  5748. _formdiv = new U.UF.UI.form(
  5749. "电子白板",
  5750. _box, {
  5751. "id": "whiteboard" + cid + stage + task + tool,
  5752. "style": {
  5753. "width": "90%",
  5754. "height": "90%",
  5755. "overflow": 'hidden'
  5756. },
  5757. "onresize": function () { }
  5758. }, {
  5759. closecallback: function () { }
  5760. }, {
  5761. "style": {
  5762. "height": "36px"
  5763. }
  5764. }).form; //创建窗体
  5765. _taskbar = {
  5766. "id": str + _formdiv.id,
  5767. "style": {
  5768. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5769. },
  5770. "name": "电子白板",
  5771. "forms": _formdiv,
  5772. "click": function () {
  5773. U.MD.D.I.openApplication(str, obj, info);
  5774. }
  5775. }
  5776. break;
  5777. case "mind":
  5778. aTool = 3;
  5779. _iframe = $$("iframe", {
  5780. "frameborder": "no",
  5781. "border": "0",
  5782. "scrolling ": "no",
  5783. "style": {
  5784. "cssText": "border:0;width:100%;height:100%"
  5785. },
  5786. "src": "/kityminder-editor/dist/index.html"
  5787. })
  5788. _box.appendChild(_iframe);
  5789. _box.appendChild(_jie);
  5790. _formdiv = new U.UF.UI.form(
  5791. "思维导图",
  5792. _box, { //"/jsmind/example/demo.html"
  5793. "id": "mind" + cid + stage + task + tool,
  5794. "style": {
  5795. "width": "90%",
  5796. "height": "90%",
  5797. "overflow": 'hidden'
  5798. },
  5799. "onresize": function () { }
  5800. }, {
  5801. closecallback: function () { }
  5802. }, {
  5803. "style": {
  5804. "height": "36px"
  5805. }
  5806. }).form; //创建窗体
  5807. _taskbar = {
  5808. "id": str + _formdiv.id,
  5809. "style": {
  5810. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5811. },
  5812. "name": "思维导图",
  5813. "forms": _formdiv,
  5814. "click": function () {
  5815. U.MD.D.I.openApplication(str, obj, info);
  5816. }
  5817. }
  5818. break;
  5819. case "MindMap":
  5820. aTool = 3;
  5821. _iframe = $$("iframe", {
  5822. "frameborder": "no",
  5823. "border": "0",
  5824. "scrolling ": "no",
  5825. "style": {
  5826. "cssText": "border:0;width:100%;height:100%"
  5827. },
  5828. "src": "//cloud.cocorobo.cn/mind/"
  5829. })
  5830. _box.appendChild(_iframe);
  5831. _box.appendChild(_jie);
  5832. _formdiv = new U.UF.UI.form(
  5833. "思维导图",
  5834. _box, { //"/jsmind/example/demo.html"
  5835. "id": "mind" + cid + stage + task + tool,
  5836. "style": {
  5837. "width": "90%",
  5838. "height": "90%",
  5839. "overflow": 'hidden'
  5840. },
  5841. "onresize": function () { }
  5842. }, {
  5843. closecallback: function () { }
  5844. }, {
  5845. "style": {
  5846. "height": "36px"
  5847. }
  5848. }).form; //创建窗体
  5849. _taskbar = {
  5850. "id": str + _formdiv.id,
  5851. "style": {
  5852. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5853. },
  5854. "name": "思维导图",
  5855. "forms": _formdiv,
  5856. "click": function () {
  5857. U.MD.D.I.openApplication(str, obj, info);
  5858. }
  5859. }
  5860. break;
  5861. case "doc":
  5862. aTool = 6;
  5863. _iframe = $$("iframe", {
  5864. "frameborder": "no",
  5865. "border": "0",
  5866. "scrolling ": "no",
  5867. "style": {
  5868. "cssText": "border:0;width:100%;height:100%"
  5869. },
  5870. "src": "/Office/Word/WordEditArea.htm"
  5871. })
  5872. _box.appendChild(_iframe);
  5873. _box.appendChild(_jie);
  5874. _formdiv = new U.UF.UI.form(
  5875. "协同文档",
  5876. _box, {
  5877. "id": "doc" + cid + stage + task + tool,
  5878. "style": {
  5879. "width": "90%",
  5880. "height": "90%",
  5881. "overflow": 'hidden'
  5882. },
  5883. "onresize": function () { }
  5884. }, {
  5885. closecallback: function () { }
  5886. }, {
  5887. "style": {
  5888. "height": "36px"
  5889. }
  5890. }).form; //创建窗体
  5891. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5892. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5893. })
  5894. _taskbar = {
  5895. "id": str + _formdiv.id,
  5896. "style": {
  5897. "backgroundImage": "url(/img/icon/doc.png)"
  5898. },
  5899. "name": "协同文档",
  5900. "forms": _formdiv,
  5901. "click": function () {
  5902. U.MD.D.I.openApplication(str, obj, info);
  5903. }
  5904. }
  5905. break;
  5906. case "mindNetwork": //好友打开
  5907. aTool = 7;
  5908. _iframe = $$("iframe", {
  5909. "webkitallowfullscreen": "",
  5910. "mozallowfullscreen": "",
  5911. "allowfullscreen": "",
  5912. "frameborder": "no",
  5913. "border": "0",
  5914. "scrolling ": "no",
  5915. "style": {
  5916. "cssText": "border:0; width:100%; height:100%;"
  5917. },
  5918. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5919. })
  5920. _box.appendChild(_iframe);
  5921. _box.appendChild(_jie);
  5922. _formdiv = new U.UF.UI.form(
  5923. "思维网格",
  5924. _box, {
  5925. "id": "mindNetwork" + cid + stage + task + tool,
  5926. "style": {
  5927. "width": "90%",
  5928. "height": "90%",
  5929. "overflow": 'hidden'
  5930. },
  5931. "onresize": function () { }
  5932. }, {
  5933. closecallback: function () { }
  5934. }, {
  5935. "style": {
  5936. "height": "36px"
  5937. }
  5938. }).form; //创建窗体
  5939. _taskbar = {
  5940. "id": str + _formdiv.id,
  5941. "style": {
  5942. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5943. },
  5944. "name": "思维网格",
  5945. "forms": _formdiv,
  5946. "click": function () {
  5947. U.MD.D.I.openApplication(str, obj, info);
  5948. }
  5949. }
  5950. break;
  5951. case "courseDesign":
  5952. _iframe = $$("iframe", {
  5953. "webkitallowfullscreen": "",
  5954. "mozallowfullscreen": "",
  5955. "allowfullscreen": "",
  5956. "frameborder": "no",
  5957. "border": "0",
  5958. "scrolling ": "no",
  5959. "style": {
  5960. "cssText": "border:0; width:100%; height:100%;"
  5961. },
  5962. "src": "/course-design-vue"
  5963. })
  5964. _box.appendChild(_iframe);
  5965. _box.appendChild(_jie);
  5966. _formdiv = new U.UF.UI.form(
  5967. "项目设计",
  5968. _box, {
  5969. "id": "courseDesign" + cid + stage + task + tool,
  5970. "style": {
  5971. "width": "90%",
  5972. "height": "90%",
  5973. "overflow": 'hidden'
  5974. },
  5975. "onresize": function () { }
  5976. }, {
  5977. closecallback: function () { }
  5978. }, {
  5979. "style": {
  5980. "height": "36px"
  5981. }
  5982. }).form; //创建窗体
  5983. _taskbar = {
  5984. "id": str + _formdiv.id,
  5985. "style": {
  5986. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5987. },
  5988. "name": "项目设计",
  5989. "forms": _formdiv,
  5990. "click": function () {
  5991. U.MD.D.I.openApplication(str, obj, info);
  5992. }
  5993. }
  5994. break;
  5995. }
  5996. const script1 = document.createElement("script");
  5997. script1.type = "text/javascript";
  5998. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5999. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6000. const script2 = document.createElement("script");
  6001. script2.type = "text/javascript";
  6002. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6003. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6004. const script3 = document.createElement("script");
  6005. script3.type = "text/javascript";
  6006. script3.charset = "UTF-8";
  6007. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6008. const script4 = document.createElement("script");
  6009. script4.type = "text/javascript";
  6010. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6011. script4.src = window.origin + "/js/Common/jietu2E.js";
  6012. if (_iframe) {
  6013. if (str == 'doc') {
  6014. _iframe = _formdiv.querySelector('iframe')
  6015. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6016. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6017. _iframe.contentWindow.document.body.appendChild(script1);
  6018. _iframe.contentWindow.document.body.appendChild(script2);
  6019. // _iframe.contentWindow.document.body.appendChild(script3);
  6020. _iframe.contentWindow.document.body.appendChild(script4);
  6021. })
  6022. if (onloadListener) {
  6023. _iframe.contentDocument.location.reload()
  6024. } else {
  6025. _iframe.contentDocument.location.reload()
  6026. }
  6027. } else if (str == 'courseDesign') {
  6028. U.UF.DL.iframeLoad(_iframe, function () {
  6029. // _iframe.contentWindow.U.MD.O.W.load();
  6030. // _iframe.contentWindow.document.body.appendChild(script1);
  6031. _iframe.contentWindow.document.body.appendChild(script2);
  6032. _iframe.contentWindow.document.body.appendChild(script4);
  6033. })
  6034. } else if (str == 'mind') {
  6035. _iframe = _formdiv.querySelector('iframe')
  6036. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6037. //
  6038. _iframe.contentWindow.document.body.appendChild(script1);
  6039. _iframe.contentWindow.document.body.appendChild(script2);
  6040. _iframe.contentWindow.document.body.appendChild(script4);
  6041. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6042. })
  6043. if (onloadListener) {
  6044. _iframe.contentDocument.location.reload()
  6045. } else {
  6046. _iframe.contentDocument.location.reload()
  6047. }
  6048. } else if (str == 'whiteboard') {
  6049. _iframe = _formdiv.querySelector('iframe')
  6050. let onloadListener = _iframe.onload = () => {
  6051. _iframe.contentWindow.document.body.appendChild(script1);
  6052. _iframe.contentWindow.document.body.appendChild(script2);
  6053. _iframe.contentWindow.document.body.appendChild(script4);
  6054. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6055. };
  6056. if (onloadListener) {
  6057. _iframe.contentDocument.location.reload()
  6058. } else {
  6059. _iframe.contentDocument.location.reload()
  6060. }
  6061. } else {
  6062. _iframe.onload = () => {
  6063. _iframe.contentWindow.document.body.appendChild(script1);
  6064. _iframe.contentWindow.document.body.appendChild(script2);
  6065. // _iframe.contentWindow.document.body.appendChild(script3);
  6066. _iframe.contentWindow.document.body.appendChild(script4);
  6067. };
  6068. }
  6069. _jie.onclick = async () => {
  6070. let text = ''
  6071. if (aTool == 1) {
  6072. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6073. } else if (aTool == 6) {
  6074. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6075. } else if (aTool == 3) {
  6076. text = await U.MD.D.I.getEditorContent(_iframe);
  6077. }
  6078. _loading.style.display = 'flex'
  6079. console.log(_loading);
  6080. var _ajs = _iframe.contentWindow.document.createElement("script");
  6081. _ajs.type = "text/javascript";
  6082. _ajs.innerHTML =
  6083. // 'console.log(' + _loading + ');\n' +
  6084. 'var _js = document.createElement("script");\n' +
  6085. '_js.type="text/javascript";\n' +
  6086. '_js.charset="UTF-8";\n' +
  6087. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6088. "_js.onload = function(){\n" +
  6089. ' var a = document.getElementsByTagName("img")\n' +
  6090. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6091. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6092. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6093. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6094. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6095. "beforeUpload_shishi(file," +
  6096. "'" +
  6097. _userid +
  6098. "'" +
  6099. ", " +
  6100. "'" +
  6101. _cid +
  6102. "'" +
  6103. ", " +
  6104. "'" +
  6105. _stage +
  6106. "'" +
  6107. ", " +
  6108. "'" +
  6109. _task +
  6110. "'" +
  6111. ", " +
  6112. "'" +
  6113. _tool +
  6114. "'" +
  6115. ", " +
  6116. "'" +
  6117. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  6118. "'" +
  6119. ", " +
  6120. "'" +
  6121. aTool +
  6122. "'" +
  6123. ", " +
  6124. "`" +
  6125. text +
  6126. "`" +
  6127. ")\n" +
  6128. " });\n" +
  6129. "}\n" +
  6130. "document.head.appendChild(_js);\n";
  6131. _iframe.contentWindow.document.head.appendChild(_ajs);
  6132. }
  6133. }
  6134. //U.MD.D.I.openClick(str);
  6135. //如果有任务栏信息
  6136. // if (_taskbar) {
  6137. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6138. // }
  6139. }
  6140. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  6141. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6142. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6143. _userid = student.userid, //登录用户id
  6144. _username = student.student //用户名字
  6145. let _iframe;
  6146. let _cid = cid,
  6147. _stage = stage,
  6148. _task = task,
  6149. _tool = tool;
  6150. var _jie = $$("div", {
  6151. "style": {
  6152. "position": "absolute",
  6153. "bottom": "50px",
  6154. "right": "50px",
  6155. "zIndex": "9999",
  6156. "backgroundColor": "#2268bc",
  6157. "color": "#fff",
  6158. "padding": "12px 20px",
  6159. "cursor": "pointer",
  6160. "borderRadius": "4px",
  6161. },
  6162. "innerHTML": "提交作业"
  6163. })
  6164. let aTool = ''
  6165. let _loading = document.createElement('div')
  6166. _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;"
  6167. // _loading.id = "";
  6168. let _lchild = document.createElement('div')
  6169. let _limg = document.createElement('img')
  6170. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6171. _limg.style = "width: 26px;margin-right: 10px;"
  6172. _lchild.appendChild(_limg)
  6173. let _lspan = document.createElement('span')
  6174. _lspan.innerHTML = "上传中..."
  6175. _lchild.appendChild(_lspan)
  6176. _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%);"
  6177. _loading.appendChild(_lchild)
  6178. var _box = $$('div', {
  6179. "style": {
  6180. "position": "relative",
  6181. "width": "100%",
  6182. "height": "100%",
  6183. },
  6184. })
  6185. _box.appendChild(_loading)
  6186. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  6187. switch (str) {
  6188. case "whiteboard":
  6189. aTool = 1;
  6190. _iframe = $$("iframe", {
  6191. "frameborder": "no",
  6192. "border": "0",
  6193. "scrolling ": "no",
  6194. "style": {
  6195. "cssText": "border:0;width:100%;height:100%"
  6196. },
  6197. "src": "https://iwb.cocorobo.cn/"
  6198. })
  6199. _box.appendChild(_iframe);
  6200. _box.appendChild(_jie);
  6201. _formdiv = new U.UF.UI.form(
  6202. "电子白板-" + _username,
  6203. _box, {
  6204. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6205. "style": {
  6206. "width": "90%",
  6207. "height": "90%",
  6208. "overflow": 'hidden'
  6209. },
  6210. "onresize": function () { }
  6211. }, {
  6212. closecallback: function () { }
  6213. }, {
  6214. "style": {
  6215. "height": "36px"
  6216. }
  6217. }).form; //创建窗体
  6218. _taskbar = {
  6219. "id": str + _formdiv.id,
  6220. "style": {
  6221. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6222. },
  6223. "name": "电子白板",
  6224. "forms": _formdiv,
  6225. "click": function () {
  6226. U.MD.D.I.openApplication(str, obj, info);
  6227. }
  6228. }
  6229. break;
  6230. case "mind":
  6231. aTool = 3;
  6232. _iframe = $$("iframe", {
  6233. "frameborder": "no",
  6234. "border": "0",
  6235. "scrolling ": "no",
  6236. "style": {
  6237. "cssText": "border:0;width:100%;height:100%"
  6238. },
  6239. "src": "/kityminder-editor/dist/index.html"
  6240. })
  6241. _box.appendChild(_iframe);
  6242. _box.appendChild(_jie);
  6243. _formdiv = new U.UF.UI.form(
  6244. "思维导图-" + _username,
  6245. _box, { //"/jsmind/example/demo.html"
  6246. "id": "mind" + cid + stage + task + tool + _userid,
  6247. "style": {
  6248. "width": "90%",
  6249. "height": "90%",
  6250. "overflow": 'hidden'
  6251. },
  6252. "onresize": function () { }
  6253. }, {
  6254. closecallback: function () { }
  6255. }, {
  6256. "style": {
  6257. "height": "36px"
  6258. }
  6259. }).form; //创建窗体
  6260. _taskbar = {
  6261. "id": str + _formdiv.id,
  6262. "style": {
  6263. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6264. },
  6265. "name": "思维导图",
  6266. "forms": _formdiv,
  6267. "click": function () {
  6268. U.MD.D.I.openApplication(str, obj, info);
  6269. }
  6270. }
  6271. break;
  6272. case "MindMap":
  6273. aTool = 3;
  6274. _iframe = $$("iframe", {
  6275. "frameborder": "no",
  6276. "border": "0",
  6277. "scrolling ": "no",
  6278. "style": {
  6279. "cssText": "border:0;width:100%;height:100%"
  6280. },
  6281. "src": "//cloud.cocorobo.cn/mind/"
  6282. })
  6283. _box.appendChild(_iframe);
  6284. _box.appendChild(_jie);
  6285. _formdiv = new U.UF.UI.form(
  6286. "思维导图-" + _username,
  6287. _box, { //"/jsmind/example/demo.html"
  6288. "id": "mind" + cid + stage + task + tool + _userid,
  6289. "style": {
  6290. "width": "90%",
  6291. "height": "90%",
  6292. "overflow": 'hidden'
  6293. },
  6294. "onresize": function () { }
  6295. }, {
  6296. closecallback: function () { }
  6297. }, {
  6298. "style": {
  6299. "height": "36px"
  6300. }
  6301. }).form; //创建窗体
  6302. _taskbar = {
  6303. "id": str + _formdiv.id,
  6304. "style": {
  6305. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6306. },
  6307. "name": "思维导图",
  6308. "forms": _formdiv,
  6309. "click": function () {
  6310. U.MD.D.I.openApplication(str, obj, info);
  6311. }
  6312. }
  6313. break;
  6314. case "doc":
  6315. aTool = 6;
  6316. _iframe = $$("iframe", {
  6317. "frameborder": "no",
  6318. "border": "0",
  6319. "scrolling ": "no",
  6320. "style": {
  6321. "cssText": "border:0;width:100%;height:100%"
  6322. },
  6323. "src": "/Office/Word/WordEditArea.htm"
  6324. })
  6325. _box.appendChild(_iframe);
  6326. _box.appendChild(_jie);
  6327. _formdiv = new U.UF.UI.form(
  6328. "协同文档-" + _username,
  6329. _box, {
  6330. "id": "doc" + cid + stage + task + tool + _userid,
  6331. "style": {
  6332. "width": "90%",
  6333. "height": "90%",
  6334. "overflow": 'hidden'
  6335. },
  6336. "onresize": function () { }
  6337. }, {
  6338. closecallback: function () { }
  6339. }, {
  6340. "style": {
  6341. "height": "36px"
  6342. }
  6343. }).form; //创建窗体
  6344. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6345. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6346. })
  6347. _taskbar = {
  6348. "id": str + _formdiv.id,
  6349. "style": {
  6350. "backgroundImage": "url(/img/icon/doc.png)"
  6351. },
  6352. "name": "协同文档",
  6353. "forms": _formdiv,
  6354. "click": function () {
  6355. U.MD.D.I.openApplication(str, obj, info);
  6356. }
  6357. }
  6358. break;
  6359. case "mindNetwork": //好友打开
  6360. aTool = 7;
  6361. _iframe = $$("iframe", {
  6362. "webkitallowfullscreen": "",
  6363. "mozallowfullscreen": "",
  6364. "allowfullscreen": "",
  6365. "frameborder": "no",
  6366. "border": "0",
  6367. "scrolling ": "no",
  6368. "style": {
  6369. "cssText": "border:0; width:100%; height:100%;"
  6370. },
  6371. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6372. })
  6373. _box.appendChild(_iframe);
  6374. _box.appendChild(_jie);
  6375. _formdiv = new U.UF.UI.form(
  6376. "思维网格-" + _username,
  6377. _box, {
  6378. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6379. "style": {
  6380. "width": "90%",
  6381. "height": "90%",
  6382. "overflow": 'hidden'
  6383. },
  6384. "onresize": function () { }
  6385. }, {
  6386. closecallback: function () { }
  6387. }, {
  6388. "style": {
  6389. "height": "36px"
  6390. }
  6391. }).form; //创建窗体
  6392. _taskbar = {
  6393. "id": str + _formdiv.id,
  6394. "style": {
  6395. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6396. },
  6397. "name": "思维网格",
  6398. "forms": _formdiv,
  6399. "click": function () {
  6400. U.MD.D.I.openApplication(str, obj, info);
  6401. }
  6402. }
  6403. break;
  6404. case "courseDesign":
  6405. _iframe = $$("iframe", {
  6406. "webkitallowfullscreen": "",
  6407. "mozallowfullscreen": "",
  6408. "allowfullscreen": "",
  6409. "frameborder": "no",
  6410. "border": "0",
  6411. "scrolling ": "no",
  6412. "style": {
  6413. "cssText": "border:0; width:100%; height:100%;"
  6414. },
  6415. "src": "/course-design-vue"
  6416. })
  6417. _box.appendChild(_iframe);
  6418. _box.appendChild(_jie);
  6419. _formdiv = new U.UF.UI.form(
  6420. "项目设计-" + _username,
  6421. _box, {
  6422. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6423. "style": {
  6424. "width": "90%",
  6425. "height": "90%",
  6426. "overflow": 'hidden'
  6427. },
  6428. "onresize": function () { }
  6429. }, {
  6430. closecallback: function () { }
  6431. }, {
  6432. "style": {
  6433. "height": "36px"
  6434. }
  6435. }).form; //创建窗体
  6436. _taskbar = {
  6437. "id": str + _formdiv.id,
  6438. "style": {
  6439. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6440. },
  6441. "name": "项目设计",
  6442. "forms": _formdiv,
  6443. "click": function () {
  6444. U.MD.D.I.openApplication(str, obj, info);
  6445. }
  6446. }
  6447. break;
  6448. }
  6449. const script1 = document.createElement("script");
  6450. script1.type = "text/javascript";
  6451. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6452. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6453. const script2 = document.createElement("script");
  6454. script2.type = "text/javascript";
  6455. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6456. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6457. const script3 = document.createElement("script");
  6458. script3.type = "text/javascript";
  6459. script3.charset = "UTF-8";
  6460. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6461. const script4 = document.createElement("script");
  6462. script4.type = "text/javascript";
  6463. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6464. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6465. if (_iframe) {
  6466. if (str == 'doc') {
  6467. _iframe = _formdiv.querySelector('iframe')
  6468. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6469. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6470. _iframe.contentWindow.document.body.appendChild(script1);
  6471. _iframe.contentWindow.document.body.appendChild(script2);
  6472. // _iframe.contentWindow.document.body.appendChild(script3);
  6473. _iframe.contentWindow.document.body.appendChild(script4);
  6474. })
  6475. if (onloadListener) {
  6476. _iframe.contentDocument.location.reload()
  6477. } else {
  6478. _iframe.contentDocument.location.reload()
  6479. }
  6480. } else if (str == 'courseDesign') {
  6481. U.UF.DL.iframeLoad(_iframe, function () {
  6482. // _iframe.contentWindow.U.MD.O.W.load();
  6483. // _iframe.contentWindow.document.body.appendChild(script1);
  6484. _iframe.contentWindow.document.body.appendChild(script2);
  6485. _iframe.contentWindow.document.body.appendChild(script4);
  6486. })
  6487. } else if (str == 'mind') {
  6488. _iframe = _formdiv.querySelector('iframe')
  6489. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6490. //
  6491. _iframe.contentWindow.document.body.appendChild(script1);
  6492. _iframe.contentWindow.document.body.appendChild(script2);
  6493. _iframe.contentWindow.document.body.appendChild(script4);
  6494. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6495. })
  6496. if (onloadListener) {
  6497. _iframe.contentDocument.location.reload()
  6498. } else {
  6499. _iframe.contentDocument.location.reload()
  6500. }
  6501. } else if (str == 'whiteboard') {
  6502. _iframe = _formdiv.querySelector('iframe')
  6503. let onloadListener = _iframe.onload = () => {
  6504. _iframe.contentWindow.document.body.appendChild(script1);
  6505. _iframe.contentWindow.document.body.appendChild(script2);
  6506. _iframe.contentWindow.document.body.appendChild(script4);
  6507. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6508. };
  6509. if (onloadListener) {
  6510. _iframe.contentDocument.location.reload()
  6511. } else {
  6512. _iframe.contentDocument.location.reload()
  6513. }
  6514. } else {
  6515. _iframe.onload = () => {
  6516. _iframe.contentWindow.document.body.appendChild(script1);
  6517. _iframe.contentWindow.document.body.appendChild(script2);
  6518. // _iframe.contentWindow.document.body.appendChild(script3);
  6519. _iframe.contentWindow.document.body.appendChild(script4);
  6520. };
  6521. }
  6522. _jie.onclick = async () => {
  6523. let text = ''
  6524. if (aTool == 1) {
  6525. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6526. } else if (aTool == 6) {
  6527. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6528. } else if (aTool == 3) {
  6529. text = await U.MD.D.I.getEditorContent(_iframe);
  6530. }
  6531. _loading.style.display = 'flex'
  6532. console.log(_loading);
  6533. var _ajs = _iframe.contentWindow.document.createElement("script");
  6534. _ajs.type = "text/javascript";
  6535. _ajs.innerHTML =
  6536. // 'console.log(' + _loading + ');\n' +
  6537. 'var _js = document.createElement("script");\n' +
  6538. '_js.type="text/javascript";\n' +
  6539. '_js.charset="UTF-8";\n' +
  6540. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6541. "_js.onload = function(){\n" +
  6542. ' var a = document.getElementsByTagName("img")\n' +
  6543. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6544. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6545. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6546. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6547. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6548. "beforeUpload_shishi(file," +
  6549. "'" +
  6550. _userid +
  6551. "'" +
  6552. ", " +
  6553. "'" +
  6554. _cid +
  6555. "'" +
  6556. ", " +
  6557. "'" +
  6558. _stage +
  6559. "'" +
  6560. ", " +
  6561. "'" +
  6562. _task +
  6563. "'" +
  6564. ", " +
  6565. "'" +
  6566. _tool +
  6567. "'" +
  6568. ", " +
  6569. "'" +
  6570. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6571. "'" +
  6572. ", " +
  6573. "'" +
  6574. aTool +
  6575. "'" +
  6576. ", " +
  6577. "`" +
  6578. text +
  6579. "`" +
  6580. ")\n" +
  6581. " });\n" +
  6582. "}\n" +
  6583. "document.head.appendChild(_js);\n";
  6584. _iframe.contentWindow.document.head.appendChild(_ajs);
  6585. }
  6586. }
  6587. }
  6588. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6589. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6590. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6591. _userid = student.userid, //登录用户id
  6592. _username = student.student //用户名字
  6593. let _iframe;
  6594. let _cid = cid,
  6595. _stage = stage,
  6596. _task = task,
  6597. _tool = tool;
  6598. var _jie = $$("div", {
  6599. "style": {
  6600. "position": "absolute",
  6601. "bottom": "50px",
  6602. "right": "50px",
  6603. "zIndex": "9999",
  6604. "backgroundColor": "#2268bc",
  6605. "color": "#fff",
  6606. "padding": "12px 20px",
  6607. "cursor": "pointer",
  6608. "borderRadius": "4px",
  6609. },
  6610. "innerHTML": "提交作业"
  6611. })
  6612. let aTool = ''
  6613. let _loading = document.createElement('div')
  6614. _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;"
  6615. // _loading.id = "";
  6616. let _lchild = document.createElement('div')
  6617. let _limg = document.createElement('img')
  6618. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6619. _limg.style = "width: 26px;margin-right: 10px;"
  6620. _lchild.appendChild(_limg)
  6621. let _lspan = document.createElement('span')
  6622. _lspan.innerHTML = "上传中..."
  6623. _lchild.appendChild(_lspan)
  6624. _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%);"
  6625. _loading.appendChild(_lchild)
  6626. var _box = $$('div', {
  6627. "style": {
  6628. "position": "relative",
  6629. "width": "100%",
  6630. "height": "100%",
  6631. },
  6632. })
  6633. _box.appendChild(_loading)
  6634. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6635. switch (str) {
  6636. case "whiteboard":
  6637. aTool = 1;
  6638. _iframe = $$("iframe", {
  6639. "frameborder": "no",
  6640. "border": "0",
  6641. "scrolling ": "no",
  6642. "style": {
  6643. "cssText": "border:0;width:100%;height:100%"
  6644. },
  6645. "src": "https://iwb.cocorobo.cn/"
  6646. })
  6647. _box.appendChild(_iframe);
  6648. _box.appendChild(_jie);
  6649. _formdiv = new U.UF.UI.form(
  6650. "电子白板-" + _username,
  6651. _box, {
  6652. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6653. "style": {
  6654. "width": "90%",
  6655. "height": "90%",
  6656. "overflow": 'hidden'
  6657. },
  6658. "onresize": function () { }
  6659. }, {
  6660. closecallback: function () { }
  6661. }, {
  6662. "style": {
  6663. "height": "36px"
  6664. }
  6665. }).form; //创建窗体
  6666. _taskbar = {
  6667. "id": str + _formdiv.id,
  6668. "style": {
  6669. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6670. },
  6671. "name": "电子白板",
  6672. "forms": _formdiv,
  6673. "click": function () {
  6674. U.MD.D.I.openApplication(str, obj, info);
  6675. }
  6676. }
  6677. break;
  6678. case "mind":
  6679. aTool = 3;
  6680. _iframe = $$("iframe", {
  6681. "frameborder": "no",
  6682. "border": "0",
  6683. "scrolling ": "no",
  6684. "style": {
  6685. "cssText": "border:0;width:100%;height:100%"
  6686. },
  6687. "src": "/kityminder-editor/dist/index.html"
  6688. })
  6689. _box.appendChild(_iframe);
  6690. _box.appendChild(_jie);
  6691. _formdiv = new U.UF.UI.form(
  6692. "思维导图-" + _username,
  6693. _box, { //"/jsmind/example/demo.html"
  6694. "id": "mind" + cid + stage + task + tool + _userid,
  6695. "style": {
  6696. "width": "90%",
  6697. "height": "90%",
  6698. "overflow": 'hidden'
  6699. },
  6700. "onresize": function () { }
  6701. }, {
  6702. closecallback: function () { }
  6703. }, {
  6704. "style": {
  6705. "height": "36px"
  6706. }
  6707. }).form; //创建窗体
  6708. _taskbar = {
  6709. "id": str + _formdiv.id,
  6710. "style": {
  6711. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6712. },
  6713. "name": "思维导图",
  6714. "forms": _formdiv,
  6715. "click": function () {
  6716. U.MD.D.I.openApplication(str, obj, info);
  6717. }
  6718. }
  6719. break;
  6720. case "MindMap":
  6721. aTool = 3;
  6722. _iframe = $$("iframe", {
  6723. "frameborder": "no",
  6724. "border": "0",
  6725. "scrolling ": "no",
  6726. "style": {
  6727. "cssText": "border:0;width:100%;height:100%"
  6728. },
  6729. "src": "//cloud.cocorobo.cn/mind/"
  6730. })
  6731. _box.appendChild(_iframe);
  6732. _box.appendChild(_jie);
  6733. _formdiv = new U.UF.UI.form(
  6734. "思维导图-" + _username,
  6735. _box, { //"/jsmind/example/demo.html"
  6736. "id": "mind" + cid + stage + task + tool + _userid,
  6737. "style": {
  6738. "width": "90%",
  6739. "height": "90%",
  6740. "overflow": 'hidden'
  6741. },
  6742. "onresize": function () { }
  6743. }, {
  6744. closecallback: function () { }
  6745. }, {
  6746. "style": {
  6747. "height": "36px"
  6748. }
  6749. }).form; //创建窗体
  6750. _taskbar = {
  6751. "id": str + _formdiv.id,
  6752. "style": {
  6753. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6754. },
  6755. "name": "思维导图",
  6756. "forms": _formdiv,
  6757. "click": function () {
  6758. U.MD.D.I.openApplication(str, obj, info);
  6759. }
  6760. }
  6761. break;
  6762. case "doc":
  6763. aTool = 6;
  6764. _iframe = $$("iframe", {
  6765. "frameborder": "no",
  6766. "border": "0",
  6767. "scrolling ": "no",
  6768. "style": {
  6769. "cssText": "border:0;width:100%;height:100%"
  6770. },
  6771. "src": "/Office/Word/WordEditArea.htm"
  6772. })
  6773. _box.appendChild(_iframe);
  6774. _box.appendChild(_jie);
  6775. _formdiv = new U.UF.UI.form(
  6776. "协同文档-" + _username,
  6777. _box, {
  6778. "id": "doc" + cid + stage + task + tool + _userid,
  6779. "style": {
  6780. "width": "90%",
  6781. "height": "90%",
  6782. "overflow": 'hidden'
  6783. },
  6784. "onresize": function () { }
  6785. }, {
  6786. closecallback: function () { }
  6787. }, {
  6788. "style": {
  6789. "height": "36px"
  6790. }
  6791. }).form; //创建窗体
  6792. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6793. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6794. })
  6795. _taskbar = {
  6796. "id": str + _formdiv.id,
  6797. "style": {
  6798. "backgroundImage": "url(/img/icon/doc.png)"
  6799. },
  6800. "name": "协同文档",
  6801. "forms": _formdiv,
  6802. "click": function () {
  6803. U.MD.D.I.openApplication(str, obj, info);
  6804. }
  6805. }
  6806. break;
  6807. case "mindNetwork": //好友打开
  6808. aTool = 7;
  6809. _iframe = $$("iframe", {
  6810. "webkitallowfullscreen": "",
  6811. "mozallowfullscreen": "",
  6812. "allowfullscreen": "",
  6813. "frameborder": "no",
  6814. "border": "0",
  6815. "scrolling ": "no",
  6816. "style": {
  6817. "cssText": "border:0; width:100%; height:100%;"
  6818. },
  6819. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6820. })
  6821. _box.appendChild(_iframe);
  6822. _box.appendChild(_jie);
  6823. _formdiv = new U.UF.UI.form(
  6824. "思维网格-" + _username,
  6825. _box, {
  6826. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6827. "style": {
  6828. "width": "90%",
  6829. "height": "90%",
  6830. "overflow": 'hidden'
  6831. },
  6832. "onresize": function () { }
  6833. }, {
  6834. closecallback: function () { }
  6835. }, {
  6836. "style": {
  6837. "height": "36px"
  6838. }
  6839. }).form; //创建窗体
  6840. _taskbar = {
  6841. "id": str + _formdiv.id,
  6842. "style": {
  6843. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6844. },
  6845. "name": "思维网格",
  6846. "forms": _formdiv,
  6847. "click": function () {
  6848. U.MD.D.I.openApplication(str, obj, info);
  6849. }
  6850. }
  6851. break;
  6852. case "courseDesign":
  6853. _iframe = $$("iframe", {
  6854. "webkitallowfullscreen": "",
  6855. "mozallowfullscreen": "",
  6856. "allowfullscreen": "",
  6857. "frameborder": "no",
  6858. "border": "0",
  6859. "scrolling ": "no",
  6860. "style": {
  6861. "cssText": "border:0; width:100%; height:100%;"
  6862. },
  6863. "src": "/course-design-vue"
  6864. })
  6865. _box.appendChild(_iframe);
  6866. _box.appendChild(_jie);
  6867. _formdiv = new U.UF.UI.form(
  6868. "项目设计-" + _username,
  6869. _box, {
  6870. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6871. "style": {
  6872. "width": "90%",
  6873. "height": "90%",
  6874. "overflow": 'hidden'
  6875. },
  6876. "onresize": function () { }
  6877. }, {
  6878. closecallback: function () { }
  6879. }, {
  6880. "style": {
  6881. "height": "36px"
  6882. }
  6883. }).form; //创建窗体
  6884. _taskbar = {
  6885. "id": str + _formdiv.id,
  6886. "style": {
  6887. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6888. },
  6889. "name": "项目设计",
  6890. "forms": _formdiv,
  6891. "click": function () {
  6892. U.MD.D.I.openApplication(str, obj, info);
  6893. }
  6894. }
  6895. break;
  6896. }
  6897. const script1 = document.createElement("script");
  6898. script1.type = "text/javascript";
  6899. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6900. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6901. const script2 = document.createElement("script");
  6902. script2.type = "text/javascript";
  6903. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6904. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6905. const script3 = document.createElement("script");
  6906. script3.type = "text/javascript";
  6907. script3.charset = "UTF-8";
  6908. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6909. const script4 = document.createElement("script");
  6910. script4.type = "text/javascript";
  6911. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6912. script4.src = window.origin + "/js/Common/jietu2E.js";
  6913. if (_iframe) {
  6914. if (str == 'doc') {
  6915. _iframe = _formdiv.querySelector('iframe')
  6916. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6917. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6918. _iframe.contentWindow.document.body.appendChild(script1);
  6919. _iframe.contentWindow.document.body.appendChild(script2);
  6920. // _iframe.contentWindow.document.body.appendChild(script3);
  6921. _iframe.contentWindow.document.body.appendChild(script4);
  6922. })
  6923. if (onloadListener) {
  6924. _iframe.contentDocument.location.reload()
  6925. } else {
  6926. _iframe.contentDocument.location.reload()
  6927. }
  6928. } else if (str == 'courseDesign') {
  6929. U.UF.DL.iframeLoad(_iframe, function () {
  6930. // _iframe.contentWindow.U.MD.O.W.load();
  6931. // _iframe.contentWindow.document.body.appendChild(script1);
  6932. _iframe.contentWindow.document.body.appendChild(script2);
  6933. _iframe.contentWindow.document.body.appendChild(script4);
  6934. })
  6935. } else if (str == 'mind') {
  6936. _iframe = _formdiv.querySelector('iframe')
  6937. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6938. //
  6939. _iframe.contentWindow.document.body.appendChild(script1);
  6940. _iframe.contentWindow.document.body.appendChild(script2);
  6941. _iframe.contentWindow.document.body.appendChild(script4);
  6942. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6943. })
  6944. if (onloadListener) {
  6945. _iframe.contentDocument.location.reload()
  6946. } else {
  6947. _iframe.contentDocument.location.reload()
  6948. }
  6949. } else if (str == 'whiteboard') {
  6950. _iframe = _formdiv.querySelector('iframe')
  6951. let onloadListener = _iframe.onload = () => {
  6952. _iframe.contentWindow.document.body.appendChild(script1);
  6953. _iframe.contentWindow.document.body.appendChild(script2);
  6954. _iframe.contentWindow.document.body.appendChild(script4);
  6955. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6956. };
  6957. if (onloadListener) {
  6958. _iframe.contentDocument.location.reload()
  6959. } else {
  6960. _iframe.contentDocument.location.reload()
  6961. }
  6962. } else {
  6963. _iframe.onload = () => {
  6964. _iframe.contentWindow.document.body.appendChild(script1);
  6965. _iframe.contentWindow.document.body.appendChild(script2);
  6966. // _iframe.contentWindow.document.body.appendChild(script3);
  6967. _iframe.contentWindow.document.body.appendChild(script4);
  6968. };
  6969. }
  6970. _jie.onclick = async () => {
  6971. let text = ''
  6972. if (aTool == 1) {
  6973. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6974. } else if (aTool == 6) {
  6975. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6976. } else if (aTool == 3) {
  6977. text = await U.MD.D.I.getEditorContent(_iframe);
  6978. }
  6979. _loading.style.display = 'flex'
  6980. console.log(_loading);
  6981. var _ajs = _iframe.contentWindow.document.createElement("script");
  6982. _ajs.type = "text/javascript";
  6983. _ajs.innerHTML =
  6984. // 'console.log(' + _loading + ');\n' +
  6985. 'var _js = document.createElement("script");\n' +
  6986. '_js.type="text/javascript";\n' +
  6987. '_js.charset="UTF-8";\n' +
  6988. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6989. "_js.onload = function(){\n" +
  6990. ' var a = document.getElementsByTagName("img")\n' +
  6991. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6992. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6993. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6994. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6995. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6996. "beforeUpload_shishi(file," +
  6997. "'" +
  6998. _userid +
  6999. "'" +
  7000. ", " +
  7001. "'" +
  7002. _cid +
  7003. "'" +
  7004. ", " +
  7005. "'" +
  7006. _stage +
  7007. "'" +
  7008. ", " +
  7009. "'" +
  7010. _task +
  7011. "'" +
  7012. ", " +
  7013. "'" +
  7014. _tool +
  7015. "'" +
  7016. ", " +
  7017. "'" +
  7018. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  7019. "'" +
  7020. ", " +
  7021. "'" +
  7022. aTool +
  7023. "'" +
  7024. ", " +
  7025. "`" +
  7026. text +
  7027. "`" +
  7028. ")\n" +
  7029. " });\n" +
  7030. "}\n" +
  7031. "document.head.appendChild(_js);\n";
  7032. _iframe.contentWindow.document.head.appendChild(_ajs);
  7033. }
  7034. }
  7035. }
  7036. U.MD.D.I.getEditorContent = function (iframe) {
  7037. return new Promise((resolve, reject) => {
  7038. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  7039. console.log(content);
  7040. resolve(content)
  7041. });
  7042. });
  7043. }
  7044. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  7045. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  7046. // if (res.value[0].length > 0) {
  7047. // // resolve(res.value[0][0].text);
  7048. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  7049. // $(fileInput).val('');
  7050. // });
  7051. // }
  7052. // }, [], { "type": "GET", "withCredentials": true });
  7053. var xmlhttp;
  7054. var Mac, Sn, DeviceId
  7055. if (window.XMLHttpRequest) {
  7056. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7057. xmlhttp = new XMLHttpRequest();
  7058. } else {
  7059. // IE6, IE5 浏览器执行代码
  7060. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7061. }
  7062. xmlhttp.onreadystatechange = function () {
  7063. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7064. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7065. // resolve(res.value[0][0].text);
  7066. if (type == '2') {
  7067. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7068. } else if (type == '3') {
  7069. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7070. }
  7071. } else {
  7072. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  7073. }
  7074. }
  7075. }
  7076. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7077. xmlhttp.send();
  7078. }
  7079. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  7080. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7081. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7082. _userinfo = US.userInfo, //登录用户信息
  7083. _userid = US.userInfo.userid //登录用户id
  7084. let _iframe;
  7085. let _cid = cid,
  7086. _stage = stage,
  7087. _task = task,
  7088. _tool = tool;
  7089. var _jie = $$("div", {
  7090. "style": {
  7091. "position": "absolute",
  7092. "bottom": "50px",
  7093. "right": "50px",
  7094. "zIndex": "9999",
  7095. "backgroundColor": "#2268bc",
  7096. "color": "#fff",
  7097. "padding": "12px 20px",
  7098. "cursor": "pointer",
  7099. "borderRadius": "4px",
  7100. },
  7101. "innerHTML": "确认并提交"
  7102. })
  7103. let aTool = ''
  7104. let _loading = document.createElement('div')
  7105. _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;"
  7106. // _loading.id = "";
  7107. let _lchild = document.createElement('div')
  7108. let _limg = document.createElement('img')
  7109. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7110. _limg.style = "width: 26px;margin-right: 10px;"
  7111. _lchild.appendChild(_limg)
  7112. let _lspan = document.createElement('span')
  7113. _lspan.innerHTML = "上传中..."
  7114. _lchild.appendChild(_lspan)
  7115. _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%);"
  7116. _loading.appendChild(_lchild)
  7117. var _box = $$('div', {
  7118. "style": {
  7119. "position": "relative",
  7120. "width": "100%",
  7121. "height": "100%",
  7122. },
  7123. })
  7124. _box.appendChild(_loading)
  7125. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  7126. switch (str) {
  7127. case "whiteboard":
  7128. aTool = 1;
  7129. _iframe = $$("iframe", {
  7130. "frameborder": "no",
  7131. "border": "0",
  7132. "scrolling ": "no",
  7133. "style": {
  7134. "cssText": "border:0;width:100%;height:100%"
  7135. },
  7136. "src": "https://iwb.cocorobo.cn/"
  7137. })
  7138. _box.appendChild(_iframe);
  7139. _box.appendChild(_jie);
  7140. _formdiv = new U.UF.UI.form(
  7141. "电子白板",
  7142. _box, {
  7143. "id": "whiteboards" + cid + stage + task + tool,
  7144. "style": {
  7145. "width": "90%",
  7146. "height": "90%",
  7147. "overflow": 'hidden'
  7148. },
  7149. "onresize": function () { }
  7150. }, {
  7151. closecallback: function () { }
  7152. }, {
  7153. "style": {
  7154. "height": "36px"
  7155. }
  7156. }).form; //创建窗体
  7157. _taskbar = {
  7158. "id": str + _formdiv.id,
  7159. "style": {
  7160. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7161. },
  7162. "name": "电子白板",
  7163. "forms": _formdiv,
  7164. "click": function () {
  7165. U.MD.D.I.openApplication(str, obj, info);
  7166. }
  7167. }
  7168. break;
  7169. case "mind":
  7170. aTool = 3;
  7171. _iframe = $$("iframe", {
  7172. "frameborder": "no",
  7173. "border": "0",
  7174. "scrolling ": "no",
  7175. "style": {
  7176. "cssText": "border:0;width:100%;height:100%"
  7177. },
  7178. "src": "/kityminder-editor/dist/index.html"
  7179. });
  7180. _box.appendChild(_iframe);
  7181. _box.appendChild(_jie);
  7182. _formdiv = new U.UF.UI.form(
  7183. "思维导图",
  7184. _box, { //"/jsmind/example/demo.html"
  7185. "id": "minds" + cid + stage + task + tool,
  7186. "style": {
  7187. "width": "90%",
  7188. "height": "90%",
  7189. "overflow": 'hidden'
  7190. },
  7191. "onresize": function () { }
  7192. }, {
  7193. closecallback: function () { }
  7194. }, {
  7195. "style": {
  7196. "height": "36px"
  7197. }
  7198. }).form; //创建窗体
  7199. _taskbar = {
  7200. "id": str + _formdiv.id,
  7201. "style": {
  7202. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7203. },
  7204. "name": "思维导图",
  7205. "forms": _formdiv,
  7206. "click": function () {
  7207. U.MD.D.I.openApplication(str, obj, info);
  7208. }
  7209. }
  7210. break;
  7211. case "doc":
  7212. aTool = 6;
  7213. _iframe = $$("iframe", {
  7214. "frameborder": "no",
  7215. "border": "0",
  7216. "scrolling ": "no",
  7217. "style": {
  7218. "cssText": "border:0;width:100%;height:100%"
  7219. },
  7220. "src": "/Office/Word/WordEditArea.htm"
  7221. })
  7222. _box.appendChild(_iframe);
  7223. _box.appendChild(_jie);
  7224. _formdiv = new U.UF.UI.form(
  7225. "协同文档",
  7226. _box, {
  7227. "id": "docs" + cid + stage + task + tool,
  7228. "style": {
  7229. "width": "90%",
  7230. "height": "90%",
  7231. "overflow": 'hidden'
  7232. },
  7233. "onresize": function () { }
  7234. }, {
  7235. closecallback: function () { }
  7236. }, {
  7237. "style": {
  7238. "height": "36px"
  7239. }
  7240. }).form; //创建窗体
  7241. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7242. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7243. })
  7244. _taskbar = {
  7245. "id": str + _formdiv.id,
  7246. "style": {
  7247. "backgroundImage": "url(/img/icon/doc.png)"
  7248. },
  7249. "name": "协同文档",
  7250. "forms": _formdiv,
  7251. "click": function () {
  7252. U.MD.D.I.openApplication(str, obj, info);
  7253. }
  7254. }
  7255. break;
  7256. }
  7257. const script1 = document.createElement("script");
  7258. script1.type = "text/javascript";
  7259. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7260. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7261. const script2 = document.createElement("script");
  7262. script2.type = "text/javascript";
  7263. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7264. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7265. const script3 = document.createElement("script");
  7266. script3.type = "text/javascript";
  7267. script3.charset = "UTF-8";
  7268. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7269. const script4 = document.createElement("script");
  7270. script4.type = "text/javascript";
  7271. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7272. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  7273. if (_iframe) {
  7274. if (str == 'doc') {
  7275. _iframe = _formdiv.querySelector('iframe')
  7276. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7277. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7278. _iframe.contentWindow.document.body.appendChild(script1);
  7279. _iframe.contentWindow.document.body.appendChild(script2);
  7280. // _iframe.contentWindow.document.body.appendChild(script3);
  7281. _iframe.contentWindow.document.body.appendChild(script4);
  7282. })
  7283. if (onloadListener) {
  7284. _iframe.contentDocument.location.reload()
  7285. } else {
  7286. _iframe.contentDocument.location.reload()
  7287. }
  7288. } else if (str == 'mind') {
  7289. _iframe = _formdiv.querySelector('iframe')
  7290. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7291. _iframe.contentWindow.document.body.appendChild(script1);
  7292. _iframe.contentWindow.document.body.appendChild(script2);
  7293. _iframe.contentWindow.document.body.appendChild(script4);
  7294. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7295. })
  7296. if (onloadListener) {
  7297. _iframe.contentDocument.location.reload()
  7298. } else {
  7299. _iframe.contentDocument.location.reload()
  7300. }
  7301. } else {
  7302. _iframe.onload = () => {
  7303. _iframe.contentWindow.document.body.appendChild(script1);
  7304. _iframe.contentWindow.document.body.appendChild(script2);
  7305. // _iframe.contentWindow.document.body.appendChild(script3);
  7306. _iframe.contentWindow.document.body.appendChild(script4);
  7307. };
  7308. }
  7309. _jie.onclick = async () => {
  7310. let text = ''
  7311. if (aTool == 6) {
  7312. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7313. } else if (aTool == 3) {
  7314. text = await U.MD.D.I.getEditorContent(_iframe);
  7315. }
  7316. _loading.style.display = 'flex'
  7317. console.log(_loading);
  7318. var _ajs = _iframe.contentWindow.document.createElement("script");
  7319. _ajs.type = "text/javascript";
  7320. _ajs.innerHTML =
  7321. // 'console.log(' + _loading + ');\n' +
  7322. 'var _js = document.createElement("script");\n' +
  7323. '_js.type="text/javascript";\n' +
  7324. '_js.charset="UTF-8";\n' +
  7325. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7326. "_js.onload = function(){\n" +
  7327. ' var a = document.getElementsByTagName("img")\n' +
  7328. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7329. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7330. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7331. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7332. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7333. "beforeUpload_shishi(file," +
  7334. "'" +
  7335. _userid +
  7336. "'" +
  7337. ", " +
  7338. "'" +
  7339. _cid +
  7340. "'" +
  7341. ", " +
  7342. "'" +
  7343. _stage +
  7344. "'" +
  7345. ", " +
  7346. "'" +
  7347. _task +
  7348. "'" +
  7349. ", " +
  7350. "'" +
  7351. _tool +
  7352. "'" +
  7353. ", " +
  7354. "'" +
  7355. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7356. "'" +
  7357. ", " +
  7358. "'" +
  7359. aTool +
  7360. "'" +
  7361. ", " +
  7362. "`" +
  7363. text +
  7364. "`" +
  7365. ")\n" +
  7366. " });\n" +
  7367. "}\n" +
  7368. "document.head.appendChild(_js);\n";
  7369. _iframe.contentWindow.document.head.appendChild(_ajs);
  7370. }
  7371. }
  7372. //U.MD.D.I.openClick(str);
  7373. //如果有任务栏信息
  7374. // if (_taskbar) {
  7375. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7376. // }
  7377. }
  7378. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7379. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7380. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7381. _userinfo = US.userInfo, //登录用户信息
  7382. _userid = US.userInfo.userid //登录用户id
  7383. let _iframe;
  7384. let _cid = cid,
  7385. _stage = stage,
  7386. _task = task,
  7387. _tool = tool;
  7388. var _jie = $$("div", {
  7389. "style": {
  7390. "position": "absolute",
  7391. "bottom": "50px",
  7392. "right": "50px",
  7393. "zIndex": "9999",
  7394. "backgroundColor": "#2268bc",
  7395. "color": "#fff",
  7396. "padding": "12px 20px",
  7397. "cursor": "pointer",
  7398. "borderRadius": "4px",
  7399. },
  7400. "innerHTML": "确认并提交"
  7401. })
  7402. let aTool = ''
  7403. let _loading = document.createElement('div')
  7404. _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;"
  7405. // _loading.id = "";
  7406. let _lchild = document.createElement('div')
  7407. let _limg = document.createElement('img')
  7408. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7409. _limg.style = "width: 26px;margin-right: 10px;"
  7410. _lchild.appendChild(_limg)
  7411. let _lspan = document.createElement('span')
  7412. _lspan.innerHTML = "上传中..."
  7413. _lchild.appendChild(_lspan)
  7414. _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%);"
  7415. _loading.appendChild(_lchild)
  7416. var _box = $$('div', {
  7417. "style": {
  7418. "position": "relative",
  7419. "width": "100%",
  7420. "height": "100%",
  7421. },
  7422. })
  7423. _box.appendChild(_loading)
  7424. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7425. switch (str) {
  7426. case "whiteboard":
  7427. aTool = 1;
  7428. _iframe = $$("iframe", {
  7429. "frameborder": "no",
  7430. "border": "0",
  7431. "scrolling ": "no",
  7432. "style": {
  7433. "cssText": "border:0;width:100%;height:100%"
  7434. },
  7435. "src": "https://iwb.cocorobo.cn/"
  7436. })
  7437. _box.appendChild(_iframe);
  7438. _box.appendChild(_jie);
  7439. _formdiv = new U.UF.UI.form(
  7440. "电子白板",
  7441. _box, {
  7442. "id": "whiteboards" + cid + stage + task + tool,
  7443. "style": {
  7444. "width": "90%",
  7445. "height": "90%",
  7446. "overflow": 'hidden'
  7447. },
  7448. "onresize": function () { }
  7449. }, {
  7450. closecallback: function () { }
  7451. }, {
  7452. "style": {
  7453. "height": "36px"
  7454. }
  7455. }).form; //创建窗体
  7456. _taskbar = {
  7457. "id": str + _formdiv.id,
  7458. "style": {
  7459. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7460. },
  7461. "name": "电子白板",
  7462. "forms": _formdiv,
  7463. "click": function () {
  7464. U.MD.D.I.openApplication(str, obj, info);
  7465. }
  7466. }
  7467. break;
  7468. case "mind":
  7469. aTool = 3;
  7470. _iframe = $$("iframe", {
  7471. "frameborder": "no",
  7472. "border": "0",
  7473. "scrolling ": "no",
  7474. "style": {
  7475. "cssText": "border:0;width:100%;height:100%"
  7476. },
  7477. "src": "/kityminder-editor/dist/index.html"
  7478. });
  7479. _box.appendChild(_iframe);
  7480. _box.appendChild(_jie);
  7481. _formdiv = new U.UF.UI.form(
  7482. "思维导图",
  7483. _box, { //"/jsmind/example/demo.html"
  7484. "id": "minds" + cid + stage + task + tool,
  7485. "style": {
  7486. "width": "90%",
  7487. "height": "90%",
  7488. "overflow": 'hidden'
  7489. },
  7490. "onresize": function () { }
  7491. }, {
  7492. closecallback: function () { }
  7493. }, {
  7494. "style": {
  7495. "height": "36px"
  7496. }
  7497. }).form; //创建窗体
  7498. _taskbar = {
  7499. "id": str + _formdiv.id,
  7500. "style": {
  7501. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7502. },
  7503. "name": "思维导图",
  7504. "forms": _formdiv,
  7505. "click": function () {
  7506. U.MD.D.I.openApplication(str, obj, info);
  7507. }
  7508. }
  7509. break;
  7510. case "doc":
  7511. aTool = 6;
  7512. _iframe = $$("iframe", {
  7513. "frameborder": "no",
  7514. "border": "0",
  7515. "scrolling ": "no",
  7516. "style": {
  7517. "cssText": "border:0;width:100%;height:100%"
  7518. },
  7519. "src": "/Office/Word/WordEditArea.htm"
  7520. })
  7521. _box.appendChild(_iframe);
  7522. _box.appendChild(_jie);
  7523. _formdiv = new U.UF.UI.form(
  7524. "协同文档",
  7525. _box, {
  7526. "id": "docs" + cid + stage + task + tool,
  7527. "style": {
  7528. "width": "90%",
  7529. "height": "90%",
  7530. "overflow": 'hidden'
  7531. },
  7532. "onresize": function () { }
  7533. }, {
  7534. closecallback: function () { }
  7535. }, {
  7536. "style": {
  7537. "height": "36px"
  7538. }
  7539. }).form; //创建窗体
  7540. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7541. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7542. })
  7543. _taskbar = {
  7544. "id": str + _formdiv.id,
  7545. "style": {
  7546. "backgroundImage": "url(/img/icon/doc.png)"
  7547. },
  7548. "name": "协同文档",
  7549. "forms": _formdiv,
  7550. "click": function () {
  7551. U.MD.D.I.openApplication(str, obj, info);
  7552. }
  7553. }
  7554. break;
  7555. }
  7556. const script1 = document.createElement("script");
  7557. script1.type = "text/javascript";
  7558. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7559. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7560. const script2 = document.createElement("script");
  7561. script2.type = "text/javascript";
  7562. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7563. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7564. const script3 = document.createElement("script");
  7565. script3.type = "text/javascript";
  7566. script3.charset = "UTF-8";
  7567. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7568. const script4 = document.createElement("script");
  7569. script4.type = "text/javascript";
  7570. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7571. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7572. if (_iframe) {
  7573. if (str == 'doc') {
  7574. _iframe = _formdiv.querySelector('iframe')
  7575. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7576. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7577. _iframe.contentWindow.document.body.appendChild(script1);
  7578. _iframe.contentWindow.document.body.appendChild(script2);
  7579. // _iframe.contentWindow.document.body.appendChild(script3);
  7580. _iframe.contentWindow.document.body.appendChild(script4);
  7581. })
  7582. if (onloadListener) {
  7583. _iframe.contentDocument.location.reload()
  7584. } else {
  7585. _iframe.contentDocument.location.reload()
  7586. }
  7587. } else if (str == 'mind') {
  7588. _iframe = _formdiv.querySelector('iframe')
  7589. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7590. _iframe.contentWindow.document.body.appendChild(script1);
  7591. _iframe.contentWindow.document.body.appendChild(script2);
  7592. _iframe.contentWindow.document.body.appendChild(script4);
  7593. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7594. })
  7595. if (onloadListener) {
  7596. _iframe.contentDocument.location.reload()
  7597. } else {
  7598. _iframe.contentDocument.location.reload()
  7599. }
  7600. } else {
  7601. _iframe.onload = () => {
  7602. _iframe.contentWindow.document.body.appendChild(script1);
  7603. _iframe.contentWindow.document.body.appendChild(script2);
  7604. // _iframe.contentWindow.document.body.appendChild(script3);
  7605. _iframe.contentWindow.document.body.appendChild(script4);
  7606. };
  7607. }
  7608. _jie.onclick = async () => {
  7609. let text = ''
  7610. if (aTool == 6) {
  7611. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7612. } else if (aTool == 3) {
  7613. text = await U.MD.D.I.getEditorContent(_iframe);
  7614. }
  7615. _loading.style.display = 'flex'
  7616. console.log(_loading);
  7617. var _ajs = _iframe.contentWindow.document.createElement("script");
  7618. _ajs.type = "text/javascript";
  7619. _ajs.innerHTML =
  7620. // 'console.log(' + _loading + ');\n' +
  7621. 'var _js = document.createElement("script");\n' +
  7622. '_js.type="text/javascript";\n' +
  7623. '_js.charset="UTF-8";\n' +
  7624. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7625. "_js.onload = function(){\n" +
  7626. ' var a = document.getElementsByTagName("img")\n' +
  7627. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7628. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7629. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7630. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7631. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7632. "beforeUpload_shishi(file," +
  7633. "'" +
  7634. _userid +
  7635. "'" +
  7636. ", " +
  7637. "'" +
  7638. _cid +
  7639. "'" +
  7640. ", " +
  7641. "'" +
  7642. _stage +
  7643. "'" +
  7644. ", " +
  7645. "'" +
  7646. _task +
  7647. "'" +
  7648. ", " +
  7649. "'" +
  7650. _tool +
  7651. "'" +
  7652. ", " +
  7653. "'" +
  7654. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7655. "'" +
  7656. ", " +
  7657. "'" +
  7658. aTool +
  7659. "'" +
  7660. ", " +
  7661. "`" +
  7662. text +
  7663. "`" +
  7664. ")\n" +
  7665. " });\n" +
  7666. "}\n" +
  7667. "document.head.appendChild(_js);\n";
  7668. _iframe.contentWindow.document.head.appendChild(_ajs);
  7669. }
  7670. }
  7671. //U.MD.D.I.openClick(str);
  7672. //如果有任务栏信息
  7673. // if (_taskbar) {
  7674. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7675. // }
  7676. }
  7677. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7678. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7679. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7680. _userinfo = US.userInfo, //登录用户信息
  7681. _userid = US.userInfo.userid //登录用户id
  7682. let _iframe;
  7683. let _cid = cid,
  7684. _stage = stage,
  7685. _task = task,
  7686. _tool = tool;
  7687. var _jie = $$("div", {
  7688. "style": {
  7689. "position": "absolute",
  7690. "bottom": "50px",
  7691. "right": "50px",
  7692. "zIndex": "9999",
  7693. "backgroundColor": "#2268bc",
  7694. "color": "#fff",
  7695. "padding": "12px 20px",
  7696. "cursor": "pointer",
  7697. "borderRadius": "4px",
  7698. },
  7699. "innerHTML": "上传模板"
  7700. })
  7701. let aTool = ''
  7702. let _loading = document.createElement('div')
  7703. _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;"
  7704. // _loading.id = "";
  7705. let _lchild = document.createElement('div')
  7706. let _limg = document.createElement('img')
  7707. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7708. _limg.style = "width: 26px;margin-right: 10px;"
  7709. _lchild.appendChild(_limg)
  7710. let _lspan = document.createElement('span')
  7711. _lspan.innerHTML = "上传中..."
  7712. _lchild.appendChild(_lspan)
  7713. _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%);"
  7714. _loading.appendChild(_lchild)
  7715. var _box = $$('div', {
  7716. "style": {
  7717. "position": "relative",
  7718. "width": "100%",
  7719. "height": "100%",
  7720. },
  7721. })
  7722. _box.appendChild(_loading)
  7723. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7724. switch (str) {
  7725. case "whiteboard":
  7726. aTool = 1;
  7727. _iframe = $$("iframe", {
  7728. "frameborder": "no",
  7729. "border": "0",
  7730. "scrolling ": "no",
  7731. "style": {
  7732. "cssText": "border:0;width:100%;height:100%"
  7733. },
  7734. "src": "https://iwb.cocorobo.cn/"
  7735. })
  7736. _box.appendChild(_iframe);
  7737. _box.appendChild(_jie);
  7738. _formdiv = new U.UF.UI.form(
  7739. "电子白板",
  7740. _box, {
  7741. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7742. "style": {
  7743. "width": "90%",
  7744. "height": "90%",
  7745. "overflow": 'hidden'
  7746. },
  7747. "onresize": function () { }
  7748. }, {
  7749. closecallback: function () { }
  7750. }, {
  7751. "style": {
  7752. "height": "36px"
  7753. }
  7754. }).form; //创建窗体
  7755. _taskbar = {
  7756. "id": str + _formdiv.id,
  7757. "style": {
  7758. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7759. },
  7760. "name": "电子白板",
  7761. "forms": _formdiv,
  7762. "click": function () {
  7763. U.MD.D.I.openApplication(str, obj, info);
  7764. }
  7765. }
  7766. break;
  7767. case "mind":
  7768. aTool = 3;
  7769. _iframe = $$("iframe", {
  7770. "frameborder": "no",
  7771. "border": "0",
  7772. "scrolling ": "no",
  7773. "style": {
  7774. "cssText": "border:0;width:100%;height:100%"
  7775. },
  7776. "src": "/kityminder-editor/dist/index.html"
  7777. });
  7778. _box.appendChild(_iframe);
  7779. _box.appendChild(_jie);
  7780. _formdiv = new U.UF.UI.form(
  7781. "思维导图",
  7782. _box, { //"/jsmind/example/demo.html"
  7783. "id": "minds_Yu" + cid + stage + task + tool,
  7784. "style": {
  7785. "width": "90%",
  7786. "height": "90%",
  7787. "overflow": 'hidden'
  7788. },
  7789. "onresize": function () { }
  7790. }, {
  7791. closecallback: function () { }
  7792. }, {
  7793. "style": {
  7794. "height": "36px"
  7795. }
  7796. }).form; //创建窗体
  7797. _taskbar = {
  7798. "id": str + _formdiv.id,
  7799. "style": {
  7800. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7801. },
  7802. "name": "思维导图",
  7803. "forms": _formdiv,
  7804. "click": function () {
  7805. U.MD.D.I.openApplication(str, obj, info);
  7806. }
  7807. }
  7808. break;
  7809. case "doc":
  7810. aTool = 6;
  7811. _iframe = $$("iframe", {
  7812. "frameborder": "no",
  7813. "border": "0",
  7814. "scrolling ": "no",
  7815. "style": {
  7816. "cssText": "border:0;width:100%;height:100%"
  7817. },
  7818. "src": "/Office/Word/WordEditArea.htm"
  7819. })
  7820. _box.appendChild(_iframe);
  7821. _box.appendChild(_jie);
  7822. _formdiv = new U.UF.UI.form(
  7823. "协同文档",
  7824. _box, {
  7825. "id": "docs_Yu" + cid + stage + task + tool,
  7826. "style": {
  7827. "width": "90%",
  7828. "height": "90%",
  7829. "overflow": 'hidden'
  7830. },
  7831. "onresize": function () { }
  7832. }, {
  7833. closecallback: function () { }
  7834. }, {
  7835. "style": {
  7836. "height": "36px"
  7837. }
  7838. }).form; //创建窗体
  7839. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7840. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7841. })
  7842. _taskbar = {
  7843. "id": str + _formdiv.id,
  7844. "style": {
  7845. "backgroundImage": "url(/img/icon/doc.png)"
  7846. },
  7847. "name": "协同文档",
  7848. "forms": _formdiv,
  7849. "click": function () {
  7850. U.MD.D.I.openApplication(str, obj, info);
  7851. }
  7852. }
  7853. break;
  7854. case "CocoPi":
  7855. aTool = 57;
  7856. _iframe = $$("iframe", {
  7857. "allowpaymentrequest": "allowpaymentrequest",
  7858. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7859. "webkitallowfullscreen": "",
  7860. "mozallowfullscreen": "",
  7861. "frameborder": "no",
  7862. "border": "0",
  7863. "scrolling ": "no",
  7864. "style": {
  7865. "cssText": "border:0;width:100%;height:100%"
  7866. },
  7867. "src": "https://pi.cocorobo.cn/"
  7868. })
  7869. _box.appendChild(_iframe);
  7870. _box.appendChild(_jie);
  7871. _formdiv = new U.UF.UI.form(
  7872. "CocoPi",
  7873. _box, {
  7874. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7875. "style": {
  7876. "width": "90%",
  7877. "height": "90%",
  7878. "overflow": 'hidden'
  7879. },
  7880. "onresize": function () { }
  7881. }, {
  7882. closecallback: function () { }
  7883. }, {
  7884. "style": {
  7885. "height": "36px"
  7886. }
  7887. }).form; //创建窗体
  7888. _taskbar = {
  7889. "id": str + _formdiv.id,
  7890. "style": {
  7891. "backgroundImage": "url(/img/icon/cocopi.png)"
  7892. },
  7893. "name": "CocoPi",
  7894. "forms": _formdiv,
  7895. "click": function () {
  7896. U.MD.D.I.openApplication(str, obj, info);
  7897. }
  7898. }
  7899. break;
  7900. }
  7901. if (_iframe) {
  7902. if (str == 'doc') {
  7903. _iframe = _formdiv.querySelector('iframe')
  7904. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7905. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7906. })
  7907. if (onloadListener) {
  7908. _iframe.contentDocument.location.reload()
  7909. } else {
  7910. _iframe.contentDocument.location.reload()
  7911. }
  7912. } else if (str == 'mind') {
  7913. _iframe = _formdiv.querySelector('iframe')
  7914. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7915. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7916. })
  7917. if (onloadListener) {
  7918. _iframe.contentDocument.location.reload()
  7919. } else {
  7920. _iframe.contentDocument.location.reload()
  7921. }
  7922. } else if (str == 'whiteboard') {
  7923. _iframe = _formdiv.querySelector('iframe')
  7924. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7925. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7926. })
  7927. if (onloadListener) {
  7928. _iframe.contentDocument.location.reload()
  7929. } else {
  7930. _iframe.contentDocument.location.reload()
  7931. }
  7932. } else if (str == 'CocoPi') {
  7933. _iframe = _formdiv.querySelector('iframe')
  7934. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7935. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7936. })
  7937. if (onloadListener) {
  7938. _iframe.contentDocument.location.reload()
  7939. } else {
  7940. _iframe.contentDocument.location.reload()
  7941. }
  7942. } else {
  7943. _iframe.onload = () => { };
  7944. }
  7945. _jie.onclick = async () => {
  7946. let text = ''
  7947. let type = '2'
  7948. if (aTool == 1) {
  7949. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7950. type = '3'
  7951. } else if (aTool == 6) {
  7952. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7953. type = '1'
  7954. } else if (aTool == 3) {
  7955. text = await U.MD.D.I.getEditorContent(_iframe);
  7956. type = '2'
  7957. } else if (aTool == 57) {
  7958. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7959. type = '4'
  7960. }
  7961. _loading.style.display = 'flex'
  7962. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7963. }
  7964. }
  7965. //U.MD.D.I.openClick(str);
  7966. //如果有任务栏信息
  7967. // if (_taskbar) {
  7968. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7969. // }
  7970. }
  7971. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7972. var xmlhttp;
  7973. var Mac, Sn, DeviceId
  7974. if (window.XMLHttpRequest) {
  7975. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7976. xmlhttp = new XMLHttpRequest();
  7977. } else {
  7978. // IE6, IE5 浏览器执行代码
  7979. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7980. }
  7981. xmlhttp.onreadystatechange = function () {
  7982. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7983. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7984. // resolve(res.value[0][0].text);
  7985. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7986. }
  7987. }
  7988. }
  7989. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7990. xmlhttp.send();
  7991. }
  7992. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7993. var xmlhttp;
  7994. var Mac, Sn, DeviceId
  7995. if (window.XMLHttpRequest) {
  7996. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7997. xmlhttp = new XMLHttpRequest();
  7998. } else {
  7999. // IE6, IE5 浏览器执行代码
  8000. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8001. }
  8002. xmlhttp.onreadystatechange = function () {
  8003. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8004. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8005. // resolve(res.value[0][0].text);
  8006. if (type == '2') {
  8007. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8008. } else if (type == '3') {
  8009. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  8010. } else if (type == '4') {
  8011. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  8012. }
  8013. } else {
  8014. if (type == '2') {
  8015. iframe.contentWindow.editor.minder.importData('json', '')
  8016. } else if (type == '3') {
  8017. iframe.contentWindow.h.app.updateScene({ elements: [] })
  8018. } else if (type == '4') {
  8019. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8020. }
  8021. }
  8022. }
  8023. }
  8024. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8025. xmlhttp.send();
  8026. }
  8027. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  8028. var xmlhttp;
  8029. var Mac, Sn, DeviceId
  8030. if (window.XMLHttpRequest) {
  8031. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8032. xmlhttp = new XMLHttpRequest();
  8033. } else {
  8034. // IE6, IE5 浏览器执行代码
  8035. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8036. }
  8037. xmlhttp.onreadystatechange = function () {
  8038. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8039. if (xmlhttp.response) {
  8040. // resolve(res.value[0][0].text);
  8041. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  8042. // $(fileInput).val('');
  8043. // });
  8044. span.innerHTML = '上传成功'
  8045. setTimeout(() => {
  8046. loading.style.display = 'none'
  8047. }, 1000);
  8048. }
  8049. }
  8050. }
  8051. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  8052. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  8053. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  8054. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  8055. // 设置请求头,表示请求体的编码格式
  8056. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  8057. // 设置请求体,使用url-encoded格式的数据
  8058. }
  8059. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  8060. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8061. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8062. _userinfo = US.userInfo, //登录用户信息
  8063. _userid = US.userInfo.userid //登录用户id
  8064. let _iframe;
  8065. let _cid = cid,
  8066. _stage = stage,
  8067. _task = task,
  8068. _tool = tool;
  8069. var _jie = $$("div", {
  8070. "style": {
  8071. "position": "absolute",
  8072. "bottom": "50px",
  8073. "right": "50px",
  8074. "zIndex": "9999",
  8075. "backgroundColor": "#2268bc",
  8076. "color": "#fff",
  8077. "padding": "12px 20px",
  8078. "cursor": "pointer",
  8079. "borderRadius": "4px",
  8080. },
  8081. "innerHTML": "提交作业"
  8082. })
  8083. let aTool = ''
  8084. let _loading = document.createElement('div')
  8085. _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;"
  8086. // _loading.id = "";
  8087. let _lchild = document.createElement('div')
  8088. let _limg = document.createElement('img')
  8089. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8090. _limg.style = "width: 26px;margin-right: 10px;"
  8091. _lchild.appendChild(_limg)
  8092. let _lspan = document.createElement('span')
  8093. _lspan.innerHTML = "上传中..."
  8094. _lchild.appendChild(_lspan)
  8095. _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%);"
  8096. _loading.appendChild(_lchild)
  8097. var _box = $$('div', {
  8098. "style": {
  8099. "position": "relative",
  8100. "width": "100%",
  8101. "height": "100%",
  8102. },
  8103. })
  8104. _box.appendChild(_loading)
  8105. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  8106. switch (str) {
  8107. case "CocoPi":
  8108. aTool = 57;
  8109. _iframe = $$("iframe", {
  8110. "allowpaymentrequest": "allowpaymentrequest",
  8111. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8112. "webkitallowfullscreen": "",
  8113. "mozallowfullscreen": "",
  8114. "frameborder": "no",
  8115. "border": "0",
  8116. "scrolling ": "no",
  8117. "style": {
  8118. "cssText": "border:0;width:100%;height:100%"
  8119. },
  8120. "src": "https://pi.cocorobo.cn/"
  8121. })
  8122. _box.appendChild(_iframe);
  8123. _box.appendChild(_jie);
  8124. _formdiv = new U.UF.UI.form(
  8125. "CocoPi",
  8126. _box, {
  8127. "id": "CocoPi_Upload" + cid + stage + task + tool,
  8128. "style": {
  8129. "width": "90%",
  8130. "height": "90%",
  8131. "overflow": 'hidden'
  8132. },
  8133. "onresize": function () { }
  8134. }, {
  8135. closecallback: function () { }
  8136. }, {
  8137. "style": {
  8138. "height": "36px"
  8139. }
  8140. }).form; //创建窗体
  8141. _taskbar = {
  8142. "id": str + _formdiv.id,
  8143. "style": {
  8144. "backgroundImage": "url(/img/icon/cocopi.png)"
  8145. },
  8146. "name": "CocoPi",
  8147. "forms": _formdiv,
  8148. "click": function () {
  8149. U.MD.D.I.openApplication(str, obj, info);
  8150. }
  8151. }
  8152. break;
  8153. }
  8154. if (_iframe) {
  8155. if (str == 'CocoPi') {
  8156. _iframe = _formdiv.querySelector('iframe')
  8157. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8158. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8159. })
  8160. if (onloadListener) {
  8161. _iframe.contentDocument.location.reload()
  8162. } else {
  8163. _iframe.contentDocument.location.reload()
  8164. }
  8165. }
  8166. _jie.onclick = async () => {
  8167. let text = ''
  8168. if (aTool == 57) {
  8169. text = _iframe.contentWindow.getLoadXmlStr()
  8170. }
  8171. _loading.style.display = 'flex'
  8172. console.log(_loading);
  8173. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8174. _loading.style.display = 'none'
  8175. let _div = document.createElement('div')
  8176. _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;"
  8177. let _inner = document.createElement('div')
  8178. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8179. _inner.innerHTML = "上传成功"
  8180. _div.appendChild(_inner)
  8181. _iframe.contentWindow.window.document.body.appendChild(_div)
  8182. _div.onclick = () => {
  8183. _iframe.contentWindow.window.document.body.removeChild(_div)
  8184. }
  8185. setTimeout(() => {
  8186. _iframe.contentWindow.window.document.body.removeChild(_div)
  8187. }, 1000);
  8188. }, [], { "type": "POST", "withCredentials": true });
  8189. }
  8190. }
  8191. }
  8192. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  8193. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8194. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8195. _userid = student.userid, //登录用户id
  8196. _username = student.student //用户名字
  8197. let _iframe;
  8198. let _cid = cid,
  8199. _stage = stage,
  8200. _task = task,
  8201. _tool = tool;
  8202. var _jie = $$("div", {
  8203. "style": {
  8204. "position": "absolute",
  8205. "bottom": "50px",
  8206. "right": "50px",
  8207. "zIndex": "9999",
  8208. "backgroundColor": "#2268bc",
  8209. "color": "#fff",
  8210. "padding": "12px 20px",
  8211. "cursor": "pointer",
  8212. "borderRadius": "4px",
  8213. },
  8214. "innerHTML": "提交作业"
  8215. })
  8216. let aTool = ''
  8217. let _loading = document.createElement('div')
  8218. _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;"
  8219. // _loading.id = "";
  8220. let _lchild = document.createElement('div')
  8221. let _limg = document.createElement('img')
  8222. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8223. _limg.style = "width: 26px;margin-right: 10px;"
  8224. _lchild.appendChild(_limg)
  8225. let _lspan = document.createElement('span')
  8226. _lspan.innerHTML = "上传中..."
  8227. _lchild.appendChild(_lspan)
  8228. _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%);"
  8229. _loading.appendChild(_lchild)
  8230. var _box = $$('div', {
  8231. "style": {
  8232. "position": "relative",
  8233. "width": "100%",
  8234. "height": "100%",
  8235. },
  8236. })
  8237. _box.appendChild(_loading)
  8238. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  8239. switch (str) {
  8240. case "CocoPi":
  8241. aTool = 57;
  8242. _iframe = $$("iframe", {
  8243. "allowpaymentrequest": "allowpaymentrequest",
  8244. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8245. "webkitallowfullscreen": "",
  8246. "mozallowfullscreen": "",
  8247. "frameborder": "no",
  8248. "border": "0",
  8249. "scrolling ": "no",
  8250. "style": {
  8251. "cssText": "border:0;width:100%;height:100%"
  8252. },
  8253. "src": "https://pi.cocorobo.cn/"
  8254. })
  8255. _box.appendChild(_iframe);
  8256. _box.appendChild(_jie);
  8257. _formdiv = new U.UF.UI.form(
  8258. "CocoPi-" + _username,
  8259. _box, {
  8260. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  8261. "style": {
  8262. "width": "90%",
  8263. "height": "90%",
  8264. "overflow": 'hidden'
  8265. },
  8266. "onresize": function () { }
  8267. }, {
  8268. closecallback: function () { }
  8269. }, {
  8270. "style": {
  8271. "height": "36px"
  8272. }
  8273. }).form; //创建窗体
  8274. _taskbar = {
  8275. "id": str + _formdiv.id,
  8276. "style": {
  8277. "backgroundImage": "url(/img/icon/cocopi.png)"
  8278. },
  8279. "name": "CocoPi",
  8280. "forms": _formdiv,
  8281. "click": function () {
  8282. U.MD.D.I.openApplication(str, obj, info);
  8283. }
  8284. }
  8285. break;
  8286. }
  8287. if (_iframe) {
  8288. if (str == 'CocoPi') {
  8289. _iframe = _formdiv.querySelector('iframe')
  8290. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8291. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8292. })
  8293. if (onloadListener) {
  8294. _iframe.contentDocument.location.reload()
  8295. } else {
  8296. _iframe.contentDocument.location.reload()
  8297. }
  8298. }
  8299. _jie.onclick = async () => {
  8300. let text = ''
  8301. if (aTool == 57) {
  8302. text = _iframe.contentWindow.getLoadXmlStr()
  8303. }
  8304. _loading.style.display = 'flex'
  8305. console.log(_loading);
  8306. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8307. _loading.style.display = 'none'
  8308. let _div = document.createElement('div')
  8309. _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;"
  8310. let _inner = document.createElement('div')
  8311. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8312. _inner.innerHTML = "上传成功"
  8313. _div.appendChild(_inner)
  8314. _iframe.contentWindow.window.document.body.appendChild(_div)
  8315. _div.onclick = () => {
  8316. _iframe.contentWindow.window.document.body.removeChild(_div)
  8317. }
  8318. setTimeout(() => {
  8319. _iframe.contentWindow.window.document.body.removeChild(_div)
  8320. }, 1000);
  8321. }, [], { "type": "POST", "withCredentials": true });
  8322. }
  8323. }
  8324. }
  8325. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8326. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8327. if (res.value[0].length > 0) {
  8328. if (atool == 57) {
  8329. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8330. }
  8331. } else {
  8332. if (atool == 57) {
  8333. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8334. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8335. }
  8336. }
  8337. }, [], { "type": "POST", "withCredentials": true });
  8338. }