DeskTop.js 482 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  52. ];
  53. //极简模式
  54. U.MD.D.I.easyDeskIcon = [
  55. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  58. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  59. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  60. ];
  61. //教师桌面图标的全局变量
  62. U.MD.D.I.teacherDeskIcon2 = [
  63. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  64. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  65. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  66. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  67. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  68. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  69. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  70. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  71. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  72. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  73. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  74. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  75. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  76. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  77. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  78. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  79. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  80. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  81. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  82. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  83. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  84. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  85. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  86. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  87. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  88. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  89. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  90. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  91. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  92. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  93. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  94. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  95. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  96. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  97. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  98. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  99. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  100. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  101. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  102. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  103. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  104. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  105. ];
  106. U.MD.D.I.studentDeskIcon = [
  107. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  108. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  109. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  110. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  111. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  112. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  113. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  114. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  115. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  116. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  117. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  118. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  119. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  120. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  121. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  122. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  123. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  124. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  125. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  126. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  127. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  128. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  129. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  130. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  131. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  132. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  133. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  134. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  135. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  136. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  137. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  138. ];
  139. U.MD.D.I.studentDeskIcon2 = [
  140. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  141. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  142. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  143. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  144. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  145. ]
  146. U.MD.D.I.studentDeskIcon3 = [
  147. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  148. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  149. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  150. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  151. ]
  152. U.MD.D.I.schoolDeskIcon = [
  153. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  154. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  155. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  156. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  157. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  158. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  159. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  160. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  161. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  162. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  163. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  164. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  165. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  166. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  167. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  168. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  169. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  170. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  171. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  172. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  173. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  176. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  177. ];
  178. U.MD.D.I.orgDeskIcon = [
  179. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  182. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  183. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  184. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  185. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  186. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  187. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  188. ];
  189. U.MD.D.I.orgStemDeskIcon = [
  190. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  191. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  192. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  193. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  194. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  195. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  196. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  197. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  198. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  199. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  200. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  201. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  202. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  203. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  204. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  205. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  206. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  207. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  208. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  209. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  210. ];
  211. U.MD.D.I.szulsDeskIcon = [
  212. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  213. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  214. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  215. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  216. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  217. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  218. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  219. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  220. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  221. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  222. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  223. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  224. ];
  225. U.MD.D.I.hanDeskIcon = [
  226. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  227. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  228. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  229. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  230. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  231. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  232. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  233. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  234. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  235. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  236. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  237. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  238. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  239. ];
  240. U.MD.D.I.GMteacherDeskIcon = [
  241. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  242. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  243. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  244. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  245. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  246. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  247. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  248. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  249. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  250. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  251. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  252. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  253. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  254. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  255. ];
  256. U.MD.D.I.GMstudentDeskIcon = [
  257. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  258. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  259. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  260. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  261. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  262. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  263. ];
  264. //北师大
  265. U.MD.D.I.BSDNSteacherDeskIcon = [
  266. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  267. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  268. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  269. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  270. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  271. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  272. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  273. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  274. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  275. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  276. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  277. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  278. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  279. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  280. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  281. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  282. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  283. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  284. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  285. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  286. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  287. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  288. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  289. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  290. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  291. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  292. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  293. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  294. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  295. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  296. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  297. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  298. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  299. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  300. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  301. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  302. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  303. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  304. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  305. ];
  306. //松山湖
  307. U.MD.D.I.SONGteacherDeskIcon = [
  308. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  309. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  310. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  311. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  312. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  313. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  314. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  315. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  316. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  317. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  318. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  319. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  320. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  321. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  322. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  323. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  324. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  325. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  326. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  327. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  328. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  329. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  330. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  331. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  332. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  333. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  334. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  335. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  336. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  337. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  338. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  339. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  340. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  341. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  342. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  343. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  344. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  345. ];
  346. U.MD.D.I.tcStudentDeskIcon = [
  347. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  348. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  349. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  350. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  351. ];
  352. U.MD.D.I.tcTeacherDeskIcon = [
  353. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  354. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  355. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  356. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  357. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  358. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  359. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  360. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  361. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  362. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  363. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  364. ];
  365. U.MD.D.I.tcOrganizerDeskIcon = [
  366. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  367. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  368. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  369. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  370. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  371. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  372. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  373. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  374. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  375. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  376. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  377. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  378. ];
  379. U.MD.D.I.szscStudentDeskIcon = [
  380. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  381. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  382. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  383. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  384. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  385. ];
  386. U.MD.D.I.szscTeacherDeskIcon = [
  387. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  388. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  389. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  390. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  391. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  392. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  393. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  394. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  395. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  396. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  397. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  398. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  399. ];
  400. U.MD.D.I.szscOrganizerDeskIcon = [
  401. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  402. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  403. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  404. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  405. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  406. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  407. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  408. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  409. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  410. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  411. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  412. ];
  413. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  414. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  415. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  416. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  417. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  418. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  419. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  420. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  421. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  422. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  423. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  424. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  425. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  426. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  427. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  428. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  429. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  430. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  431. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  432. ];
  433. U.MD.D.I.wankeAdminDeskIcon = [
  434. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  435. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  436. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  437. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  438. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  439. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  440. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  441. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  442. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  443. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  444. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  445. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  446. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  447. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  448. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  449. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  450. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  451. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  452. ];
  453. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  454. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  455. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  456. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  457. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  458. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  459. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  460. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  461. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  462. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  463. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  464. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  465. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  466. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  467. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  468. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  469. ];
  470. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  471. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  472. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  473. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  474. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  475. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  476. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  477. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  478. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  479. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  480. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  481. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  482. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  483. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  484. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  485. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  486. ];
  487. //明德教师桌面图标的全局变量
  488. U.MD.D.I.MingdeTeacherDeskIcon = [
  489. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  490. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  491. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  492. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  493. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  494. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  495. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  496. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  497. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  498. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  499. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  500. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  501. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  502. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  503. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  504. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  505. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  506. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  507. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  508. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  509. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  510. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  511. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  512. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  513. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  514. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  515. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  516. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  517. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  518. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  519. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  520. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  521. ];
  522. //97c4ee8b-d010-4042-986d-e9d3c217264f
  523. //教师桌面图标的全局变量
  524. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  525. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  526. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  527. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  528. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  529. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  530. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  531. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  532. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  533. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  534. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  535. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  536. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  537. ];
  538. //福田
  539. U.MD.D.I.futianTeacherDeskIcon = [
  540. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  541. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  542. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  543. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  544. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  545. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  546. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  547. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  548. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  549. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  550. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  551. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  552. ];
  553. //福田
  554. U.MD.D.I.futianAdminDeskIcon = [
  555. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  556. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  557. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  558. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  559. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  560. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  561. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  562. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  563. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  564. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  565. ];
  566. //lotech
  567. U.MD.D.I.lotechTeacherDeskIcon = [
  568. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  569. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  570. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  571. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  572. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  573. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  574. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  575. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  576. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  577. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  578. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  579. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  580. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  581. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  582. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  583. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  584. ];
  585. //龙华中心小学教师桌面图标的全局变量
  586. U.MD.D.I.longhuateacherDeskIcon = [
  587. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  588. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  589. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  590. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  591. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  592. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  593. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  594. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  595. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  596. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  597. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  598. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  599. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  600. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  601. ];
  602. //教科院实小教师桌面图标的全局变量
  603. U.MD.D.I.siesteacherDeskIcon = [
  604. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  605. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  606. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  607. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  608. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  609. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  610. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  611. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  612. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  613. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  614. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  615. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  616. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  617. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  618. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  619. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  620. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  621. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  622. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  623. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  624. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  625. ];
  626. //教科院实小教师桌面图标的全局变量
  627. U.MD.D.I.siesStudentDeskIcon = [
  628. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  629. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  630. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  631. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  632. ];
  633. //福田
  634. U.MD.D.I.gdjgTeacherDeskIcon = [
  635. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  636. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  637. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  638. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  639. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  640. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  641. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  642. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  643. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  644. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  645. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  646. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  647. ];
  648. //gdjg
  649. U.MD.D.I.gdjgAdminDeskIcon = [
  650. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  651. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  652. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  653. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  654. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  655. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  656. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  657. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  658. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  659. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  660. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  661. ];
  662. //hk
  663. U.MD.D.I.hkteacherDeskIcon = [
  664. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  665. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  666. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  667. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  668. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  669. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  670. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  671. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  672. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  673. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  674. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  675. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  676. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  677. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  678. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  679. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  680. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  681. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  682. ];
  683. //hk
  684. U.MD.D.I.hkStudentDeskIcon = [
  685. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  686. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  687. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  688. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  689. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  690. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  691. ];
  692. //香海正覺蓮社佛教正覺中學
  693. U.MD.D.I.hkZJLSteacherDeskIcon = [
  694. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  695. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  696. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  697. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  698. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  699. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  700. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  701. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  702. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  703. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  704. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  705. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  706. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  707. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  708. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  709. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  710. ];
  711. //香海正覺蓮社佛教正覺中學
  712. U.MD.D.I.hkZJLSStudentDeskIcon = [
  713. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  714. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  715. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  716. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  717. ];
  718. //云海
  719. U.MD.D.I.yunhaiTeacherDeskIcon = [
  720. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  721. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  722. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  723. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  724. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  725. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  726. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  727. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  728. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  729. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  730. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  731. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  732. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  733. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  734. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  735. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  736. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  737. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  738. ];
  739. //福田
  740. U.MD.D.I.heyuanTeacherDeskIcon = [
  741. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  742. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.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": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  748. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  749. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  750. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  751. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  752. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  753. ];
  754. //福田
  755. U.MD.D.I.heyuanAdminDeskIcon = [
  756. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  757. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  758. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  759. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  760. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  761. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  762. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  763. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  764. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  765. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  766. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  767. ];
  768. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  769. U.MD.D.I.szherTeacherDeskIcon = [
  770. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  771. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  772. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  773. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  774. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  775. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  776. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  777. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  778. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  779. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  780. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  781. ];
  782. //dsei
  783. U.MD.D.I.dseiTeacherDeskIcon = [
  784. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  785. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  786. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  787. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.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": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  793. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  794. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  795. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  796. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  797. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  798. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  799. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  800. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  801. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  802. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  803. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  804. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  805. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  806. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  807. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  808. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  809. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  810. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  811. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  812. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  813. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  814. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  815. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  816. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  817. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  818. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  819. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  820. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  821. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  822. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  823. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  824. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  825. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  826. ];
  827. //dsei
  828. U.MD.D.I.dseiAdminDeskIcon = [
  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.dseiStudentDeskIcon = [
  874. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  875. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  876. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  877. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  878. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  879. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  880. ];
  881. //未来教育基地
  882. U.MD.D.I.szjkyTeacherDeskIcon = [
  883. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  884. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  885. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  886. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  887. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  888. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  889. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  890. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  891. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  892. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  893. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  894. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  895. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  896. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  897. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  898. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  899. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  900. ];
  901. //未来教育基地
  902. U.MD.D.I.szjkyAdminDeskIcon = [
  903. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  904. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  905. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  906. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  907. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  908. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  909. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  910. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  911. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  912. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  913. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  914. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  915. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  916. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  917. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  918. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  919. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  920. ];
  921. //未来教育基地
  922. U.MD.D.I.szjkyStudentDeskIcon = [
  923. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  924. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  925. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  926. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  927. ];
  928. //成华教育局
  929. U.MD.D.I.chjyjTeacherDeskIcon = [
  930. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  931. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  932. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  933. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  934. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  935. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  936. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  937. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  938. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  939. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.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": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  944. ];
  945. //成华教育局chjyj
  946. U.MD.D.I.chjyjAdminDeskIcon = [
  947. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  948. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  949. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  950. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  951. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  952. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  953. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  954. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  955. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  956. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  957. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  958. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  959. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  960. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  961. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  962. ];
  963. //成华教育局chjyj
  964. U.MD.D.I.chjyjStudentDeskIcon = [
  965. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  966. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  967. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  968. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  969. ];
  970. //tpc
  971. U.MD.D.I.tpcStudentDeskIcon = [
  972. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  973. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  974. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  975. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  976. ];
  977. //tpc
  978. U.MD.D.I.tpcTeacherDeskIcon = [
  979. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  980. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  981. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  982. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  983. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  984. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  985. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  986. ];
  987. //tpc
  988. U.MD.D.I.tpcAdminDeskIcon = [
  989. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  990. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  991. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  992. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  993. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  994. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  995. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  996. ];
  997. //THU-IOE
  998. U.MD.D.I.thuioeTeacherDeskIcon = [
  999. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1000. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1001. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1002. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1003. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1004. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1005. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1006. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1007. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1008. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1009. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1010. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1011. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1012. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1013. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1014. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1015. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1016. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1017. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1018. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1019. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1020. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1021. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1022. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1023. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1024. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1025. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1026. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1027. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1028. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1029. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1030. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1031. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1032. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1033. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1034. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1035. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1036. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1037. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1038. ];
  1039. //THU-IOE
  1040. U.MD.D.I.thuioeStudentDeskIcon = [
  1041. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1042. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1043. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1044. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1045. ];
  1046. //jccssyl
  1047. U.MD.D.I.jccssylTeacherDeskIcon = [
  1048. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1049. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1050. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1051. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1052. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1053. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1054. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1055. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1056. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1057. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1058. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1059. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1060. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1061. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1062. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1063. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1064. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1065. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1066. ];
  1067. //jccssyl
  1068. U.MD.D.I.jccssylStudentDeskIcon = [
  1069. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1070. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1071. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1072. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1073. ];
  1074. //#region 桌面初始化a
  1075. /**
  1076. * 初始化桌面的起始函数
  1077. *
  1078. */
  1079. U.MD.D.I.init = function () {
  1080. if ($("#U_MD_D_K")[0]) {
  1081. //初始化桌面图标
  1082. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1083. // var clickUrl = ':12588/requestIp.php';
  1084. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1085. // U.MD.D.I.Ip = data;
  1086. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1087. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1088. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1089. // })
  1090. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1091. // })
  1092. }
  1093. }
  1094. /**
  1095. * 模式切换
  1096. *
  1097. */
  1098. U.MD.D.I.ModeCheck = function (type) {
  1099. if (US.Config.type == type) {
  1100. return
  1101. }
  1102. US.Config.type = type
  1103. $('.U_PBL_Check .active')[0].className = ''
  1104. if (type == 1) {
  1105. $('.U_PBL_Check div')[0].className = 'active'
  1106. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1107. } else {
  1108. $('.U_PBL_Check div')[1].className = 'active'
  1109. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1110. }
  1111. //初始化桌面图标
  1112. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1113. if (type == 2) {
  1114. U.MD.D.I.openApplication("project")
  1115. }
  1116. }
  1117. /**
  1118. * 隐藏任务栏
  1119. *
  1120. * @param {element} 桌面元素
  1121. */
  1122. U.MD.D.I.hiddenTaskbar = function (el) {
  1123. //任务栏位置变小
  1124. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1125. //桌面的位置变大
  1126. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1127. }
  1128. /**
  1129. * 隐藏任务栏
  1130. *
  1131. * @param {element} 桌面元素
  1132. */
  1133. U.MD.D.I.hiddenTaskbarout = function (el) {
  1134. //任务栏位置变小
  1135. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1136. //任务栏位置变化
  1137. U.selectEl(el).css({ "bottom": "-60px" });
  1138. //桌面的位置变大
  1139. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1140. }
  1141. }
  1142. /**
  1143. * 初始化打印桌面图标
  1144. *
  1145. * @param {element} 桌面元素
  1146. */
  1147. U.MD.D.I.initDesktopIcons = function (el, type) {
  1148. var i, //用于循环
  1149. _content, //桌面图标元素
  1150. _iconcontent, //桌面图标元素
  1151. _frag = $$("frag"), //定义一个碎片元素
  1152. _type = US.userInfo.type,
  1153. _org = US.userInfo.org,
  1154. _oid = US.userInfo.organizeid,
  1155. _role = US.userInfo.role,
  1156. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1157. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1158. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1159. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1160. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1161. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1162. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1163. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1164. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1165. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1166. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1167. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1168. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1169. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1170. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1171. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1172. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1173. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1174. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1175. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1176. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1177. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1178. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1179. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1180. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1181. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1182. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1183. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1184. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1185. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1186. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1187. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1188. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1189. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1190. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1191. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1192. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1193. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1194. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1195. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1196. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1197. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1198. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1199. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1200. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1201. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1202. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1203. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1204. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1205. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1206. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1207. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1208. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1209. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1210. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1211. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1212. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1213. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1214. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1215. 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'];
  1216. 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'];
  1217. //清楚桌面图标
  1218. el.innerHTML = "";
  1219. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1220. _teacherDesktopIconInfo.push(
  1221. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1222. { "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)" } },
  1223. )
  1224. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1225. }
  1226. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1227. _teacherDesktopIconInfo.push(
  1228. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1229. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1230. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1231. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1232. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1233. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1234. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1235. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1236. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1237. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1238. // { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1239. )
  1240. }
  1241. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1242. // _teacherDesktopIconInfo.push(
  1243. // )
  1244. // }
  1245. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1246. _teacherDesktopIconInfo.push(
  1247. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1248. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1249. )
  1250. }
  1251. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1252. _teacherDesktopIconInfo.push(
  1253. )
  1254. }
  1255. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1256. _teacherDesktopIconInfo.push(
  1257. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1258. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1259. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1260. )
  1261. _studentDesktopIconInfo.push(
  1262. )
  1263. }
  1264. //麒麟二中 和 民新小学
  1265. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1266. _teacherDesktopIconInfo.push(
  1267. )
  1268. }
  1269. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1270. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1271. _teacherDesktopIconInfo.push(
  1272. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1273. )
  1274. }
  1275. //麒麟二中
  1276. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1277. _studentDesktopIconInfo.push(
  1278. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1279. )
  1280. }
  1281. //万科双语
  1282. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1283. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1284. if (el.Name == '项目管理') {
  1285. el.Name = 'PBL项目'
  1286. }
  1287. return el
  1288. })
  1289. _studentDesktopIconInfo3.push(
  1290. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1291. )
  1292. }
  1293. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1294. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1295. return el.Name != '魔盒识字' && el.Name != '24点'
  1296. })
  1297. }
  1298. 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) {
  1299. _studentDesktopIconInfo.push(
  1300. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1301. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1302. )
  1303. }
  1304. //循环创建桌面图标
  1305. if (type == 1) {
  1306. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1307. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1308. _content = $$("div", {
  1309. className: "U_MD_D_KO",
  1310. "onmousedown": U.UF.C.closure(function (obj) {
  1311. //防止拖动图标即打开了桌面应用
  1312. U.MD.D.click(this, obj);
  1313. }, [_studentDesktopIconInfo[i]]),
  1314. "onclick": U.UF.C.closure(function (obj) {
  1315. //防止拖动图标即打开了桌面应用
  1316. U.MD.D.click(this, obj);
  1317. }, [_studentDesktopIconInfo[i]])
  1318. }, _frag); //
  1319. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1320. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1321. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1322. }
  1323. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1324. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1325. _content = $$("div", {
  1326. className: "U_MD_D_KO",
  1327. "onmousedown": U.UF.C.closure(function (obj) {
  1328. //防止拖动图标即打开了桌面应用
  1329. U.MD.D.click(this, obj);
  1330. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1331. "onclick": U.UF.C.closure(function (obj) {
  1332. //防止拖动图标即打开了桌面应用
  1333. U.MD.D.click(this, obj);
  1334. }, [_hkZJLSStudentDeskIconInfo[i]])
  1335. }, _frag); //
  1336. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1337. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1338. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1339. } //
  1340. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1341. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1342. _content = $$("div", {
  1343. className: "U_MD_D_KO",
  1344. "onmousedown": U.UF.C.closure(function (obj) {
  1345. //防止拖动图标即打开了桌面应用
  1346. U.MD.D.click(this, obj);
  1347. }, [_jccssylStudentDeskIconInfo[i]]),
  1348. "onclick": U.UF.C.closure(function (obj) {
  1349. //防止拖动图标即打开了桌面应用
  1350. U.MD.D.click(this, obj);
  1351. }, [_jccssylStudentDeskIconInfo[i]])
  1352. }, _frag); //
  1353. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1354. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1355. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1356. }
  1357. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1358. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1359. _content = $$("div", {
  1360. className: "U_MD_D_KO",
  1361. "onmousedown": U.UF.C.closure(function (obj) {
  1362. //防止拖动图标即打开了桌面应用
  1363. U.MD.D.click(this, obj);
  1364. }, [_thuioeStudentDeskIconInfo[i]]),
  1365. "onclick": U.UF.C.closure(function (obj) {
  1366. //防止拖动图标即打开了桌面应用
  1367. U.MD.D.click(this, obj);
  1368. }, [_thuioeStudentDeskIconInfo[i]])
  1369. }, _frag); //
  1370. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1371. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1372. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1373. }
  1374. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1375. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1376. _content = $$("div", {
  1377. className: "U_MD_D_KO",
  1378. "onmousedown": U.UF.C.closure(function (obj) {
  1379. //防止拖动图标即打开了桌面应用
  1380. U.MD.D.click(this, obj);
  1381. }, [_tpcStudentDeskIconInfo[i]]),
  1382. "onclick": U.UF.C.closure(function (obj) {
  1383. //防止拖动图标即打开了桌面应用
  1384. U.MD.D.click(this, obj);
  1385. }, [_tpcStudentDeskIconInfo[i]])
  1386. }, _frag); //
  1387. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1388. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1389. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1390. } //
  1391. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1392. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1393. _content = $$("div", {
  1394. className: "U_MD_D_KO",
  1395. "onmousedown": U.UF.C.closure(function (obj) {
  1396. //防止拖动图标即打开了桌面应用
  1397. U.MD.D.click(this, obj);
  1398. }, [_chjyjStudentDeskIconInfo[i]]),
  1399. "onclick": U.UF.C.closure(function (obj) {
  1400. //防止拖动图标即打开了桌面应用
  1401. U.MD.D.click(this, obj);
  1402. }, [_chjyjStudentDeskIconInfo[i]])
  1403. }, _frag); //
  1404. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1405. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1406. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1407. }
  1408. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1409. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1410. _content = $$("div", {
  1411. className: "U_MD_D_KO",
  1412. "onmousedown": U.UF.C.closure(function (obj) {
  1413. //防止拖动图标即打开了桌面应用
  1414. U.MD.D.click(this, obj);
  1415. }, [_szjkyStudentDeskIconInfo[i]]),
  1416. "onclick": U.UF.C.closure(function (obj) {
  1417. //防止拖动图标即打开了桌面应用
  1418. U.MD.D.click(this, obj);
  1419. }, [_szjkyStudentDeskIconInfo[i]])
  1420. }, _frag); //
  1421. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1422. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1423. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1424. }
  1425. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1426. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1427. _content = $$("div", {
  1428. className: "U_MD_D_KO",
  1429. "onmousedown": U.UF.C.closure(function (obj) {
  1430. //防止拖动图标即打开了桌面应用
  1431. U.MD.D.click(this, obj);
  1432. }, [_dseiStudentDeskIconInfo[i]]),
  1433. "onclick": U.UF.C.closure(function (obj) {
  1434. //防止拖动图标即打开了桌面应用
  1435. U.MD.D.click(this, obj);
  1436. }, [_dseiStudentDeskIconInfo[i]])
  1437. }, _frag); //
  1438. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1439. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1440. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1441. }
  1442. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1443. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1444. _content = $$("div", {
  1445. className: "U_MD_D_KO",
  1446. "onmousedown": U.UF.C.closure(function (obj) {
  1447. //防止拖动图标即打开了桌面应用
  1448. U.MD.D.click(this, obj);
  1449. }, [_siesStudentDeskIconInfo[i]]),
  1450. "onclick": U.UF.C.closure(function (obj) {
  1451. //防止拖动图标即打开了桌面应用
  1452. U.MD.D.click(this, obj);
  1453. }, [_siesStudentDeskIconInfo[i]])
  1454. }, _frag); //
  1455. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1456. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1457. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1458. }
  1459. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1460. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1461. _content = $$("div", {
  1462. className: "U_MD_D_KO",
  1463. "onmousedown": U.UF.C.closure(function (obj) {
  1464. //防止拖动图标即打开了桌面应用
  1465. U.MD.D.click(this, obj);
  1466. }, [_hkStudentDeskIconInfo[i]]),
  1467. "onclick": U.UF.C.closure(function (obj) {
  1468. //防止拖动图标即打开了桌面应用
  1469. U.MD.D.click(this, obj);
  1470. }, [_hkStudentDeskIconInfo[i]])
  1471. }, _frag); //
  1472. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1473. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1474. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1475. }
  1476. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1477. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1478. _content = $$("div", {
  1479. className: "U_MD_D_KO",
  1480. "onmousedown": U.UF.C.closure(function (obj) {
  1481. //防止拖动图标即打开了桌面应用
  1482. U.MD.D.click(this, obj);
  1483. }, [_studentDesktopIconInfo[i]]),
  1484. "onclick": U.UF.C.closure(function (obj) {
  1485. //防止拖动图标即打开了桌面应用
  1486. U.MD.D.click(this, obj);
  1487. }, [_studentDesktopIconInfo[i]])
  1488. }, _frag); //
  1489. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1490. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1491. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1492. }
  1493. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1494. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1495. _content = $$("div", {
  1496. className: "U_MD_D_KO",
  1497. "onmousedown": U.UF.C.closure(function (obj) {
  1498. //防止拖动图标即打开了桌面应用
  1499. U.MD.D.click(this, obj);
  1500. }, [_tcStudentDeskIconInfo[i]]),
  1501. "onclick": U.UF.C.closure(function (obj) {
  1502. //防止拖动图标即打开了桌面应用
  1503. U.MD.D.click(this, obj);
  1504. }, [_tcStudentDeskIconInfo[i]])
  1505. }, _frag); //
  1506. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1507. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1508. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1509. }
  1510. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1511. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1512. _content = $$("div", {
  1513. className: "U_MD_D_KO",
  1514. "onmousedown": U.UF.C.closure(function (obj) {
  1515. //防止拖动图标即打开了桌面应用
  1516. U.MD.D.click(this, obj);
  1517. }, [_szscStudentDeskIconInfo[i]]),
  1518. "onclick": U.UF.C.closure(function (obj) {
  1519. //防止拖动图标即打开了桌面应用
  1520. U.MD.D.click(this, obj);
  1521. }, [_szscStudentDeskIconInfo[i]])
  1522. }, _frag); //
  1523. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1524. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1525. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1526. }
  1527. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1528. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1529. _content = $$("div", {
  1530. className: "U_MD_D_KO",
  1531. "onmousedown": U.UF.C.closure(function (obj) {
  1532. //防止拖动图标即打开了桌面应用
  1533. U.MD.D.click(this, obj);
  1534. }, [_studentDesktopIconInfo3[i]]),
  1535. "onclick": U.UF.C.closure(function (obj) {
  1536. //防止拖动图标即打开了桌面应用
  1537. U.MD.D.click(this, obj);
  1538. }, [_studentDesktopIconInfo3[i]])
  1539. }, _frag); //
  1540. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1541. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1542. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1543. }
  1544. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1545. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1546. _content = $$("div", {
  1547. className: "U_MD_D_KO",
  1548. "onmousedown": U.UF.C.closure(function (obj) {
  1549. //防止拖动图标即打开了桌面应用
  1550. U.MD.D.click(this, obj);
  1551. }, [_studentDesktopIconInfo2[i]]),
  1552. "onclick": U.UF.C.closure(function (obj) {
  1553. //防止拖动图标即打开了桌面应用
  1554. U.MD.D.click(this, obj);
  1555. }, [_studentDesktopIconInfo2[i]])
  1556. }, _frag); //
  1557. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1558. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1559. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1560. }
  1561. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1562. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1563. _content = $$("div", {
  1564. className: "U_MD_D_KO",
  1565. "onmousedown": U.UF.C.closure(function (obj) {
  1566. //防止拖动图标即打开了桌面应用
  1567. U.MD.D.click(this, obj);
  1568. }, [_wanketeacherDesktopIconInfo[i]]),
  1569. "onclick": U.UF.C.closure(function (obj) {
  1570. //防止拖动图标即打开了桌面应用
  1571. U.MD.D.click(this, obj);
  1572. }, [_wanketeacherDesktopIconInfo[i]])
  1573. }, _frag); //
  1574. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1575. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1576. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1577. }
  1578. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1579. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1580. _content = $$("div", {
  1581. className: "U_MD_D_KO",
  1582. "onmousedown": U.UF.C.closure(function (obj) {
  1583. //防止拖动图标即打开了桌面应用
  1584. U.MD.D.click(this, obj);
  1585. }, [_wankeAdminDesktopIconInfo[i]]),
  1586. "onclick": U.UF.C.closure(function (obj) {
  1587. //防止拖动图标即打开了桌面应用
  1588. U.MD.D.click(this, obj);
  1589. }, [_wankeAdminDesktopIconInfo[i]])
  1590. }, _frag); //
  1591. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1592. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1593. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1594. }
  1595. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1596. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1597. _content = $$("div", {
  1598. className: "U_MD_D_KO",
  1599. "onmousedown": U.UF.C.closure(function (obj) {
  1600. //防止拖动图标即打开了桌面应用
  1601. U.MD.D.click(this, obj);
  1602. }, [_jccssylTeacherDeskIconInfo[i]]),
  1603. "onclick": U.UF.C.closure(function (obj) {
  1604. //防止拖动图标即打开了桌面应用
  1605. U.MD.D.click(this, obj);
  1606. }, [_jccssylTeacherDeskIconInfo[i]])
  1607. }, _frag); //
  1608. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1609. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1610. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1611. }
  1612. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1613. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1614. _content = $$("div", {
  1615. className: "U_MD_D_KO",
  1616. "onmousedown": U.UF.C.closure(function (obj) {
  1617. //防止拖动图标即打开了桌面应用
  1618. U.MD.D.click(this, obj);
  1619. }, [_tpcOrganizerDeskIconInfo[i]]),
  1620. "onclick": U.UF.C.closure(function (obj) {
  1621. //防止拖动图标即打开了桌面应用
  1622. U.MD.D.click(this, obj);
  1623. }, [_tpcOrganizerDeskIconInfo[i]])
  1624. }, _frag); //
  1625. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1626. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1627. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1628. }
  1629. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1630. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1631. _content = $$("div", {
  1632. className: "U_MD_D_KO",
  1633. "onmousedown": U.UF.C.closure(function (obj) {
  1634. //防止拖动图标即打开了桌面应用
  1635. U.MD.D.click(this, obj);
  1636. }, [_tpcTeacherDeskIconInfo[i]]),
  1637. "onclick": U.UF.C.closure(function (obj) {
  1638. //防止拖动图标即打开了桌面应用
  1639. U.MD.D.click(this, obj);
  1640. }, [_tpcTeacherDeskIconInfo[i]])
  1641. }, _frag); //
  1642. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1643. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1644. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1645. }
  1646. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1647. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1648. _content = $$("div", {
  1649. className: "U_MD_D_KO",
  1650. "onmousedown": U.UF.C.closure(function (obj) {
  1651. //防止拖动图标即打开了桌面应用
  1652. U.MD.D.click(this, obj);
  1653. }, [_teacherDesktopIconInfo2[i]]),
  1654. "onclick": U.UF.C.closure(function (obj) {
  1655. //防止拖动图标即打开了桌面应用
  1656. U.MD.D.click(this, obj);
  1657. }, [_teacherDesktopIconInfo2[i]])
  1658. }, _frag); //
  1659. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1660. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1661. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1662. }
  1663. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1664. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1665. _content = $$("div", {
  1666. className: "U_MD_D_KO",
  1667. "onmousedown": U.UF.C.closure(function (obj) {
  1668. //防止拖动图标即打开了桌面应用
  1669. U.MD.D.click(this, obj);
  1670. }, [_thuioeTeacherDeskIconInfo[i]]),
  1671. "onclick": U.UF.C.closure(function (obj) {
  1672. //防止拖动图标即打开了桌面应用
  1673. U.MD.D.click(this, obj);
  1674. }, [_thuioeTeacherDeskIconInfo[i]])
  1675. }, _frag); //
  1676. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1677. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1678. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1679. }
  1680. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1681. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1682. _content = $$("div", {
  1683. className: "U_MD_D_KO",
  1684. "onmousedown": U.UF.C.closure(function (obj) {
  1685. //防止拖动图标即打开了桌面应用
  1686. U.MD.D.click(this, obj);
  1687. }, [_lotechTeacherDeskIconInfo[i]]),
  1688. "onclick": U.UF.C.closure(function (obj) {
  1689. //防止拖动图标即打开了桌面应用
  1690. U.MD.D.click(this, obj);
  1691. }, [_lotechTeacherDeskIconInfo[i]])
  1692. }, _frag); //
  1693. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1694. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1695. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1696. }//
  1697. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1698. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1699. _content = $$("div", {
  1700. className: "U_MD_D_KO",
  1701. "onmousedown": U.UF.C.closure(function (obj) {
  1702. //防止拖动图标即打开了桌面应用
  1703. U.MD.D.click(this, obj);
  1704. }, [_siesTeacherDeskIconInfo[i]]),
  1705. "onclick": U.UF.C.closure(function (obj) {
  1706. //防止拖动图标即打开了桌面应用
  1707. U.MD.D.click(this, obj);
  1708. }, [_siesTeacherDeskIconInfo[i]])
  1709. }, _frag); //
  1710. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1711. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1712. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1713. }
  1714. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1715. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1716. _content = $$("div", {
  1717. className: "U_MD_D_KO",
  1718. "onmousedown": U.UF.C.closure(function (obj) {
  1719. //防止拖动图标即打开了桌面应用
  1720. U.MD.D.click(this, obj);
  1721. }, [_longhuaTeacherDeskIconInfo[i]]),
  1722. "onclick": U.UF.C.closure(function (obj) {
  1723. //防止拖动图标即打开了桌面应用
  1724. U.MD.D.click(this, obj);
  1725. }, [_longhuaTeacherDeskIconInfo[i]])
  1726. }, _frag); //
  1727. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1728. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1729. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1730. }
  1731. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1732. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1733. _content = $$("div", {
  1734. className: "U_MD_D_KO",
  1735. "onmousedown": U.UF.C.closure(function (obj) {
  1736. //防止拖动图标即打开了桌面应用
  1737. U.MD.D.click(this, obj);
  1738. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1739. "onclick": U.UF.C.closure(function (obj) {
  1740. //防止拖动图标即打开了桌面应用
  1741. U.MD.D.click(this, obj);
  1742. }, [_yunhaiTeacherDeskIconInfo[i]])
  1743. }, _frag); //
  1744. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1745. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1746. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1747. } //_hkStudentDeskIconInfo
  1748. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1749. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1750. _content = $$("div", {
  1751. className: "U_MD_D_KO",
  1752. "onmousedown": U.UF.C.closure(function (obj) {
  1753. //防止拖动图标即打开了桌面应用
  1754. U.MD.D.click(this, obj);
  1755. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1756. "onclick": U.UF.C.closure(function (obj) {
  1757. //防止拖动图标即打开了桌面应用
  1758. U.MD.D.click(this, obj);
  1759. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1760. }, _frag); //
  1761. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1762. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1763. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1764. }
  1765. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1766. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1767. _content = $$("div", {
  1768. className: "U_MD_D_KO",
  1769. "onmousedown": U.UF.C.closure(function (obj) {
  1770. //防止拖动图标即打开了桌面应用
  1771. U.MD.D.click(this, obj);
  1772. }, [_hkTeacherDeskIconInfo[i]]),
  1773. "onclick": U.UF.C.closure(function (obj) {
  1774. //防止拖动图标即打开了桌面应用
  1775. U.MD.D.click(this, obj);
  1776. }, [_hkTeacherDeskIconInfo[i]])
  1777. }, _frag); //
  1778. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1779. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1780. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1781. }
  1782. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1783. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1784. _content = $$("div", {
  1785. className: "U_MD_D_KO",
  1786. "onmousedown": U.UF.C.closure(function (obj) {
  1787. //防止拖动图标即打开了桌面应用
  1788. U.MD.D.click(this, obj);
  1789. }, [_gdjgAdminDeskIconInfo[i]]),
  1790. "onclick": U.UF.C.closure(function (obj) {
  1791. //防止拖动图标即打开了桌面应用
  1792. U.MD.D.click(this, obj);
  1793. }, [_gdjgAdminDeskIconInfo[i]])
  1794. }, _frag); //
  1795. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1796. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1797. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1798. }
  1799. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1800. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1801. _content = $$("div", {
  1802. className: "U_MD_D_KO",
  1803. "onmousedown": U.UF.C.closure(function (obj) {
  1804. //防止拖动图标即打开了桌面应用
  1805. U.MD.D.click(this, obj);
  1806. }, [_gdjgTeacherDeskIconInfo[i]]),
  1807. "onclick": U.UF.C.closure(function (obj) {
  1808. //防止拖动图标即打开了桌面应用
  1809. U.MD.D.click(this, obj);
  1810. }, [_gdjgTeacherDeskIconInfo[i]])
  1811. }, _frag); //
  1812. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1813. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1814. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1815. }
  1816. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1817. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1818. _content = $$("div", {
  1819. className: "U_MD_D_KO",
  1820. "onmousedown": U.UF.C.closure(function (obj) {
  1821. //防止拖动图标即打开了桌面应用
  1822. U.MD.D.click(this, obj);
  1823. }, [_szherTeacherDeskIconInfo[i]]),
  1824. "onclick": U.UF.C.closure(function (obj) {
  1825. //防止拖动图标即打开了桌面应用
  1826. U.MD.D.click(this, obj);
  1827. }, [_szherTeacherDeskIconInfo[i]])
  1828. }, _frag); //
  1829. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1830. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1831. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1832. }
  1833. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1834. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1835. _content = $$("div", {
  1836. className: "U_MD_D_KO",
  1837. "onmousedown": U.UF.C.closure(function (obj) {
  1838. //防止拖动图标即打开了桌面应用
  1839. U.MD.D.click(this, obj);
  1840. }, [_heyuannAdminDeskIconInfo[i]]),
  1841. "onclick": U.UF.C.closure(function (obj) {
  1842. //防止拖动图标即打开了桌面应用
  1843. U.MD.D.click(this, obj);
  1844. }, [_heyuannAdminDeskIconInfo[i]])
  1845. }, _frag); //
  1846. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1847. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1848. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1849. }
  1850. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1851. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1852. _content = $$("div", {
  1853. className: "U_MD_D_KO",
  1854. "onmousedown": U.UF.C.closure(function (obj) {
  1855. //防止拖动图标即打开了桌面应用
  1856. U.MD.D.click(this, obj);
  1857. }, [_heyuanTeacherDeskIconInfo[i]]),
  1858. "onclick": U.UF.C.closure(function (obj) {
  1859. //防止拖动图标即打开了桌面应用
  1860. U.MD.D.click(this, obj);
  1861. }, [_heyuanTeacherDeskIconInfo[i]])
  1862. }, _frag); //
  1863. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1864. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1865. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1866. } //
  1867. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1868. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1869. _content = $$("div", {
  1870. className: "U_MD_D_KO",
  1871. "onmousedown": U.UF.C.closure(function (obj) {
  1872. //防止拖动图标即打开了桌面应用
  1873. U.MD.D.click(this, obj);
  1874. }, [_dseiAdminDeskIconInfo[i]]),
  1875. "onclick": U.UF.C.closure(function (obj) {
  1876. //防止拖动图标即打开了桌面应用
  1877. U.MD.D.click(this, obj);
  1878. }, [_dseiAdminDeskIconInfo[i]])
  1879. }, _frag); //
  1880. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1881. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1882. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1883. }
  1884. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1885. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1886. _content = $$("div", {
  1887. className: "U_MD_D_KO",
  1888. "onmousedown": U.UF.C.closure(function (obj) {
  1889. //防止拖动图标即打开了桌面应用
  1890. U.MD.D.click(this, obj);
  1891. }, [_dseiTeacherDeskIconInfo[i]]),
  1892. "onclick": U.UF.C.closure(function (obj) {
  1893. //防止拖动图标即打开了桌面应用
  1894. U.MD.D.click(this, obj);
  1895. }, [_dseiTeacherDeskIconInfo[i]])
  1896. }, _frag); //
  1897. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1898. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1899. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1900. } //
  1901. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1902. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1903. _content = $$("div", {
  1904. className: "U_MD_D_KO",
  1905. "onmousedown": U.UF.C.closure(function (obj) {
  1906. //防止拖动图标即打开了桌面应用
  1907. U.MD.D.click(this, obj);
  1908. }, [_chjyjAdminDeskIconInfo[i]]),
  1909. "onclick": U.UF.C.closure(function (obj) {
  1910. //防止拖动图标即打开了桌面应用
  1911. U.MD.D.click(this, obj);
  1912. }, [_chjyjAdminDeskIconInfo[i]])
  1913. }, _frag); //
  1914. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1915. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1916. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1917. }//
  1918. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1919. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1920. _content = $$("div", {
  1921. className: "U_MD_D_KO",
  1922. "onmousedown": U.UF.C.closure(function (obj) {
  1923. //防止拖动图标即打开了桌面应用
  1924. U.MD.D.click(this, obj);
  1925. }, [_chjyjTeacherDeskIconInfo[i]]),
  1926. "onclick": U.UF.C.closure(function (obj) {
  1927. //防止拖动图标即打开了桌面应用
  1928. U.MD.D.click(this, obj);
  1929. }, [_chjyjTeacherDeskIconInfo[i]])
  1930. }, _frag); //
  1931. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1932. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1933. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1934. }
  1935. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1936. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1937. _content = $$("div", {
  1938. className: "U_MD_D_KO",
  1939. "onmousedown": U.UF.C.closure(function (obj) {
  1940. //防止拖动图标即打开了桌面应用
  1941. U.MD.D.click(this, obj);
  1942. }, [_szjkyAdminDeskIconInfo[i]]),
  1943. "onclick": U.UF.C.closure(function (obj) {
  1944. //防止拖动图标即打开了桌面应用
  1945. U.MD.D.click(this, obj);
  1946. }, [_szjkyAdminDeskIconInfo[i]])
  1947. }, _frag); //
  1948. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1949. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1950. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1951. }//
  1952. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1953. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1954. _content = $$("div", {
  1955. className: "U_MD_D_KO",
  1956. "onmousedown": U.UF.C.closure(function (obj) {
  1957. //防止拖动图标即打开了桌面应用
  1958. U.MD.D.click(this, obj);
  1959. }, [_szjkyTeacherDeskIconInfo[i]]),
  1960. "onclick": U.UF.C.closure(function (obj) {
  1961. //防止拖动图标即打开了桌面应用
  1962. U.MD.D.click(this, obj);
  1963. }, [_szjkyTeacherDeskIconInfo[i]])
  1964. }, _frag); //
  1965. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1966. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1967. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1968. }
  1969. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1970. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1971. _content = $$("div", {
  1972. className: "U_MD_D_KO",
  1973. "onmousedown": U.UF.C.closure(function (obj) {
  1974. //防止拖动图标即打开了桌面应用
  1975. U.MD.D.click(this, obj);
  1976. }, [_futianAdminDeskIconInfo[i]]),
  1977. "onclick": U.UF.C.closure(function (obj) {
  1978. //防止拖动图标即打开了桌面应用
  1979. U.MD.D.click(this, obj);
  1980. }, [_futianAdminDeskIconInfo[i]])
  1981. }, _frag); //
  1982. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1983. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1984. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1985. }
  1986. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1987. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1988. _content = $$("div", {
  1989. className: "U_MD_D_KO",
  1990. "onmousedown": U.UF.C.closure(function (obj) {
  1991. //防止拖动图标即打开了桌面应用
  1992. U.MD.D.click(this, obj);
  1993. }, [_futianTeacherDeskIconInfo[i]]),
  1994. "onclick": U.UF.C.closure(function (obj) {
  1995. //防止拖动图标即打开了桌面应用
  1996. U.MD.D.click(this, obj);
  1997. }, [_futianTeacherDeskIconInfo[i]])
  1998. }, _frag); //
  1999. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2000. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2001. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2002. }
  2003. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2004. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2005. _content = $$("div", {
  2006. className: "U_MD_D_KO",
  2007. "onmousedown": U.UF.C.closure(function (obj) {
  2008. //防止拖动图标即打开了桌面应用
  2009. U.MD.D.click(this, obj);
  2010. }, [_MingdeTeacherDeskIcon[i]]),
  2011. "onclick": U.UF.C.closure(function (obj) {
  2012. //防止拖动图标即打开了桌面应用
  2013. U.MD.D.click(this, obj);
  2014. }, [_MingdeTeacherDeskIcon[i]])
  2015. }, _frag); //
  2016. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2017. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2018. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2019. }
  2020. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2021. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2022. _content = $$("div", {
  2023. className: "U_MD_D_KO",
  2024. "onmousedown": U.UF.C.closure(function (obj) {
  2025. //防止拖动图标即打开了桌面应用
  2026. U.MD.D.click(this, obj);
  2027. }, [_lhsAdminDesktopIconInfo[i]]),
  2028. "onclick": U.UF.C.closure(function (obj) {
  2029. //防止拖动图标即打开了桌面应用
  2030. U.MD.D.click(this, obj);
  2031. }, [_lhsAdminDesktopIconInfo[i]])
  2032. }, _frag); //
  2033. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2034. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2035. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2036. }
  2037. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2038. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2039. _content = $$("div", {
  2040. className: "U_MD_D_KO",
  2041. "onmousedown": U.UF.C.closure(function (obj) {
  2042. //防止拖动图标即打开了桌面应用
  2043. U.MD.D.click(this, obj);
  2044. }, [_lhsteacherDesktopIconInfo[i]]),
  2045. "onclick": U.UF.C.closure(function (obj) {
  2046. //防止拖动图标即打开了桌面应用
  2047. U.MD.D.click(this, obj);
  2048. }, [_lhsteacherDesktopIconInfo[i]])
  2049. }, _frag); //
  2050. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2051. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2052. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2053. }
  2054. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2055. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2056. _content = $$("div", {
  2057. className: "U_MD_D_KO",
  2058. "onmousedown": U.UF.C.closure(function (obj) {
  2059. //防止拖动图标即打开了桌面应用
  2060. U.MD.D.click(this, obj);
  2061. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2062. "onclick": U.UF.C.closure(function (obj) {
  2063. //防止拖动图标即打开了桌面应用
  2064. U.MD.D.click(this, obj);
  2065. }, [_zhoujiateacherDesktopIconInfo[i]])
  2066. }, _frag); //
  2067. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2068. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2069. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2070. }
  2071. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2072. for (i = 0; i < _hanDeskIcon.length; i++) {
  2073. _content = $$("div", {
  2074. className: "U_MD_D_KO",
  2075. "onmousedown": U.UF.C.closure(function (obj) {
  2076. //防止拖动图标即打开了桌面应用
  2077. U.MD.D.click(this, obj);
  2078. }, [_hanDeskIcon[i]]),
  2079. "onclick": U.UF.C.closure(function (obj) {
  2080. //防止拖动图标即打开了桌面应用
  2081. U.MD.D.click(this, obj);
  2082. }, [_hanDeskIcon[i]])
  2083. }, _frag); //
  2084. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2085. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2086. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2087. }
  2088. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2089. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2090. _content = $$("div", {
  2091. className: "U_MD_D_KO",
  2092. "onmousedown": U.UF.C.closure(function (obj) {
  2093. //防止拖动图标即打开了桌面应用
  2094. U.MD.D.click(this, obj);
  2095. }, [_orgStemDeskIcon[i]]),
  2096. "onclick": U.UF.C.closure(function (obj) {
  2097. //防止拖动图标即打开了桌面应用
  2098. U.MD.D.click(this, obj);
  2099. }, [_orgStemDeskIcon[i]])
  2100. }, _frag); //
  2101. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2102. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2103. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2104. }
  2105. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2106. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2107. _content = $$("div", {
  2108. className: "U_MD_D_KO",
  2109. "onmousedown": U.UF.C.closure(function (obj) {
  2110. //防止拖动图标即打开了桌面应用
  2111. U.MD.D.click(this, obj);
  2112. }, [_szulsDeskIcon[i]]),
  2113. "onclick": U.UF.C.closure(function (obj) {
  2114. //防止拖动图标即打开了桌面应用
  2115. U.MD.D.click(this, obj);
  2116. }, [_szulsDeskIcon[i]])
  2117. }, _frag); //
  2118. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2119. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2120. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2121. }
  2122. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2123. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2124. _content = $$("div", {
  2125. className: "U_MD_D_KO",
  2126. "onmousedown": U.UF.C.closure(function (obj) {
  2127. //防止拖动图标即打开了桌面应用
  2128. U.MD.D.click(this, obj);
  2129. }, [_orgDesktopIconInfo[i]]),
  2130. "onclick": U.UF.C.closure(function (obj) {
  2131. //防止拖动图标即打开了桌面应用
  2132. U.MD.D.click(this, obj);
  2133. }, [_orgDesktopIconInfo[i]])
  2134. }, _frag); //
  2135. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2136. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2137. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2138. }
  2139. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2140. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2141. _content = $$("div", {
  2142. className: "U_MD_D_KO",
  2143. "onmousedown": U.UF.C.closure(function (obj) {
  2144. //防止拖动图标即打开了桌面应用
  2145. U.MD.D.click(this, obj);
  2146. }, [_schoolDesktopIconInfo[i]]),
  2147. "onclick": U.UF.C.closure(function (obj) {
  2148. //防止拖动图标即打开了桌面应用
  2149. U.MD.D.click(this, obj);
  2150. }, [_schoolDesktopIconInfo[i]])
  2151. }, _frag); //
  2152. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2153. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2154. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2155. }
  2156. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2157. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2158. _content = $$("div", {
  2159. className: "U_MD_D_KO",
  2160. "onmousedown": U.UF.C.closure(function (obj) {
  2161. //防止拖动图标即打开了桌面应用
  2162. U.MD.D.click(this, obj);
  2163. }, [_GMteacherDesktopIconInfo[i]]),
  2164. "onclick": U.UF.C.closure(function (obj) {
  2165. //防止拖动图标即打开了桌面应用
  2166. U.MD.D.click(this, obj);
  2167. }, [_GMteacherDesktopIconInfo[i]])
  2168. }, _frag); //
  2169. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2170. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2171. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2172. }
  2173. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2174. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2175. _content = $$("div", {
  2176. className: "U_MD_D_KO",
  2177. "onmousedown": U.UF.C.closure(function (obj) {
  2178. //防止拖动图标即打开了桌面应用
  2179. U.MD.D.click(this, obj);
  2180. }, [_SONGteacherDesktopIconInfo[i]]),
  2181. "onclick": U.UF.C.closure(function (obj) {
  2182. //防止拖动图标即打开了桌面应用
  2183. U.MD.D.click(this, obj);
  2184. }, [_SONGteacherDesktopIconInfo[i]])
  2185. }, _frag); //
  2186. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2187. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2188. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2189. }
  2190. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2191. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2192. _content = $$("div", {
  2193. className: "U_MD_D_KO",
  2194. "onmousedown": U.UF.C.closure(function (obj) {
  2195. //防止拖动图标即打开了桌面应用
  2196. U.MD.D.click(this, obj);
  2197. }, [_GMstudentDesktopIconInfo[i]]),
  2198. "onclick": U.UF.C.closure(function (obj) {
  2199. //防止拖动图标即打开了桌面应用
  2200. U.MD.D.click(this, obj);
  2201. }, [_GMstudentDesktopIconInfo[i]])
  2202. }, _frag); //
  2203. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2204. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2205. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2206. }
  2207. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2208. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2209. _content = $$("div", {
  2210. className: "U_MD_D_KO",
  2211. "onmousedown": U.UF.C.closure(function (obj) {
  2212. //防止拖动图标即打开了桌面应用
  2213. U.MD.D.click(this, obj);
  2214. }, [_tcTeacherDeskIconInfo[i]]),
  2215. "onclick": U.UF.C.closure(function (obj) {
  2216. //防止拖动图标即打开了桌面应用
  2217. U.MD.D.click(this, obj);
  2218. }, [_tcTeacherDeskIconInfo[i]])
  2219. }, _frag); //
  2220. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2221. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2222. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2223. }
  2224. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2225. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2226. _content = $$("div", {
  2227. className: "U_MD_D_KO",
  2228. "onmousedown": U.UF.C.closure(function (obj) {
  2229. //防止拖动图标即打开了桌面应用
  2230. U.MD.D.click(this, obj);
  2231. }, [_tcOrganizerDeskIconInfo[i]]),
  2232. "onclick": U.UF.C.closure(function (obj) {
  2233. //防止拖动图标即打开了桌面应用
  2234. U.MD.D.click(this, obj);
  2235. }, [_tcOrganizerDeskIconInfo[i]])
  2236. }, _frag); //
  2237. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2238. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2239. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2240. }
  2241. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2242. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2243. _content = $$("div", {
  2244. className: "U_MD_D_KO",
  2245. "onmousedown": U.UF.C.closure(function (obj) {
  2246. //防止拖动图标即打开了桌面应用
  2247. U.MD.D.click(this, obj);
  2248. }, [_szscTeacherDeskIconInfo[i]]),
  2249. "onclick": U.UF.C.closure(function (obj) {
  2250. //防止拖动图标即打开了桌面应用
  2251. U.MD.D.click(this, obj);
  2252. }, [_szscTeacherDeskIconInfo[i]])
  2253. }, _frag); //
  2254. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2255. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2256. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2257. }
  2258. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2259. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2260. _content = $$("div", {
  2261. className: "U_MD_D_KO",
  2262. "onmousedown": U.UF.C.closure(function (obj) {
  2263. //防止拖动图标即打开了桌面应用
  2264. U.MD.D.click(this, obj);
  2265. }, [_szscOrganizerDeskIconInfo[i]]),
  2266. "onclick": U.UF.C.closure(function (obj) {
  2267. //防止拖动图标即打开了桌面应用
  2268. U.MD.D.click(this, obj);
  2269. }, [_szscOrganizerDeskIconInfo[i]])
  2270. }, _frag); //
  2271. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2272. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2273. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2274. }
  2275. } else {
  2276. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2277. _content = $$("div", {
  2278. className: "U_MD_D_KO",
  2279. "onmousedown": U.UF.C.closure(function (obj) {
  2280. //防止拖动图标即打开了桌面应用
  2281. U.MD.D.click(this, obj);
  2282. }, [_teacherDesktopIconInfo[i]]),
  2283. "onclick": U.UF.C.closure(function (obj) {
  2284. //防止拖动图标即打开了桌面应用
  2285. U.MD.D.click(this, obj);
  2286. }, [_teacherDesktopIconInfo[i]])
  2287. }, _frag); //
  2288. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2289. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2290. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2291. }
  2292. }
  2293. } else {
  2294. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2295. _content = $$("div", {
  2296. className: "U_MD_D_KO",
  2297. style: { 'width': '124px', 'height': '145px' },
  2298. "onmousedown": U.UF.C.closure(function (obj) {
  2299. //防止拖动图标即打开了桌面应用
  2300. U.MD.D.click(this, obj);
  2301. }, [_easyDesktopIconInfo[i]]),
  2302. "onclick": U.UF.C.closure(function (obj) {
  2303. //防止拖动图标即打开了桌面应用
  2304. U.MD.D.click(this, obj);
  2305. }, [_easyDesktopIconInfo[i]])
  2306. }, _frag); //
  2307. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2308. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2309. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2310. }
  2311. }
  2312. if (type == 1) {
  2313. //加载好后给图标定位
  2314. U.MD.D.iconPostion($(_frag).Child());
  2315. } else {
  2316. //加载好后给图标定位
  2317. U.MD.D.iconPostion2($(_frag).Child());
  2318. }
  2319. //把图标加载到页面
  2320. el.appendChild(_frag);
  2321. }
  2322. /**
  2323. * 显示任务栏
  2324. *
  2325. * @param {element} 桌面元素
  2326. */
  2327. U.MD.D.I.displayTaskbar = function (el) {
  2328. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2329. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2330. //任务栏位置变化
  2331. U.selectEl(el).css({ "bottom": "0px" });
  2332. //桌面位置变话
  2333. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2334. }
  2335. }
  2336. //#region 桌面图标拖动逻辑
  2337. /**
  2338. * 桌面排列图标
  2339. *
  2340. * @param {element} 桌面元素
  2341. * @param {object} 上下相距的距离
  2342. * @param {object} 左右相距的距离
  2343. * @return {object} 命名空间
  2344. */
  2345. U.MD.D.iconPostion = function (childs, top, left) {
  2346. var i; //用于循环处理
  2347. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2348. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2349. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2350. for (i = 0; i < childs.length; i++) {
  2351. //如果竖排top超过了范围处理
  2352. if (top + 95 > US.height - 10) {
  2353. //left超过了页面范围处理,则向上重叠打印处理
  2354. if ((left + 180) > US.width) {
  2355. top -= 110;
  2356. left -= 90;
  2357. }
  2358. //没有超过范围,那么left+90添加到下一个竖排打印
  2359. else {
  2360. left += 90;
  2361. top = 15;
  2362. };
  2363. }
  2364. //给图标的位置赋值
  2365. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2366. if (i < childs.length - 1) {
  2367. //页面图标每次向下加95
  2368. top += 95;
  2369. }
  2370. }
  2371. //返回最后调用的图标的位置
  2372. return [top, left];
  2373. }
  2374. /**
  2375. * 桌面排列图标
  2376. *
  2377. * @param {element} 桌面元素
  2378. * @param {object} 上下相距的距离
  2379. * @param {object} 左右相距的距离
  2380. * @return {object} 命名空间
  2381. */
  2382. U.MD.D.iconPostion2 = function (childs, top, left) {
  2383. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2384. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2385. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2386. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2387. for (i = 0; i < childs.length; i++) {
  2388. //如果竖排top超过了范围处理
  2389. if (left + 150 > US.width - 10) {
  2390. //left超过了页面范围处理,则向上重叠打印处理
  2391. if ((top + 180) > US.Height) {
  2392. top -= 150;
  2393. left -= 150;
  2394. }
  2395. //没有超过范围,那么left+90添加到下一个竖排打印
  2396. else {
  2397. top += 150;
  2398. left = ol;
  2399. };
  2400. }
  2401. //给图标的位置赋值
  2402. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2403. if (i < childs.length - 1) {
  2404. //页面图标每次向下加95
  2405. left += 150;
  2406. }
  2407. }
  2408. //返回最后调用的图标的位置
  2409. return [top, left];
  2410. }
  2411. /**
  2412. * 桌面点击事件逻辑
  2413. *
  2414. * @param {element} 桌面元素
  2415. * @param {object} 上下相距的距离
  2416. * @param {object} 左右相距的距离
  2417. * @return {object} 命名空间
  2418. */
  2419. U.MD.D.click = function (el, obj) {
  2420. var _buttonnumber = event.button; //点击的按钮的事件值
  2421. var _userinfo = US.userInfo;
  2422. U.UF.EV.stopBubble(); //阻止向上冒泡
  2423. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2424. if (_buttonnumber < 2) {
  2425. //如果是click事件的处理
  2426. if (event.type == "click") {
  2427. //如果元素在mousemove事件中没有移动则出发click事件
  2428. if (!U.MD.D.I.IsDrag) {
  2429. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2430. U.alert("请先登录您的账号!");
  2431. setTimeout(() => {
  2432. U.MD.U.L.login();
  2433. }, 2000);
  2434. } else {
  2435. //打开应用处理
  2436. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2437. }
  2438. }
  2439. }
  2440. //如果是mouse事件的处理
  2441. else {
  2442. if (US.Config.type == '1') {
  2443. //拖动处理,添加拖动和拖动结束事件
  2444. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2445. }
  2446. }
  2447. U.MD.D.I.IsDrag = false;
  2448. }
  2449. }
  2450. /**
  2451. * 拖动的处理
  2452. *
  2453. */
  2454. U.MD.D.iconMove = function () {
  2455. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2456. U.MD.D.I.IsDrag = true;
  2457. }
  2458. /**
  2459. * 拖动结束后,这里是定位处理,以网状的形式定位
  2460. *
  2461. * @param {element} 拖动的元素
  2462. * @return {object} 命名空间
  2463. */
  2464. U.MD.D.iconUp = function (el) {
  2465. var _top = 15,
  2466. _left = 20,
  2467. _margin,
  2468. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2469. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2470. if (_positioninfo["OT"] > 15) {
  2471. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2472. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2473. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2474. }
  2475. if (_positioninfo["OL"] > 20) {
  2476. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2477. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2478. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2479. }
  2480. //while循环判断么一个重叠的元素
  2481. do {
  2482. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2483. _top = _positioninfo[0] + 95; //得到定位后的top
  2484. _left = _positioninfo[1]; //得到定位后的left
  2485. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2486. }
  2487. /**
  2488. * 判断拖动后图标是否重叠
  2489. *
  2490. * @param {element} 拖动的元素
  2491. * @param {element} 桌面所有的元素
  2492. * @param {array} 拖动元素的位置
  2493. ----------[0] 上 top
  2494. ----------[1] 左 left
  2495. * @return {object} 命名空间
  2496. */
  2497. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2498. //循环所有的图标
  2499. for (var i = 0; i < childs.length; i++) {
  2500. //判断有没有和该图标诶子重叠的元素
  2501. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2502. return childs[i]; //如果有返回
  2503. }
  2504. }
  2505. }
  2506. //#endregion
  2507. //#endregion
  2508. //#region 桌面应用
  2509. /**
  2510. * 打开应用
  2511. *
  2512. * @param {string} 类型
  2513. -----------------Disk 网盘系统
  2514. -----------------PDisk 学习系统网盘
  2515. -----------------Poto 图片
  2516. -----------------Video 视频
  2517. -----------------Music 音乐
  2518. -----------------Word word
  2519. -----------------Excel excel
  2520. -----------------Txt 记事本
  2521. -----------------PB 学习系统
  2522. -----------------Blog 朋友圈系统
  2523. -----------------FTP ftp系统
  2524. -----------------Group 好友群
  2525. -----------------SY 首页系统
  2526. -----------------Set 个人设置
  2527. -----------------XSet 系统设置
  2528. -----------------App 我们所有的app
  2529. -----------------BC c.1473.cn 平台
  2530. -----------------CWeb d.1473.cn 变成平台
  2531. -----------------其他的外联系统 我们统一用iframe打开
  2532. * @param {array} 类型
  2533. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2534. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2535. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2536. 如果第一个参数为其他,则无第二个参数
  2537. * @returns {array}
  2538. */
  2539. window.addEventListener('message', function (e) { // 监听 message 事件
  2540. // alert(e.data.type);
  2541. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2542. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2543. //3是展示全部阶段 2学生 1老师 4专家
  2544. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2545. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2546. //3是展示全部阶段 2学生 1老师 4专家
  2547. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2548. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2549. //3是展示全部阶段 2学生 1老师 4专家
  2550. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2551. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2552. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2553. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2554. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2555. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2556. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2557. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2558. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2559. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2560. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2561. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2562. //3是展示全部阶段 2学生 1老师 4专家
  2563. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2564. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2565. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2566. U.MD.D.I.selectUser();
  2567. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2568. var _formel = document.getElementById("study");
  2569. U.UF.F.windowZooming(_formel);
  2570. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2571. var _formel = document.getElementById("studyDetail");
  2572. U.UF.F.windowZooming(_formel);
  2573. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2574. var _formel = document.getElementById("studyDetail");
  2575. U.UF.F.windowZooming(_formel);
  2576. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2577. var _formel = document.getElementById("studentStudy");
  2578. U.UF.F.windowZooming(_formel);
  2579. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2580. // var _formel = document.getElementById("study");
  2581. //如果最大化了,那么就把他缩小
  2582. // if (_formel.ismaximize) {
  2583. // return;
  2584. // }
  2585. // U.UF.F.windowZooming(_formel);
  2586. // U.UF.F.topWindow(_formel);
  2587. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2588. // var _formel = document.getElementById("studyDetail");
  2589. //如果最大化了,那么就把他缩小
  2590. // if (_formel.ismaximize) {
  2591. // return;
  2592. // }
  2593. // U.UF.F.windowZooming(_formel);
  2594. // U.UF.F.topWindow(_formel);
  2595. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2596. // var _formel = document.getElementById("studentStudy");
  2597. // if (_formel.ismaximize) {
  2598. // return;
  2599. // }
  2600. // U.UF.F.windowZooming(_formel);
  2601. // U.UF.F.topWindow(_formel);
  2602. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2603. var _formel = document.getElementById("study");
  2604. // if (_formel.ismaximize) {
  2605. // return;
  2606. // }
  2607. // U.UF.F.windowZooming(_formel);
  2608. U.UF.F.topWindow(_formel);
  2609. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2610. var _formel = document.getElementById("studentIndex");
  2611. U.UF.F.windowZooming(_formel);
  2612. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2613. var _formel = document.getElementById("studyDetailS");
  2614. U.UF.F.windowZooming(_formel);
  2615. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2616. var _formel = document.getElementById("studioIndex");
  2617. U.UF.F.windowZooming(_formel);
  2618. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2619. var _formel = document.getElementById("studyDetailStudio");
  2620. U.UF.F.windowZooming(_formel);
  2621. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2622. var _formel = document.getElementById("studyDetailStudio");
  2623. U.UF.F.windowZooming(_formel);
  2624. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2625. var _formel = document.getElementById("studyDetailNT");
  2626. U.UF.F.windowZooming(_formel);
  2627. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2628. var _formel = document.getElementById("studyDetailS");
  2629. U.UF.F.windowZooming(_formel);
  2630. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2631. var _formel = document.getElementById("studyDetailS");
  2632. U.UF.F.topWindow(_formel);
  2633. } else if (e.data.tools && e.data.tools == "1") {
  2634. // U.MD.D.I.openApplication("whiteboard")
  2635. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2636. } else if (e.data.tools && e.data.tools == "2") {
  2637. U.MD.D.I.openApplication("note")
  2638. } else if (e.data.tools && e.data.tools == "3") {
  2639. // U.MD.D.I.openApplication("mind")
  2640. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2641. } else if (e.data.tools && e.data.tools == "4") {
  2642. U.MD.D.I.openApplication("investigation")
  2643. } else if (e.data.tools && e.data.tools == "6") {
  2644. // U.MD.D.I.openApplication("doc")
  2645. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2646. } else if (e.data.tools && e.data.tools == "7") {
  2647. // U.MD.D.I.openApplication("mindNetwork")
  2648. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2649. } else if (e.data.tools && e.data.tools == "8") {
  2650. U.MD.D.I.openApplication("library")
  2651. } else if (e.data.tools && e.data.tools == "17") {
  2652. U.MD.D.I.openApplication("stuLibrary")
  2653. } else if (e.data.tools && e.data.tools == "18") {
  2654. U.MD.D.I.openApplication("train")
  2655. } else if (e.data.tools && e.data.tools == "21") {
  2656. U.MD.D.I.openApplication("program")
  2657. } else if (e.data.tools && e.data.tools == "22") {
  2658. U.MD.D.I.openApplication("AIprogram2")
  2659. } else if (e.data.tools && e.data.tools == "23") {
  2660. U.MD.D.I.openApplication("Pythonprogram")
  2661. } else if (e.data.tools && e.data.tools == "24") {
  2662. U.MD.D.I.openApplication("AIprogram")
  2663. } else if (e.data.tools && e.data.tools == "25") {
  2664. U.MD.D.I.openApplication("sys")
  2665. } else if (e.data.tools && e.data.tools == "26") {
  2666. // U.MD.D.I.openApplication("courseDesign")
  2667. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2668. } else if (e.data.tools && e.data.tools == "31") {
  2669. U.MD.D.I.openApplication("netWorkPanel")
  2670. } else if (e.data.tools && e.data.tools == "32") {
  2671. U.MD.D.I.openApplication("codeEdit")
  2672. } else if (e.data.tools && e.data.tools == "57") {
  2673. U.MD.D.I.openApplication("CocoPi")
  2674. } else if (e.data.tools && e.data.tools == "63") {
  2675. U.MD.D.I.openApplication("Wood")
  2676. } else if (e.data.tools && e.data.tools == "58") {
  2677. U.MD.D.I.openApplication("car")
  2678. } else if (e.data.tools && e.data.tools == "59") {
  2679. U.MD.D.I.openApplication("lineSearch")
  2680. } else if (e.data.tools && e.data.tools == "60") {
  2681. U.MD.D.I.openApplication("deepLearning")
  2682. } else if (e.data.tools && e.data.tools == "61") {
  2683. U.MD.D.I.openApplication("allHistory")
  2684. } else if (e.data.tools && e.data.tools == "28") {
  2685. U.MD.D.I.openApplication("translation")
  2686. } else if (e.data.tools && e.data.tools == "37") {
  2687. U.MD.D.I.openApplication("mohe")
  2688. } else if (e.data.tools && e.data.tools == "38") {
  2689. U.MD.D.I.openApplication("24game")
  2690. } else if (e.data.tools && e.data.tools == "39") {
  2691. U.MD.D.I.openApplication("GeoGebra")
  2692. } else if (e.data.tools && e.data.tools == "43") {
  2693. U.MD.D.I.openApplication("studentEvaluate")
  2694. } else if (e.data.tools && e.data.tools == "44") {
  2695. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2696. } else if (e.data.tools && e.data.tools == "46") {
  2697. U.MD.D.I.openApplication("project")
  2698. } else if (e.data.tools && e.data.tools == "1s") {
  2699. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2700. } else if (e.data.tools && e.data.tools == "3s") {
  2701. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2702. } else if (e.data.tools && e.data.tools == "6s") {
  2703. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2704. } else if (e.data.tools && e.data.tools == "1studio") {
  2705. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2706. } else if (e.data.tools && e.data.tools == "3studio") {
  2707. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2708. } else if (e.data.tools && e.data.tools == "6studio") {
  2709. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2710. } else if (e.data.tools && e.data.tools == "3y") {
  2711. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2712. } else if (e.data.tools && e.data.tools == "1y") {
  2713. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2714. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2715. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2716. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2717. U.MD.D.I.openApplication("AIAnalyse")
  2718. } else if (e.data.tools && e.data.tools == "1teacher") {
  2719. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2720. } else if (e.data.tools && e.data.tools == "3teacher") {
  2721. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2722. } else if (e.data.tools && e.data.tools == "7teacher") {
  2723. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2724. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2725. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2726. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2727. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2728. } else if (e.data.tools && e.data.tools == "1E") {
  2729. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2730. } else if (e.data.tools && e.data.tools == "3E") {
  2731. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2732. } else if (e.data.tools && e.data.tools == "57y") {
  2733. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2734. } else if (e.data.tools && e.data.tools == "57u") {
  2735. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2736. } else if (e.data.tools && e.data.tools == "57teacher") {
  2737. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2738. } else if (e.data.tools && e.data.tools == "64") {
  2739. U.MD.D.I.openApplication("AIChat")
  2740. } else if (e.data.tools && e.data.tools == "66") {
  2741. U.MD.D.I.openApplication("formulaEdi")
  2742. } else if (e.data.tools && e.data.tools == "67") {
  2743. U.MD.D.I.openApplication("molStr")
  2744. } else if (e.data.tools && e.data.tools == "68") {
  2745. U.MD.D.I.openApplication("timeAxis")
  2746. } else if (e.data.tools && e.data.tools == "openCourse") {
  2747. let _data = {
  2748. typea: e.data.typea || '',
  2749. typeb: e.data.typeb || '',
  2750. typed: e.data.typed || '',
  2751. }
  2752. U.MD.D.I.openInApplication("index", _data)
  2753. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2754. let _data = {
  2755. classid: e.data.classid || '',
  2756. }
  2757. U.MD.D.I.openInApplication("dataClass", _data)
  2758. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2759. let _data = {
  2760. cid: e.data.cid || '',
  2761. gid: e.data.gid || '',
  2762. }
  2763. U.MD.D.I.openInApplication("opencCscl", _data)
  2764. }
  2765. });
  2766. U.MD.D.I.selectUser = function () {
  2767. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2768. if (res.value[0].length > 0) {
  2769. US.userInfo = res.value[0][0];
  2770. $(".userName")[0].innerHTML = US.userInfo.username;
  2771. }
  2772. }, [], { "type": "GET", "withCredentials": true });
  2773. }
  2774. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2775. var _userinfo = US.userInfo, //登录用户信息
  2776. _userid = US.userInfo.userid, //登录用户id
  2777. _oid = _userinfo.organizeid,
  2778. _type = US.userInfo.type,
  2779. _org = US.userInfo.org,
  2780. _role = US.userInfo.role,
  2781. _classId = US.userInfo.classid;
  2782. if (_type == 4) {
  2783. tType = 4
  2784. }
  2785. switch (str) {
  2786. case "studyDetailNT": //无终端模式
  2787. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2788. setTimeout(() => {
  2789. U.MD.U.L.login();
  2790. }, 2000);
  2791. } else {
  2792. _formdiv = new U.UF.UI.form(
  2793. "课程详情",
  2794. $$("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 }), {
  2795. "id": "studyDetailNT",
  2796. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2797. "onresize": function () { }
  2798. }, {
  2799. closecallback: function () { }
  2800. }, { "style": { "height": "36px" } }).form; //创建窗体
  2801. _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); } }
  2802. break;
  2803. }
  2804. case "studyDetail":
  2805. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2806. setTimeout(() => {
  2807. U.MD.U.L.login();
  2808. }, 2000);
  2809. } else {
  2810. _formdiv = new U.UF.UI.form(
  2811. "课程详情",
  2812. $$("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 }), {
  2813. "id": "studyDetail",
  2814. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2815. "onresize": function () { }
  2816. }, {
  2817. closecallback: function () { }
  2818. }, { "style": { "height": "36px" } }).form; //创建窗体
  2819. _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); } }
  2820. break;
  2821. }
  2822. case "studyDetailS":
  2823. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2824. setTimeout(() => {
  2825. U.MD.U.L.login();
  2826. }, 2000);
  2827. } else {
  2828. _formdiv = new U.UF.UI.form(
  2829. "项目详情",
  2830. $$("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 }), {
  2831. "id": "studyDetailS",
  2832. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2833. "onresize": function () { }
  2834. }, {
  2835. closecallback: function () { }
  2836. }, { "style": { "height": "36px" } }).form; //创建窗体
  2837. _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); } }
  2838. break;
  2839. }
  2840. case "studyDetailStudio":
  2841. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2842. setTimeout(() => {
  2843. U.MD.U.L.login();
  2844. }, 2000);
  2845. } else {
  2846. _formdiv = new U.UF.UI.form(
  2847. "工作详情",
  2848. $$("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 }), {
  2849. "id": "studyDetailStudio",
  2850. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2851. "onresize": function () { }
  2852. }, {
  2853. closecallback: function () { }
  2854. }, { "style": { "height": "36px" } }).form; //创建窗体
  2855. _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); } }
  2856. break;
  2857. }
  2858. case "studyDetailS5":
  2859. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2860. setTimeout(() => {
  2861. U.MD.U.L.login();
  2862. }, 2000);
  2863. } else {
  2864. _formdiv = new U.UF.UI.form(
  2865. "项目详情",
  2866. $$("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 }), {
  2867. "id": "studyDetailS",
  2868. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2869. "onresize": function () { }
  2870. }, {
  2871. closecallback: function () { }
  2872. }, { "style": { "height": "36px" } }).form; //创建窗体
  2873. _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); } }
  2874. break;
  2875. }
  2876. case "studyDetailGM":
  2877. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2878. setTimeout(() => {
  2879. U.MD.U.L.login();
  2880. }, 2000);
  2881. } else {
  2882. _formdiv = new U.UF.UI.form(
  2883. "课程详情",
  2884. $$("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 }), {
  2885. "id": "studyDetail",
  2886. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2887. "onresize": function () { }
  2888. }, {
  2889. closecallback: function () { }
  2890. }, { "style": { "height": "36px" } }).form; //创建窗体
  2891. _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); } }
  2892. break;
  2893. }
  2894. case "hanUrl":
  2895. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2896. setTimeout(() => {
  2897. U.MD.U.L.login();
  2898. }, 2000);
  2899. } else {
  2900. _formdiv = new U.UF.UI.form(
  2901. "汉字宫",
  2902. $$("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" }), {
  2903. "id": "hanUrl",
  2904. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2905. "onresize": function () { }
  2906. }, {
  2907. closecallback: function () { }
  2908. }, { "style": { "height": "36px" } }).form; //创建窗体
  2909. _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); } }
  2910. break;
  2911. }
  2912. case "index":
  2913. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2914. setTimeout(() => {
  2915. U.MD.U.L.login();
  2916. }, 2000);
  2917. } else {
  2918. _formdiv = new U.UF.UI.form(
  2919. "课程中心",
  2920. $$("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 }), {
  2921. "id": "study",
  2922. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2923. "onresize": function () { }
  2924. }, {
  2925. closecallback: function () { }
  2926. }, { "style": { "height": "36px" } }).form; //创建窗体
  2927. _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); } }
  2928. break;
  2929. }
  2930. case "dataClass":
  2931. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2932. setTimeout(() => {
  2933. U.MD.U.L.login();
  2934. }, 2000);
  2935. } else {
  2936. _formdiv = new U.UF.UI.form(
  2937. "数据报告",
  2938. $$("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 }), {
  2939. "id": "dataClass",
  2940. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2941. "onresize": function () { }
  2942. }, {
  2943. closecallback: function () { }
  2944. }, { "style": { "height": "36px" } }).form; //创建窗体
  2945. _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); } }
  2946. break;
  2947. }
  2948. case "opencCscl":
  2949. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2950. setTimeout(() => {
  2951. U.MD.U.L.login();
  2952. }, 2000);
  2953. } else {
  2954. _formdiv = new U.UF.UI.form(
  2955. "协同建构",
  2956. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  2957. "id": "futureClass",
  2958. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2959. "onresize": function () { }
  2960. }, {
  2961. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  2962. }, { "style": { "height": "36px" } }).form; //创建窗体
  2963. _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); } }
  2964. break;
  2965. }
  2966. }
  2967. }
  2968. U.MD.D.I.openApplication = function (str, obj, info) {
  2969. obj = obj || {};
  2970. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2971. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2972. _userinfo = US.userInfo, //登录用户信息
  2973. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2974. _oid = obj.organizeid || _userinfo.organizeid,
  2975. _type = US.userInfo.type,
  2976. _org = US.userInfo.org,
  2977. _role = US.userInfo.role,
  2978. _classId = US.userInfo.classid,
  2979. _TscreenType = 1
  2980. _screenType = 2,
  2981. _SscreenType = 3;
  2982. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2983. return;
  2984. }
  2985. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2986. switch (str) {
  2987. case "studnetProject": //好友打开
  2988. _formdiv = new U.UF.UI.form(
  2989. "我的项目",
  2990. $$("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 }), {
  2991. "id": "studnetProject",
  2992. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2993. "onresize": function () { }
  2994. }, {
  2995. closecallback: function () { }
  2996. }, { "style": { "height": "36px" } }).form; //创建窗体
  2997. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2998. break;
  2999. case "studentEvaluate": //好友打开
  3000. _formdiv = new U.UF.UI.form(
  3001. "我的评价",
  3002. $$("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 }), {
  3003. "id": "studentEvaluate",
  3004. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3005. "onresize": function () { }
  3006. }, {
  3007. closecallback: function () { }
  3008. }, { "style": { "height": "36px" } }).form; //创建窗体
  3009. _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); } }
  3010. break;
  3011. case "my":
  3012. _formdiv = new U.UF.UI.form(
  3013. "我的资料",
  3014. $$("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 }), {
  3015. "id": "my",
  3016. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3017. "onresize": function () { }
  3018. }, {
  3019. closecallback: function () { }
  3020. }, { "style": { "height": "36px" } }).form; //创建窗体
  3021. _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); } }
  3022. break;
  3023. case "program":
  3024. _formdiv = new U.UF.UI.form(
  3025. "编程平台",
  3026. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3027. "id": "program",
  3028. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3029. "onresize": function () { }
  3030. }, {
  3031. closecallback: function () { }
  3032. }, { "style": { "height": "36px" } }).form; //创建窗体
  3033. _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); } }
  3034. break;
  3035. case "library":
  3036. _formdiv = new U.UF.UI.form(
  3037. "素材库",
  3038. $$("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 }), {
  3039. "id": "library",
  3040. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3041. "onresize": function () { }
  3042. }, {
  3043. closecallback: function () { }
  3044. }, { "style": { "height": "36px" } }).form; //创建窗体
  3045. _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); } }
  3046. break;
  3047. case "whiteboard":
  3048. _formdiv = new U.UF.UI.form(
  3049. "电子白板",
  3050. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3051. "id": "whiteboard",
  3052. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3053. "onresize": function () { }
  3054. }, {
  3055. closecallback: function () { }
  3056. }, { "style": { "height": "36px" } }).form; //创建窗体
  3057. _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); } }
  3058. break;
  3059. case "investigation":
  3060. _formdiv = new U.UF.UI.form(
  3061. "问卷调查",
  3062. $$("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 }), {
  3063. "id": "investigation",
  3064. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3065. "onresize": function () { }
  3066. }, {
  3067. closecallback: function () { }
  3068. }, { "style": { "height": "36px" } }).form; //创建窗体
  3069. _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); } }
  3070. break;
  3071. case "note":
  3072. _formdiv = new U.UF.UI.form(
  3073. "便签分类",
  3074. $$("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 }), {
  3075. "id": "note",
  3076. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3077. "onresize": function () { }
  3078. }, {
  3079. closecallback: function () { }
  3080. }, { "style": { "height": "36px" } }).form; //创建窗体
  3081. _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); } }
  3082. break;
  3083. // case "score":
  3084. // _formdiv = new U.UF.UI.form(
  3085. // "量规评分",
  3086. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3087. // "id": "score",
  3088. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3089. // "onresize": function() {}
  3090. // }, {
  3091. // closecallback: function() {}
  3092. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3093. // _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); } }
  3094. // break;
  3095. case "mind":
  3096. _formdiv = new U.UF.UI.form(
  3097. "思维导图",
  3098. $$("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"
  3099. "id": "mind",
  3100. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3101. "onresize": function () { }
  3102. }, {
  3103. closecallback: function () { }
  3104. }, { "style": { "height": "36px" } }).form; //创建窗体
  3105. _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); } }
  3106. break;
  3107. case "doc":
  3108. // U.MD.D.I.isRoom();
  3109. _formdiv = new U.UF.UI.form(
  3110. "协同文档",
  3111. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3112. "id": "doc",
  3113. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3114. "onresize": function () { }
  3115. }, {
  3116. closecallback: function () { }
  3117. }, { "style": { "height": "36px" } }).form; //创建窗体
  3118. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3119. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3120. // })
  3121. _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); } }
  3122. break;
  3123. case "studentStudy":
  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/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
  3127. "id": "studentStudy",
  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. case "train": //好友打开
  3136. _formdiv = new U.UF.UI.form(
  3137. "训练平台",
  3138. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3139. "id": "train",
  3140. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3141. "onresize": function () { }
  3142. }, {
  3143. closecallback: function () { }
  3144. }, { "style": { "height": "36px" } }).form; //创建窗体
  3145. _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); } }
  3146. break;
  3147. case "mindNetwork": //好友打开
  3148. _formdiv = new U.UF.UI.form(
  3149. "思维网格",
  3150. $$("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 }), {
  3151. "id": "mindNetwork",
  3152. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3153. "onresize": function () { }
  3154. }, {
  3155. closecallback: function () { }
  3156. }, { "style": { "height": "36px" } }).form; //创建窗体
  3157. _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); } }
  3158. break;
  3159. case "studentClassRoom": //好友打开
  3160. _formdiv = new U.UF.UI.form(
  3161. "实时课堂",
  3162. $$("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 }), {
  3163. "id": "studentClassRoom",
  3164. "style": { "width": "90%", "height": "90%", "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/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3170. setTimeout(() => {
  3171. U.UF.F.windowZooming(_formdiv)
  3172. }, 0);
  3173. break;
  3174. }
  3175. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3176. switch (str) {
  3177. case "studnetProject": //好友打开
  3178. _formdiv = new U.UF.UI.form(
  3179. "我的项目",
  3180. $$("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 }), {
  3181. "id": "studnetProject",
  3182. "style": { "width": "70%", "height": "90%", "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/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3188. break;
  3189. case "studentEvaluate": //好友打开
  3190. _formdiv = new U.UF.UI.form(
  3191. "我的评价",
  3192. $$("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 }), {
  3193. "id": "studentEvaluate",
  3194. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3195. "onresize": function () { }
  3196. }, {
  3197. closecallback: function () { }
  3198. }, { "style": { "height": "36px" } }).form; //创建窗体
  3199. _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); } }
  3200. break;
  3201. case "my":
  3202. _formdiv = new U.UF.UI.form(
  3203. "我的资料",
  3204. $$("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 }), {
  3205. "id": "my",
  3206. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3207. "onresize": function () { }
  3208. }, {
  3209. closecallback: function () { }
  3210. }, { "style": { "height": "36px" } }).form; //创建窗体
  3211. _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); } }
  3212. break;
  3213. case "program":
  3214. _formdiv = new U.UF.UI.form(
  3215. "编程平台",
  3216. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3217. "id": "program",
  3218. "style": { "width": "70%", "height": "90%", "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/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3224. break;
  3225. case "library":
  3226. _formdiv = new U.UF.UI.form(
  3227. "素材库",
  3228. $$("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 }), {
  3229. "id": "library",
  3230. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3231. "onresize": function () { }
  3232. }, {
  3233. closecallback: function () { }
  3234. }, { "style": { "height": "36px" } }).form; //创建窗体
  3235. _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); } }
  3236. break;
  3237. case "whiteboard":
  3238. _formdiv = new U.UF.UI.form(
  3239. "电子白板",
  3240. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3241. "id": "whiteboard",
  3242. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3243. "onresize": function () { }
  3244. }, {
  3245. closecallback: function () { }
  3246. }, { "style": { "height": "36px" } }).form; //创建窗体
  3247. _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); } }
  3248. break;
  3249. case "investigation":
  3250. _formdiv = new U.UF.UI.form(
  3251. "问卷调查",
  3252. $$("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 }), {
  3253. "id": "investigation",
  3254. "style": { "width": "90%", "height": "90%", "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/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3260. break;
  3261. case "note":
  3262. _formdiv = new U.UF.UI.form(
  3263. "便签分类",
  3264. $$("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 }), {
  3265. "id": "note",
  3266. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3267. "onresize": function () { }
  3268. }, {
  3269. closecallback: function () { }
  3270. }, { "style": { "height": "36px" } }).form; //创建窗体
  3271. _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); } }
  3272. break;
  3273. // case "score":
  3274. // _formdiv = new U.UF.UI.form(
  3275. // "量规评分",
  3276. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3277. // "id": "score",
  3278. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3279. // "onresize": function() {}
  3280. // }, {
  3281. // closecallback: function() {}
  3282. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3283. // _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); } }
  3284. // break;
  3285. case "mind":
  3286. _formdiv = new U.UF.UI.form(
  3287. "思维导图",
  3288. $$("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"
  3289. "id": "mind",
  3290. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3291. "onresize": function () { }
  3292. }, {
  3293. closecallback: function () { }
  3294. }, { "style": { "height": "36px" } }).form; //创建窗体
  3295. _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); } }
  3296. break;
  3297. case "doc":
  3298. // U.MD.D.I.isRoom();
  3299. _formdiv = new U.UF.UI.form(
  3300. "协同文档",
  3301. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3302. "id": "doc",
  3303. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3304. "onresize": function () { }
  3305. }, {
  3306. closecallback: function () { }
  3307. }, { "style": { "height": "36px" } }).form; //创建窗体
  3308. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3309. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3310. })
  3311. _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); } }
  3312. break;
  3313. case "train": //好友打开
  3314. _formdiv = new U.UF.UI.form(
  3315. "训练平台",
  3316. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3317. "id": "train",
  3318. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3319. "onresize": function () { }
  3320. }, {
  3321. closecallback: function () { }
  3322. }, { "style": { "height": "36px" } }).form; //创建窗体
  3323. _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); } }
  3324. break;
  3325. case "studentStudy":
  3326. _formdiv = new U.UF.UI.form(
  3327. "课程中心",
  3328. $$("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
  3329. "id": "studentStudy",
  3330. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3331. "onresize": function () { }
  3332. }, {
  3333. closecallback: function () { }
  3334. }, { "style": { "height": "36px" } }).form; //创建窗体
  3335. _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); } }
  3336. break;
  3337. case "mindNetwork": //好友打开
  3338. _formdiv = new U.UF.UI.form(
  3339. "思维网格",
  3340. $$("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 }), {
  3341. "id": "mindNetwork",
  3342. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3343. "onresize": function () { }
  3344. }, {
  3345. closecallback: function () { }
  3346. }, { "style": { "height": "36px" } }).form; //创建窗体
  3347. _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); } }
  3348. break;
  3349. case "studentClassRoom": //好友打开
  3350. _formdiv = new U.UF.UI.form(
  3351. "实时课堂",
  3352. $$("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 }), {
  3353. "id": "studentClassRoom",
  3354. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3355. "onresize": function () { }
  3356. }, {
  3357. closecallback: function () { }
  3358. }, { "style": { "height": "36px" } }).form; //创建窗体
  3359. _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); } }
  3360. setTimeout(() => {
  3361. U.UF.F.windowZooming(_formdiv)
  3362. }, 0);
  3363. break;
  3364. }
  3365. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3366. //选择应用处理
  3367. switch (str) {
  3368. case "project": //好友打开
  3369. _formdiv = new U.UF.UI.form(
  3370. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3371. $$("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 }), {
  3372. "id": "project",
  3373. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3374. "onresize": function () { }
  3375. }, {
  3376. closecallback: function () { }
  3377. }, { "style": { "height": "36px" } }).form; //创建窗体
  3378. _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); } }
  3379. break;
  3380. case "student":
  3381. _formdiv = new U.UF.UI.form(
  3382. "学生管理",
  3383. $$("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 }), {
  3384. "id": "student",
  3385. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3386. "onresize": function () { }
  3387. }, {
  3388. closecallback: function () { }
  3389. }, { "style": { "height": "36px" } }).form; //创建窗体
  3390. _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); } }
  3391. break;
  3392. case "evaluate":
  3393. _formdiv = new U.UF.UI.form(
  3394. "学生评价",
  3395. $$("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 }), {
  3396. "id": "evaluate",
  3397. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3398. "onresize": function () { }
  3399. }, {
  3400. closecallback: function () { }
  3401. }, { "style": { "height": "36px" } }).form; //创建窗体
  3402. _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); } }
  3403. break;
  3404. case "sys":
  3405. _formdiv = new U.UF.UI.form(
  3406. "目标管理",
  3407. $$("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 }), {
  3408. "id": "sys",
  3409. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3410. "onresize": function () { }
  3411. }, {
  3412. closecallback: function () { }
  3413. }, { "style": { "height": "36px" } }).form; //创建窗体
  3414. _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); } }
  3415. break;
  3416. case "courseDesign":
  3417. _formdiv = new U.UF.UI.form(
  3418. "项目设计",
  3419. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3420. "id": "courseDesign",
  3421. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3422. "onresize": function () { }
  3423. }, {
  3424. closecallback: function () { }
  3425. }, { "style": { "height": "36px" } }).form; //创建窗体
  3426. _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); } }
  3427. break;
  3428. case "program":
  3429. _formdiv = new U.UF.UI.form(
  3430. "编程平台",
  3431. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3432. "id": "program",
  3433. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3434. "onresize": function () { }
  3435. }, {
  3436. closecallback: function () { }
  3437. }, { "style": { "height": "36px" } }).form; //创建窗体
  3438. _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); } }
  3439. break;
  3440. case "class":
  3441. _formdiv = new U.UF.UI.form(
  3442. "班级管理",
  3443. $$("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 }), {
  3444. "id": "class",
  3445. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3446. "onresize": function () { }
  3447. }, {
  3448. closecallback: function () { }
  3449. }, { "style": { "height": "36px" } }).form; //创建窗体
  3450. _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); } }
  3451. break;
  3452. case "Grade":
  3453. _formdiv = new U.UF.UI.form(
  3454. "年级管理",
  3455. $$("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 }), {
  3456. "id": "Grade",
  3457. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3458. "onresize": function () { }
  3459. }, {
  3460. closecallback: function () { }
  3461. }, { "style": { "height": "36px" } }).form; //创建窗体
  3462. _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); } }
  3463. break;
  3464. case "teacherOffice":
  3465. _formdiv = new U.UF.UI.form(
  3466. "教研室",
  3467. $$("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 }), {
  3468. "id": "teacherOffice",
  3469. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3470. "onresize": function () { }
  3471. }, {
  3472. closecallback: function () { }
  3473. }, { "style": { "height": "36px" } }).form; //创建窗体
  3474. _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); } }
  3475. break;
  3476. case "my":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3480. "id": "my",
  3481. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3482. "onresize": function () { }
  3483. }, {
  3484. closecallback: function () { }
  3485. }, { "style": { "height": "36px" } }).form; //创建窗体
  3486. _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); } }
  3487. break;
  3488. case "notice":
  3489. _formdiv = new U.UF.UI.form(
  3490. "通知公告",
  3491. $$("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 }), {
  3492. "id": "notice",
  3493. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3494. "onresize": function () { }
  3495. }, {
  3496. closecallback: function () { }
  3497. }, { "style": { "height": "36px" } }).form; //创建窗体
  3498. _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); } }
  3499. break;
  3500. case "library":
  3501. _formdiv = new U.UF.UI.form(
  3502. "素材库",
  3503. $$("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 }), {
  3504. "id": "library",
  3505. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3506. "onresize": function () { }
  3507. }, {
  3508. closecallback: function () { }
  3509. }, { "style": { "height": "36px" } }).form; //创建窗体
  3510. _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); } }
  3511. break;
  3512. case "whiteboard":
  3513. _formdiv = new U.UF.UI.form(
  3514. "电子白板",
  3515. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3516. "id": "whiteboard",
  3517. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3518. "onresize": function () { }
  3519. }, {
  3520. closecallback: function () { }
  3521. }, { "style": { "height": "36px" } }).form; //创建窗体
  3522. _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); } }
  3523. break;
  3524. case "investigation":
  3525. _formdiv = new U.UF.UI.form(
  3526. "问卷调查",
  3527. $$("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 }), {
  3528. "id": "investigation",
  3529. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3530. "onresize": function () { }
  3531. }, {
  3532. closecallback: function () { }
  3533. }, { "style": { "height": "36px" } }).form; //创建窗体
  3534. _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); } }
  3535. break;
  3536. case "note":
  3537. _formdiv = new U.UF.UI.form(
  3538. "便签分类",
  3539. $$("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 }), {
  3540. "id": "note",
  3541. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3542. "onresize": function () { }
  3543. }, {
  3544. closecallback: function () { }
  3545. }, { "style": { "height": "36px" } }).form; //创建窗体
  3546. _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); } }
  3547. break;
  3548. // case "score":
  3549. // _formdiv = new U.UF.UI.form(
  3550. // "量规评分",
  3551. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3552. // "id": "score",
  3553. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3554. // "onresize": function() {}
  3555. // }, {
  3556. // closecallback: function() {}
  3557. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3558. // _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); } }
  3559. // break;
  3560. case "mind":
  3561. _formdiv = new U.UF.UI.form(
  3562. "思维导图",
  3563. $$("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"
  3564. "id": "mind",
  3565. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3566. "onresize": function () { }
  3567. }, {
  3568. closecallback: function () { }
  3569. }, { "style": { "height": "36px" } }).form; //创建窗体
  3570. _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); } }
  3571. break;
  3572. case "doc":
  3573. // U.MD.D.I.isRoom();
  3574. _formdiv = new U.UF.UI.form(
  3575. "协同文档",
  3576. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3577. "id": "doc",
  3578. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3579. "onresize": function () { }
  3580. }, {
  3581. closecallback: function () { }
  3582. }, { "style": { "height": "36px" } }).form; //创建窗体
  3583. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3584. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3585. })
  3586. _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); } }
  3587. break;
  3588. case "study":
  3589. _formdiv = new U.UF.UI.form(
  3590. "课程中心",
  3591. $$("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
  3592. "id": "study",
  3593. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3594. "onresize": function () { }
  3595. }, {
  3596. closecallback: function () { }
  3597. }, { "style": { "height": "36px" } }).form; //创建窗体
  3598. _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); } }
  3599. break;
  3600. case "mindNetwork": //好友打开
  3601. _formdiv = new U.UF.UI.form(
  3602. "思维网格",
  3603. $$("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 }), {
  3604. "id": "mindNetwork",
  3605. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3606. "onresize": function () { }
  3607. }, {
  3608. closecallback: function () { }
  3609. }, { "style": { "height": "36px" } }).form; //创建窗体
  3610. _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); } }
  3611. break;
  3612. case "train": //好友打开
  3613. _formdiv = new U.UF.UI.form(
  3614. "训练平台",
  3615. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3616. "id": "mindNetwork",
  3617. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3618. "onresize": function () { }
  3619. }, {
  3620. closecallback: function () { }
  3621. }, { "style": { "height": "36px" } }).form; //创建窗体
  3622. _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); } }
  3623. break;
  3624. case "teacherClassRoom": //好友打开
  3625. _formdiv = new U.UF.UI.form(
  3626. "实时课堂",
  3627. $$("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 }), {
  3628. "id": "teacherClassRoom",
  3629. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3630. "onresize": function () { }
  3631. }, {
  3632. closecallback: function () { }
  3633. }, { "style": { "height": "36px" } }).form; //创建窗体
  3634. _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); } }
  3635. setTimeout(() => {
  3636. U.UF.F.windowZooming(_formdiv)
  3637. }, 0);
  3638. break;
  3639. }
  3640. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3641. switch (str) {
  3642. case "project": //好友打开
  3643. _formdiv = new U.UF.UI.form(
  3644. "课程管理",
  3645. $$("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 }), {
  3646. "id": "project",
  3647. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3648. "onresize": function () { }
  3649. }, {
  3650. closecallback: function () { }
  3651. }, { "style": { "height": "36px" } }).form; //创建窗体
  3652. _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); } }
  3653. break;
  3654. case "evaluate":
  3655. _formdiv = new U.UF.UI.form(
  3656. "学生评价",
  3657. $$("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 }), {
  3658. "id": "evaluate",
  3659. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3660. "onresize": function () { }
  3661. }, {
  3662. closecallback: function () { }
  3663. }, { "style": { "height": "36px" } }).form; //创建窗体
  3664. _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); } }
  3665. break;
  3666. case "notice":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  3670. "id": "notice",
  3671. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3672. "onresize": function () { }
  3673. }, {
  3674. closecallback: function () { }
  3675. }, { "style": { "height": "36px" } }).form; //创建窗体
  3676. _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); } }
  3677. break;
  3678. case "stuLibrary":
  3679. _formdiv = new U.UF.UI.form(
  3680. "学习资料",
  3681. $$("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 }), {
  3682. "id": "stuLibrary",
  3683. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3684. "onresize": function () { }
  3685. }, {
  3686. closecallback: function () { }
  3687. }, { "style": { "height": "36px" } }).form; //创建窗体
  3688. _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); } }
  3689. break;
  3690. case "program":
  3691. _formdiv = new U.UF.UI.form(
  3692. "编程平台",
  3693. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3694. "id": "program",
  3695. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3696. "onresize": function () { }
  3697. }, {
  3698. closecallback: function () { }
  3699. }, { "style": { "height": "36px" } }).form; //创建窗体
  3700. _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); } }
  3701. break;
  3702. case "whiteboard":
  3703. _formdiv = new U.UF.UI.form(
  3704. "电子白板",
  3705. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3706. "id": "whiteboard",
  3707. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3708. "onresize": function () { }
  3709. }, {
  3710. closecallback: function () { }
  3711. }, { "style": { "height": "36px" } }).form; //创建窗体
  3712. _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); } }
  3713. break;
  3714. case "investigation":
  3715. _formdiv = new U.UF.UI.form(
  3716. "问卷调查",
  3717. $$("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 }), {
  3718. "id": "investigation",
  3719. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3720. "onresize": function () { }
  3721. }, {
  3722. closecallback: function () { }
  3723. }, { "style": { "height": "36px" } }).form; //创建窗体
  3724. _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); } }
  3725. break;
  3726. case "mind":
  3727. _formdiv = new U.UF.UI.form(
  3728. "思维导图",
  3729. $$("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"
  3730. "id": "mind",
  3731. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3732. "onresize": function () { }
  3733. }, {
  3734. closecallback: function () { }
  3735. }, { "style": { "height": "36px" } }).form; //创建窗体
  3736. _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); } }
  3737. break;
  3738. case "doc":
  3739. // U.MD.D.I.isRoom();
  3740. _formdiv = new U.UF.UI.form(
  3741. "协同文档",
  3742. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3743. "id": "doc",
  3744. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3745. "onresize": function () { }
  3746. }, {
  3747. closecallback: function () { }
  3748. }, { "style": { "height": "36px" } }).form; //创建窗体
  3749. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3750. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3751. })
  3752. _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); } }
  3753. break;
  3754. case "study":
  3755. _formdiv = new U.UF.UI.form(
  3756. "课程中心",
  3757. $$("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
  3758. "id": "study",
  3759. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3760. "onresize": function () { }
  3761. }, {
  3762. closecallback: function () { }
  3763. }, { "style": { "height": "36px" } }).form; //创建窗体
  3764. _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); } }
  3765. break;
  3766. case "mindNetwork": //好友打开
  3767. _formdiv = new U.UF.UI.form(
  3768. "思维网格",
  3769. $$("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 }), {
  3770. "id": "mindNetwork",
  3771. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3772. "onresize": function () { }
  3773. }, {
  3774. closecallback: function () { }
  3775. }, { "style": { "height": "36px" } }).form; //创建窗体
  3776. _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); } }
  3777. break;
  3778. case "train": //好友打开
  3779. _formdiv = new U.UF.UI.form(
  3780. "训练平台",
  3781. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3782. "id": "train",
  3783. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3784. "onresize": function () { }
  3785. }, {
  3786. closecallback: function () { }
  3787. }, { "style": { "height": "36px" } }).form; //创建窗体
  3788. _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); } }
  3789. break;
  3790. case "sys":
  3791. _formdiv = new U.UF.UI.form(
  3792. "目标管理",
  3793. $$("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 }), {
  3794. "id": "sys",
  3795. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3796. "onresize": function () { }
  3797. }, {
  3798. closecallback: function () { }
  3799. }, { "style": { "height": "36px" } }).form; //创建窗体
  3800. _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); } }
  3801. break;
  3802. case "courseDesign":
  3803. _formdiv = new U.UF.UI.form(
  3804. "项目设计",
  3805. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3806. "id": "courseDesign",
  3807. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3808. "onresize": function () { }
  3809. }, {
  3810. closecallback: function () { }
  3811. }, { "style": { "height": "36px" } }).form; //创建窗体
  3812. _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); } }
  3813. break;
  3814. }
  3815. } else if (!_type) {
  3816. switch (str) {
  3817. case "my":
  3818. _formdiv = new U.UF.UI.form(
  3819. "我的资料",
  3820. $$("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 }), {
  3821. "id": "my",
  3822. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3823. "onresize": function () { }
  3824. }, {
  3825. closecallback: function () { }
  3826. }, { "style": { "height": "36px" } }).form; //创建窗体
  3827. _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); } }
  3828. break;
  3829. }
  3830. }
  3831. switch (str) {
  3832. // AIprogram2 AI体验 aihub.cocorobo.cn
  3833. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3834. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3835. case "formulaEdi": //公式编辑
  3836. _formdiv = new U.UF.UI.form(
  3837. "公式编辑",
  3838. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3839. "id": "formulaEdi",
  3840. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3841. "onresize": function () { }
  3842. }, {
  3843. closecallback: function () { }
  3844. }, { "style": { "height": "36px" } }).form; //创建窗体
  3845. _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); } }
  3846. break;
  3847. case "molStr": //分子结构
  3848. _formdiv = new U.UF.UI.form(
  3849. "分子结构",
  3850. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3851. "id": "molStr",
  3852. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3853. "onresize": function () { }
  3854. }, {
  3855. closecallback: function () { }
  3856. }, { "style": { "height": "36px" } }).form; //创建窗体
  3857. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3858. break;
  3859. case "timeAxis": //时间轴
  3860. _formdiv = new U.UF.UI.form(
  3861. "时间轴",
  3862. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3863. "id": "timeAxis",
  3864. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3865. "onresize": function () { }
  3866. }, {
  3867. closecallback: function () { }
  3868. }, { "style": { "height": "36px" } }).form; //创建窗体
  3869. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3870. break;
  3871. case "AIprogram2": //AI体验
  3872. _formdiv = new U.UF.UI.form(
  3873. "AI体验",
  3874. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3875. "id": "AIprogram2",
  3876. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3877. "onresize": function () { }
  3878. }, {
  3879. closecallback: function () { }
  3880. }, { "style": { "height": "36px" } }).form; //创建窗体
  3881. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI体验", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3882. break;
  3883. case "Pythonprogram": //python编程
  3884. _formdiv = new U.UF.UI.form(
  3885. "Python编程",
  3886. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3887. "id": "Pythonprogram",
  3888. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3889. "onresize": function () { }
  3890. }, {
  3891. closecallback: function () { }
  3892. }, { "style": { "height": "36px" } }).form; //创建窗体
  3893. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Pythonprogram.png)" }, "name": "Python编程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3894. break;
  3895. case "AIprogram": //ai编程
  3896. _formdiv = new U.UF.UI.form(
  3897. "AI编程平台",
  3898. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3899. "id": "AIprogram",
  3900. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3901. "onresize": function () { }
  3902. }, {
  3903. closecallback: function () { }
  3904. }, { "style": { "height": "36px" } }).form; //创建窗体
  3905. _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); } }
  3906. break;
  3907. case "CocoPi": //CocoPi
  3908. _formdiv = new U.UF.UI.form(
  3909. "CocoPi",
  3910. $$("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" }), {
  3911. "id": "CocoPi",
  3912. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3913. "onresize": function () { }
  3914. }, {
  3915. closecallback: function () { }
  3916. }, { "style": { "height": "36px" } }).form; //创建窗体
  3917. _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); } }
  3918. break;
  3919. case "Wood": //Wood
  3920. _formdiv = new U.UF.UI.form(
  3921. "海龟编程",
  3922. $$("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/" }), {
  3923. "id": "Wood",
  3924. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3925. "onresize": function () { }
  3926. }, {
  3927. closecallback: function () { }
  3928. }, { "style": { "height": "36px" } }).form; //创建窗体
  3929. _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); } }
  3930. break;
  3931. case "car": //模拟驾驶
  3932. _formdiv = new U.UF.UI.form(
  3933. "模拟驾驶",
  3934. $$("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/" }), {
  3935. "id": "car",
  3936. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3937. "onresize": function () { }
  3938. }, {
  3939. closecallback: function () { }
  3940. }, { "style": { "height": "36px" } }).form; //创建窗体
  3941. _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); } }
  3942. break;
  3943. case "lineSearch": //路径搜索
  3944. _formdiv = new U.UF.UI.form(
  3945. "路径搜索",
  3946. $$("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/" }), {
  3947. "id": "lineSearch",
  3948. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3949. "onresize": function () { }
  3950. }, {
  3951. closecallback: function () { }
  3952. }, { "style": { "height": "36px" } }).form; //创建窗体
  3953. _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); } }
  3954. break;
  3955. case "deepLearning": //深度学习
  3956. _formdiv = new U.UF.UI.form(
  3957. "深度学习",
  3958. $$("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/#" }), {
  3959. "id": "deepLearning",
  3960. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3961. "onresize": function () { }
  3962. }, {
  3963. closecallback: function () { }
  3964. }, { "style": { "height": "36px" } }).form; //创建窗体
  3965. _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); } }
  3966. break;
  3967. case "allHistory": //深度学习
  3968. _formdiv = new U.UF.UI.form(
  3969. "全历史",
  3970. $$("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/" }), {
  3971. "id": "allHistory",
  3972. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3973. "onresize": function () { }
  3974. }, {
  3975. closecallback: function () { }
  3976. }, { "style": { "height": "36px" } }).form; //创建窗体
  3977. _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); } }
  3978. break;
  3979. case "chatPDF": //ai编程
  3980. _formdiv = new U.UF.UI.form(
  3981. "chatPDF",
  3982. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3983. "id": "chatPDF",
  3984. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3985. "onresize": function () { }
  3986. }, {
  3987. closecallback: function () { }
  3988. }, { "style": { "height": "36px" } }).form; //创建窗体
  3989. _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); } }
  3990. break;
  3991. case "resources": //国家教育
  3992. _formdiv = new U.UF.UI.form(
  3993. "国家教育",
  3994. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3995. "id": "resources",
  3996. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3997. "onresize": function () { }
  3998. }, {
  3999. closecallback: function () { }
  4000. }, { "style": { "height": "36px" } }).form; //创建窗体
  4001. _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); } }
  4002. break;
  4003. case "codeEdit": //源码编辑
  4004. _formdiv = new U.UF.UI.form(
  4005. "源码编辑",
  4006. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4007. "id": "codeEdit",
  4008. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4009. "onresize": function () { }
  4010. }, {
  4011. closecallback: function () { }
  4012. }, { "style": { "height": "36px" } }).form; //创建窗体
  4013. _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); } }
  4014. break; //
  4015. case "MindMap": //MindMap
  4016. _formdiv = new U.UF.UI.form(
  4017. "MindMap",
  4018. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4019. "id": "MindMap",
  4020. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4021. "onresize": function () { }
  4022. }, {
  4023. closecallback: function () { }
  4024. }, { "style": { "height": "36px" } }).form; //创建窗体
  4025. _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); } }
  4026. break;
  4027. case "netWorkPanel": //netWorkPanel
  4028. _formdiv = new U.UF.UI.form(
  4029. "netWorkPanel",
  4030. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4031. "id": "netWorkPanel",
  4032. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4033. "onresize": function () { }
  4034. }, {
  4035. closecallback: function () { }
  4036. }, { "style": { "height": "36px" } }).form; //创建窗体
  4037. _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); } }
  4038. break;
  4039. case "GeoGebra": //GeoGebra
  4040. _formdiv = new U.UF.UI.form(
  4041. "GeoGebra",
  4042. $$("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" }), {
  4043. "id": "GeoGebra",
  4044. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4045. "onresize": function () { }
  4046. }, {
  4047. closecallback: function () { }
  4048. }, { "style": { "height": "36px" } }).form; //创建窗体
  4049. _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); } }
  4050. break;
  4051. case "translation": //翻译
  4052. _formdiv = new U.UF.UI.form(
  4053. "翻译",
  4054. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4055. "id": "translation",
  4056. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4057. "onresize": function () { }
  4058. }, {
  4059. closecallback: function () { }
  4060. }, { "style": { "height": "36px" } }).form; //创建窗体
  4061. _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); } }
  4062. break;
  4063. case "mohe": //魔盒
  4064. _formdiv = new U.UF.UI.form(
  4065. "魔盒识字",
  4066. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4067. "id": "mohe",
  4068. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4069. "onresize": function () { }
  4070. }, {
  4071. closecallback: function () { }
  4072. }, { "style": { "height": "36px" } }).form; //创建窗体
  4073. _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); } }
  4074. break;
  4075. case "24game": //24点
  4076. _formdiv = new U.UF.UI.form(
  4077. "24点",
  4078. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4079. "id": "24game",
  4080. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4081. "onresize": function () { }
  4082. }, {
  4083. closecallback: function () { }
  4084. }, { "style": { "height": "36px" } }).form; //创建窗体
  4085. _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); } }
  4086. break;
  4087. case "case":
  4088. _formdiv = new U.UF.UI.form(
  4089. "课程进展",
  4090. $$("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 }), {
  4091. "id": "case",
  4092. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4093. "onresize": function () { }
  4094. }, {
  4095. closecallback: function () { }
  4096. }, { "style": { "height": "36px" } }).form; //创建窗体
  4097. _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); } }
  4098. break;
  4099. case "snf":
  4100. _formdiv = new U.UF.UI.form(
  4101. "赛诺梵",
  4102. $$("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" }), {
  4103. "id": "snf",
  4104. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4105. "onresize": function () { }
  4106. }, {
  4107. closecallback: function () { }
  4108. }, { "style": { "height": "36px" } }).form; //创建窗体
  4109. _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); } }
  4110. break;
  4111. case "hanFamily":
  4112. _formdiv = new U.UF.UI.form(
  4113. "汉字家族",
  4114. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4115. "id": "hanFamily",
  4116. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4117. "onresize": function () { }
  4118. }, {
  4119. closecallback: function () { }
  4120. }, { "style": { "height": "36px" } }).form; //创建窗体
  4121. _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); } }
  4122. break;
  4123. case "hanClassics":
  4124. _formdiv = new U.UF.UI.form(
  4125. "国学经典",
  4126. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4127. "id": "hanClassics",
  4128. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4129. "onresize": function () { }
  4130. }, {
  4131. closecallback: function () { }
  4132. }, { "style": { "height": "36px" } }).form; //创建窗体
  4133. _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); } }
  4134. break;
  4135. case "hanTraining":
  4136. _formdiv = new U.UF.UI.form(
  4137. "笔画训练",
  4138. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4139. "id": "hanTraining",
  4140. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4141. "onresize": function () { }
  4142. }, {
  4143. closecallback: function () { }
  4144. }, { "style": { "height": "36px" } }).form; //创建窗体
  4145. _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); } }
  4146. break;
  4147. case "hanClass":
  4148. _formdiv = new U.UF.UI.form(
  4149. "书法课堂",
  4150. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4151. "id": "hanClass",
  4152. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4153. "onresize": function () { }
  4154. }, {
  4155. closecallback: function () { }
  4156. }, { "style": { "height": "36px" } }).form; //创建窗体
  4157. _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); } }
  4158. break;
  4159. case "han":
  4160. _formdiv = new U.UF.UI.form(
  4161. "汉字宫",
  4162. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4163. "id": "han",
  4164. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4165. "onresize": function () { }
  4166. }, {
  4167. closecallback: function () { }
  4168. }, { "style": { "height": "36px" } }).form; //创建窗体
  4169. _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); } }
  4170. break;
  4171. case "projectGM": //课程管理
  4172. _formdiv = new U.UF.UI.form(
  4173. "课程管理",
  4174. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/courseGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4175. "id": "projectGM",
  4176. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4177. "onresize": function () { }
  4178. }, {
  4179. closecallback: function () { }
  4180. }, { "style": { "height": "36px" } }).form; //创建窗体
  4181. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4182. break;
  4183. case "studyGM": //课程中心
  4184. _formdiv = new U.UF.UI.form(
  4185. "课程中心",
  4186. $$("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
  4187. "id": "study",
  4188. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4189. "onresize": function () { }
  4190. }, {
  4191. closecallback: function () { }
  4192. }, { "style": { "height": "36px" } }).form; //创建窗体
  4193. _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); } }
  4194. break;
  4195. // studentGM
  4196. case "studentGM": //学生管理
  4197. _formdiv = new U.UF.UI.form(
  4198. "学生管理",
  4199. $$("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 }), {
  4200. "id": "studentGM",
  4201. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4202. "onresize": function () { }
  4203. }, {
  4204. closecallback: function () { }
  4205. }, { "style": { "height": "36px" } }).form; //创建窗体
  4206. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4207. break;
  4208. case "evaluateGM": //学生评价
  4209. _formdiv = new U.UF.UI.form(
  4210. "学生评价",
  4211. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4212. "id": "evaluateGM",
  4213. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4214. "onresize": function () { }
  4215. }, {
  4216. closecallback: function () { }
  4217. }, { "style": { "height": "36px" } }).form; //创建窗体
  4218. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4219. break;
  4220. // classGM
  4221. case "classGM": //班级管理
  4222. _formdiv = new U.UF.UI.form(
  4223. "班级管理",
  4224. $$("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 }), {
  4225. "id": "classGM",
  4226. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4227. "onresize": function () { }
  4228. }, {
  4229. closecallback: function () { }
  4230. }, { "style": { "height": "36px" } }).form; //创建窗体
  4231. _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); } }
  4232. break;
  4233. // dataGM
  4234. case "dataGM":
  4235. _formdiv = new U.UF.UI.form(
  4236. "我的资料",
  4237. $$("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 }), {
  4238. "id": "dataGM",
  4239. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4240. "onresize": function () { }
  4241. }, {
  4242. closecallback: function () { }
  4243. }, { "style": { "height": "36px" } }).form; //创建窗体
  4244. _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); } }
  4245. break;
  4246. // caseGM
  4247. case "caseGM": //课程进展
  4248. _formdiv = new U.UF.UI.form(
  4249. "课程进展",
  4250. $$("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 }), {
  4251. "id": "caseGM",
  4252. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4253. "onresize": function () { }
  4254. }, {
  4255. closecallback: function () { }
  4256. }, { "style": { "height": "36px" } }).form; //创建窗体
  4257. _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); } }
  4258. break;
  4259. // meterialGM
  4260. case "meterialGM": //素材库
  4261. _formdiv = new U.UF.UI.form(
  4262. "素材库",
  4263. $$("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 }), {
  4264. "id": "meterialGM",
  4265. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4266. "onresize": function () { }
  4267. }, {
  4268. closecallback: function () { }
  4269. }, { "style": { "height": "36px" } }).form; //创建窗体
  4270. _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); } }
  4271. break;
  4272. // evaluateSGM
  4273. case "evaluateSGM": //我的评价
  4274. _formdiv = new U.UF.UI.form(
  4275. "我的评价",
  4276. $$("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 }), {
  4277. "id": "evaluateSGM",
  4278. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4279. "onresize": function () { }
  4280. }, {
  4281. closecallback: function () { }
  4282. }, { "style": { "height": "36px" } }).form; //创建窗体
  4283. _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); } }
  4284. break;
  4285. case "jupyter": //jupyter
  4286. _formdiv = new U.UF.UI.form(
  4287. "jupyter",
  4288. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4289. "id": "jupyter",
  4290. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4291. "onresize": function () { }
  4292. }, {
  4293. closecallback: function () { }
  4294. }, { "style": { "height": "36px" } }).form; //创建窗体
  4295. _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); } }
  4296. break;
  4297. case "number": //数字实验室
  4298. _formdiv = new U.UF.UI.form(
  4299. "数字实验室",
  4300. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4301. "id": "number",
  4302. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4303. "onresize": function () { }
  4304. }, {
  4305. closecallback: function () { }
  4306. }, { "style": { "height": "36px" } }).form; //创建窗体
  4307. _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); } }
  4308. break;
  4309. case "studentCourse": //项目管理 学生
  4310. _formdiv = new U.UF.UI.form(
  4311. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4312. $$("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 }), {
  4313. "id": "studentCourse",
  4314. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4315. "onresize": function () { }
  4316. }, {
  4317. closecallback: function () { }
  4318. }, { "style": { "height": "36px" } }).form; //创建窗体
  4319. _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); } }
  4320. break;
  4321. case "studentCourseS": //项目管理 老师
  4322. _formdiv = new U.UF.UI.form(
  4323. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4324. $$("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 }), {
  4325. "id": "studentCourseS",
  4326. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4327. "onresize": function () { }
  4328. }, {
  4329. closecallback: function () { }
  4330. }, { "style": { "height": "36px" } }).form; //创建窗体
  4331. _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); } }
  4332. break;
  4333. case "studentIndex": //项目中心
  4334. _formdiv = new U.UF.UI.form(
  4335. "项目中心",
  4336. $$("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 }), {
  4337. "id": "studentIndex",
  4338. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4339. "onresize": function () { }
  4340. }, {
  4341. closecallback: function () { }
  4342. }, { "style": { "height": "36px" } }).form; //创建窗体
  4343. _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); } }
  4344. break;
  4345. case "CaseDesignS":
  4346. _formdiv = new U.UF.UI.form(
  4347. "项目进展",
  4348. $$("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 }), {
  4349. "id": "case",
  4350. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4351. "onresize": function () { }
  4352. }, {
  4353. closecallback: function () { }
  4354. }, { "style": { "height": "36px" } }).form; //创建窗体
  4355. _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); } }
  4356. break;
  4357. case "tcStudent": //腾讯学生管理
  4358. _formdiv = new U.UF.UI.form(
  4359. "学生管理",
  4360. $$("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 }), {
  4361. "id": "tcStudent",
  4362. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4363. "onresize": function () { }
  4364. }, {
  4365. closecallback: function () { }
  4366. }, { "style": { "height": "36px" } }).form; //创建窗体
  4367. _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); } }
  4368. break;
  4369. case "tcSchool": //腾讯学校管理
  4370. _formdiv = new U.UF.UI.form(
  4371. "学校管理",
  4372. $$("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 }), {
  4373. "id": "tcSchool",
  4374. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4375. "onresize": function () { }
  4376. }, {
  4377. closecallback: function () { }
  4378. }, { "style": { "height": "36px" } }).form; //创建窗体
  4379. _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); } }
  4380. break;
  4381. case "tcTeacher": //腾讯学校管理
  4382. _formdiv = new U.UF.UI.form(
  4383. "教师管理",
  4384. $$("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 }), {
  4385. "id": "tcTeacher",
  4386. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4387. "onresize": function () { }
  4388. }, {
  4389. closecallback: function () { }
  4390. }, { "style": { "height": "36px" } }).form; //创建窗体
  4391. _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); } }
  4392. break;
  4393. case "tcData": //腾讯我的资料
  4394. _formdiv = new U.UF.UI.form(
  4395. "我的资料",
  4396. $$("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 }), {
  4397. "id": "tcData",
  4398. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4399. "onresize": function () { }
  4400. }, {
  4401. closecallback: function () { }
  4402. }, { "style": { "height": "36px" } }).form; //创建窗体
  4403. _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); } }
  4404. break;
  4405. case "tcNotice": //腾讯消息通知
  4406. _formdiv = new U.UF.UI.form(
  4407. "消息通知",
  4408. $$("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 }), {
  4409. "id": "tcNotice",
  4410. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4411. "onresize": function () { }
  4412. }, {
  4413. closecallback: function () { }
  4414. }, { "style": { "height": "36px" } }).form; //创建窗体
  4415. _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); } }
  4416. break;
  4417. case "myReport": //好友打开
  4418. _formdiv = new U.UF.UI.form(
  4419. "我的评价",
  4420. $$("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 }), {
  4421. "id": "myReport",
  4422. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4423. "onresize": function () { }
  4424. }, {
  4425. closecallback: function () { }
  4426. }, { "style": { "height": "36px" } }).form; //创建窗体
  4427. _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); } }
  4428. break;
  4429. case "learnAna": //好友打开
  4430. _formdiv = new U.UF.UI.form(
  4431. "学习分析",
  4432. $$("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 }), {
  4433. "id": "learnAna",
  4434. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4435. "onresize": function () { }
  4436. }, {
  4437. closecallback: function () { }
  4438. }, { "style": { "height": "36px" } }).form; //创建窗体
  4439. _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); } }
  4440. break;
  4441. case "AIChat": //AI共创
  4442. _formdiv = new U.UF.UI.form(
  4443. "AI共创",
  4444. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4445. "id": "AIChat",
  4446. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4447. "onresize": function () { }
  4448. }, {
  4449. istop: true,
  4450. closecallback: function () { $("#aichat_icon").remove(); },
  4451. narrowcallback: function () {
  4452. if (!$("#aichat_icon")[0]) {
  4453. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4454. }
  4455. },
  4456. }, { "style": { "height": "36px" } }).form; //创建窗体
  4457. _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); } }
  4458. break;
  4459. case "ainew": //AI共创
  4460. _formdiv = new U.UF.UI.form(
  4461. "AI协同",
  4462. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4463. "id": "ainew",
  4464. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4465. "onresize": function () { }
  4466. }, {
  4467. closecallback: function () { }
  4468. }, { "style": { "height": "36px" } }).form; //创建窗体
  4469. _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); } }
  4470. break;
  4471. case "futureClass": //AI共创
  4472. _formdiv = new U.UF.UI.form(
  4473. "协同建构",
  4474. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://cscl.cocorobo.cn
  4475. "id": "synergyCourse",
  4476. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4477. "onresize": function () { }
  4478. }, {
  4479. closecallback: function () {
  4480. $("iframe", _formdiv)[0].contentWindow.loginout();
  4481. }
  4482. }, { "style": { "height": "36px" } }).form; //创建窗体
  4483. _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); } }
  4484. break;
  4485. case "aiagent": //ai agent
  4486. _formdiv = new U.UF.UI.form(
  4487. "AI Agent",
  4488. $$("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" }), {
  4489. "id": "AIAgent",
  4490. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4491. "onresize": function () { }
  4492. }, {
  4493. closecallback: function () { }
  4494. }, { "style": { "height": "36px" } }).form; //创建窗体
  4495. _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); } }
  4496. break;
  4497. case "dataBoard": //数据看板
  4498. _formdiv = new U.UF.UI.form(
  4499. "数据看板",
  4500. $$("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 }), {
  4501. "id": "dataBoard",
  4502. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4503. "onresize": function () { }
  4504. }, {
  4505. closecallback: function () { }
  4506. }, { "style": { "height": "36px" } }).form; //创建窗体
  4507. _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); } }
  4508. break;
  4509. case "dataBoardSies": //数据融合
  4510. _formdiv = new U.UF.UI.form(
  4511. "数据融合",
  4512. $$("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 }), {
  4513. "id": "dataBoardSies",
  4514. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4515. "onresize": function () { }
  4516. }, {
  4517. closecallback: function () { }
  4518. }, { "style": { "height": "36px" } }).form; //创建窗体
  4519. _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); } }
  4520. break;
  4521. case "dataBoardNew": //数据看板
  4522. _formdiv = new U.UF.UI.form(
  4523. "综合看板",
  4524. $$("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 }), {
  4525. "id": "dataBoardNew",
  4526. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4527. "onresize": function () { }
  4528. }, {
  4529. closecallback: function () { }
  4530. }, { "style": { "height": "36px" } }).form; //创建窗体
  4531. _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); } }
  4532. break;
  4533. case "AIAnalyse": //AI共创
  4534. _formdiv = new U.UF.UI.form(
  4535. "AI分析",
  4536. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4537. "id": "AIAnalyse",
  4538. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4539. "onresize": function () { }
  4540. }, {
  4541. closecallback: function () { }
  4542. }, { "style": { "height": "36px" } }).form; //创建窗体
  4543. _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); } }
  4544. break;
  4545. case "studioCourse": //AI共创
  4546. _formdiv = new U.UF.UI.form(
  4547. "工作管理",
  4548. $$("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 }), {
  4549. "id": "studioCourse",
  4550. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4551. "onresize": function () { }
  4552. }, {
  4553. closecallback: function () { }
  4554. }, { "style": { "height": "36px" } }).form; //创建窗体
  4555. _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); } }
  4556. break;
  4557. case "studioIndex": //AI共创
  4558. _formdiv = new U.UF.UI.form(
  4559. "工作中心",
  4560. $$("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 }), {
  4561. "id": "studioIndex",
  4562. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4563. "onresize": function () { }
  4564. }, {
  4565. closecallback: function () { }
  4566. }, { "style": { "height": "36px" } }).form; //创建窗体
  4567. _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); } }
  4568. break;
  4569. case "source":
  4570. _formdiv = new U.UF.UI.form(
  4571. "教学资源",
  4572. $$("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 }), {
  4573. "id": "source",
  4574. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4575. "onresize": function () { }
  4576. }, {
  4577. closecallback: function () { }
  4578. }, { "style": { "height": "36px" } }).form; //创建窗体
  4579. _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); } }
  4580. break;
  4581. case "testTeacher":
  4582. _formdiv = new U.UF.UI.form(
  4583. "评测管理",
  4584. $$("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 }), {
  4585. "id": "testTeacher",
  4586. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4587. "onresize": function () { }
  4588. }, {
  4589. closecallback: function () { }
  4590. }, { "style": { "height": "36px" } }).form; //创建窗体
  4591. _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); } }
  4592. break;
  4593. case "testStudent":
  4594. _formdiv = new U.UF.UI.form(
  4595. "评测中心",
  4596. $$("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 }), {
  4597. "id": "testStudent",
  4598. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4599. "onresize": function () { }
  4600. }, {
  4601. closecallback: function () { }
  4602. }, { "style": { "height": "36px" } }).form; //创建窗体
  4603. _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); } }
  4604. break;
  4605. }
  4606. //U.MD.D.I.openClick(str);
  4607. //如果有任务栏信息
  4608. if (_taskbar) {
  4609. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4610. }
  4611. }
  4612. // U.MD.D.I.openClick = function(str){
  4613. // var click = '';
  4614. // switch(str){
  4615. // case 'friend':
  4616. // click = '我的好友';
  4617. // break;
  4618. // case 'domain':
  4619. // click = '域名管理';
  4620. // break;
  4621. // case 'disk':
  4622. // click = '我的云盘';
  4623. // break;
  4624. // case 'word':
  4625. // click = 'Word';
  4626. // break;
  4627. // case 'excel':
  4628. // click = 'Execl';
  4629. // break;
  4630. // case 'txt':
  4631. // click = '文本文件';
  4632. // break;
  4633. // case 'lookupFriend':
  4634. // click = '查找好友';
  4635. // break;
  4636. // case 'ftp':
  4637. // click = 'FTP';
  4638. // break;
  4639. // case 'group':
  4640. // click = '群组';
  4641. // break;
  4642. // case 'set':
  4643. // click = '我的设置';
  4644. // break;
  4645. // case 'systemSet':
  4646. // click = '系统设置';
  4647. // break;
  4648. // case 'boomYun':
  4649. // click = '互联办公';
  4650. // break;
  4651. // case 'xz':
  4652. // click = '云端下载';
  4653. // break;
  4654. // case 'client':
  4655. // click = '有思浏览器';
  4656. // break;
  4657. // case 'backEndProgramming':
  4658. // click = '在线后台编程';
  4659. // break;
  4660. // case 'frontEndProgramming':
  4661. // click = '在线前端编程';
  4662. // break;
  4663. // default: break;
  4664. // }
  4665. // if(U.MD.D.I.Ip && click){
  4666. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4667. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4668. // })
  4669. // }
  4670. // }
  4671. /**
  4672. *函数作用:ajax简易函数,使用post格式
  4673. *@param url {data} 后台地址
  4674. *@param data {data} 参数json
  4675. *@param fn {data} 回调函数
  4676. *
  4677. */
  4678. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4679. // var xhr = new XMLHttpRequest();
  4680. // xhr.open("GET",url,true);
  4681. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4682. // xhr.onreadystatechange = function(){
  4683. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4684. // fn.call(this,xhr.responseText);
  4685. // }
  4686. // };
  4687. // xhr.send();
  4688. // }
  4689. /*判断是否是内网IP*/
  4690. // U.MD.D.I.isInnerIPFn = function(str){
  4691. // var curPageUrl = str;
  4692. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4693. // curPageUrl =curPageUrl.replace(reg1,'');
  4694. // // console.log('curPageUrl-1 '+curPageUrl);
  4695. // var reg2 = /\:+/g;//替换冒号为一点
  4696. // curPageUrl =curPageUrl.replace(reg2,'.');
  4697. // // console.log('curPageUrl-2 '+curPageUrl);
  4698. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4699. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4700. // if(curPageUrl[2] != '16'){
  4701. // return ipAddress;
  4702. // }else{
  4703. // return false;
  4704. // }
  4705. // }
  4706. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4707. // //compatibility for firefox and chrome
  4708. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4709. // var pc = new myPeerConnection({
  4710. // iceServers: []
  4711. // }),
  4712. // noop = function() {},
  4713. // localIPs = {},
  4714. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4715. // key;
  4716. // function iterateIP(ip) {
  4717. // if (!localIPs[ip]) onNewIP(ip);
  4718. // localIPs[ip] = true;
  4719. // }
  4720. // //create a bogus data channel
  4721. // pc.createDataChannel("");
  4722. // // create offer and set local description
  4723. // pc.createOffer().then(function(sdp) {
  4724. // sdp.sdp.split('\n').forEach(function(line) {
  4725. // if (line.indexOf('candidate') < 0) return;
  4726. // line.match(ipRegex).forEach(iterateIP);
  4727. // });
  4728. // pc.setLocalDescription(sdp, noop, noop);
  4729. // }).catch(function(reason) {
  4730. // // An error occurred, so handle the failure to connect
  4731. // });
  4732. // //sten for candidate events
  4733. // pc.onicecandidate = function(ice) {
  4734. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4735. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4736. // };
  4737. // }
  4738. // U.MD.D.I.getUserIpBool = function(callback){
  4739. // U.MD.D.I.getUserIP(function(ip){
  4740. // alert("Got IP! :" + ip);
  4741. // });
  4742. //}
  4743. //#endregion
  4744. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4745. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4746. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4747. _userinfo = US.userInfo, //登录用户信息
  4748. _userid = US.userInfo.userid //登录用户id
  4749. let _iframe;
  4750. let _cid = cid,
  4751. _stage = stage,
  4752. _task = task,
  4753. _tool = tool;
  4754. var _jie = $$("div", {
  4755. "style": {
  4756. "position": "absolute",
  4757. "bottom": "50px",
  4758. "right": "50px",
  4759. "zIndex": "9999",
  4760. "backgroundColor": "#2268bc",
  4761. "color": "#fff",
  4762. "padding": "12px 20px",
  4763. "cursor": "pointer",
  4764. "borderRadius": "4px",
  4765. },
  4766. "innerHTML": "提交作业"
  4767. })
  4768. let aTool = ''
  4769. let _loading = document.createElement('div')
  4770. _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;"
  4771. // _loading.id = "";
  4772. let _lchild = document.createElement('div')
  4773. let _limg = document.createElement('img')
  4774. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4775. _limg.style = "width: 26px;margin-right: 10px;"
  4776. _lchild.appendChild(_limg)
  4777. let _lspan = document.createElement('span')
  4778. _lspan.innerHTML = "上传中..."
  4779. _lchild.appendChild(_lspan)
  4780. _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%);"
  4781. _loading.appendChild(_lchild)
  4782. var _box = $$('div', {
  4783. "style": {
  4784. "position": "relative",
  4785. "width": "100%",
  4786. "height": "100%",
  4787. },
  4788. })
  4789. _box.appendChild(_loading)
  4790. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4791. switch (str) {
  4792. case "whiteboard":
  4793. aTool = 1;
  4794. _iframe = $$("iframe", {
  4795. "frameborder": "no",
  4796. "border": "0",
  4797. "scrolling ": "no",
  4798. "style": {
  4799. "cssText": "border:0;width:100%;height:100%"
  4800. },
  4801. "src": "https://iwb.cocorobo.cn/"
  4802. })
  4803. _box.appendChild(_iframe);
  4804. _box.appendChild(_jie);
  4805. _formdiv = new U.UF.UI.form(
  4806. "电子白板",
  4807. _box, {
  4808. "id": "whiteboard" + cid + stage + task + tool,
  4809. "style": {
  4810. "width": "90%",
  4811. "height": "90%",
  4812. "overflow": 'hidden'
  4813. },
  4814. "onresize": function () { }
  4815. }, {
  4816. closecallback: function () { }
  4817. }, {
  4818. "style": {
  4819. "height": "36px"
  4820. }
  4821. }).form; //创建窗体
  4822. _taskbar = {
  4823. "id": str + _formdiv.id,
  4824. "style": {
  4825. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4826. },
  4827. "name": "电子白板",
  4828. "forms": _formdiv,
  4829. "click": function () {
  4830. U.MD.D.I.openApplication(str, obj, info);
  4831. }
  4832. }
  4833. break;
  4834. case "mind":
  4835. aTool = 3;
  4836. _iframe = $$("iframe", {
  4837. "frameborder": "no",
  4838. "border": "0",
  4839. "scrolling ": "no",
  4840. "style": {
  4841. "cssText": "border:0;width:100%;height:100%"
  4842. },
  4843. "src": "/kityminder-editor/dist/index.html"
  4844. })
  4845. _box.appendChild(_iframe);
  4846. _box.appendChild(_jie);
  4847. _formdiv = new U.UF.UI.form(
  4848. "思维导图",
  4849. _box, { //"/jsmind/example/demo.html"
  4850. "id": "mind" + cid + stage + task + tool,
  4851. "style": {
  4852. "width": "90%",
  4853. "height": "90%",
  4854. "overflow": 'hidden'
  4855. },
  4856. "onresize": function () { }
  4857. }, {
  4858. closecallback: function () { }
  4859. }, {
  4860. "style": {
  4861. "height": "36px"
  4862. }
  4863. }).form; //创建窗体
  4864. _taskbar = {
  4865. "id": str + _formdiv.id,
  4866. "style": {
  4867. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4868. },
  4869. "name": "思维导图",
  4870. "forms": _formdiv,
  4871. "click": function () {
  4872. U.MD.D.I.openApplication(str, obj, info);
  4873. }
  4874. }
  4875. break;
  4876. case "MindMap":
  4877. aTool = 3;
  4878. _iframe = $$("iframe", {
  4879. "frameborder": "no",
  4880. "border": "0",
  4881. "scrolling ": "no",
  4882. "style": {
  4883. "cssText": "border:0;width:100%;height:100%"
  4884. },
  4885. "src": "//cloud.cocorobo.cn/mind/"
  4886. })
  4887. _box.appendChild(_iframe);
  4888. _box.appendChild(_jie);
  4889. _formdiv = new U.UF.UI.form(
  4890. "思维导图",
  4891. _box, { //"/jsmind/example/demo.html"
  4892. "id": "mind" + cid + stage + task + tool,
  4893. "style": {
  4894. "width": "90%",
  4895. "height": "90%",
  4896. "overflow": 'hidden'
  4897. },
  4898. "onresize": function () { }
  4899. }, {
  4900. closecallback: function () { }
  4901. }, {
  4902. "style": {
  4903. "height": "36px"
  4904. }
  4905. }).form; //创建窗体
  4906. _taskbar = {
  4907. "id": str + _formdiv.id,
  4908. "style": {
  4909. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4910. },
  4911. "name": "思维导图",
  4912. "forms": _formdiv,
  4913. "click": function () {
  4914. U.MD.D.I.openApplication(str, obj, info);
  4915. }
  4916. }
  4917. break;
  4918. case "doc":
  4919. aTool = 6;
  4920. _iframe = $$("iframe", {
  4921. "frameborder": "no",
  4922. "border": "0",
  4923. "scrolling ": "no",
  4924. "style": {
  4925. "cssText": "border:0;width:100%;height:100%"
  4926. },
  4927. "src": "/Office/Word/WordEditArea.htm"
  4928. })
  4929. _box.appendChild(_iframe);
  4930. _box.appendChild(_jie);
  4931. _formdiv = new U.UF.UI.form(
  4932. "协同文档",
  4933. _box, {
  4934. "id": "doc" + cid + stage + task + tool,
  4935. "style": {
  4936. "width": "90%",
  4937. "height": "90%",
  4938. "overflow": 'hidden'
  4939. },
  4940. "onresize": function () { }
  4941. }, {
  4942. closecallback: function () { }
  4943. }, {
  4944. "style": {
  4945. "height": "36px"
  4946. }
  4947. }).form; //创建窗体
  4948. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4949. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4950. })
  4951. _taskbar = {
  4952. "id": str + _formdiv.id,
  4953. "style": {
  4954. "backgroundImage": "url(/img/icon/doc.png)"
  4955. },
  4956. "name": "协同文档",
  4957. "forms": _formdiv,
  4958. "click": function () {
  4959. U.MD.D.I.openApplication(str, obj, info);
  4960. }
  4961. }
  4962. break;
  4963. case "mindNetwork": //好友打开
  4964. aTool = 7;
  4965. _iframe = $$("iframe", {
  4966. "webkitallowfullscreen": "",
  4967. "mozallowfullscreen": "",
  4968. "allowfullscreen": "",
  4969. "frameborder": "no",
  4970. "border": "0",
  4971. "scrolling ": "no",
  4972. "style": {
  4973. "cssText": "border:0; width:100%; height:100%;"
  4974. },
  4975. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4976. })
  4977. _box.appendChild(_iframe);
  4978. _box.appendChild(_jie);
  4979. _formdiv = new U.UF.UI.form(
  4980. "思维网格",
  4981. _box, {
  4982. "id": "mindNetwork" + cid + stage + task + tool,
  4983. "style": {
  4984. "width": "90%",
  4985. "height": "90%",
  4986. "overflow": 'hidden'
  4987. },
  4988. "onresize": function () { }
  4989. }, {
  4990. closecallback: function () { }
  4991. }, {
  4992. "style": {
  4993. "height": "36px"
  4994. }
  4995. }).form; //创建窗体
  4996. _taskbar = {
  4997. "id": str + _formdiv.id,
  4998. "style": {
  4999. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5000. },
  5001. "name": "思维网格",
  5002. "forms": _formdiv,
  5003. "click": function () {
  5004. U.MD.D.I.openApplication(str, obj, info);
  5005. }
  5006. }
  5007. break;
  5008. case "courseDesign":
  5009. _iframe = $$("iframe", {
  5010. "webkitallowfullscreen": "",
  5011. "mozallowfullscreen": "",
  5012. "allowfullscreen": "",
  5013. "frameborder": "no",
  5014. "border": "0",
  5015. "scrolling ": "no",
  5016. "style": {
  5017. "cssText": "border:0; width:100%; height:100%;"
  5018. },
  5019. "src": "/course-design-vue"
  5020. })
  5021. _box.appendChild(_iframe);
  5022. _box.appendChild(_jie);
  5023. _formdiv = new U.UF.UI.form(
  5024. "项目设计",
  5025. _box, {
  5026. "id": "courseDesign" + cid + stage + task + tool,
  5027. "style": {
  5028. "width": "90%",
  5029. "height": "90%",
  5030. "overflow": 'hidden'
  5031. },
  5032. "onresize": function () { }
  5033. }, {
  5034. closecallback: function () { }
  5035. }, {
  5036. "style": {
  5037. "height": "36px"
  5038. }
  5039. }).form; //创建窗体
  5040. _taskbar = {
  5041. "id": str + _formdiv.id,
  5042. "style": {
  5043. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5044. },
  5045. "name": "项目设计",
  5046. "forms": _formdiv,
  5047. "click": function () {
  5048. U.MD.D.I.openApplication(str, obj, info);
  5049. }
  5050. }
  5051. break;
  5052. }
  5053. const script1 = document.createElement("script");
  5054. script1.type = "text/javascript";
  5055. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5056. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5057. const script2 = document.createElement("script");
  5058. script2.type = "text/javascript";
  5059. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5060. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5061. const script3 = document.createElement("script");
  5062. script3.type = "text/javascript";
  5063. script3.charset = "UTF-8";
  5064. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5065. const script4 = document.createElement("script");
  5066. script4.type = "text/javascript";
  5067. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5068. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5069. if (_iframe) {
  5070. if (str == 'doc') {
  5071. _iframe = _formdiv.querySelector('iframe')
  5072. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5073. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5074. _iframe.contentWindow.document.body.appendChild(script1);
  5075. _iframe.contentWindow.document.body.appendChild(script2);
  5076. // _iframe.contentWindow.document.body.appendChild(script3);
  5077. _iframe.contentWindow.document.body.appendChild(script4);
  5078. })
  5079. if (onloadListener) {
  5080. _iframe.contentDocument.location.reload()
  5081. } else {
  5082. _iframe.contentDocument.location.reload()
  5083. }
  5084. } else if (str == 'courseDesign') {
  5085. U.UF.DL.iframeLoad(_iframe, function () {
  5086. // _iframe.contentWindow.U.MD.O.W.load();
  5087. // _iframe.contentWindow.document.body.appendChild(script1);
  5088. _iframe.contentWindow.document.body.appendChild(script2);
  5089. _iframe.contentWindow.document.body.appendChild(script4);
  5090. })
  5091. } else if (str == 'mind') {
  5092. _iframe = _formdiv.querySelector('iframe')
  5093. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5094. //
  5095. _iframe.contentWindow.document.body.appendChild(script1);
  5096. _iframe.contentWindow.document.body.appendChild(script2);
  5097. _iframe.contentWindow.document.body.appendChild(script4);
  5098. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5099. })
  5100. if (onloadListener) {
  5101. _iframe.contentDocument.location.reload()
  5102. } else {
  5103. _iframe.contentDocument.location.reload()
  5104. }
  5105. } else if (str == 'whiteboard') {
  5106. _iframe = _formdiv.querySelector('iframe')
  5107. let onloadListener = _iframe.onload = () => {
  5108. _iframe.contentWindow.document.body.appendChild(script1);
  5109. _iframe.contentWindow.document.body.appendChild(script2);
  5110. _iframe.contentWindow.document.body.appendChild(script4);
  5111. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5112. };
  5113. if (onloadListener) {
  5114. _iframe.contentDocument.location.reload()
  5115. } else {
  5116. _iframe.contentDocument.location.reload()
  5117. }
  5118. } else {
  5119. _iframe.onload = () => {
  5120. _iframe.contentWindow.document.body.appendChild(script1);
  5121. _iframe.contentWindow.document.body.appendChild(script2);
  5122. // _iframe.contentWindow.document.body.appendChild(script3);
  5123. _iframe.contentWindow.document.body.appendChild(script4);
  5124. };
  5125. }
  5126. _jie.onclick = async () => {
  5127. let text = ''
  5128. if (aTool == 1) {
  5129. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5130. } else if (aTool == 6) {
  5131. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5132. } else if (aTool == 3) {
  5133. text = await U.MD.D.I.getEditorContent(_iframe);
  5134. }
  5135. _loading.style.display = 'flex'
  5136. console.log(_loading);
  5137. var _ajs = _iframe.contentWindow.document.createElement("script");
  5138. _ajs.type = "text/javascript";
  5139. _ajs.innerHTML =
  5140. // 'console.log(' + _loading + ');\n' +
  5141. 'var _js = document.createElement("script");\n' +
  5142. '_js.type="text/javascript";\n' +
  5143. '_js.charset="UTF-8";\n' +
  5144. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5145. "_js.onload = function(){\n" +
  5146. ' var a = document.getElementsByTagName("img")\n' +
  5147. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5148. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5149. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5150. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5151. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5152. "beforeUpload_shishi(file," +
  5153. "'" +
  5154. _userid +
  5155. "'" +
  5156. ", " +
  5157. "'" +
  5158. _cid +
  5159. "'" +
  5160. ", " +
  5161. "'" +
  5162. _stage +
  5163. "'" +
  5164. ", " +
  5165. "'" +
  5166. _task +
  5167. "'" +
  5168. ", " +
  5169. "'" +
  5170. _tool +
  5171. "'" +
  5172. ", " +
  5173. "'" +
  5174. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5175. "'" +
  5176. ", " +
  5177. "'" +
  5178. aTool +
  5179. "'" +
  5180. ", " +
  5181. "`" +
  5182. text +
  5183. "`" +
  5184. ")\n" +
  5185. " });\n" +
  5186. "}\n" +
  5187. "document.head.appendChild(_js);\n";
  5188. _iframe.contentWindow.document.head.appendChild(_ajs);
  5189. }
  5190. }
  5191. //U.MD.D.I.openClick(str);
  5192. //如果有任务栏信息
  5193. // if (_taskbar) {
  5194. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5195. // }
  5196. }
  5197. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5198. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5199. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5200. _userinfo = US.userInfo, //登录用户信息
  5201. _userid = US.userInfo.userid //登录用户id
  5202. let _iframe;
  5203. let _cid = cid,
  5204. _stage = stage,
  5205. _task = task,
  5206. _tool = tool;
  5207. var _jie = $$("div", {
  5208. "style": {
  5209. "position": "absolute",
  5210. "bottom": "50px",
  5211. "right": "50px",
  5212. "zIndex": "9999",
  5213. "backgroundColor": "#2268bc",
  5214. "color": "#fff",
  5215. "padding": "12px 20px",
  5216. "cursor": "pointer",
  5217. "borderRadius": "4px",
  5218. },
  5219. "innerHTML": "提交作业"
  5220. })
  5221. let aTool = ''
  5222. let _loading = document.createElement('div')
  5223. _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;"
  5224. // _loading.id = "";
  5225. let _lchild = document.createElement('div')
  5226. let _limg = document.createElement('img')
  5227. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5228. _limg.style = "width: 26px;margin-right: 10px;"
  5229. _lchild.appendChild(_limg)
  5230. let _lspan = document.createElement('span')
  5231. _lspan.innerHTML = "上传中..."
  5232. _lchild.appendChild(_lspan)
  5233. _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%);"
  5234. _loading.appendChild(_lchild)
  5235. var _box = $$('div', {
  5236. "style": {
  5237. "position": "relative",
  5238. "width": "100%",
  5239. "height": "100%",
  5240. },
  5241. })
  5242. _box.appendChild(_loading)
  5243. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5244. switch (str) {
  5245. case "whiteboard":
  5246. aTool = 1;
  5247. _iframe = $$("iframe", {
  5248. "frameborder": "no",
  5249. "border": "0",
  5250. "scrolling ": "no",
  5251. "style": {
  5252. "cssText": "border:0;width:100%;height:100%"
  5253. },
  5254. "src": "https://iwb.cocorobo.cn/"
  5255. })
  5256. _box.appendChild(_iframe);
  5257. _box.appendChild(_jie);
  5258. _formdiv = new U.UF.UI.form(
  5259. "电子白板",
  5260. _box, {
  5261. "id": "whiteboard" + cid + stage + task + tool,
  5262. "style": {
  5263. "width": "90%",
  5264. "height": "90%",
  5265. "overflow": 'hidden'
  5266. },
  5267. "onresize": function () { }
  5268. }, {
  5269. closecallback: function () { }
  5270. }, {
  5271. "style": {
  5272. "height": "36px"
  5273. }
  5274. }).form; //创建窗体
  5275. _taskbar = {
  5276. "id": str + _formdiv.id,
  5277. "style": {
  5278. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5279. },
  5280. "name": "电子白板",
  5281. "forms": _formdiv,
  5282. "click": function () {
  5283. U.MD.D.I.openApplication(str, obj, info);
  5284. }
  5285. }
  5286. break;
  5287. case "mind":
  5288. aTool = 3;
  5289. _iframe = $$("iframe", {
  5290. "frameborder": "no",
  5291. "border": "0",
  5292. "scrolling ": "no",
  5293. "style": {
  5294. "cssText": "border:0;width:100%;height:100%"
  5295. },
  5296. "src": "/kityminder-editor/dist/index.html"
  5297. })
  5298. _box.appendChild(_iframe);
  5299. _box.appendChild(_jie);
  5300. _formdiv = new U.UF.UI.form(
  5301. "思维导图",
  5302. _box, { //"/jsmind/example/demo.html"
  5303. "id": "mind" + cid + stage + task + tool,
  5304. "style": {
  5305. "width": "90%",
  5306. "height": "90%",
  5307. "overflow": 'hidden'
  5308. },
  5309. "onresize": function () { }
  5310. }, {
  5311. closecallback: function () { }
  5312. }, {
  5313. "style": {
  5314. "height": "36px"
  5315. }
  5316. }).form; //创建窗体
  5317. _taskbar = {
  5318. "id": str + _formdiv.id,
  5319. "style": {
  5320. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5321. },
  5322. "name": "思维导图",
  5323. "forms": _formdiv,
  5324. "click": function () {
  5325. U.MD.D.I.openApplication(str, obj, info);
  5326. }
  5327. }
  5328. break;
  5329. case "MindMap":
  5330. aTool = 3;
  5331. _iframe = $$("iframe", {
  5332. "frameborder": "no",
  5333. "border": "0",
  5334. "scrolling ": "no",
  5335. "style": {
  5336. "cssText": "border:0;width:100%;height:100%"
  5337. },
  5338. "src": "//cloud.cocorobo.cn/mind/"
  5339. })
  5340. _box.appendChild(_iframe);
  5341. _box.appendChild(_jie);
  5342. _formdiv = new U.UF.UI.form(
  5343. "思维导图",
  5344. _box, { //"/jsmind/example/demo.html"
  5345. "id": "mind" + cid + stage + task + tool,
  5346. "style": {
  5347. "width": "90%",
  5348. "height": "90%",
  5349. "overflow": 'hidden'
  5350. },
  5351. "onresize": function () { }
  5352. }, {
  5353. closecallback: function () { }
  5354. }, {
  5355. "style": {
  5356. "height": "36px"
  5357. }
  5358. }).form; //创建窗体
  5359. _taskbar = {
  5360. "id": str + _formdiv.id,
  5361. "style": {
  5362. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5363. },
  5364. "name": "思维导图",
  5365. "forms": _formdiv,
  5366. "click": function () {
  5367. U.MD.D.I.openApplication(str, obj, info);
  5368. }
  5369. }
  5370. break;
  5371. case "doc":
  5372. aTool = 6;
  5373. _iframe = $$("iframe", {
  5374. "frameborder": "no",
  5375. "border": "0",
  5376. "scrolling ": "no",
  5377. "style": {
  5378. "cssText": "border:0;width:100%;height:100%"
  5379. },
  5380. "src": "/Office/Word/WordEditArea.htm"
  5381. })
  5382. _box.appendChild(_iframe);
  5383. _box.appendChild(_jie);
  5384. _formdiv = new U.UF.UI.form(
  5385. "协同文档",
  5386. _box, {
  5387. "id": "doc" + cid + stage + task + tool,
  5388. "style": {
  5389. "width": "90%",
  5390. "height": "90%",
  5391. "overflow": 'hidden'
  5392. },
  5393. "onresize": function () { }
  5394. }, {
  5395. closecallback: function () { }
  5396. }, {
  5397. "style": {
  5398. "height": "36px"
  5399. }
  5400. }).form; //创建窗体
  5401. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5402. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5403. })
  5404. _taskbar = {
  5405. "id": str + _formdiv.id,
  5406. "style": {
  5407. "backgroundImage": "url(/img/icon/doc.png)"
  5408. },
  5409. "name": "协同文档",
  5410. "forms": _formdiv,
  5411. "click": function () {
  5412. U.MD.D.I.openApplication(str, obj, info);
  5413. }
  5414. }
  5415. break;
  5416. case "mindNetwork": //好友打开
  5417. aTool = 7;
  5418. _iframe = $$("iframe", {
  5419. "webkitallowfullscreen": "",
  5420. "mozallowfullscreen": "",
  5421. "allowfullscreen": "",
  5422. "frameborder": "no",
  5423. "border": "0",
  5424. "scrolling ": "no",
  5425. "style": {
  5426. "cssText": "border:0; width:100%; height:100%;"
  5427. },
  5428. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5429. })
  5430. _box.appendChild(_iframe);
  5431. _box.appendChild(_jie);
  5432. _formdiv = new U.UF.UI.form(
  5433. "思维网格",
  5434. _box, {
  5435. "id": "mindNetwork" + cid + stage + task + tool,
  5436. "style": {
  5437. "width": "90%",
  5438. "height": "90%",
  5439. "overflow": 'hidden'
  5440. },
  5441. "onresize": function () { }
  5442. }, {
  5443. closecallback: function () { }
  5444. }, {
  5445. "style": {
  5446. "height": "36px"
  5447. }
  5448. }).form; //创建窗体
  5449. _taskbar = {
  5450. "id": str + _formdiv.id,
  5451. "style": {
  5452. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5453. },
  5454. "name": "思维网格",
  5455. "forms": _formdiv,
  5456. "click": function () {
  5457. U.MD.D.I.openApplication(str, obj, info);
  5458. }
  5459. }
  5460. break;
  5461. case "courseDesign":
  5462. _iframe = $$("iframe", {
  5463. "webkitallowfullscreen": "",
  5464. "mozallowfullscreen": "",
  5465. "allowfullscreen": "",
  5466. "frameborder": "no",
  5467. "border": "0",
  5468. "scrolling ": "no",
  5469. "style": {
  5470. "cssText": "border:0; width:100%; height:100%;"
  5471. },
  5472. "src": "/course-design-vue"
  5473. })
  5474. _box.appendChild(_iframe);
  5475. _box.appendChild(_jie);
  5476. _formdiv = new U.UF.UI.form(
  5477. "项目设计",
  5478. _box, {
  5479. "id": "courseDesign" + cid + stage + task + tool,
  5480. "style": {
  5481. "width": "90%",
  5482. "height": "90%",
  5483. "overflow": 'hidden'
  5484. },
  5485. "onresize": function () { }
  5486. }, {
  5487. closecallback: function () { }
  5488. }, {
  5489. "style": {
  5490. "height": "36px"
  5491. }
  5492. }).form; //创建窗体
  5493. _taskbar = {
  5494. "id": str + _formdiv.id,
  5495. "style": {
  5496. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5497. },
  5498. "name": "项目设计",
  5499. "forms": _formdiv,
  5500. "click": function () {
  5501. U.MD.D.I.openApplication(str, obj, info);
  5502. }
  5503. }
  5504. break;
  5505. }
  5506. const script1 = document.createElement("script");
  5507. script1.type = "text/javascript";
  5508. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5509. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5510. const script2 = document.createElement("script");
  5511. script2.type = "text/javascript";
  5512. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5513. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5514. const script3 = document.createElement("script");
  5515. script3.type = "text/javascript";
  5516. script3.charset = "UTF-8";
  5517. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5518. const script4 = document.createElement("script");
  5519. script4.type = "text/javascript";
  5520. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5521. script4.src = window.origin + "/js/Common/jietu2E.js";
  5522. if (_iframe) {
  5523. if (str == 'doc') {
  5524. _iframe = _formdiv.querySelector('iframe')
  5525. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5526. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5527. _iframe.contentWindow.document.body.appendChild(script1);
  5528. _iframe.contentWindow.document.body.appendChild(script2);
  5529. // _iframe.contentWindow.document.body.appendChild(script3);
  5530. _iframe.contentWindow.document.body.appendChild(script4);
  5531. })
  5532. if (onloadListener) {
  5533. _iframe.contentDocument.location.reload()
  5534. } else {
  5535. _iframe.contentDocument.location.reload()
  5536. }
  5537. } else if (str == 'courseDesign') {
  5538. U.UF.DL.iframeLoad(_iframe, function () {
  5539. // _iframe.contentWindow.U.MD.O.W.load();
  5540. // _iframe.contentWindow.document.body.appendChild(script1);
  5541. _iframe.contentWindow.document.body.appendChild(script2);
  5542. _iframe.contentWindow.document.body.appendChild(script4);
  5543. })
  5544. } else if (str == 'mind') {
  5545. _iframe = _formdiv.querySelector('iframe')
  5546. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5547. //
  5548. _iframe.contentWindow.document.body.appendChild(script1);
  5549. _iframe.contentWindow.document.body.appendChild(script2);
  5550. _iframe.contentWindow.document.body.appendChild(script4);
  5551. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5552. })
  5553. if (onloadListener) {
  5554. _iframe.contentDocument.location.reload()
  5555. } else {
  5556. _iframe.contentDocument.location.reload()
  5557. }
  5558. } else if (str == 'whiteboard') {
  5559. _iframe = _formdiv.querySelector('iframe')
  5560. let onloadListener = _iframe.onload = () => {
  5561. _iframe.contentWindow.document.body.appendChild(script1);
  5562. _iframe.contentWindow.document.body.appendChild(script2);
  5563. _iframe.contentWindow.document.body.appendChild(script4);
  5564. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5565. };
  5566. if (onloadListener) {
  5567. _iframe.contentDocument.location.reload()
  5568. } else {
  5569. _iframe.contentDocument.location.reload()
  5570. }
  5571. } else {
  5572. _iframe.onload = () => {
  5573. _iframe.contentWindow.document.body.appendChild(script1);
  5574. _iframe.contentWindow.document.body.appendChild(script2);
  5575. // _iframe.contentWindow.document.body.appendChild(script3);
  5576. _iframe.contentWindow.document.body.appendChild(script4);
  5577. };
  5578. }
  5579. _jie.onclick = async () => {
  5580. let text = ''
  5581. if (aTool == 1) {
  5582. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5583. } else if (aTool == 6) {
  5584. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5585. } else if (aTool == 3) {
  5586. text = await U.MD.D.I.getEditorContent(_iframe);
  5587. }
  5588. _loading.style.display = 'flex'
  5589. console.log(_loading);
  5590. var _ajs = _iframe.contentWindow.document.createElement("script");
  5591. _ajs.type = "text/javascript";
  5592. _ajs.innerHTML =
  5593. // 'console.log(' + _loading + ');\n' +
  5594. 'var _js = document.createElement("script");\n' +
  5595. '_js.type="text/javascript";\n' +
  5596. '_js.charset="UTF-8";\n' +
  5597. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5598. "_js.onload = function(){\n" +
  5599. ' var a = document.getElementsByTagName("img")\n' +
  5600. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5601. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5602. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5603. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5604. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5605. "beforeUpload_shishi(file," +
  5606. "'" +
  5607. _userid +
  5608. "'" +
  5609. ", " +
  5610. "'" +
  5611. _cid +
  5612. "'" +
  5613. ", " +
  5614. "'" +
  5615. _stage +
  5616. "'" +
  5617. ", " +
  5618. "'" +
  5619. _task +
  5620. "'" +
  5621. ", " +
  5622. "'" +
  5623. _tool +
  5624. "'" +
  5625. ", " +
  5626. "'" +
  5627. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5628. "'" +
  5629. ", " +
  5630. "'" +
  5631. aTool +
  5632. "'" +
  5633. ", " +
  5634. "`" +
  5635. text +
  5636. "`" +
  5637. ")\n" +
  5638. " });\n" +
  5639. "}\n" +
  5640. "document.head.appendChild(_js);\n";
  5641. _iframe.contentWindow.document.head.appendChild(_ajs);
  5642. }
  5643. }
  5644. //U.MD.D.I.openClick(str);
  5645. //如果有任务栏信息
  5646. // if (_taskbar) {
  5647. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5648. // }
  5649. }
  5650. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5651. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5652. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5653. _userid = student.userid, //登录用户id
  5654. _username = student.student //用户名字
  5655. let _iframe;
  5656. let _cid = cid,
  5657. _stage = stage,
  5658. _task = task,
  5659. _tool = tool;
  5660. var _jie = $$("div", {
  5661. "style": {
  5662. "position": "absolute",
  5663. "bottom": "50px",
  5664. "right": "50px",
  5665. "zIndex": "9999",
  5666. "backgroundColor": "#2268bc",
  5667. "color": "#fff",
  5668. "padding": "12px 20px",
  5669. "cursor": "pointer",
  5670. "borderRadius": "4px",
  5671. },
  5672. "innerHTML": "提交作业"
  5673. })
  5674. let aTool = ''
  5675. let _loading = document.createElement('div')
  5676. _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;"
  5677. // _loading.id = "";
  5678. let _lchild = document.createElement('div')
  5679. let _limg = document.createElement('img')
  5680. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5681. _limg.style = "width: 26px;margin-right: 10px;"
  5682. _lchild.appendChild(_limg)
  5683. let _lspan = document.createElement('span')
  5684. _lspan.innerHTML = "上传中..."
  5685. _lchild.appendChild(_lspan)
  5686. _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%);"
  5687. _loading.appendChild(_lchild)
  5688. var _box = $$('div', {
  5689. "style": {
  5690. "position": "relative",
  5691. "width": "100%",
  5692. "height": "100%",
  5693. },
  5694. })
  5695. _box.appendChild(_loading)
  5696. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5697. switch (str) {
  5698. case "whiteboard":
  5699. aTool = 1;
  5700. _iframe = $$("iframe", {
  5701. "frameborder": "no",
  5702. "border": "0",
  5703. "scrolling ": "no",
  5704. "style": {
  5705. "cssText": "border:0;width:100%;height:100%"
  5706. },
  5707. "src": "https://iwb.cocorobo.cn/"
  5708. })
  5709. _box.appendChild(_iframe);
  5710. _box.appendChild(_jie);
  5711. _formdiv = new U.UF.UI.form(
  5712. "电子白板-" + _username,
  5713. _box, {
  5714. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5715. "style": {
  5716. "width": "90%",
  5717. "height": "90%",
  5718. "overflow": 'hidden'
  5719. },
  5720. "onresize": function () { }
  5721. }, {
  5722. closecallback: function () { }
  5723. }, {
  5724. "style": {
  5725. "height": "36px"
  5726. }
  5727. }).form; //创建窗体
  5728. _taskbar = {
  5729. "id": str + _formdiv.id,
  5730. "style": {
  5731. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5732. },
  5733. "name": "电子白板",
  5734. "forms": _formdiv,
  5735. "click": function () {
  5736. U.MD.D.I.openApplication(str, obj, info);
  5737. }
  5738. }
  5739. break;
  5740. case "mind":
  5741. aTool = 3;
  5742. _iframe = $$("iframe", {
  5743. "frameborder": "no",
  5744. "border": "0",
  5745. "scrolling ": "no",
  5746. "style": {
  5747. "cssText": "border:0;width:100%;height:100%"
  5748. },
  5749. "src": "/kityminder-editor/dist/index.html"
  5750. })
  5751. _box.appendChild(_iframe);
  5752. _box.appendChild(_jie);
  5753. _formdiv = new U.UF.UI.form(
  5754. "思维导图-" + _username,
  5755. _box, { //"/jsmind/example/demo.html"
  5756. "id": "mind" + cid + stage + task + tool + _userid,
  5757. "style": {
  5758. "width": "90%",
  5759. "height": "90%",
  5760. "overflow": 'hidden'
  5761. },
  5762. "onresize": function () { }
  5763. }, {
  5764. closecallback: function () { }
  5765. }, {
  5766. "style": {
  5767. "height": "36px"
  5768. }
  5769. }).form; //创建窗体
  5770. _taskbar = {
  5771. "id": str + _formdiv.id,
  5772. "style": {
  5773. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5774. },
  5775. "name": "思维导图",
  5776. "forms": _formdiv,
  5777. "click": function () {
  5778. U.MD.D.I.openApplication(str, obj, info);
  5779. }
  5780. }
  5781. break;
  5782. case "MindMap":
  5783. aTool = 3;
  5784. _iframe = $$("iframe", {
  5785. "frameborder": "no",
  5786. "border": "0",
  5787. "scrolling ": "no",
  5788. "style": {
  5789. "cssText": "border:0;width:100%;height:100%"
  5790. },
  5791. "src": "//cloud.cocorobo.cn/mind/"
  5792. })
  5793. _box.appendChild(_iframe);
  5794. _box.appendChild(_jie);
  5795. _formdiv = new U.UF.UI.form(
  5796. "思维导图-" + _username,
  5797. _box, { //"/jsmind/example/demo.html"
  5798. "id": "mind" + cid + stage + task + tool + _userid,
  5799. "style": {
  5800. "width": "90%",
  5801. "height": "90%",
  5802. "overflow": 'hidden'
  5803. },
  5804. "onresize": function () { }
  5805. }, {
  5806. closecallback: function () { }
  5807. }, {
  5808. "style": {
  5809. "height": "36px"
  5810. }
  5811. }).form; //创建窗体
  5812. _taskbar = {
  5813. "id": str + _formdiv.id,
  5814. "style": {
  5815. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5816. },
  5817. "name": "思维导图",
  5818. "forms": _formdiv,
  5819. "click": function () {
  5820. U.MD.D.I.openApplication(str, obj, info);
  5821. }
  5822. }
  5823. break;
  5824. case "doc":
  5825. aTool = 6;
  5826. _iframe = $$("iframe", {
  5827. "frameborder": "no",
  5828. "border": "0",
  5829. "scrolling ": "no",
  5830. "style": {
  5831. "cssText": "border:0;width:100%;height:100%"
  5832. },
  5833. "src": "/Office/Word/WordEditArea.htm"
  5834. })
  5835. _box.appendChild(_iframe);
  5836. _box.appendChild(_jie);
  5837. _formdiv = new U.UF.UI.form(
  5838. "协同文档-" + _username,
  5839. _box, {
  5840. "id": "doc" + cid + stage + task + tool + _userid,
  5841. "style": {
  5842. "width": "90%",
  5843. "height": "90%",
  5844. "overflow": 'hidden'
  5845. },
  5846. "onresize": function () { }
  5847. }, {
  5848. closecallback: function () { }
  5849. }, {
  5850. "style": {
  5851. "height": "36px"
  5852. }
  5853. }).form; //创建窗体
  5854. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5855. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5856. })
  5857. _taskbar = {
  5858. "id": str + _formdiv.id,
  5859. "style": {
  5860. "backgroundImage": "url(/img/icon/doc.png)"
  5861. },
  5862. "name": "协同文档",
  5863. "forms": _formdiv,
  5864. "click": function () {
  5865. U.MD.D.I.openApplication(str, obj, info);
  5866. }
  5867. }
  5868. break;
  5869. case "mindNetwork": //好友打开
  5870. aTool = 7;
  5871. _iframe = $$("iframe", {
  5872. "webkitallowfullscreen": "",
  5873. "mozallowfullscreen": "",
  5874. "allowfullscreen": "",
  5875. "frameborder": "no",
  5876. "border": "0",
  5877. "scrolling ": "no",
  5878. "style": {
  5879. "cssText": "border:0; width:100%; height:100%;"
  5880. },
  5881. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5882. })
  5883. _box.appendChild(_iframe);
  5884. _box.appendChild(_jie);
  5885. _formdiv = new U.UF.UI.form(
  5886. "思维网格-" + _username,
  5887. _box, {
  5888. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5889. "style": {
  5890. "width": "90%",
  5891. "height": "90%",
  5892. "overflow": 'hidden'
  5893. },
  5894. "onresize": function () { }
  5895. }, {
  5896. closecallback: function () { }
  5897. }, {
  5898. "style": {
  5899. "height": "36px"
  5900. }
  5901. }).form; //创建窗体
  5902. _taskbar = {
  5903. "id": str + _formdiv.id,
  5904. "style": {
  5905. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5906. },
  5907. "name": "思维网格",
  5908. "forms": _formdiv,
  5909. "click": function () {
  5910. U.MD.D.I.openApplication(str, obj, info);
  5911. }
  5912. }
  5913. break;
  5914. case "courseDesign":
  5915. _iframe = $$("iframe", {
  5916. "webkitallowfullscreen": "",
  5917. "mozallowfullscreen": "",
  5918. "allowfullscreen": "",
  5919. "frameborder": "no",
  5920. "border": "0",
  5921. "scrolling ": "no",
  5922. "style": {
  5923. "cssText": "border:0; width:100%; height:100%;"
  5924. },
  5925. "src": "/course-design-vue"
  5926. })
  5927. _box.appendChild(_iframe);
  5928. _box.appendChild(_jie);
  5929. _formdiv = new U.UF.UI.form(
  5930. "项目设计-" + _username,
  5931. _box, {
  5932. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5933. "style": {
  5934. "width": "90%",
  5935. "height": "90%",
  5936. "overflow": 'hidden'
  5937. },
  5938. "onresize": function () { }
  5939. }, {
  5940. closecallback: function () { }
  5941. }, {
  5942. "style": {
  5943. "height": "36px"
  5944. }
  5945. }).form; //创建窗体
  5946. _taskbar = {
  5947. "id": str + _formdiv.id,
  5948. "style": {
  5949. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5950. },
  5951. "name": "项目设计",
  5952. "forms": _formdiv,
  5953. "click": function () {
  5954. U.MD.D.I.openApplication(str, obj, info);
  5955. }
  5956. }
  5957. break;
  5958. }
  5959. const script1 = document.createElement("script");
  5960. script1.type = "text/javascript";
  5961. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5962. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5963. const script2 = document.createElement("script");
  5964. script2.type = "text/javascript";
  5965. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5966. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5967. const script3 = document.createElement("script");
  5968. script3.type = "text/javascript";
  5969. script3.charset = "UTF-8";
  5970. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5971. const script4 = document.createElement("script");
  5972. script4.type = "text/javascript";
  5973. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5974. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5975. if (_iframe) {
  5976. if (str == 'doc') {
  5977. _iframe = _formdiv.querySelector('iframe')
  5978. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5979. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5980. _iframe.contentWindow.document.body.appendChild(script1);
  5981. _iframe.contentWindow.document.body.appendChild(script2);
  5982. // _iframe.contentWindow.document.body.appendChild(script3);
  5983. _iframe.contentWindow.document.body.appendChild(script4);
  5984. })
  5985. if (onloadListener) {
  5986. _iframe.contentDocument.location.reload()
  5987. } else {
  5988. _iframe.contentDocument.location.reload()
  5989. }
  5990. } else if (str == 'courseDesign') {
  5991. U.UF.DL.iframeLoad(_iframe, function () {
  5992. // _iframe.contentWindow.U.MD.O.W.load();
  5993. // _iframe.contentWindow.document.body.appendChild(script1);
  5994. _iframe.contentWindow.document.body.appendChild(script2);
  5995. _iframe.contentWindow.document.body.appendChild(script4);
  5996. })
  5997. } else if (str == 'mind') {
  5998. _iframe = _formdiv.querySelector('iframe')
  5999. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6000. //
  6001. _iframe.contentWindow.document.body.appendChild(script1);
  6002. _iframe.contentWindow.document.body.appendChild(script2);
  6003. _iframe.contentWindow.document.body.appendChild(script4);
  6004. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6005. })
  6006. if (onloadListener) {
  6007. _iframe.contentDocument.location.reload()
  6008. } else {
  6009. _iframe.contentDocument.location.reload()
  6010. }
  6011. } else if (str == 'whiteboard') {
  6012. _iframe = _formdiv.querySelector('iframe')
  6013. let onloadListener = _iframe.onload = () => {
  6014. _iframe.contentWindow.document.body.appendChild(script1);
  6015. _iframe.contentWindow.document.body.appendChild(script2);
  6016. _iframe.contentWindow.document.body.appendChild(script4);
  6017. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6018. };
  6019. if (onloadListener) {
  6020. _iframe.contentDocument.location.reload()
  6021. } else {
  6022. _iframe.contentDocument.location.reload()
  6023. }
  6024. } else {
  6025. _iframe.onload = () => {
  6026. _iframe.contentWindow.document.body.appendChild(script1);
  6027. _iframe.contentWindow.document.body.appendChild(script2);
  6028. // _iframe.contentWindow.document.body.appendChild(script3);
  6029. _iframe.contentWindow.document.body.appendChild(script4);
  6030. };
  6031. }
  6032. _jie.onclick = async () => {
  6033. let text = ''
  6034. if (aTool == 1) {
  6035. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6036. } else if (aTool == 6) {
  6037. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6038. } else if (aTool == 3) {
  6039. text = await U.MD.D.I.getEditorContent(_iframe);
  6040. }
  6041. _loading.style.display = 'flex'
  6042. console.log(_loading);
  6043. var _ajs = _iframe.contentWindow.document.createElement("script");
  6044. _ajs.type = "text/javascript";
  6045. _ajs.innerHTML =
  6046. // 'console.log(' + _loading + ');\n' +
  6047. 'var _js = document.createElement("script");\n' +
  6048. '_js.type="text/javascript";\n' +
  6049. '_js.charset="UTF-8";\n' +
  6050. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6051. "_js.onload = function(){\n" +
  6052. ' var a = document.getElementsByTagName("img")\n' +
  6053. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6054. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6055. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6056. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6057. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6058. "beforeUpload_shishi(file," +
  6059. "'" +
  6060. _userid +
  6061. "'" +
  6062. ", " +
  6063. "'" +
  6064. _cid +
  6065. "'" +
  6066. ", " +
  6067. "'" +
  6068. _stage +
  6069. "'" +
  6070. ", " +
  6071. "'" +
  6072. _task +
  6073. "'" +
  6074. ", " +
  6075. "'" +
  6076. _tool +
  6077. "'" +
  6078. ", " +
  6079. "'" +
  6080. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6081. "'" +
  6082. ", " +
  6083. "'" +
  6084. aTool +
  6085. "'" +
  6086. ", " +
  6087. "`" +
  6088. text +
  6089. "`" +
  6090. ")\n" +
  6091. " });\n" +
  6092. "}\n" +
  6093. "document.head.appendChild(_js);\n";
  6094. _iframe.contentWindow.document.head.appendChild(_ajs);
  6095. }
  6096. }
  6097. }
  6098. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6099. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6100. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6101. _userid = student.userid, //登录用户id
  6102. _username = student.student //用户名字
  6103. let _iframe;
  6104. let _cid = cid,
  6105. _stage = stage,
  6106. _task = task,
  6107. _tool = tool;
  6108. var _jie = $$("div", {
  6109. "style": {
  6110. "position": "absolute",
  6111. "bottom": "50px",
  6112. "right": "50px",
  6113. "zIndex": "9999",
  6114. "backgroundColor": "#2268bc",
  6115. "color": "#fff",
  6116. "padding": "12px 20px",
  6117. "cursor": "pointer",
  6118. "borderRadius": "4px",
  6119. },
  6120. "innerHTML": "提交作业"
  6121. })
  6122. let aTool = ''
  6123. let _loading = document.createElement('div')
  6124. _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;"
  6125. // _loading.id = "";
  6126. let _lchild = document.createElement('div')
  6127. let _limg = document.createElement('img')
  6128. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6129. _limg.style = "width: 26px;margin-right: 10px;"
  6130. _lchild.appendChild(_limg)
  6131. let _lspan = document.createElement('span')
  6132. _lspan.innerHTML = "上传中..."
  6133. _lchild.appendChild(_lspan)
  6134. _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%);"
  6135. _loading.appendChild(_lchild)
  6136. var _box = $$('div', {
  6137. "style": {
  6138. "position": "relative",
  6139. "width": "100%",
  6140. "height": "100%",
  6141. },
  6142. })
  6143. _box.appendChild(_loading)
  6144. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6145. switch (str) {
  6146. case "whiteboard":
  6147. aTool = 1;
  6148. _iframe = $$("iframe", {
  6149. "frameborder": "no",
  6150. "border": "0",
  6151. "scrolling ": "no",
  6152. "style": {
  6153. "cssText": "border:0;width:100%;height:100%"
  6154. },
  6155. "src": "https://iwb.cocorobo.cn/"
  6156. })
  6157. _box.appendChild(_iframe);
  6158. _box.appendChild(_jie);
  6159. _formdiv = new U.UF.UI.form(
  6160. "电子白板-" + _username,
  6161. _box, {
  6162. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6163. "style": {
  6164. "width": "90%",
  6165. "height": "90%",
  6166. "overflow": 'hidden'
  6167. },
  6168. "onresize": function () { }
  6169. }, {
  6170. closecallback: function () { }
  6171. }, {
  6172. "style": {
  6173. "height": "36px"
  6174. }
  6175. }).form; //创建窗体
  6176. _taskbar = {
  6177. "id": str + _formdiv.id,
  6178. "style": {
  6179. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6180. },
  6181. "name": "电子白板",
  6182. "forms": _formdiv,
  6183. "click": function () {
  6184. U.MD.D.I.openApplication(str, obj, info);
  6185. }
  6186. }
  6187. break;
  6188. case "mind":
  6189. aTool = 3;
  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": "/kityminder-editor/dist/index.html"
  6198. })
  6199. _box.appendChild(_iframe);
  6200. _box.appendChild(_jie);
  6201. _formdiv = new U.UF.UI.form(
  6202. "思维导图-" + _username,
  6203. _box, { //"/jsmind/example/demo.html"
  6204. "id": "mind" + 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/mindMapping.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 "MindMap":
  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": "//cloud.cocorobo.cn/mind/"
  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 "doc":
  6273. aTool = 6;
  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": "/Office/Word/WordEditArea.htm"
  6282. })
  6283. _box.appendChild(_iframe);
  6284. _box.appendChild(_jie);
  6285. _formdiv = new U.UF.UI.form(
  6286. "协同文档-" + _username,
  6287. _box, {
  6288. "id": "doc" + 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. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6303. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6304. })
  6305. _taskbar = {
  6306. "id": str + _formdiv.id,
  6307. "style": {
  6308. "backgroundImage": "url(/img/icon/doc.png)"
  6309. },
  6310. "name": "协同文档",
  6311. "forms": _formdiv,
  6312. "click": function () {
  6313. U.MD.D.I.openApplication(str, obj, info);
  6314. }
  6315. }
  6316. break;
  6317. case "mindNetwork": //好友打开
  6318. aTool = 7;
  6319. _iframe = $$("iframe", {
  6320. "webkitallowfullscreen": "",
  6321. "mozallowfullscreen": "",
  6322. "allowfullscreen": "",
  6323. "frameborder": "no",
  6324. "border": "0",
  6325. "scrolling ": "no",
  6326. "style": {
  6327. "cssText": "border:0; width:100%; height:100%;"
  6328. },
  6329. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6330. })
  6331. _box.appendChild(_iframe);
  6332. _box.appendChild(_jie);
  6333. _formdiv = new U.UF.UI.form(
  6334. "思维网格-" + _username,
  6335. _box, {
  6336. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6337. "style": {
  6338. "width": "90%",
  6339. "height": "90%",
  6340. "overflow": 'hidden'
  6341. },
  6342. "onresize": function () { }
  6343. }, {
  6344. closecallback: function () { }
  6345. }, {
  6346. "style": {
  6347. "height": "36px"
  6348. }
  6349. }).form; //创建窗体
  6350. _taskbar = {
  6351. "id": str + _formdiv.id,
  6352. "style": {
  6353. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6354. },
  6355. "name": "思维网格",
  6356. "forms": _formdiv,
  6357. "click": function () {
  6358. U.MD.D.I.openApplication(str, obj, info);
  6359. }
  6360. }
  6361. break;
  6362. case "courseDesign":
  6363. _iframe = $$("iframe", {
  6364. "webkitallowfullscreen": "",
  6365. "mozallowfullscreen": "",
  6366. "allowfullscreen": "",
  6367. "frameborder": "no",
  6368. "border": "0",
  6369. "scrolling ": "no",
  6370. "style": {
  6371. "cssText": "border:0; width:100%; height:100%;"
  6372. },
  6373. "src": "/course-design-vue"
  6374. })
  6375. _box.appendChild(_iframe);
  6376. _box.appendChild(_jie);
  6377. _formdiv = new U.UF.UI.form(
  6378. "项目设计-" + _username,
  6379. _box, {
  6380. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6381. "style": {
  6382. "width": "90%",
  6383. "height": "90%",
  6384. "overflow": 'hidden'
  6385. },
  6386. "onresize": function () { }
  6387. }, {
  6388. closecallback: function () { }
  6389. }, {
  6390. "style": {
  6391. "height": "36px"
  6392. }
  6393. }).form; //创建窗体
  6394. _taskbar = {
  6395. "id": str + _formdiv.id,
  6396. "style": {
  6397. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6398. },
  6399. "name": "项目设计",
  6400. "forms": _formdiv,
  6401. "click": function () {
  6402. U.MD.D.I.openApplication(str, obj, info);
  6403. }
  6404. }
  6405. break;
  6406. }
  6407. const script1 = document.createElement("script");
  6408. script1.type = "text/javascript";
  6409. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6410. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6411. const script2 = document.createElement("script");
  6412. script2.type = "text/javascript";
  6413. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6414. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6415. const script3 = document.createElement("script");
  6416. script3.type = "text/javascript";
  6417. script3.charset = "UTF-8";
  6418. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6419. const script4 = document.createElement("script");
  6420. script4.type = "text/javascript";
  6421. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6422. script4.src = window.origin + "/js/Common/jietu2E.js";
  6423. if (_iframe) {
  6424. if (str == 'doc') {
  6425. _iframe = _formdiv.querySelector('iframe')
  6426. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6427. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6428. _iframe.contentWindow.document.body.appendChild(script1);
  6429. _iframe.contentWindow.document.body.appendChild(script2);
  6430. // _iframe.contentWindow.document.body.appendChild(script3);
  6431. _iframe.contentWindow.document.body.appendChild(script4);
  6432. })
  6433. if (onloadListener) {
  6434. _iframe.contentDocument.location.reload()
  6435. } else {
  6436. _iframe.contentDocument.location.reload()
  6437. }
  6438. } else if (str == 'courseDesign') {
  6439. U.UF.DL.iframeLoad(_iframe, function () {
  6440. // _iframe.contentWindow.U.MD.O.W.load();
  6441. // _iframe.contentWindow.document.body.appendChild(script1);
  6442. _iframe.contentWindow.document.body.appendChild(script2);
  6443. _iframe.contentWindow.document.body.appendChild(script4);
  6444. })
  6445. } else if (str == 'mind') {
  6446. _iframe = _formdiv.querySelector('iframe')
  6447. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6448. //
  6449. _iframe.contentWindow.document.body.appendChild(script1);
  6450. _iframe.contentWindow.document.body.appendChild(script2);
  6451. _iframe.contentWindow.document.body.appendChild(script4);
  6452. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6453. })
  6454. if (onloadListener) {
  6455. _iframe.contentDocument.location.reload()
  6456. } else {
  6457. _iframe.contentDocument.location.reload()
  6458. }
  6459. } else if (str == 'whiteboard') {
  6460. _iframe = _formdiv.querySelector('iframe')
  6461. let onloadListener = _iframe.onload = () => {
  6462. _iframe.contentWindow.document.body.appendChild(script1);
  6463. _iframe.contentWindow.document.body.appendChild(script2);
  6464. _iframe.contentWindow.document.body.appendChild(script4);
  6465. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6466. };
  6467. if (onloadListener) {
  6468. _iframe.contentDocument.location.reload()
  6469. } else {
  6470. _iframe.contentDocument.location.reload()
  6471. }
  6472. } else {
  6473. _iframe.onload = () => {
  6474. _iframe.contentWindow.document.body.appendChild(script1);
  6475. _iframe.contentWindow.document.body.appendChild(script2);
  6476. // _iframe.contentWindow.document.body.appendChild(script3);
  6477. _iframe.contentWindow.document.body.appendChild(script4);
  6478. };
  6479. }
  6480. _jie.onclick = async () => {
  6481. let text = ''
  6482. if (aTool == 1) {
  6483. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6484. } else if (aTool == 6) {
  6485. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6486. } else if (aTool == 3) {
  6487. text = await U.MD.D.I.getEditorContent(_iframe);
  6488. }
  6489. _loading.style.display = 'flex'
  6490. console.log(_loading);
  6491. var _ajs = _iframe.contentWindow.document.createElement("script");
  6492. _ajs.type = "text/javascript";
  6493. _ajs.innerHTML =
  6494. // 'console.log(' + _loading + ');\n' +
  6495. 'var _js = document.createElement("script");\n' +
  6496. '_js.type="text/javascript";\n' +
  6497. '_js.charset="UTF-8";\n' +
  6498. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6499. "_js.onload = function(){\n" +
  6500. ' var a = document.getElementsByTagName("img")\n' +
  6501. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6502. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6503. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6504. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6505. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6506. "beforeUpload_shishi(file," +
  6507. "'" +
  6508. _userid +
  6509. "'" +
  6510. ", " +
  6511. "'" +
  6512. _cid +
  6513. "'" +
  6514. ", " +
  6515. "'" +
  6516. _stage +
  6517. "'" +
  6518. ", " +
  6519. "'" +
  6520. _task +
  6521. "'" +
  6522. ", " +
  6523. "'" +
  6524. _tool +
  6525. "'" +
  6526. ", " +
  6527. "'" +
  6528. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6529. "'" +
  6530. ", " +
  6531. "'" +
  6532. aTool +
  6533. "'" +
  6534. ", " +
  6535. "`" +
  6536. text +
  6537. "`" +
  6538. ")\n" +
  6539. " });\n" +
  6540. "}\n" +
  6541. "document.head.appendChild(_js);\n";
  6542. _iframe.contentWindow.document.head.appendChild(_ajs);
  6543. }
  6544. }
  6545. }
  6546. U.MD.D.I.getEditorContent = function (iframe) {
  6547. return new Promise((resolve, reject) => {
  6548. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6549. console.log(content);
  6550. resolve(content)
  6551. });
  6552. });
  6553. }
  6554. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6555. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6556. // if (res.value[0].length > 0) {
  6557. // // resolve(res.value[0][0].text);
  6558. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6559. // $(fileInput).val('');
  6560. // });
  6561. // }
  6562. // }, [], { "type": "GET", "withCredentials": true });
  6563. var xmlhttp;
  6564. var Mac, Sn, DeviceId
  6565. if (window.XMLHttpRequest) {
  6566. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6567. xmlhttp = new XMLHttpRequest();
  6568. } else {
  6569. // IE6, IE5 浏览器执行代码
  6570. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6571. }
  6572. xmlhttp.onreadystatechange = function () {
  6573. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6574. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6575. // resolve(res.value[0][0].text);
  6576. if (type == '2') {
  6577. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6578. } else if (type == '3') {
  6579. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6580. }
  6581. } else {
  6582. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6583. }
  6584. }
  6585. }
  6586. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6587. xmlhttp.send();
  6588. }
  6589. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6590. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6591. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6592. _userinfo = US.userInfo, //登录用户信息
  6593. _userid = US.userInfo.userid //登录用户id
  6594. let _iframe;
  6595. let _cid = cid,
  6596. _stage = stage,
  6597. _task = task,
  6598. _tool = tool;
  6599. var _jie = $$("div", {
  6600. "style": {
  6601. "position": "absolute",
  6602. "bottom": "50px",
  6603. "right": "50px",
  6604. "zIndex": "9999",
  6605. "backgroundColor": "#2268bc",
  6606. "color": "#fff",
  6607. "padding": "12px 20px",
  6608. "cursor": "pointer",
  6609. "borderRadius": "4px",
  6610. },
  6611. "innerHTML": "确认并提交"
  6612. })
  6613. let aTool = ''
  6614. let _loading = document.createElement('div')
  6615. _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;"
  6616. // _loading.id = "";
  6617. let _lchild = document.createElement('div')
  6618. let _limg = document.createElement('img')
  6619. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6620. _limg.style = "width: 26px;margin-right: 10px;"
  6621. _lchild.appendChild(_limg)
  6622. let _lspan = document.createElement('span')
  6623. _lspan.innerHTML = "上传中..."
  6624. _lchild.appendChild(_lspan)
  6625. _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%);"
  6626. _loading.appendChild(_lchild)
  6627. var _box = $$('div', {
  6628. "style": {
  6629. "position": "relative",
  6630. "width": "100%",
  6631. "height": "100%",
  6632. },
  6633. })
  6634. _box.appendChild(_loading)
  6635. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6636. switch (str) {
  6637. case "whiteboard":
  6638. aTool = 1;
  6639. _iframe = $$("iframe", {
  6640. "frameborder": "no",
  6641. "border": "0",
  6642. "scrolling ": "no",
  6643. "style": {
  6644. "cssText": "border:0;width:100%;height:100%"
  6645. },
  6646. "src": "https://iwb.cocorobo.cn/"
  6647. })
  6648. _box.appendChild(_iframe);
  6649. _box.appendChild(_jie);
  6650. _formdiv = new U.UF.UI.form(
  6651. "电子白板",
  6652. _box, {
  6653. "id": "whiteboards" + cid + stage + task + tool,
  6654. "style": {
  6655. "width": "90%",
  6656. "height": "90%",
  6657. "overflow": 'hidden'
  6658. },
  6659. "onresize": function () { }
  6660. }, {
  6661. closecallback: function () { }
  6662. }, {
  6663. "style": {
  6664. "height": "36px"
  6665. }
  6666. }).form; //创建窗体
  6667. _taskbar = {
  6668. "id": str + _formdiv.id,
  6669. "style": {
  6670. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6671. },
  6672. "name": "电子白板",
  6673. "forms": _formdiv,
  6674. "click": function () {
  6675. U.MD.D.I.openApplication(str, obj, info);
  6676. }
  6677. }
  6678. break;
  6679. case "mind":
  6680. aTool = 3;
  6681. _iframe = $$("iframe", {
  6682. "frameborder": "no",
  6683. "border": "0",
  6684. "scrolling ": "no",
  6685. "style": {
  6686. "cssText": "border:0;width:100%;height:100%"
  6687. },
  6688. "src": "/kityminder-editor/dist/index.html"
  6689. });
  6690. _box.appendChild(_iframe);
  6691. _box.appendChild(_jie);
  6692. _formdiv = new U.UF.UI.form(
  6693. "思维导图",
  6694. _box, { //"/jsmind/example/demo.html"
  6695. "id": "minds" + cid + stage + task + tool,
  6696. "style": {
  6697. "width": "90%",
  6698. "height": "90%",
  6699. "overflow": 'hidden'
  6700. },
  6701. "onresize": function () { }
  6702. }, {
  6703. closecallback: function () { }
  6704. }, {
  6705. "style": {
  6706. "height": "36px"
  6707. }
  6708. }).form; //创建窗体
  6709. _taskbar = {
  6710. "id": str + _formdiv.id,
  6711. "style": {
  6712. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6713. },
  6714. "name": "思维导图",
  6715. "forms": _formdiv,
  6716. "click": function () {
  6717. U.MD.D.I.openApplication(str, obj, info);
  6718. }
  6719. }
  6720. break;
  6721. case "doc":
  6722. aTool = 6;
  6723. _iframe = $$("iframe", {
  6724. "frameborder": "no",
  6725. "border": "0",
  6726. "scrolling ": "no",
  6727. "style": {
  6728. "cssText": "border:0;width:100%;height:100%"
  6729. },
  6730. "src": "/Office/Word/WordEditArea.htm"
  6731. })
  6732. _box.appendChild(_iframe);
  6733. _box.appendChild(_jie);
  6734. _formdiv = new U.UF.UI.form(
  6735. "协同文档",
  6736. _box, {
  6737. "id": "docs" + cid + stage + task + tool,
  6738. "style": {
  6739. "width": "90%",
  6740. "height": "90%",
  6741. "overflow": 'hidden'
  6742. },
  6743. "onresize": function () { }
  6744. }, {
  6745. closecallback: function () { }
  6746. }, {
  6747. "style": {
  6748. "height": "36px"
  6749. }
  6750. }).form; //创建窗体
  6751. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6752. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6753. })
  6754. _taskbar = {
  6755. "id": str + _formdiv.id,
  6756. "style": {
  6757. "backgroundImage": "url(/img/icon/doc.png)"
  6758. },
  6759. "name": "协同文档",
  6760. "forms": _formdiv,
  6761. "click": function () {
  6762. U.MD.D.I.openApplication(str, obj, info);
  6763. }
  6764. }
  6765. break;
  6766. }
  6767. const script1 = document.createElement("script");
  6768. script1.type = "text/javascript";
  6769. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6770. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6771. const script2 = document.createElement("script");
  6772. script2.type = "text/javascript";
  6773. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6774. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6775. const script3 = document.createElement("script");
  6776. script3.type = "text/javascript";
  6777. script3.charset = "UTF-8";
  6778. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6779. const script4 = document.createElement("script");
  6780. script4.type = "text/javascript";
  6781. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6782. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6783. if (_iframe) {
  6784. if (str == 'doc') {
  6785. _iframe = _formdiv.querySelector('iframe')
  6786. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6787. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6788. _iframe.contentWindow.document.body.appendChild(script1);
  6789. _iframe.contentWindow.document.body.appendChild(script2);
  6790. // _iframe.contentWindow.document.body.appendChild(script3);
  6791. _iframe.contentWindow.document.body.appendChild(script4);
  6792. })
  6793. if (onloadListener) {
  6794. _iframe.contentDocument.location.reload()
  6795. } else {
  6796. _iframe.contentDocument.location.reload()
  6797. }
  6798. } else if (str == 'mind') {
  6799. _iframe = _formdiv.querySelector('iframe')
  6800. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6801. _iframe.contentWindow.document.body.appendChild(script1);
  6802. _iframe.contentWindow.document.body.appendChild(script2);
  6803. _iframe.contentWindow.document.body.appendChild(script4);
  6804. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6805. })
  6806. if (onloadListener) {
  6807. _iframe.contentDocument.location.reload()
  6808. } else {
  6809. _iframe.contentDocument.location.reload()
  6810. }
  6811. } else {
  6812. _iframe.onload = () => {
  6813. _iframe.contentWindow.document.body.appendChild(script1);
  6814. _iframe.contentWindow.document.body.appendChild(script2);
  6815. // _iframe.contentWindow.document.body.appendChild(script3);
  6816. _iframe.contentWindow.document.body.appendChild(script4);
  6817. };
  6818. }
  6819. _jie.onclick = async () => {
  6820. let text = ''
  6821. if (aTool == 6) {
  6822. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6823. } else if (aTool == 3) {
  6824. text = await U.MD.D.I.getEditorContent(_iframe);
  6825. }
  6826. _loading.style.display = 'flex'
  6827. console.log(_loading);
  6828. var _ajs = _iframe.contentWindow.document.createElement("script");
  6829. _ajs.type = "text/javascript";
  6830. _ajs.innerHTML =
  6831. // 'console.log(' + _loading + ');\n' +
  6832. 'var _js = document.createElement("script");\n' +
  6833. '_js.type="text/javascript";\n' +
  6834. '_js.charset="UTF-8";\n' +
  6835. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6836. "_js.onload = function(){\n" +
  6837. ' var a = document.getElementsByTagName("img")\n' +
  6838. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6839. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6840. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6841. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6842. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6843. "beforeUpload_shishi(file," +
  6844. "'" +
  6845. _userid +
  6846. "'" +
  6847. ", " +
  6848. "'" +
  6849. _cid +
  6850. "'" +
  6851. ", " +
  6852. "'" +
  6853. _stage +
  6854. "'" +
  6855. ", " +
  6856. "'" +
  6857. _task +
  6858. "'" +
  6859. ", " +
  6860. "'" +
  6861. _tool +
  6862. "'" +
  6863. ", " +
  6864. "'" +
  6865. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6866. "'" +
  6867. ", " +
  6868. "'" +
  6869. aTool +
  6870. "'" +
  6871. ", " +
  6872. "`" +
  6873. text +
  6874. "`" +
  6875. ")\n" +
  6876. " });\n" +
  6877. "}\n" +
  6878. "document.head.appendChild(_js);\n";
  6879. _iframe.contentWindow.document.head.appendChild(_ajs);
  6880. }
  6881. }
  6882. //U.MD.D.I.openClick(str);
  6883. //如果有任务栏信息
  6884. // if (_taskbar) {
  6885. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6886. // }
  6887. }
  6888. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6889. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6890. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6891. _userinfo = US.userInfo, //登录用户信息
  6892. _userid = US.userInfo.userid //登录用户id
  6893. let _iframe;
  6894. let _cid = cid,
  6895. _stage = stage,
  6896. _task = task,
  6897. _tool = tool;
  6898. var _jie = $$("div", {
  6899. "style": {
  6900. "position": "absolute",
  6901. "bottom": "50px",
  6902. "right": "50px",
  6903. "zIndex": "9999",
  6904. "backgroundColor": "#2268bc",
  6905. "color": "#fff",
  6906. "padding": "12px 20px",
  6907. "cursor": "pointer",
  6908. "borderRadius": "4px",
  6909. },
  6910. "innerHTML": "确认并提交"
  6911. })
  6912. let aTool = ''
  6913. let _loading = document.createElement('div')
  6914. _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;"
  6915. // _loading.id = "";
  6916. let _lchild = document.createElement('div')
  6917. let _limg = document.createElement('img')
  6918. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6919. _limg.style = "width: 26px;margin-right: 10px;"
  6920. _lchild.appendChild(_limg)
  6921. let _lspan = document.createElement('span')
  6922. _lspan.innerHTML = "上传中..."
  6923. _lchild.appendChild(_lspan)
  6924. _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%);"
  6925. _loading.appendChild(_lchild)
  6926. var _box = $$('div', {
  6927. "style": {
  6928. "position": "relative",
  6929. "width": "100%",
  6930. "height": "100%",
  6931. },
  6932. })
  6933. _box.appendChild(_loading)
  6934. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6935. switch (str) {
  6936. case "whiteboard":
  6937. aTool = 1;
  6938. _iframe = $$("iframe", {
  6939. "frameborder": "no",
  6940. "border": "0",
  6941. "scrolling ": "no",
  6942. "style": {
  6943. "cssText": "border:0;width:100%;height:100%"
  6944. },
  6945. "src": "https://iwb.cocorobo.cn/"
  6946. })
  6947. _box.appendChild(_iframe);
  6948. _box.appendChild(_jie);
  6949. _formdiv = new U.UF.UI.form(
  6950. "电子白板",
  6951. _box, {
  6952. "id": "whiteboards" + cid + stage + task + tool,
  6953. "style": {
  6954. "width": "90%",
  6955. "height": "90%",
  6956. "overflow": 'hidden'
  6957. },
  6958. "onresize": function () { }
  6959. }, {
  6960. closecallback: function () { }
  6961. }, {
  6962. "style": {
  6963. "height": "36px"
  6964. }
  6965. }).form; //创建窗体
  6966. _taskbar = {
  6967. "id": str + _formdiv.id,
  6968. "style": {
  6969. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6970. },
  6971. "name": "电子白板",
  6972. "forms": _formdiv,
  6973. "click": function () {
  6974. U.MD.D.I.openApplication(str, obj, info);
  6975. }
  6976. }
  6977. break;
  6978. case "mind":
  6979. aTool = 3;
  6980. _iframe = $$("iframe", {
  6981. "frameborder": "no",
  6982. "border": "0",
  6983. "scrolling ": "no",
  6984. "style": {
  6985. "cssText": "border:0;width:100%;height:100%"
  6986. },
  6987. "src": "/kityminder-editor/dist/index.html"
  6988. });
  6989. _box.appendChild(_iframe);
  6990. _box.appendChild(_jie);
  6991. _formdiv = new U.UF.UI.form(
  6992. "思维导图",
  6993. _box, { //"/jsmind/example/demo.html"
  6994. "id": "minds" + cid + stage + task + tool,
  6995. "style": {
  6996. "width": "90%",
  6997. "height": "90%",
  6998. "overflow": 'hidden'
  6999. },
  7000. "onresize": function () { }
  7001. }, {
  7002. closecallback: function () { }
  7003. }, {
  7004. "style": {
  7005. "height": "36px"
  7006. }
  7007. }).form; //创建窗体
  7008. _taskbar = {
  7009. "id": str + _formdiv.id,
  7010. "style": {
  7011. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7012. },
  7013. "name": "思维导图",
  7014. "forms": _formdiv,
  7015. "click": function () {
  7016. U.MD.D.I.openApplication(str, obj, info);
  7017. }
  7018. }
  7019. break;
  7020. case "doc":
  7021. aTool = 6;
  7022. _iframe = $$("iframe", {
  7023. "frameborder": "no",
  7024. "border": "0",
  7025. "scrolling ": "no",
  7026. "style": {
  7027. "cssText": "border:0;width:100%;height:100%"
  7028. },
  7029. "src": "/Office/Word/WordEditArea.htm"
  7030. })
  7031. _box.appendChild(_iframe);
  7032. _box.appendChild(_jie);
  7033. _formdiv = new U.UF.UI.form(
  7034. "协同文档",
  7035. _box, {
  7036. "id": "docs" + cid + stage + task + tool,
  7037. "style": {
  7038. "width": "90%",
  7039. "height": "90%",
  7040. "overflow": 'hidden'
  7041. },
  7042. "onresize": function () { }
  7043. }, {
  7044. closecallback: function () { }
  7045. }, {
  7046. "style": {
  7047. "height": "36px"
  7048. }
  7049. }).form; //创建窗体
  7050. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7051. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7052. })
  7053. _taskbar = {
  7054. "id": str + _formdiv.id,
  7055. "style": {
  7056. "backgroundImage": "url(/img/icon/doc.png)"
  7057. },
  7058. "name": "协同文档",
  7059. "forms": _formdiv,
  7060. "click": function () {
  7061. U.MD.D.I.openApplication(str, obj, info);
  7062. }
  7063. }
  7064. break;
  7065. }
  7066. const script1 = document.createElement("script");
  7067. script1.type = "text/javascript";
  7068. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7069. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7070. const script2 = document.createElement("script");
  7071. script2.type = "text/javascript";
  7072. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7073. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7074. const script3 = document.createElement("script");
  7075. script3.type = "text/javascript";
  7076. script3.charset = "UTF-8";
  7077. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7078. const script4 = document.createElement("script");
  7079. script4.type = "text/javascript";
  7080. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7081. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7082. if (_iframe) {
  7083. if (str == 'doc') {
  7084. _iframe = _formdiv.querySelector('iframe')
  7085. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7086. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7087. _iframe.contentWindow.document.body.appendChild(script1);
  7088. _iframe.contentWindow.document.body.appendChild(script2);
  7089. // _iframe.contentWindow.document.body.appendChild(script3);
  7090. _iframe.contentWindow.document.body.appendChild(script4);
  7091. })
  7092. if (onloadListener) {
  7093. _iframe.contentDocument.location.reload()
  7094. } else {
  7095. _iframe.contentDocument.location.reload()
  7096. }
  7097. } else if (str == 'mind') {
  7098. _iframe = _formdiv.querySelector('iframe')
  7099. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7100. _iframe.contentWindow.document.body.appendChild(script1);
  7101. _iframe.contentWindow.document.body.appendChild(script2);
  7102. _iframe.contentWindow.document.body.appendChild(script4);
  7103. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7104. })
  7105. if (onloadListener) {
  7106. _iframe.contentDocument.location.reload()
  7107. } else {
  7108. _iframe.contentDocument.location.reload()
  7109. }
  7110. } else {
  7111. _iframe.onload = () => {
  7112. _iframe.contentWindow.document.body.appendChild(script1);
  7113. _iframe.contentWindow.document.body.appendChild(script2);
  7114. // _iframe.contentWindow.document.body.appendChild(script3);
  7115. _iframe.contentWindow.document.body.appendChild(script4);
  7116. };
  7117. }
  7118. _jie.onclick = async () => {
  7119. let text = ''
  7120. if (aTool == 6) {
  7121. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7122. } else if (aTool == 3) {
  7123. text = await U.MD.D.I.getEditorContent(_iframe);
  7124. }
  7125. _loading.style.display = 'flex'
  7126. console.log(_loading);
  7127. var _ajs = _iframe.contentWindow.document.createElement("script");
  7128. _ajs.type = "text/javascript";
  7129. _ajs.innerHTML =
  7130. // 'console.log(' + _loading + ');\n' +
  7131. 'var _js = document.createElement("script");\n' +
  7132. '_js.type="text/javascript";\n' +
  7133. '_js.charset="UTF-8";\n' +
  7134. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7135. "_js.onload = function(){\n" +
  7136. ' var a = document.getElementsByTagName("img")\n' +
  7137. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7138. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7139. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7140. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7141. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7142. "beforeUpload_shishi(file," +
  7143. "'" +
  7144. _userid +
  7145. "'" +
  7146. ", " +
  7147. "'" +
  7148. _cid +
  7149. "'" +
  7150. ", " +
  7151. "'" +
  7152. _stage +
  7153. "'" +
  7154. ", " +
  7155. "'" +
  7156. _task +
  7157. "'" +
  7158. ", " +
  7159. "'" +
  7160. _tool +
  7161. "'" +
  7162. ", " +
  7163. "'" +
  7164. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7165. "'" +
  7166. ", " +
  7167. "'" +
  7168. aTool +
  7169. "'" +
  7170. ", " +
  7171. "`" +
  7172. text +
  7173. "`" +
  7174. ")\n" +
  7175. " });\n" +
  7176. "}\n" +
  7177. "document.head.appendChild(_js);\n";
  7178. _iframe.contentWindow.document.head.appendChild(_ajs);
  7179. }
  7180. }
  7181. //U.MD.D.I.openClick(str);
  7182. //如果有任务栏信息
  7183. // if (_taskbar) {
  7184. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7185. // }
  7186. }
  7187. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7188. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7189. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7190. _userinfo = US.userInfo, //登录用户信息
  7191. _userid = US.userInfo.userid //登录用户id
  7192. let _iframe;
  7193. let _cid = cid,
  7194. _stage = stage,
  7195. _task = task,
  7196. _tool = tool;
  7197. var _jie = $$("div", {
  7198. "style": {
  7199. "position": "absolute",
  7200. "bottom": "50px",
  7201. "right": "50px",
  7202. "zIndex": "9999",
  7203. "backgroundColor": "#2268bc",
  7204. "color": "#fff",
  7205. "padding": "12px 20px",
  7206. "cursor": "pointer",
  7207. "borderRadius": "4px",
  7208. },
  7209. "innerHTML": "上传模板"
  7210. })
  7211. let aTool = ''
  7212. let _loading = document.createElement('div')
  7213. _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;"
  7214. // _loading.id = "";
  7215. let _lchild = document.createElement('div')
  7216. let _limg = document.createElement('img')
  7217. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7218. _limg.style = "width: 26px;margin-right: 10px;"
  7219. _lchild.appendChild(_limg)
  7220. let _lspan = document.createElement('span')
  7221. _lspan.innerHTML = "上传中..."
  7222. _lchild.appendChild(_lspan)
  7223. _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%);"
  7224. _loading.appendChild(_lchild)
  7225. var _box = $$('div', {
  7226. "style": {
  7227. "position": "relative",
  7228. "width": "100%",
  7229. "height": "100%",
  7230. },
  7231. })
  7232. _box.appendChild(_loading)
  7233. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7234. switch (str) {
  7235. case "whiteboard":
  7236. aTool = 1;
  7237. _iframe = $$("iframe", {
  7238. "frameborder": "no",
  7239. "border": "0",
  7240. "scrolling ": "no",
  7241. "style": {
  7242. "cssText": "border:0;width:100%;height:100%"
  7243. },
  7244. "src": "https://iwb.cocorobo.cn/"
  7245. })
  7246. _box.appendChild(_iframe);
  7247. _box.appendChild(_jie);
  7248. _formdiv = new U.UF.UI.form(
  7249. "电子白板",
  7250. _box, {
  7251. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7252. "style": {
  7253. "width": "90%",
  7254. "height": "90%",
  7255. "overflow": 'hidden'
  7256. },
  7257. "onresize": function () { }
  7258. }, {
  7259. closecallback: function () { }
  7260. }, {
  7261. "style": {
  7262. "height": "36px"
  7263. }
  7264. }).form; //创建窗体
  7265. _taskbar = {
  7266. "id": str + _formdiv.id,
  7267. "style": {
  7268. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7269. },
  7270. "name": "电子白板",
  7271. "forms": _formdiv,
  7272. "click": function () {
  7273. U.MD.D.I.openApplication(str, obj, info);
  7274. }
  7275. }
  7276. break;
  7277. case "mind":
  7278. aTool = 3;
  7279. _iframe = $$("iframe", {
  7280. "frameborder": "no",
  7281. "border": "0",
  7282. "scrolling ": "no",
  7283. "style": {
  7284. "cssText": "border:0;width:100%;height:100%"
  7285. },
  7286. "src": "/kityminder-editor/dist/index.html"
  7287. });
  7288. _box.appendChild(_iframe);
  7289. _box.appendChild(_jie);
  7290. _formdiv = new U.UF.UI.form(
  7291. "思维导图",
  7292. _box, { //"/jsmind/example/demo.html"
  7293. "id": "minds_Yu" + cid + stage + task + tool,
  7294. "style": {
  7295. "width": "90%",
  7296. "height": "90%",
  7297. "overflow": 'hidden'
  7298. },
  7299. "onresize": function () { }
  7300. }, {
  7301. closecallback: function () { }
  7302. }, {
  7303. "style": {
  7304. "height": "36px"
  7305. }
  7306. }).form; //创建窗体
  7307. _taskbar = {
  7308. "id": str + _formdiv.id,
  7309. "style": {
  7310. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7311. },
  7312. "name": "思维导图",
  7313. "forms": _formdiv,
  7314. "click": function () {
  7315. U.MD.D.I.openApplication(str, obj, info);
  7316. }
  7317. }
  7318. break;
  7319. case "doc":
  7320. aTool = 6;
  7321. _iframe = $$("iframe", {
  7322. "frameborder": "no",
  7323. "border": "0",
  7324. "scrolling ": "no",
  7325. "style": {
  7326. "cssText": "border:0;width:100%;height:100%"
  7327. },
  7328. "src": "/Office/Word/WordEditArea.htm"
  7329. })
  7330. _box.appendChild(_iframe);
  7331. _box.appendChild(_jie);
  7332. _formdiv = new U.UF.UI.form(
  7333. "协同文档",
  7334. _box, {
  7335. "id": "docs_Yu" + cid + stage + task + tool,
  7336. "style": {
  7337. "width": "90%",
  7338. "height": "90%",
  7339. "overflow": 'hidden'
  7340. },
  7341. "onresize": function () { }
  7342. }, {
  7343. closecallback: function () { }
  7344. }, {
  7345. "style": {
  7346. "height": "36px"
  7347. }
  7348. }).form; //创建窗体
  7349. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7350. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7351. })
  7352. _taskbar = {
  7353. "id": str + _formdiv.id,
  7354. "style": {
  7355. "backgroundImage": "url(/img/icon/doc.png)"
  7356. },
  7357. "name": "协同文档",
  7358. "forms": _formdiv,
  7359. "click": function () {
  7360. U.MD.D.I.openApplication(str, obj, info);
  7361. }
  7362. }
  7363. break;
  7364. case "CocoPi":
  7365. aTool = 57;
  7366. _iframe = $$("iframe", {
  7367. "allowpaymentrequest": "allowpaymentrequest",
  7368. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7369. "webkitallowfullscreen": "",
  7370. "mozallowfullscreen": "",
  7371. "frameborder": "no",
  7372. "border": "0",
  7373. "scrolling ": "no",
  7374. "style": {
  7375. "cssText": "border:0;width:100%;height:100%"
  7376. },
  7377. "src": "https://pi.cocorobo.cn/"
  7378. })
  7379. _box.appendChild(_iframe);
  7380. _box.appendChild(_jie);
  7381. _formdiv = new U.UF.UI.form(
  7382. "CocoPi",
  7383. _box, {
  7384. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7385. "style": {
  7386. "width": "90%",
  7387. "height": "90%",
  7388. "overflow": 'hidden'
  7389. },
  7390. "onresize": function () { }
  7391. }, {
  7392. closecallback: function () { }
  7393. }, {
  7394. "style": {
  7395. "height": "36px"
  7396. }
  7397. }).form; //创建窗体
  7398. _taskbar = {
  7399. "id": str + _formdiv.id,
  7400. "style": {
  7401. "backgroundImage": "url(/img/icon/cocopi.png)"
  7402. },
  7403. "name": "CocoPi",
  7404. "forms": _formdiv,
  7405. "click": function () {
  7406. U.MD.D.I.openApplication(str, obj, info);
  7407. }
  7408. }
  7409. break;
  7410. }
  7411. if (_iframe) {
  7412. if (str == 'doc') {
  7413. _iframe = _formdiv.querySelector('iframe')
  7414. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7415. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7416. })
  7417. if (onloadListener) {
  7418. _iframe.contentDocument.location.reload()
  7419. } else {
  7420. _iframe.contentDocument.location.reload()
  7421. }
  7422. } else if (str == 'mind') {
  7423. _iframe = _formdiv.querySelector('iframe')
  7424. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7425. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7426. })
  7427. if (onloadListener) {
  7428. _iframe.contentDocument.location.reload()
  7429. } else {
  7430. _iframe.contentDocument.location.reload()
  7431. }
  7432. } else if (str == 'whiteboard') {
  7433. _iframe = _formdiv.querySelector('iframe')
  7434. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7435. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7436. })
  7437. if (onloadListener) {
  7438. _iframe.contentDocument.location.reload()
  7439. } else {
  7440. _iframe.contentDocument.location.reload()
  7441. }
  7442. } else if (str == 'CocoPi') {
  7443. _iframe = _formdiv.querySelector('iframe')
  7444. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7445. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7446. })
  7447. if (onloadListener) {
  7448. _iframe.contentDocument.location.reload()
  7449. } else {
  7450. _iframe.contentDocument.location.reload()
  7451. }
  7452. } else {
  7453. _iframe.onload = () => { };
  7454. }
  7455. _jie.onclick = async () => {
  7456. let text = ''
  7457. let type = '2'
  7458. if (aTool == 1) {
  7459. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7460. type = '3'
  7461. } else if (aTool == 6) {
  7462. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7463. type = '1'
  7464. } else if (aTool == 3) {
  7465. text = await U.MD.D.I.getEditorContent(_iframe);
  7466. type = '2'
  7467. } else if (aTool == 57) {
  7468. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7469. type = '4'
  7470. }
  7471. _loading.style.display = 'flex'
  7472. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7473. }
  7474. }
  7475. //U.MD.D.I.openClick(str);
  7476. //如果有任务栏信息
  7477. // if (_taskbar) {
  7478. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7479. // }
  7480. }
  7481. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7482. var xmlhttp;
  7483. var Mac, Sn, DeviceId
  7484. if (window.XMLHttpRequest) {
  7485. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7486. xmlhttp = new XMLHttpRequest();
  7487. } else {
  7488. // IE6, IE5 浏览器执行代码
  7489. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7490. }
  7491. xmlhttp.onreadystatechange = function () {
  7492. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7493. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7494. // resolve(res.value[0][0].text);
  7495. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7496. }
  7497. }
  7498. }
  7499. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7500. xmlhttp.send();
  7501. }
  7502. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7503. var xmlhttp;
  7504. var Mac, Sn, DeviceId
  7505. if (window.XMLHttpRequest) {
  7506. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7507. xmlhttp = new XMLHttpRequest();
  7508. } else {
  7509. // IE6, IE5 浏览器执行代码
  7510. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7511. }
  7512. xmlhttp.onreadystatechange = function () {
  7513. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7514. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7515. // resolve(res.value[0][0].text);
  7516. if (type == '2') {
  7517. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7518. } else if (type == '3') {
  7519. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7520. } else if (type == '4') {
  7521. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7522. }
  7523. } else {
  7524. if (type == '2') {
  7525. iframe.contentWindow.editor.minder.importData('json', '')
  7526. } else if (type == '3') {
  7527. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7528. } else if (type == '4') {
  7529. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7530. }
  7531. }
  7532. }
  7533. }
  7534. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7535. xmlhttp.send();
  7536. }
  7537. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7538. var xmlhttp;
  7539. var Mac, Sn, DeviceId
  7540. if (window.XMLHttpRequest) {
  7541. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7542. xmlhttp = new XMLHttpRequest();
  7543. } else {
  7544. // IE6, IE5 浏览器执行代码
  7545. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7546. }
  7547. xmlhttp.onreadystatechange = function () {
  7548. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7549. if (xmlhttp.response) {
  7550. // resolve(res.value[0][0].text);
  7551. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7552. // $(fileInput).val('');
  7553. // });
  7554. span.innerHTML = '上传成功'
  7555. setTimeout(() => {
  7556. loading.style.display = 'none'
  7557. }, 1000);
  7558. }
  7559. }
  7560. }
  7561. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7562. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7563. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7564. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7565. // 设置请求头,表示请求体的编码格式
  7566. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7567. // 设置请求体,使用url-encoded格式的数据
  7568. }
  7569. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7570. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7571. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7572. _userinfo = US.userInfo, //登录用户信息
  7573. _userid = US.userInfo.userid //登录用户id
  7574. let _iframe;
  7575. let _cid = cid,
  7576. _stage = stage,
  7577. _task = task,
  7578. _tool = tool;
  7579. var _jie = $$("div", {
  7580. "style": {
  7581. "position": "absolute",
  7582. "bottom": "50px",
  7583. "right": "50px",
  7584. "zIndex": "9999",
  7585. "backgroundColor": "#2268bc",
  7586. "color": "#fff",
  7587. "padding": "12px 20px",
  7588. "cursor": "pointer",
  7589. "borderRadius": "4px",
  7590. },
  7591. "innerHTML": "提交作业"
  7592. })
  7593. let aTool = ''
  7594. let _loading = document.createElement('div')
  7595. _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;"
  7596. // _loading.id = "";
  7597. let _lchild = document.createElement('div')
  7598. let _limg = document.createElement('img')
  7599. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7600. _limg.style = "width: 26px;margin-right: 10px;"
  7601. _lchild.appendChild(_limg)
  7602. let _lspan = document.createElement('span')
  7603. _lspan.innerHTML = "上传中..."
  7604. _lchild.appendChild(_lspan)
  7605. _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%);"
  7606. _loading.appendChild(_lchild)
  7607. var _box = $$('div', {
  7608. "style": {
  7609. "position": "relative",
  7610. "width": "100%",
  7611. "height": "100%",
  7612. },
  7613. })
  7614. _box.appendChild(_loading)
  7615. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7616. switch (str) {
  7617. case "CocoPi":
  7618. aTool = 57;
  7619. _iframe = $$("iframe", {
  7620. "allowpaymentrequest": "allowpaymentrequest",
  7621. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7622. "webkitallowfullscreen": "",
  7623. "mozallowfullscreen": "",
  7624. "frameborder": "no",
  7625. "border": "0",
  7626. "scrolling ": "no",
  7627. "style": {
  7628. "cssText": "border:0;width:100%;height:100%"
  7629. },
  7630. "src": "https://pi.cocorobo.cn/"
  7631. })
  7632. _box.appendChild(_iframe);
  7633. _box.appendChild(_jie);
  7634. _formdiv = new U.UF.UI.form(
  7635. "CocoPi",
  7636. _box, {
  7637. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7638. "style": {
  7639. "width": "90%",
  7640. "height": "90%",
  7641. "overflow": 'hidden'
  7642. },
  7643. "onresize": function () { }
  7644. }, {
  7645. closecallback: function () { }
  7646. }, {
  7647. "style": {
  7648. "height": "36px"
  7649. }
  7650. }).form; //创建窗体
  7651. _taskbar = {
  7652. "id": str + _formdiv.id,
  7653. "style": {
  7654. "backgroundImage": "url(/img/icon/cocopi.png)"
  7655. },
  7656. "name": "CocoPi",
  7657. "forms": _formdiv,
  7658. "click": function () {
  7659. U.MD.D.I.openApplication(str, obj, info);
  7660. }
  7661. }
  7662. break;
  7663. }
  7664. if (_iframe) {
  7665. if (str == 'CocoPi') {
  7666. _iframe = _formdiv.querySelector('iframe')
  7667. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7668. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7669. })
  7670. if (onloadListener) {
  7671. _iframe.contentDocument.location.reload()
  7672. } else {
  7673. _iframe.contentDocument.location.reload()
  7674. }
  7675. }
  7676. _jie.onclick = async () => {
  7677. let text = ''
  7678. if (aTool == 57) {
  7679. text = _iframe.contentWindow.getLoadXmlStr()
  7680. }
  7681. _loading.style.display = 'flex'
  7682. console.log(_loading);
  7683. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7684. _loading.style.display = 'none'
  7685. let _div = document.createElement('div')
  7686. _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;"
  7687. let _inner = document.createElement('div')
  7688. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7689. _inner.innerHTML = "上传成功"
  7690. _div.appendChild(_inner)
  7691. _iframe.contentWindow.window.document.body.appendChild(_div)
  7692. _div.onclick = () => {
  7693. _iframe.contentWindow.window.document.body.removeChild(_div)
  7694. }
  7695. setTimeout(() => {
  7696. _iframe.contentWindow.window.document.body.removeChild(_div)
  7697. }, 1000);
  7698. }, [], { "type": "POST", "withCredentials": true });
  7699. }
  7700. }
  7701. }
  7702. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7703. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7704. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7705. _userid = student.userid, //登录用户id
  7706. _username = student.student //用户名字
  7707. let _iframe;
  7708. let _cid = cid,
  7709. _stage = stage,
  7710. _task = task,
  7711. _tool = tool;
  7712. var _jie = $$("div", {
  7713. "style": {
  7714. "position": "absolute",
  7715. "bottom": "50px",
  7716. "right": "50px",
  7717. "zIndex": "9999",
  7718. "backgroundColor": "#2268bc",
  7719. "color": "#fff",
  7720. "padding": "12px 20px",
  7721. "cursor": "pointer",
  7722. "borderRadius": "4px",
  7723. },
  7724. "innerHTML": "提交作业"
  7725. })
  7726. let aTool = ''
  7727. let _loading = document.createElement('div')
  7728. _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;"
  7729. // _loading.id = "";
  7730. let _lchild = document.createElement('div')
  7731. let _limg = document.createElement('img')
  7732. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7733. _limg.style = "width: 26px;margin-right: 10px;"
  7734. _lchild.appendChild(_limg)
  7735. let _lspan = document.createElement('span')
  7736. _lspan.innerHTML = "上传中..."
  7737. _lchild.appendChild(_lspan)
  7738. _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%);"
  7739. _loading.appendChild(_lchild)
  7740. var _box = $$('div', {
  7741. "style": {
  7742. "position": "relative",
  7743. "width": "100%",
  7744. "height": "100%",
  7745. },
  7746. })
  7747. _box.appendChild(_loading)
  7748. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7749. switch (str) {
  7750. case "CocoPi":
  7751. aTool = 57;
  7752. _iframe = $$("iframe", {
  7753. "allowpaymentrequest": "allowpaymentrequest",
  7754. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7755. "webkitallowfullscreen": "",
  7756. "mozallowfullscreen": "",
  7757. "frameborder": "no",
  7758. "border": "0",
  7759. "scrolling ": "no",
  7760. "style": {
  7761. "cssText": "border:0;width:100%;height:100%"
  7762. },
  7763. "src": "https://pi.cocorobo.cn/"
  7764. })
  7765. _box.appendChild(_iframe);
  7766. _box.appendChild(_jie);
  7767. _formdiv = new U.UF.UI.form(
  7768. "CocoPi-" + _username,
  7769. _box, {
  7770. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7771. "style": {
  7772. "width": "90%",
  7773. "height": "90%",
  7774. "overflow": 'hidden'
  7775. },
  7776. "onresize": function () { }
  7777. }, {
  7778. closecallback: function () { }
  7779. }, {
  7780. "style": {
  7781. "height": "36px"
  7782. }
  7783. }).form; //创建窗体
  7784. _taskbar = {
  7785. "id": str + _formdiv.id,
  7786. "style": {
  7787. "backgroundImage": "url(/img/icon/cocopi.png)"
  7788. },
  7789. "name": "CocoPi",
  7790. "forms": _formdiv,
  7791. "click": function () {
  7792. U.MD.D.I.openApplication(str, obj, info);
  7793. }
  7794. }
  7795. break;
  7796. }
  7797. if (_iframe) {
  7798. if (str == 'CocoPi') {
  7799. _iframe = _formdiv.querySelector('iframe')
  7800. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7801. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7802. })
  7803. if (onloadListener) {
  7804. _iframe.contentDocument.location.reload()
  7805. } else {
  7806. _iframe.contentDocument.location.reload()
  7807. }
  7808. }
  7809. _jie.onclick = async () => {
  7810. let text = ''
  7811. if (aTool == 57) {
  7812. text = _iframe.contentWindow.getLoadXmlStr()
  7813. }
  7814. _loading.style.display = 'flex'
  7815. console.log(_loading);
  7816. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7817. _loading.style.display = 'none'
  7818. let _div = document.createElement('div')
  7819. _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;"
  7820. let _inner = document.createElement('div')
  7821. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7822. _inner.innerHTML = "上传成功"
  7823. _div.appendChild(_inner)
  7824. _iframe.contentWindow.window.document.body.appendChild(_div)
  7825. _div.onclick = () => {
  7826. _iframe.contentWindow.window.document.body.removeChild(_div)
  7827. }
  7828. setTimeout(() => {
  7829. _iframe.contentWindow.window.document.body.removeChild(_div)
  7830. }, 1000);
  7831. }, [], { "type": "POST", "withCredentials": true });
  7832. }
  7833. }
  7834. }
  7835. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7836. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7837. if (res.value[0].length > 0) {
  7838. if (atool == 57) {
  7839. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7840. }
  7841. } else {
  7842. if (atool == 57) {
  7843. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7844. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7845. }
  7846. }
  7847. }, [], { "type": "POST", "withCredentials": true });
  7848. }