DeskTop.js 499 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  52. ];
  53. //极简模式
  54. U.MD.D.I.easyDeskIcon = [
  55. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  58. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  59. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  60. ];
  61. //教师桌面图标的全局变量
  62. U.MD.D.I.teacherDeskIcon2 = [
  63. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  64. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  65. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  66. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  67. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  68. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  69. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  70. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  71. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  72. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  73. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  74. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  75. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  76. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  77. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  78. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  79. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  80. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  81. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  82. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  83. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  84. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  85. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  86. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  87. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  88. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  89. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  90. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  91. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  92. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  93. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  94. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  95. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  96. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  97. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  98. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  99. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  100. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  101. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  102. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  103. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  104. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  105. ];
  106. U.MD.D.I.studentDeskIcon = [
  107. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  108. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  109. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  110. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  111. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  112. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  113. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  114. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  115. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  116. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  117. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  118. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  119. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  120. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  121. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  122. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  123. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  124. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  125. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  126. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  127. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  128. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  129. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  130. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  131. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  132. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  133. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  134. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  135. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  136. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  137. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  138. ];
  139. U.MD.D.I.studentDeskIcon2 = [
  140. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  141. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  142. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  143. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  144. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  145. ]
  146. U.MD.D.I.studentDeskIcon3 = [
  147. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  148. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  149. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  150. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  151. ]
  152. U.MD.D.I.schoolDeskIcon = [
  153. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  154. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  155. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  156. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  157. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  158. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  159. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  160. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  161. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  162. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  163. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  164. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  165. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  166. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  167. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  168. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  169. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  170. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  171. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  172. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  173. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  176. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  177. ];
  178. U.MD.D.I.orgDeskIcon = [
  179. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  182. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  183. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  184. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  185. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  186. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  187. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  188. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  189. { "Name": "案例征集", "Url": "ytpbl", "style": { "cssText": "background-image:url(/img/icon/gpbl2.png)" } },
  190. ];
  191. U.MD.D.I.orgStemDeskIcon = [
  192. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  193. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  194. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  195. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  196. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  197. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  198. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  199. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  200. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  201. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  202. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  203. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  204. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  205. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  206. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  208. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  209. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  210. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  211. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  212. ];
  213. U.MD.D.I.szulsDeskIcon = [
  214. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  215. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  216. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  217. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  218. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  219. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  220. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  221. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  222. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  223. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  224. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  225. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  226. ];
  227. U.MD.D.I.hanDeskIcon = [
  228. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  229. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  230. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  231. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  232. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  233. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  234. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  235. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  236. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  237. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  238. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  239. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  240. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  241. ];
  242. U.MD.D.I.GMteacherDeskIcon = [
  243. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  244. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  245. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  246. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  247. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  248. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  249. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  250. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  251. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  252. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  253. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  254. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  255. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  256. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  257. ];
  258. U.MD.D.I.GMstudentDeskIcon = [
  259. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  260. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  261. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  262. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  263. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  264. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  265. ];
  266. //北师大
  267. U.MD.D.I.BSDNSteacherDeskIcon = [
  268. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  269. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  270. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  271. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  272. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  273. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  274. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  275. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  276. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  277. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  278. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  279. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  280. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  281. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  282. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  283. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  284. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  285. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  286. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  287. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  288. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  289. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  290. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  291. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  292. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  293. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  294. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  295. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  296. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  297. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  298. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  299. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  300. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  301. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  302. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  303. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  304. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  305. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  306. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  307. ];
  308. //松山湖
  309. U.MD.D.I.SONGteacherDeskIcon = [
  310. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  311. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  312. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  313. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  314. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  315. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  316. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  317. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  318. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  319. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  320. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  321. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  322. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  323. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  324. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  325. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  326. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  327. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  328. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  329. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  330. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  331. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  332. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  333. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  334. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  335. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  336. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  337. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  338. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  339. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  340. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  341. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  342. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  343. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  344. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  345. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  346. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  347. ];
  348. U.MD.D.I.tcStudentDeskIcon = [
  349. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  350. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  351. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  352. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  353. ];
  354. U.MD.D.I.tcTeacherDeskIcon = [
  355. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  356. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  357. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  358. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  359. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  360. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  361. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  362. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  363. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  364. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  365. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  366. ];
  367. U.MD.D.I.tcOrganizerDeskIcon = [
  368. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  369. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  370. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  371. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  372. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  373. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  374. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  375. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  376. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  377. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  378. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  379. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  380. ];
  381. U.MD.D.I.szscStudentDeskIcon = [
  382. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  383. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  384. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  385. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  386. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  387. ];
  388. U.MD.D.I.szscTeacherDeskIcon = [
  389. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  390. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  391. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  392. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  393. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  394. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  395. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  396. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  397. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  398. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  399. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  400. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  401. ];
  402. U.MD.D.I.szscOrganizerDeskIcon = [
  403. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  404. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  405. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  406. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  407. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  408. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  409. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  410. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  411. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  412. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  413. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  414. ];
  415. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  416. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  417. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  418. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  419. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  420. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  421. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  422. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  423. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  424. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  425. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  426. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  427. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  428. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  429. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  430. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  431. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  432. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  433. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  434. ];
  435. U.MD.D.I.wankeAdminDeskIcon = [
  436. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  437. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  438. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  439. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  440. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  441. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  442. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  443. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  444. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  445. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  446. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  447. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  448. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  449. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  450. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  451. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  452. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  453. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  454. ];
  455. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  456. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  457. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  458. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  459. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  460. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  461. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  462. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  463. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  464. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  465. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  466. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  467. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  468. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  469. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  470. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  471. ];
  472. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  473. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  474. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  475. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  476. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  477. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  478. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  479. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  480. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  481. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  482. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  483. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  484. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  485. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  486. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  487. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  488. ];
  489. //明德教师桌面图标的全局变量
  490. U.MD.D.I.MingdeTeacherDeskIcon = [
  491. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  492. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  493. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  494. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  495. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  496. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  497. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  498. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  499. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  500. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  501. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  502. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  503. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  504. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  505. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  506. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  507. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  508. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  509. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  510. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  511. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  512. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  513. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  514. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  515. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  516. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  517. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  518. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  519. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  520. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  521. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  522. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  523. ];
  524. //97c4ee8b-d010-4042-986d-e9d3c217264f
  525. //教师桌面图标的全局变量
  526. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  527. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  528. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  529. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  530. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  531. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  532. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  533. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  534. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  535. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  536. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  537. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  538. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  539. ];
  540. //福田
  541. U.MD.D.I.futianTeacherDeskIcon = [
  542. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  543. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  544. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  545. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  546. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  547. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  548. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  549. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  550. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  551. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  552. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  553. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  554. ];
  555. //福田
  556. U.MD.D.I.futianAdminDeskIcon = [
  557. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  558. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  559. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  560. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  561. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  562. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  563. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  564. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  565. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  566. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  567. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  568. ];
  569. //lotech
  570. U.MD.D.I.lotechTeacherDeskIcon = [
  571. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  572. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  573. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  574. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  575. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  576. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  577. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  578. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  579. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  580. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  581. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  582. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  583. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  584. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  585. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  586. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  587. ];
  588. //龙华中心小学教师桌面图标的全局变量
  589. U.MD.D.I.longhuateacherDeskIcon = [
  590. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  591. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  592. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  593. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  594. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  595. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  596. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  597. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  598. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  599. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  600. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  601. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  602. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  603. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  604. ];
  605. //教科院实小教师桌面图标的全局变量
  606. U.MD.D.I.siesteacherDeskIcon = [
  607. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  608. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  609. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  610. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  611. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  612. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  613. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  614. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  615. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  616. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  617. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  618. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  619. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  620. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  621. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  622. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  623. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  624. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  625. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  626. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  627. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  628. { "Name": "评测看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  629. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  630. { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  631. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  632. ];
  633. //教科院实小教师桌面图标的全局变量
  634. U.MD.D.I.siesStudentDeskIcon = [
  635. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  636. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  637. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  638. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  639. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  640. ];
  641. //福田
  642. U.MD.D.I.gdjgTeacherDeskIcon = [
  643. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  644. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  645. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  646. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  647. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  648. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  649. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  650. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  651. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  652. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  653. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  654. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  655. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  656. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  657. ];
  658. //gdjg
  659. U.MD.D.I.gdjgAdminDeskIcon = [
  660. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  661. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  662. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  663. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  664. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  665. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  666. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  667. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  668. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  669. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  670. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  671. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  672. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  673. ];
  674. //hk
  675. U.MD.D.I.hkteacherDeskIcon = [
  676. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  677. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  678. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  679. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  680. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  681. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  682. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  683. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  684. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  685. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  686. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  687. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  688. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  689. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  690. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  691. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  692. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  693. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  694. ];
  695. //hk
  696. U.MD.D.I.hkStudentDeskIcon = [
  697. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  698. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  699. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  700. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  701. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  702. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  703. ];
  704. //hk
  705. U.MD.D.I.hkaceteacherDeskIcon = [
  706. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  707. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  708. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  709. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  710. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  711. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  712. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  713. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  714. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  715. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  716. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  717. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  718. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  719. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  720. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  721. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  722. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  723. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  724. ];
  725. //hk
  726. U.MD.D.I.hkaceStudentDeskIcon = [
  727. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  728. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  729. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  730. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  731. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  732. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  733. ];
  734. //香海正覺蓮社佛教正覺中學
  735. U.MD.D.I.hkZJLSteacherDeskIcon = [
  736. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  737. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  738. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  739. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  740. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  741. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  742. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  743. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  744. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  745. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  746. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  747. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  748. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  749. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  750. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  751. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  752. ];
  753. //香海正覺蓮社佛教正覺中學
  754. U.MD.D.I.hkZJLSStudentDeskIcon = [
  755. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  756. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  757. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  758. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  759. ];
  760. //云海
  761. U.MD.D.I.yunhaiTeacherDeskIcon = [
  762. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  763. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  764. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  765. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  766. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  767. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  768. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  769. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  770. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  771. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  772. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  773. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  774. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  775. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  776. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  777. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  778. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  779. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  780. ];
  781. //福田
  782. U.MD.D.I.heyuanTeacherDeskIcon = [
  783. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  784. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  785. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  786. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  787. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  788. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  789. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  790. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  791. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  792. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  793. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  794. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  795. ];
  796. //福田
  797. U.MD.D.I.heyuanAdminDeskIcon = [
  798. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  799. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  800. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  801. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  802. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  803. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  804. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  805. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  806. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  807. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  808. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  809. ];
  810. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  811. U.MD.D.I.szherTeacherDeskIcon = [
  812. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  813. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  814. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  815. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  816. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  817. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  818. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  819. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  820. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  821. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  822. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  823. ];
  824. //dsei
  825. U.MD.D.I.dseiTeacherDeskIcon = [
  826. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  827. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  828. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  829. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  830. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  831. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  832. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  833. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  834. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  835. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  836. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  837. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  838. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  839. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  840. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  841. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  842. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  843. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  844. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  845. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  846. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  847. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  848. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  849. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  850. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  851. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  852. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  853. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  854. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  855. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  856. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  857. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  858. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  859. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  860. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  861. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  862. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  863. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  864. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  865. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  866. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  867. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  868. ];
  869. //dsei
  870. U.MD.D.I.dseiAdminDeskIcon = [
  871. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  872. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  873. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  874. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  875. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  876. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  877. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  878. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  879. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  880. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  881. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  882. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  883. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  884. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  885. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  886. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  887. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  888. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  889. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  890. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  891. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  892. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  893. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  894. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  895. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  896. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  897. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  898. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  899. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  900. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  901. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  902. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  903. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  904. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  905. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  906. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  907. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  908. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  909. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  910. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  911. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  912. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  913. ];
  914. //dsei
  915. U.MD.D.I.dseiStudentDeskIcon = [
  916. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  917. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  918. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  919. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  920. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  921. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  922. ];
  923. //未来教育基地
  924. U.MD.D.I.szjkyTeacherDeskIcon = [
  925. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  926. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  927. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  928. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  929. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  930. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  931. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  932. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  933. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  934. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  935. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  936. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  937. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  938. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  939. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  940. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  941. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  942. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  943. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  944. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  945. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  946. ];
  947. //未来教育基地
  948. U.MD.D.I.szjkyAdminDeskIcon = [
  949. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  950. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  951. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  952. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  953. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  954. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  955. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  956. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  957. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  958. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  959. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  960. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  961. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  962. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  963. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  964. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  965. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  966. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  967. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  968. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  969. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  970. ];
  971. //未来教育基地
  972. U.MD.D.I.szjkyStudentDeskIcon = [
  973. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  974. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  975. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  976. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  977. ];
  978. //成华教育局
  979. U.MD.D.I.chjyjTeacherDeskIcon = [
  980. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  981. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  982. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  983. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  984. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  985. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  986. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  987. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  988. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  989. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  990. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  991. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  992. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  993. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  994. ];
  995. //成华教育局chjyj
  996. U.MD.D.I.chjyjAdminDeskIcon = [
  997. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  998. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  999. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1000. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1001. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1002. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1003. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1004. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1005. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1006. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1007. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1008. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1009. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1010. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1011. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1012. ];
  1013. //成华教育局chjyj
  1014. U.MD.D.I.chjyjStudentDeskIcon = [
  1015. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1016. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1017. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1018. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1019. ];
  1020. //tpc
  1021. U.MD.D.I.tpcStudentDeskIcon = [
  1022. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1023. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1024. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1025. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1026. ];
  1027. //tpc
  1028. U.MD.D.I.tpcTeacherDeskIcon = [
  1029. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1030. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1031. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1032. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1033. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1034. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1035. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1036. ];
  1037. //tpc
  1038. U.MD.D.I.tpcAdminDeskIcon = [
  1039. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1040. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1041. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1042. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1043. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1044. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1045. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1046. ];
  1047. //THU-IOE
  1048. U.MD.D.I.thuioeTeacherDeskIcon = [
  1049. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1050. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1051. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1052. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1053. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1054. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1055. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1056. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1057. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1058. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1059. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1060. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1061. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1062. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1063. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1064. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1065. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1066. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1067. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1068. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1069. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1070. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1071. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1072. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1073. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1074. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1075. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1076. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1077. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1078. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1079. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1080. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1081. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1082. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1083. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1084. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1085. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1086. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1087. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1088. ];
  1089. //THU-IOE
  1090. U.MD.D.I.thuioeStudentDeskIcon = [
  1091. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1092. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1093. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1094. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1095. ];
  1096. //jccssyl
  1097. U.MD.D.I.jccssylTeacherDeskIcon = [
  1098. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1099. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1100. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1101. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1102. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1103. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1104. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1105. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1106. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1107. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1108. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1109. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1110. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1111. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1112. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1113. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1114. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1115. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1116. ];
  1117. //jccssyl
  1118. U.MD.D.I.jccssylStudentDeskIcon = [
  1119. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1120. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1121. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1122. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1123. ];
  1124. //#region 桌面初始化a
  1125. /**
  1126. * 初始化桌面的起始函数
  1127. *
  1128. */
  1129. U.MD.D.I.init = function () {
  1130. if ($("#U_MD_D_K")[0]) {
  1131. //初始化桌面图标
  1132. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1133. // var clickUrl = ':12588/requestIp.php';
  1134. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1135. // U.MD.D.I.Ip = data;
  1136. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1137. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1138. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1139. // })
  1140. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1141. // })
  1142. }
  1143. }
  1144. /**
  1145. * 模式切换
  1146. *
  1147. */
  1148. U.MD.D.I.ModeCheck = function (type) {
  1149. if (US.Config.type == type) {
  1150. return
  1151. }
  1152. US.Config.type = type
  1153. $('.U_PBL_Check .active')[0].className = ''
  1154. if (type == 1) {
  1155. $('.U_PBL_Check div')[0].className = 'active'
  1156. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1157. } else {
  1158. $('.U_PBL_Check div')[1].className = 'active'
  1159. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1160. }
  1161. //初始化桌面图标
  1162. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1163. if (type == 2) {
  1164. U.MD.D.I.openApplication("project")
  1165. }
  1166. }
  1167. /**
  1168. * 隐藏任务栏
  1169. *
  1170. * @param {element} 桌面元素
  1171. */
  1172. U.MD.D.I.hiddenTaskbar = function (el) {
  1173. //任务栏位置变小
  1174. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1175. //桌面的位置变大
  1176. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1177. }
  1178. /**
  1179. * 隐藏任务栏
  1180. *
  1181. * @param {element} 桌面元素
  1182. */
  1183. U.MD.D.I.hiddenTaskbarout = function (el) {
  1184. //任务栏位置变小
  1185. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1186. //任务栏位置变化
  1187. U.selectEl(el).css({ "bottom": "-60px" });
  1188. //桌面的位置变大
  1189. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1190. }
  1191. }
  1192. /**
  1193. * 初始化打印桌面图标
  1194. *
  1195. * @param {element} 桌面元素
  1196. */
  1197. U.MD.D.I.initDesktopIcons = function (el, type) {
  1198. var i, //用于循环
  1199. _content, //桌面图标元素
  1200. _iconcontent, //桌面图标元素
  1201. _frag = $$("frag"), //定义一个碎片元素
  1202. _type = US.userInfo.type,
  1203. _org = US.userInfo.org,
  1204. _oid = US.userInfo.organizeid,
  1205. _role = US.userInfo.role,
  1206. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1207. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1208. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1209. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1210. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1211. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1212. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1213. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1214. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1215. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1216. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1217. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1218. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1219. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1220. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1221. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1222. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1223. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1224. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1225. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1226. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1227. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1228. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1229. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1230. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1231. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1232. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1233. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1234. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1235. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1236. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1237. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1238. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1239. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1240. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1241. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1242. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1243. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1244. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1245. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1246. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1247. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1248. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1249. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1250. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1251. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1252. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1253. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1254. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1255. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1256. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1257. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1258. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1259. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1260. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1261. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1262. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1263. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1264. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1265. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1266. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1267. 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'];
  1268. var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5', '2fa75e51-189a-11ee-91d8-005056b86db5', 'a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956','fbb00cc1-380b-4173-add4-59b3cf7682b5','63060b4a-89dc-4f0c-bf04-a1de22d479ff','777559d2-7239-11ee-b98c-005056b86db5'];
  1269. //清楚桌面图标
  1270. el.innerHTML = "";
  1271. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1272. _teacherDesktopIconInfo.push(
  1273. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1274. { "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)" } },
  1275. )
  1276. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1277. }
  1278. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1279. _teacherDesktopIconInfo.push(
  1280. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1281. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1282. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1283. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1284. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1285. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1286. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1287. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1288. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1289. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1290. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1291. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1292. )
  1293. }
  1294. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1295. // _teacherDesktopIconInfo.push(
  1296. // )
  1297. // }
  1298. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1299. _teacherDesktopIconInfo.push(
  1300. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1301. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1302. )
  1303. }
  1304. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1305. _teacherDesktopIconInfo.push(
  1306. )
  1307. }
  1308. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1309. _teacherDesktopIconInfo.push(
  1310. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1311. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1312. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1313. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1314. )
  1315. _studentDesktopIconInfo.push(
  1316. )
  1317. }
  1318. //麒麟二中 和 民新小学
  1319. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1320. _teacherDesktopIconInfo.push(
  1321. )
  1322. }
  1323. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1324. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1325. _teacherDesktopIconInfo.push(
  1326. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1327. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1328. )
  1329. }
  1330. //麒麟二中
  1331. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1332. _studentDesktopIconInfo.push(
  1333. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1334. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1335. )
  1336. }
  1337. //万科双语
  1338. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1339. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1340. if (el.Name == '项目管理') {
  1341. el.Name = 'PBL项目'
  1342. }
  1343. return el
  1344. })
  1345. _studentDesktopIconInfo3.push(
  1346. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1347. )
  1348. }
  1349. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1350. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1351. return el.Name != '魔盒识字' && el.Name != '24点'
  1352. })
  1353. }
  1354. 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) {
  1355. _studentDesktopIconInfo.push(
  1356. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1357. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1358. )
  1359. }
  1360. //循环创建桌面图标
  1361. if (type == 1) {
  1362. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1363. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1364. _content = $$("div", {
  1365. className: "U_MD_D_KO",
  1366. "onmousedown": U.UF.C.closure(function (obj) {
  1367. //防止拖动图标即打开了桌面应用
  1368. U.MD.D.click(this, obj);
  1369. }, [_studentDesktopIconInfo[i]]),
  1370. "onclick": U.UF.C.closure(function (obj) {
  1371. //防止拖动图标即打开了桌面应用
  1372. U.MD.D.click(this, obj);
  1373. }, [_studentDesktopIconInfo[i]])
  1374. }, _frag); //
  1375. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1376. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1377. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1378. }
  1379. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1380. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1381. _content = $$("div", {
  1382. className: "U_MD_D_KO",
  1383. "onmousedown": U.UF.C.closure(function (obj) {
  1384. //防止拖动图标即打开了桌面应用
  1385. U.MD.D.click(this, obj);
  1386. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1387. "onclick": U.UF.C.closure(function (obj) {
  1388. //防止拖动图标即打开了桌面应用
  1389. U.MD.D.click(this, obj);
  1390. }, [_hkZJLSStudentDeskIconInfo[i]])
  1391. }, _frag); //
  1392. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1393. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1394. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1395. } //
  1396. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1397. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1398. _content = $$("div", {
  1399. className: "U_MD_D_KO",
  1400. "onmousedown": U.UF.C.closure(function (obj) {
  1401. //防止拖动图标即打开了桌面应用
  1402. U.MD.D.click(this, obj);
  1403. }, [_jccssylStudentDeskIconInfo[i]]),
  1404. "onclick": U.UF.C.closure(function (obj) {
  1405. //防止拖动图标即打开了桌面应用
  1406. U.MD.D.click(this, obj);
  1407. }, [_jccssylStudentDeskIconInfo[i]])
  1408. }, _frag); //
  1409. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1410. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1411. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1412. }
  1413. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1414. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1415. _content = $$("div", {
  1416. className: "U_MD_D_KO",
  1417. "onmousedown": U.UF.C.closure(function (obj) {
  1418. //防止拖动图标即打开了桌面应用
  1419. U.MD.D.click(this, obj);
  1420. }, [_thuioeStudentDeskIconInfo[i]]),
  1421. "onclick": U.UF.C.closure(function (obj) {
  1422. //防止拖动图标即打开了桌面应用
  1423. U.MD.D.click(this, obj);
  1424. }, [_thuioeStudentDeskIconInfo[i]])
  1425. }, _frag); //
  1426. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1427. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1428. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1429. }
  1430. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1431. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1432. _content = $$("div", {
  1433. className: "U_MD_D_KO",
  1434. "onmousedown": U.UF.C.closure(function (obj) {
  1435. //防止拖动图标即打开了桌面应用
  1436. U.MD.D.click(this, obj);
  1437. }, [_tpcStudentDeskIconInfo[i]]),
  1438. "onclick": U.UF.C.closure(function (obj) {
  1439. //防止拖动图标即打开了桌面应用
  1440. U.MD.D.click(this, obj);
  1441. }, [_tpcStudentDeskIconInfo[i]])
  1442. }, _frag); //
  1443. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1444. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1445. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1446. } //
  1447. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1448. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1449. _content = $$("div", {
  1450. className: "U_MD_D_KO",
  1451. "onmousedown": U.UF.C.closure(function (obj) {
  1452. //防止拖动图标即打开了桌面应用
  1453. U.MD.D.click(this, obj);
  1454. }, [_chjyjStudentDeskIconInfo[i]]),
  1455. "onclick": U.UF.C.closure(function (obj) {
  1456. //防止拖动图标即打开了桌面应用
  1457. U.MD.D.click(this, obj);
  1458. }, [_chjyjStudentDeskIconInfo[i]])
  1459. }, _frag); //
  1460. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1461. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1462. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1463. }
  1464. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1465. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1466. _content = $$("div", {
  1467. className: "U_MD_D_KO",
  1468. "onmousedown": U.UF.C.closure(function (obj) {
  1469. //防止拖动图标即打开了桌面应用
  1470. U.MD.D.click(this, obj);
  1471. }, [_szjkyStudentDeskIconInfo[i]]),
  1472. "onclick": U.UF.C.closure(function (obj) {
  1473. //防止拖动图标即打开了桌面应用
  1474. U.MD.D.click(this, obj);
  1475. }, [_szjkyStudentDeskIconInfo[i]])
  1476. }, _frag); //
  1477. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1478. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1479. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1480. }
  1481. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1482. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1483. _content = $$("div", {
  1484. className: "U_MD_D_KO",
  1485. "onmousedown": U.UF.C.closure(function (obj) {
  1486. //防止拖动图标即打开了桌面应用
  1487. U.MD.D.click(this, obj);
  1488. }, [_dseiStudentDeskIconInfo[i]]),
  1489. "onclick": U.UF.C.closure(function (obj) {
  1490. //防止拖动图标即打开了桌面应用
  1491. U.MD.D.click(this, obj);
  1492. }, [_dseiStudentDeskIconInfo[i]])
  1493. }, _frag); //
  1494. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1495. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1496. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1497. }
  1498. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1499. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1500. _content = $$("div", {
  1501. className: "U_MD_D_KO",
  1502. "onmousedown": U.UF.C.closure(function (obj) {
  1503. //防止拖动图标即打开了桌面应用
  1504. U.MD.D.click(this, obj);
  1505. }, [_siesStudentDeskIconInfo[i]]),
  1506. "onclick": U.UF.C.closure(function (obj) {
  1507. //防止拖动图标即打开了桌面应用
  1508. U.MD.D.click(this, obj);
  1509. }, [_siesStudentDeskIconInfo[i]])
  1510. }, _frag); //
  1511. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1512. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1513. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1514. }
  1515. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1516. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1517. _content = $$("div", {
  1518. className: "U_MD_D_KO",
  1519. "onmousedown": U.UF.C.closure(function (obj) {
  1520. //防止拖动图标即打开了桌面应用
  1521. U.MD.D.click(this, obj);
  1522. }, [_hkStudentDeskIconInfo[i]]),
  1523. "onclick": U.UF.C.closure(function (obj) {
  1524. //防止拖动图标即打开了桌面应用
  1525. U.MD.D.click(this, obj);
  1526. }, [_hkStudentDeskIconInfo[i]])
  1527. }, _frag); //
  1528. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1529. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1530. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1531. }
  1532. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1533. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1534. _content = $$("div", {
  1535. className: "U_MD_D_KO",
  1536. "onmousedown": U.UF.C.closure(function (obj) {
  1537. //防止拖动图标即打开了桌面应用
  1538. U.MD.D.click(this, obj);
  1539. }, [_hkaceStudentDeskIconInfo[i]]),
  1540. "onclick": U.UF.C.closure(function (obj) {
  1541. //防止拖动图标即打开了桌面应用
  1542. U.MD.D.click(this, obj);
  1543. }, [_hkaceStudentDeskIconInfo[i]])
  1544. }, _frag); //
  1545. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1546. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1547. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1548. }
  1549. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1550. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1551. _content = $$("div", {
  1552. className: "U_MD_D_KO",
  1553. "onmousedown": U.UF.C.closure(function (obj) {
  1554. //防止拖动图标即打开了桌面应用
  1555. U.MD.D.click(this, obj);
  1556. }, [_studentDesktopIconInfo[i]]),
  1557. "onclick": U.UF.C.closure(function (obj) {
  1558. //防止拖动图标即打开了桌面应用
  1559. U.MD.D.click(this, obj);
  1560. }, [_studentDesktopIconInfo[i]])
  1561. }, _frag); //
  1562. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1563. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1564. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1565. }
  1566. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1567. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1568. _content = $$("div", {
  1569. className: "U_MD_D_KO",
  1570. "onmousedown": U.UF.C.closure(function (obj) {
  1571. //防止拖动图标即打开了桌面应用
  1572. U.MD.D.click(this, obj);
  1573. }, [_tcStudentDeskIconInfo[i]]),
  1574. "onclick": U.UF.C.closure(function (obj) {
  1575. //防止拖动图标即打开了桌面应用
  1576. U.MD.D.click(this, obj);
  1577. }, [_tcStudentDeskIconInfo[i]])
  1578. }, _frag); //
  1579. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1580. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1581. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1582. }
  1583. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1584. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1585. _content = $$("div", {
  1586. className: "U_MD_D_KO",
  1587. "onmousedown": U.UF.C.closure(function (obj) {
  1588. //防止拖动图标即打开了桌面应用
  1589. U.MD.D.click(this, obj);
  1590. }, [_szscStudentDeskIconInfo[i]]),
  1591. "onclick": U.UF.C.closure(function (obj) {
  1592. //防止拖动图标即打开了桌面应用
  1593. U.MD.D.click(this, obj);
  1594. }, [_szscStudentDeskIconInfo[i]])
  1595. }, _frag); //
  1596. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1597. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1598. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1599. }
  1600. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1601. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1602. _content = $$("div", {
  1603. className: "U_MD_D_KO",
  1604. "onmousedown": U.UF.C.closure(function (obj) {
  1605. //防止拖动图标即打开了桌面应用
  1606. U.MD.D.click(this, obj);
  1607. }, [_studentDesktopIconInfo3[i]]),
  1608. "onclick": U.UF.C.closure(function (obj) {
  1609. //防止拖动图标即打开了桌面应用
  1610. U.MD.D.click(this, obj);
  1611. }, [_studentDesktopIconInfo3[i]])
  1612. }, _frag); //
  1613. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1614. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1615. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1616. }
  1617. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1618. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1619. _content = $$("div", {
  1620. className: "U_MD_D_KO",
  1621. "onmousedown": U.UF.C.closure(function (obj) {
  1622. //防止拖动图标即打开了桌面应用
  1623. U.MD.D.click(this, obj);
  1624. }, [_studentDesktopIconInfo2[i]]),
  1625. "onclick": U.UF.C.closure(function (obj) {
  1626. //防止拖动图标即打开了桌面应用
  1627. U.MD.D.click(this, obj);
  1628. }, [_studentDesktopIconInfo2[i]])
  1629. }, _frag); //
  1630. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1631. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1632. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1633. }
  1634. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1635. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1636. _content = $$("div", {
  1637. className: "U_MD_D_KO",
  1638. "onmousedown": U.UF.C.closure(function (obj) {
  1639. //防止拖动图标即打开了桌面应用
  1640. U.MD.D.click(this, obj);
  1641. }, [_wanketeacherDesktopIconInfo[i]]),
  1642. "onclick": U.UF.C.closure(function (obj) {
  1643. //防止拖动图标即打开了桌面应用
  1644. U.MD.D.click(this, obj);
  1645. }, [_wanketeacherDesktopIconInfo[i]])
  1646. }, _frag); //
  1647. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1648. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1649. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1650. }
  1651. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1652. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1653. _content = $$("div", {
  1654. className: "U_MD_D_KO",
  1655. "onmousedown": U.UF.C.closure(function (obj) {
  1656. //防止拖动图标即打开了桌面应用
  1657. U.MD.D.click(this, obj);
  1658. }, [_wankeAdminDesktopIconInfo[i]]),
  1659. "onclick": U.UF.C.closure(function (obj) {
  1660. //防止拖动图标即打开了桌面应用
  1661. U.MD.D.click(this, obj);
  1662. }, [_wankeAdminDesktopIconInfo[i]])
  1663. }, _frag); //
  1664. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1665. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1666. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1667. }
  1668. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1669. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1670. _content = $$("div", {
  1671. className: "U_MD_D_KO",
  1672. "onmousedown": U.UF.C.closure(function (obj) {
  1673. //防止拖动图标即打开了桌面应用
  1674. U.MD.D.click(this, obj);
  1675. }, [_jccssylTeacherDeskIconInfo[i]]),
  1676. "onclick": U.UF.C.closure(function (obj) {
  1677. //防止拖动图标即打开了桌面应用
  1678. U.MD.D.click(this, obj);
  1679. }, [_jccssylTeacherDeskIconInfo[i]])
  1680. }, _frag); //
  1681. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1682. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1683. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1684. }
  1685. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1686. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1687. _content = $$("div", {
  1688. className: "U_MD_D_KO",
  1689. "onmousedown": U.UF.C.closure(function (obj) {
  1690. //防止拖动图标即打开了桌面应用
  1691. U.MD.D.click(this, obj);
  1692. }, [_tpcOrganizerDeskIconInfo[i]]),
  1693. "onclick": U.UF.C.closure(function (obj) {
  1694. //防止拖动图标即打开了桌面应用
  1695. U.MD.D.click(this, obj);
  1696. }, [_tpcOrganizerDeskIconInfo[i]])
  1697. }, _frag); //
  1698. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1699. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1700. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1701. }
  1702. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1703. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1704. _content = $$("div", {
  1705. className: "U_MD_D_KO",
  1706. "onmousedown": U.UF.C.closure(function (obj) {
  1707. //防止拖动图标即打开了桌面应用
  1708. U.MD.D.click(this, obj);
  1709. }, [_tpcTeacherDeskIconInfo[i]]),
  1710. "onclick": U.UF.C.closure(function (obj) {
  1711. //防止拖动图标即打开了桌面应用
  1712. U.MD.D.click(this, obj);
  1713. }, [_tpcTeacherDeskIconInfo[i]])
  1714. }, _frag); //
  1715. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1716. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1717. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1718. }
  1719. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1720. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1721. _content = $$("div", {
  1722. className: "U_MD_D_KO",
  1723. "onmousedown": U.UF.C.closure(function (obj) {
  1724. //防止拖动图标即打开了桌面应用
  1725. U.MD.D.click(this, obj);
  1726. }, [_teacherDesktopIconInfo2[i]]),
  1727. "onclick": U.UF.C.closure(function (obj) {
  1728. //防止拖动图标即打开了桌面应用
  1729. U.MD.D.click(this, obj);
  1730. }, [_teacherDesktopIconInfo2[i]])
  1731. }, _frag); //
  1732. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1733. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1734. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1735. }
  1736. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1737. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1738. _content = $$("div", {
  1739. className: "U_MD_D_KO",
  1740. "onmousedown": U.UF.C.closure(function (obj) {
  1741. //防止拖动图标即打开了桌面应用
  1742. U.MD.D.click(this, obj);
  1743. }, [_thuioeTeacherDeskIconInfo[i]]),
  1744. "onclick": U.UF.C.closure(function (obj) {
  1745. //防止拖动图标即打开了桌面应用
  1746. U.MD.D.click(this, obj);
  1747. }, [_thuioeTeacherDeskIconInfo[i]])
  1748. }, _frag); //
  1749. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1750. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1751. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1752. }
  1753. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1754. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1755. _content = $$("div", {
  1756. className: "U_MD_D_KO",
  1757. "onmousedown": U.UF.C.closure(function (obj) {
  1758. //防止拖动图标即打开了桌面应用
  1759. U.MD.D.click(this, obj);
  1760. }, [_lotechTeacherDeskIconInfo[i]]),
  1761. "onclick": U.UF.C.closure(function (obj) {
  1762. //防止拖动图标即打开了桌面应用
  1763. U.MD.D.click(this, obj);
  1764. }, [_lotechTeacherDeskIconInfo[i]])
  1765. }, _frag); //
  1766. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1767. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1768. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1769. }//
  1770. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1771. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1772. _content = $$("div", {
  1773. className: "U_MD_D_KO",
  1774. "onmousedown": U.UF.C.closure(function (obj) {
  1775. //防止拖动图标即打开了桌面应用
  1776. U.MD.D.click(this, obj);
  1777. }, [_siesTeacherDeskIconInfo[i]]),
  1778. "onclick": U.UF.C.closure(function (obj) {
  1779. //防止拖动图标即打开了桌面应用
  1780. U.MD.D.click(this, obj);
  1781. }, [_siesTeacherDeskIconInfo[i]])
  1782. }, _frag); //
  1783. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1784. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1785. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1786. }
  1787. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1788. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1789. _content = $$("div", {
  1790. className: "U_MD_D_KO",
  1791. "onmousedown": U.UF.C.closure(function (obj) {
  1792. //防止拖动图标即打开了桌面应用
  1793. U.MD.D.click(this, obj);
  1794. }, [_longhuaTeacherDeskIconInfo[i]]),
  1795. "onclick": U.UF.C.closure(function (obj) {
  1796. //防止拖动图标即打开了桌面应用
  1797. U.MD.D.click(this, obj);
  1798. }, [_longhuaTeacherDeskIconInfo[i]])
  1799. }, _frag); //
  1800. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1801. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1802. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1803. }
  1804. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1805. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1806. _content = $$("div", {
  1807. className: "U_MD_D_KO",
  1808. "onmousedown": U.UF.C.closure(function (obj) {
  1809. //防止拖动图标即打开了桌面应用
  1810. U.MD.D.click(this, obj);
  1811. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1812. "onclick": U.UF.C.closure(function (obj) {
  1813. //防止拖动图标即打开了桌面应用
  1814. U.MD.D.click(this, obj);
  1815. }, [_yunhaiTeacherDeskIconInfo[i]])
  1816. }, _frag); //
  1817. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1818. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1819. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1820. } //_hkStudentDeskIconInfo
  1821. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1822. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1823. _content = $$("div", {
  1824. className: "U_MD_D_KO",
  1825. "onmousedown": U.UF.C.closure(function (obj) {
  1826. //防止拖动图标即打开了桌面应用
  1827. U.MD.D.click(this, obj);
  1828. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1829. "onclick": U.UF.C.closure(function (obj) {
  1830. //防止拖动图标即打开了桌面应用
  1831. U.MD.D.click(this, obj);
  1832. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1833. }, _frag); //
  1834. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1835. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1836. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1837. }
  1838. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1839. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1840. _content = $$("div", {
  1841. className: "U_MD_D_KO",
  1842. "onmousedown": U.UF.C.closure(function (obj) {
  1843. //防止拖动图标即打开了桌面应用
  1844. U.MD.D.click(this, obj);
  1845. }, [_hkTeacherDeskIconInfo[i]]),
  1846. "onclick": U.UF.C.closure(function (obj) {
  1847. //防止拖动图标即打开了桌面应用
  1848. U.MD.D.click(this, obj);
  1849. }, [_hkTeacherDeskIconInfo[i]])
  1850. }, _frag); //
  1851. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1852. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1853. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1854. }
  1855. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1856. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  1857. _content = $$("div", {
  1858. className: "U_MD_D_KO",
  1859. "onmousedown": U.UF.C.closure(function (obj) {
  1860. //防止拖动图标即打开了桌面应用
  1861. U.MD.D.click(this, obj);
  1862. }, [_hkaceTeacherDeskIconInfo[i]]),
  1863. "onclick": U.UF.C.closure(function (obj) {
  1864. //防止拖动图标即打开了桌面应用
  1865. U.MD.D.click(this, obj);
  1866. }, [_hkaceTeacherDeskIconInfo[i]])
  1867. }, _frag); //
  1868. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1869. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  1870. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  1871. }
  1872. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1873. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1874. _content = $$("div", {
  1875. className: "U_MD_D_KO",
  1876. "onmousedown": U.UF.C.closure(function (obj) {
  1877. //防止拖动图标即打开了桌面应用
  1878. U.MD.D.click(this, obj);
  1879. }, [_gdjgAdminDeskIconInfo[i]]),
  1880. "onclick": U.UF.C.closure(function (obj) {
  1881. //防止拖动图标即打开了桌面应用
  1882. U.MD.D.click(this, obj);
  1883. }, [_gdjgAdminDeskIconInfo[i]])
  1884. }, _frag); //
  1885. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1886. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1887. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1888. }
  1889. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1890. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1891. _content = $$("div", {
  1892. className: "U_MD_D_KO",
  1893. "onmousedown": U.UF.C.closure(function (obj) {
  1894. //防止拖动图标即打开了桌面应用
  1895. U.MD.D.click(this, obj);
  1896. }, [_gdjgTeacherDeskIconInfo[i]]),
  1897. "onclick": U.UF.C.closure(function (obj) {
  1898. //防止拖动图标即打开了桌面应用
  1899. U.MD.D.click(this, obj);
  1900. }, [_gdjgTeacherDeskIconInfo[i]])
  1901. }, _frag); //
  1902. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1903. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1904. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1905. }
  1906. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1907. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1908. _content = $$("div", {
  1909. className: "U_MD_D_KO",
  1910. "onmousedown": U.UF.C.closure(function (obj) {
  1911. //防止拖动图标即打开了桌面应用
  1912. U.MD.D.click(this, obj);
  1913. }, [_szherTeacherDeskIconInfo[i]]),
  1914. "onclick": U.UF.C.closure(function (obj) {
  1915. //防止拖动图标即打开了桌面应用
  1916. U.MD.D.click(this, obj);
  1917. }, [_szherTeacherDeskIconInfo[i]])
  1918. }, _frag); //
  1919. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1920. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1921. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1922. }
  1923. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1924. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1925. _content = $$("div", {
  1926. className: "U_MD_D_KO",
  1927. "onmousedown": U.UF.C.closure(function (obj) {
  1928. //防止拖动图标即打开了桌面应用
  1929. U.MD.D.click(this, obj);
  1930. }, [_heyuannAdminDeskIconInfo[i]]),
  1931. "onclick": U.UF.C.closure(function (obj) {
  1932. //防止拖动图标即打开了桌面应用
  1933. U.MD.D.click(this, obj);
  1934. }, [_heyuannAdminDeskIconInfo[i]])
  1935. }, _frag); //
  1936. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1937. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1938. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1939. }
  1940. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1941. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1942. _content = $$("div", {
  1943. className: "U_MD_D_KO",
  1944. "onmousedown": U.UF.C.closure(function (obj) {
  1945. //防止拖动图标即打开了桌面应用
  1946. U.MD.D.click(this, obj);
  1947. }, [_heyuanTeacherDeskIconInfo[i]]),
  1948. "onclick": U.UF.C.closure(function (obj) {
  1949. //防止拖动图标即打开了桌面应用
  1950. U.MD.D.click(this, obj);
  1951. }, [_heyuanTeacherDeskIconInfo[i]])
  1952. }, _frag); //
  1953. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1954. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1955. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1956. } //
  1957. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1958. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1959. _content = $$("div", {
  1960. className: "U_MD_D_KO",
  1961. "onmousedown": U.UF.C.closure(function (obj) {
  1962. //防止拖动图标即打开了桌面应用
  1963. U.MD.D.click(this, obj);
  1964. }, [_dseiAdminDeskIconInfo[i]]),
  1965. "onclick": U.UF.C.closure(function (obj) {
  1966. //防止拖动图标即打开了桌面应用
  1967. U.MD.D.click(this, obj);
  1968. }, [_dseiAdminDeskIconInfo[i]])
  1969. }, _frag); //
  1970. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1971. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1972. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1973. }
  1974. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1975. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1976. _content = $$("div", {
  1977. className: "U_MD_D_KO",
  1978. "onmousedown": U.UF.C.closure(function (obj) {
  1979. //防止拖动图标即打开了桌面应用
  1980. U.MD.D.click(this, obj);
  1981. }, [_dseiTeacherDeskIconInfo[i]]),
  1982. "onclick": U.UF.C.closure(function (obj) {
  1983. //防止拖动图标即打开了桌面应用
  1984. U.MD.D.click(this, obj);
  1985. }, [_dseiTeacherDeskIconInfo[i]])
  1986. }, _frag); //
  1987. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1988. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1989. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1990. } //
  1991. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1992. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1993. _content = $$("div", {
  1994. className: "U_MD_D_KO",
  1995. "onmousedown": U.UF.C.closure(function (obj) {
  1996. //防止拖动图标即打开了桌面应用
  1997. U.MD.D.click(this, obj);
  1998. }, [_chjyjAdminDeskIconInfo[i]]),
  1999. "onclick": U.UF.C.closure(function (obj) {
  2000. //防止拖动图标即打开了桌面应用
  2001. U.MD.D.click(this, obj);
  2002. }, [_chjyjAdminDeskIconInfo[i]])
  2003. }, _frag); //
  2004. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2005. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2006. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2007. }//
  2008. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2009. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2010. _content = $$("div", {
  2011. className: "U_MD_D_KO",
  2012. "onmousedown": U.UF.C.closure(function (obj) {
  2013. //防止拖动图标即打开了桌面应用
  2014. U.MD.D.click(this, obj);
  2015. }, [_chjyjTeacherDeskIconInfo[i]]),
  2016. "onclick": U.UF.C.closure(function (obj) {
  2017. //防止拖动图标即打开了桌面应用
  2018. U.MD.D.click(this, obj);
  2019. }, [_chjyjTeacherDeskIconInfo[i]])
  2020. }, _frag); //
  2021. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2022. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2023. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2024. }
  2025. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2026. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2027. _content = $$("div", {
  2028. className: "U_MD_D_KO",
  2029. "onmousedown": U.UF.C.closure(function (obj) {
  2030. //防止拖动图标即打开了桌面应用
  2031. U.MD.D.click(this, obj);
  2032. }, [_szjkyAdminDeskIconInfo[i]]),
  2033. "onclick": U.UF.C.closure(function (obj) {
  2034. //防止拖动图标即打开了桌面应用
  2035. U.MD.D.click(this, obj);
  2036. }, [_szjkyAdminDeskIconInfo[i]])
  2037. }, _frag); //
  2038. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2039. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2040. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2041. }//
  2042. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2043. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2044. _content = $$("div", {
  2045. className: "U_MD_D_KO",
  2046. "onmousedown": U.UF.C.closure(function (obj) {
  2047. //防止拖动图标即打开了桌面应用
  2048. U.MD.D.click(this, obj);
  2049. }, [_szjkyTeacherDeskIconInfo[i]]),
  2050. "onclick": U.UF.C.closure(function (obj) {
  2051. //防止拖动图标即打开了桌面应用
  2052. U.MD.D.click(this, obj);
  2053. }, [_szjkyTeacherDeskIconInfo[i]])
  2054. }, _frag); //
  2055. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2056. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2057. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2058. }
  2059. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2060. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2061. _content = $$("div", {
  2062. className: "U_MD_D_KO",
  2063. "onmousedown": U.UF.C.closure(function (obj) {
  2064. //防止拖动图标即打开了桌面应用
  2065. U.MD.D.click(this, obj);
  2066. }, [_futianAdminDeskIconInfo[i]]),
  2067. "onclick": U.UF.C.closure(function (obj) {
  2068. //防止拖动图标即打开了桌面应用
  2069. U.MD.D.click(this, obj);
  2070. }, [_futianAdminDeskIconInfo[i]])
  2071. }, _frag); //
  2072. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2073. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2074. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2075. }
  2076. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2077. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2078. _content = $$("div", {
  2079. className: "U_MD_D_KO",
  2080. "onmousedown": U.UF.C.closure(function (obj) {
  2081. //防止拖动图标即打开了桌面应用
  2082. U.MD.D.click(this, obj);
  2083. }, [_futianTeacherDeskIconInfo[i]]),
  2084. "onclick": U.UF.C.closure(function (obj) {
  2085. //防止拖动图标即打开了桌面应用
  2086. U.MD.D.click(this, obj);
  2087. }, [_futianTeacherDeskIconInfo[i]])
  2088. }, _frag); //
  2089. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2090. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2091. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2092. }
  2093. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2094. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2095. _content = $$("div", {
  2096. className: "U_MD_D_KO",
  2097. "onmousedown": U.UF.C.closure(function (obj) {
  2098. //防止拖动图标即打开了桌面应用
  2099. U.MD.D.click(this, obj);
  2100. }, [_MingdeTeacherDeskIcon[i]]),
  2101. "onclick": U.UF.C.closure(function (obj) {
  2102. //防止拖动图标即打开了桌面应用
  2103. U.MD.D.click(this, obj);
  2104. }, [_MingdeTeacherDeskIcon[i]])
  2105. }, _frag); //
  2106. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2107. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2108. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2109. }
  2110. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2111. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2112. _content = $$("div", {
  2113. className: "U_MD_D_KO",
  2114. "onmousedown": U.UF.C.closure(function (obj) {
  2115. //防止拖动图标即打开了桌面应用
  2116. U.MD.D.click(this, obj);
  2117. }, [_lhsAdminDesktopIconInfo[i]]),
  2118. "onclick": U.UF.C.closure(function (obj) {
  2119. //防止拖动图标即打开了桌面应用
  2120. U.MD.D.click(this, obj);
  2121. }, [_lhsAdminDesktopIconInfo[i]])
  2122. }, _frag); //
  2123. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2124. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2125. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2126. }
  2127. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2128. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2129. _content = $$("div", {
  2130. className: "U_MD_D_KO",
  2131. "onmousedown": U.UF.C.closure(function (obj) {
  2132. //防止拖动图标即打开了桌面应用
  2133. U.MD.D.click(this, obj);
  2134. }, [_lhsteacherDesktopIconInfo[i]]),
  2135. "onclick": U.UF.C.closure(function (obj) {
  2136. //防止拖动图标即打开了桌面应用
  2137. U.MD.D.click(this, obj);
  2138. }, [_lhsteacherDesktopIconInfo[i]])
  2139. }, _frag); //
  2140. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2141. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2142. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2143. }
  2144. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2145. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2146. _content = $$("div", {
  2147. className: "U_MD_D_KO",
  2148. "onmousedown": U.UF.C.closure(function (obj) {
  2149. //防止拖动图标即打开了桌面应用
  2150. U.MD.D.click(this, obj);
  2151. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2152. "onclick": U.UF.C.closure(function (obj) {
  2153. //防止拖动图标即打开了桌面应用
  2154. U.MD.D.click(this, obj);
  2155. }, [_zhoujiateacherDesktopIconInfo[i]])
  2156. }, _frag); //
  2157. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2158. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2159. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2160. }
  2161. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2162. for (i = 0; i < _hanDeskIcon.length; i++) {
  2163. _content = $$("div", {
  2164. className: "U_MD_D_KO",
  2165. "onmousedown": U.UF.C.closure(function (obj) {
  2166. //防止拖动图标即打开了桌面应用
  2167. U.MD.D.click(this, obj);
  2168. }, [_hanDeskIcon[i]]),
  2169. "onclick": U.UF.C.closure(function (obj) {
  2170. //防止拖动图标即打开了桌面应用
  2171. U.MD.D.click(this, obj);
  2172. }, [_hanDeskIcon[i]])
  2173. }, _frag); //
  2174. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2175. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2176. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2177. }
  2178. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2179. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2180. _content = $$("div", {
  2181. className: "U_MD_D_KO",
  2182. "onmousedown": U.UF.C.closure(function (obj) {
  2183. //防止拖动图标即打开了桌面应用
  2184. U.MD.D.click(this, obj);
  2185. }, [_orgStemDeskIcon[i]]),
  2186. "onclick": U.UF.C.closure(function (obj) {
  2187. //防止拖动图标即打开了桌面应用
  2188. U.MD.D.click(this, obj);
  2189. }, [_orgStemDeskIcon[i]])
  2190. }, _frag); //
  2191. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2192. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2193. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2194. }
  2195. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2196. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2197. _content = $$("div", {
  2198. className: "U_MD_D_KO",
  2199. "onmousedown": U.UF.C.closure(function (obj) {
  2200. //防止拖动图标即打开了桌面应用
  2201. U.MD.D.click(this, obj);
  2202. }, [_szulsDeskIcon[i]]),
  2203. "onclick": U.UF.C.closure(function (obj) {
  2204. //防止拖动图标即打开了桌面应用
  2205. U.MD.D.click(this, obj);
  2206. }, [_szulsDeskIcon[i]])
  2207. }, _frag); //
  2208. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2209. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2210. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2211. }
  2212. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2213. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2214. _content = $$("div", {
  2215. className: "U_MD_D_KO",
  2216. "onmousedown": U.UF.C.closure(function (obj) {
  2217. //防止拖动图标即打开了桌面应用
  2218. U.MD.D.click(this, obj);
  2219. }, [_orgDesktopIconInfo[i]]),
  2220. "onclick": U.UF.C.closure(function (obj) {
  2221. //防止拖动图标即打开了桌面应用
  2222. U.MD.D.click(this, obj);
  2223. }, [_orgDesktopIconInfo[i]])
  2224. }, _frag); //
  2225. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2226. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2227. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2228. }
  2229. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2230. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2231. _content = $$("div", {
  2232. className: "U_MD_D_KO",
  2233. "onmousedown": U.UF.C.closure(function (obj) {
  2234. //防止拖动图标即打开了桌面应用
  2235. U.MD.D.click(this, obj);
  2236. }, [_schoolDesktopIconInfo[i]]),
  2237. "onclick": U.UF.C.closure(function (obj) {
  2238. //防止拖动图标即打开了桌面应用
  2239. U.MD.D.click(this, obj);
  2240. }, [_schoolDesktopIconInfo[i]])
  2241. }, _frag); //
  2242. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2243. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2244. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2245. }
  2246. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2247. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2248. _content = $$("div", {
  2249. className: "U_MD_D_KO",
  2250. "onmousedown": U.UF.C.closure(function (obj) {
  2251. //防止拖动图标即打开了桌面应用
  2252. U.MD.D.click(this, obj);
  2253. }, [_GMteacherDesktopIconInfo[i]]),
  2254. "onclick": U.UF.C.closure(function (obj) {
  2255. //防止拖动图标即打开了桌面应用
  2256. U.MD.D.click(this, obj);
  2257. }, [_GMteacherDesktopIconInfo[i]])
  2258. }, _frag); //
  2259. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2260. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2261. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2262. }
  2263. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2264. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2265. _content = $$("div", {
  2266. className: "U_MD_D_KO",
  2267. "onmousedown": U.UF.C.closure(function (obj) {
  2268. //防止拖动图标即打开了桌面应用
  2269. U.MD.D.click(this, obj);
  2270. }, [_SONGteacherDesktopIconInfo[i]]),
  2271. "onclick": U.UF.C.closure(function (obj) {
  2272. //防止拖动图标即打开了桌面应用
  2273. U.MD.D.click(this, obj);
  2274. }, [_SONGteacherDesktopIconInfo[i]])
  2275. }, _frag); //
  2276. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2277. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2278. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2279. }
  2280. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2281. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2282. _content = $$("div", {
  2283. className: "U_MD_D_KO",
  2284. "onmousedown": U.UF.C.closure(function (obj) {
  2285. //防止拖动图标即打开了桌面应用
  2286. U.MD.D.click(this, obj);
  2287. }, [_GMstudentDesktopIconInfo[i]]),
  2288. "onclick": U.UF.C.closure(function (obj) {
  2289. //防止拖动图标即打开了桌面应用
  2290. U.MD.D.click(this, obj);
  2291. }, [_GMstudentDesktopIconInfo[i]])
  2292. }, _frag); //
  2293. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2294. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2295. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2296. }
  2297. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2298. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2299. _content = $$("div", {
  2300. className: "U_MD_D_KO",
  2301. "onmousedown": U.UF.C.closure(function (obj) {
  2302. //防止拖动图标即打开了桌面应用
  2303. U.MD.D.click(this, obj);
  2304. }, [_tcTeacherDeskIconInfo[i]]),
  2305. "onclick": U.UF.C.closure(function (obj) {
  2306. //防止拖动图标即打开了桌面应用
  2307. U.MD.D.click(this, obj);
  2308. }, [_tcTeacherDeskIconInfo[i]])
  2309. }, _frag); //
  2310. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2311. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2312. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2313. }
  2314. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2315. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2316. _content = $$("div", {
  2317. className: "U_MD_D_KO",
  2318. "onmousedown": U.UF.C.closure(function (obj) {
  2319. //防止拖动图标即打开了桌面应用
  2320. U.MD.D.click(this, obj);
  2321. }, [_tcOrganizerDeskIconInfo[i]]),
  2322. "onclick": U.UF.C.closure(function (obj) {
  2323. //防止拖动图标即打开了桌面应用
  2324. U.MD.D.click(this, obj);
  2325. }, [_tcOrganizerDeskIconInfo[i]])
  2326. }, _frag); //
  2327. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2328. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2329. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2330. }
  2331. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2332. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2333. _content = $$("div", {
  2334. className: "U_MD_D_KO",
  2335. "onmousedown": U.UF.C.closure(function (obj) {
  2336. //防止拖动图标即打开了桌面应用
  2337. U.MD.D.click(this, obj);
  2338. }, [_szscTeacherDeskIconInfo[i]]),
  2339. "onclick": U.UF.C.closure(function (obj) {
  2340. //防止拖动图标即打开了桌面应用
  2341. U.MD.D.click(this, obj);
  2342. }, [_szscTeacherDeskIconInfo[i]])
  2343. }, _frag); //
  2344. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2345. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2346. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2347. }
  2348. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2349. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2350. _content = $$("div", {
  2351. className: "U_MD_D_KO",
  2352. "onmousedown": U.UF.C.closure(function (obj) {
  2353. //防止拖动图标即打开了桌面应用
  2354. U.MD.D.click(this, obj);
  2355. }, [_szscOrganizerDeskIconInfo[i]]),
  2356. "onclick": U.UF.C.closure(function (obj) {
  2357. //防止拖动图标即打开了桌面应用
  2358. U.MD.D.click(this, obj);
  2359. }, [_szscOrganizerDeskIconInfo[i]])
  2360. }, _frag); //
  2361. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2362. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2363. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2364. }
  2365. } else {
  2366. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2367. _content = $$("div", {
  2368. className: "U_MD_D_KO",
  2369. "onmousedown": U.UF.C.closure(function (obj) {
  2370. //防止拖动图标即打开了桌面应用
  2371. U.MD.D.click(this, obj);
  2372. }, [_teacherDesktopIconInfo[i]]),
  2373. "onclick": U.UF.C.closure(function (obj) {
  2374. //防止拖动图标即打开了桌面应用
  2375. U.MD.D.click(this, obj);
  2376. }, [_teacherDesktopIconInfo[i]])
  2377. }, _frag); //
  2378. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2379. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2380. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2381. }
  2382. }
  2383. } else {
  2384. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2385. _content = $$("div", {
  2386. className: "U_MD_D_KO",
  2387. style: { 'width': '124px', 'height': '145px' },
  2388. "onmousedown": U.UF.C.closure(function (obj) {
  2389. //防止拖动图标即打开了桌面应用
  2390. U.MD.D.click(this, obj);
  2391. }, [_easyDesktopIconInfo[i]]),
  2392. "onclick": U.UF.C.closure(function (obj) {
  2393. //防止拖动图标即打开了桌面应用
  2394. U.MD.D.click(this, obj);
  2395. }, [_easyDesktopIconInfo[i]])
  2396. }, _frag); //
  2397. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2398. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2399. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2400. }
  2401. }
  2402. if (type == 1) {
  2403. //加载好后给图标定位
  2404. U.MD.D.iconPostion($(_frag).Child());
  2405. } else {
  2406. //加载好后给图标定位
  2407. U.MD.D.iconPostion2($(_frag).Child());
  2408. }
  2409. //把图标加载到页面
  2410. el.appendChild(_frag);
  2411. }
  2412. /**
  2413. * 显示任务栏
  2414. *
  2415. * @param {element} 桌面元素
  2416. */
  2417. U.MD.D.I.displayTaskbar = function (el) {
  2418. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2419. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2420. //任务栏位置变化
  2421. U.selectEl(el).css({ "bottom": "0px" });
  2422. //桌面位置变话
  2423. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2424. }
  2425. }
  2426. //#region 桌面图标拖动逻辑
  2427. /**
  2428. * 桌面排列图标
  2429. *
  2430. * @param {element} 桌面元素
  2431. * @param {object} 上下相距的距离
  2432. * @param {object} 左右相距的距离
  2433. * @return {object} 命名空间
  2434. */
  2435. U.MD.D.iconPostion = function (childs, top, left) {
  2436. var i; //用于循环处理
  2437. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2438. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2439. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2440. for (i = 0; i < childs.length; i++) {
  2441. //如果竖排top超过了范围处理
  2442. if (top + 95 > US.height - 10) {
  2443. //left超过了页面范围处理,则向上重叠打印处理
  2444. if ((left + 180) > US.width) {
  2445. top -= 110;
  2446. left -= 90;
  2447. }
  2448. //没有超过范围,那么left+90添加到下一个竖排打印
  2449. else {
  2450. left += 90;
  2451. top = 15;
  2452. };
  2453. }
  2454. //给图标的位置赋值
  2455. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2456. if (i < childs.length - 1) {
  2457. //页面图标每次向下加95
  2458. top += 95;
  2459. }
  2460. }
  2461. //返回最后调用的图标的位置
  2462. return [top, left];
  2463. }
  2464. /**
  2465. * 桌面排列图标
  2466. *
  2467. * @param {element} 桌面元素
  2468. * @param {object} 上下相距的距离
  2469. * @param {object} 左右相距的距离
  2470. * @return {object} 命名空间
  2471. */
  2472. U.MD.D.iconPostion2 = function (childs, top, left) {
  2473. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2474. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2475. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2476. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2477. for (i = 0; i < childs.length; i++) {
  2478. //如果竖排top超过了范围处理
  2479. if (left + 150 > US.width - 10) {
  2480. //left超过了页面范围处理,则向上重叠打印处理
  2481. if ((top + 180) > US.Height) {
  2482. top -= 150;
  2483. left -= 150;
  2484. }
  2485. //没有超过范围,那么left+90添加到下一个竖排打印
  2486. else {
  2487. top += 150;
  2488. left = ol;
  2489. };
  2490. }
  2491. //给图标的位置赋值
  2492. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2493. if (i < childs.length - 1) {
  2494. //页面图标每次向下加95
  2495. left += 150;
  2496. }
  2497. }
  2498. //返回最后调用的图标的位置
  2499. return [top, left];
  2500. }
  2501. /**
  2502. * 桌面点击事件逻辑
  2503. *
  2504. * @param {element} 桌面元素
  2505. * @param {object} 上下相距的距离
  2506. * @param {object} 左右相距的距离
  2507. * @return {object} 命名空间
  2508. */
  2509. U.MD.D.click = function (el, obj) {
  2510. var _buttonnumber = event.button; //点击的按钮的事件值
  2511. var _userinfo = US.userInfo;
  2512. U.UF.EV.stopBubble(); //阻止向上冒泡
  2513. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2514. if (_buttonnumber < 2) {
  2515. //如果是click事件的处理
  2516. if (event.type == "click") {
  2517. //如果元素在mousemove事件中没有移动则出发click事件
  2518. if (!U.MD.D.I.IsDrag) {
  2519. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2520. U.alert("请先登录您的账号!");
  2521. setTimeout(() => {
  2522. U.MD.U.L.login();
  2523. }, 2000);
  2524. } else {
  2525. //打开应用处理
  2526. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2527. }
  2528. }
  2529. }
  2530. //如果是mouse事件的处理
  2531. else {
  2532. if (US.Config.type == '1') {
  2533. //拖动处理,添加拖动和拖动结束事件
  2534. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2535. }
  2536. }
  2537. U.MD.D.I.IsDrag = false;
  2538. }
  2539. }
  2540. /**
  2541. * 拖动的处理
  2542. *
  2543. */
  2544. U.MD.D.iconMove = function () {
  2545. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2546. U.MD.D.I.IsDrag = true;
  2547. }
  2548. /**
  2549. * 拖动结束后,这里是定位处理,以网状的形式定位
  2550. *
  2551. * @param {element} 拖动的元素
  2552. * @return {object} 命名空间
  2553. */
  2554. U.MD.D.iconUp = function (el) {
  2555. var _top = 15,
  2556. _left = 20,
  2557. _margin,
  2558. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2559. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2560. if (_positioninfo["OT"] > 15) {
  2561. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2562. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2563. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2564. }
  2565. if (_positioninfo["OL"] > 20) {
  2566. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2567. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2568. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2569. }
  2570. //while循环判断么一个重叠的元素
  2571. do {
  2572. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2573. _top = _positioninfo[0] + 95; //得到定位后的top
  2574. _left = _positioninfo[1]; //得到定位后的left
  2575. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2576. }
  2577. /**
  2578. * 判断拖动后图标是否重叠
  2579. *
  2580. * @param {element} 拖动的元素
  2581. * @param {element} 桌面所有的元素
  2582. * @param {array} 拖动元素的位置
  2583. ----------[0] 上 top
  2584. ----------[1] 左 left
  2585. * @return {object} 命名空间
  2586. */
  2587. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2588. //循环所有的图标
  2589. for (var i = 0; i < childs.length; i++) {
  2590. //判断有没有和该图标诶子重叠的元素
  2591. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2592. return childs[i]; //如果有返回
  2593. }
  2594. }
  2595. }
  2596. //#endregion
  2597. //#endregion
  2598. //#region 桌面应用
  2599. /**
  2600. * 打开应用
  2601. *
  2602. * @param {string} 类型
  2603. -----------------Disk 网盘系统
  2604. -----------------PDisk 学习系统网盘
  2605. -----------------Poto 图片
  2606. -----------------Video 视频
  2607. -----------------Music 音乐
  2608. -----------------Word word
  2609. -----------------Excel excel
  2610. -----------------Txt 记事本
  2611. -----------------PB 学习系统
  2612. -----------------Blog 朋友圈系统
  2613. -----------------FTP ftp系统
  2614. -----------------Group 好友群
  2615. -----------------SY 首页系统
  2616. -----------------Set 个人设置
  2617. -----------------XSet 系统设置
  2618. -----------------App 我们所有的app
  2619. -----------------BC c.1473.cn 平台
  2620. -----------------CWeb d.1473.cn 变成平台
  2621. -----------------其他的外联系统 我们统一用iframe打开
  2622. * @param {array} 类型
  2623. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2624. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2625. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2626. 如果第一个参数为其他,则无第二个参数
  2627. * @returns {array}
  2628. */
  2629. window.addEventListener('message', function (e) { // 监听 message 事件
  2630. // alert(e.data.type);
  2631. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2632. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2633. //3是展示全部阶段 2学生 1老师 4专家
  2634. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2635. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2636. //3是展示全部阶段 2学生 1老师 4专家
  2637. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2638. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2639. //3是展示全部阶段 2学生 1老师 4专家
  2640. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2641. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2642. } else if (e.data.screenType && e.data.screenType == "3train") { //培训管理传入
  2643. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  2644. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2645. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2646. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2647. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2648. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2649. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2650. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2651. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2652. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2653. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2654. //3是展示全部阶段 2学生 1老师 4专家
  2655. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2656. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2657. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2658. U.MD.D.I.selectUser();
  2659. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2660. var _formel = document.getElementById("study");
  2661. U.UF.F.windowZooming(_formel);
  2662. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2663. var _formel = document.getElementById("studyDetail");
  2664. U.UF.F.windowZooming(_formel);
  2665. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2666. var _formel = document.getElementById("studyDetail");
  2667. U.UF.F.windowZooming(_formel);
  2668. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2669. var _formel = document.getElementById("studentStudy");
  2670. U.UF.F.windowZooming(_formel);
  2671. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2672. // var _formel = document.getElementById("study");
  2673. //如果最大化了,那么就把他缩小
  2674. // if (_formel.ismaximize) {
  2675. // return;
  2676. // }
  2677. // U.UF.F.windowZooming(_formel);
  2678. // U.UF.F.topWindow(_formel);
  2679. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2680. // var _formel = document.getElementById("studyDetail");
  2681. //如果最大化了,那么就把他缩小
  2682. // if (_formel.ismaximize) {
  2683. // return;
  2684. // }
  2685. // U.UF.F.windowZooming(_formel);
  2686. // U.UF.F.topWindow(_formel);
  2687. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2688. // var _formel = document.getElementById("studentStudy");
  2689. // if (_formel.ismaximize) {
  2690. // return;
  2691. // }
  2692. // U.UF.F.windowZooming(_formel);
  2693. // U.UF.F.topWindow(_formel);
  2694. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2695. var _formel = document.getElementById("study");
  2696. // if (_formel.ismaximize) {
  2697. // return;
  2698. // }
  2699. // U.UF.F.windowZooming(_formel);
  2700. U.UF.F.topWindow(_formel);
  2701. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2702. var _formel = document.getElementById("studentIndex");
  2703. U.UF.F.windowZooming(_formel);
  2704. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2705. var _formel = document.getElementById("studyDetailS");
  2706. U.UF.F.windowZooming(_formel);
  2707. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2708. var _formel = document.getElementById("studioIndex");
  2709. U.UF.F.windowZooming(_formel);
  2710. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2711. var _formel = document.getElementById("studyDetailStudio");
  2712. U.UF.F.windowZooming(_formel);
  2713. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2714. var _formel = document.getElementById("studyDetailStudio");
  2715. U.UF.F.windowZooming(_formel);
  2716. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2717. var _formel = document.getElementById("studyDetailNT");
  2718. U.UF.F.windowZooming(_formel);
  2719. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2720. var _formel = document.getElementById("studyDetailS");
  2721. U.UF.F.windowZooming(_formel);
  2722. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2723. var _formel = document.getElementById("studyDetailS");
  2724. U.UF.F.topWindow(_formel);
  2725. } else if (e.data.tools && e.data.tools == "1") {
  2726. // U.MD.D.I.openApplication("whiteboard")
  2727. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2728. } else if (e.data.tools && e.data.tools == "2") {
  2729. U.MD.D.I.openApplication("note")
  2730. } else if (e.data.tools && e.data.tools == "3") {
  2731. // U.MD.D.I.openApplication("mind")
  2732. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2733. } else if (e.data.tools && e.data.tools == "4") {
  2734. U.MD.D.I.openApplication("investigation")
  2735. } else if (e.data.tools && e.data.tools == "6") {
  2736. // U.MD.D.I.openApplication("doc")
  2737. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2738. } else if (e.data.tools && e.data.tools == "7") {
  2739. // U.MD.D.I.openApplication("mindNetwork")
  2740. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2741. } else if (e.data.tools && e.data.tools == "8") {
  2742. U.MD.D.I.openApplication("library")
  2743. } else if (e.data.tools && e.data.tools == "17") {
  2744. U.MD.D.I.openApplication("stuLibrary")
  2745. } else if (e.data.tools && e.data.tools == "18") {
  2746. U.MD.D.I.openApplication("train")
  2747. } else if (e.data.tools && e.data.tools == "21") {
  2748. U.MD.D.I.openApplication("program")
  2749. } else if (e.data.tools && e.data.tools == "22") {
  2750. U.MD.D.I.openApplication("AIprogram2")
  2751. } else if (e.data.tools && e.data.tools == "23") {
  2752. U.MD.D.I.openApplication("Pythonprogram")
  2753. } else if (e.data.tools && e.data.tools == "24") {
  2754. U.MD.D.I.openApplication("AIprogram")
  2755. } else if (e.data.tools && e.data.tools == "25") {
  2756. U.MD.D.I.openApplication("sys")
  2757. } else if (e.data.tools && e.data.tools == "26") {
  2758. // U.MD.D.I.openApplication("courseDesign")
  2759. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2760. } else if (e.data.tools && e.data.tools == "31") {
  2761. U.MD.D.I.openApplication("netWorkPanel")
  2762. } else if (e.data.tools && e.data.tools == "32") {
  2763. U.MD.D.I.openApplication("codeEdit")
  2764. } else if (e.data.tools && e.data.tools == "57") {
  2765. U.MD.D.I.openApplication("CocoPi")
  2766. } else if (e.data.tools && e.data.tools == "63") {
  2767. U.MD.D.I.openApplication("Wood")
  2768. } else if (e.data.tools && e.data.tools == "58") {
  2769. U.MD.D.I.openApplication("car")
  2770. } else if (e.data.tools && e.data.tools == "59") {
  2771. U.MD.D.I.openApplication("lineSearch")
  2772. } else if (e.data.tools && e.data.tools == "60") {
  2773. U.MD.D.I.openApplication("deepLearning")
  2774. } else if (e.data.tools && e.data.tools == "61") {
  2775. U.MD.D.I.openApplication("allHistory")
  2776. } else if (e.data.tools && e.data.tools == "28") {
  2777. U.MD.D.I.openApplication("translation")
  2778. } else if (e.data.tools && e.data.tools == "37") {
  2779. U.MD.D.I.openApplication("mohe")
  2780. } else if (e.data.tools && e.data.tools == "38") {
  2781. U.MD.D.I.openApplication("24game")
  2782. } else if (e.data.tools && e.data.tools == "39") {
  2783. U.MD.D.I.openApplication("GeoGebra")
  2784. } else if (e.data.tools && e.data.tools == "43") {
  2785. U.MD.D.I.openApplication("studentEvaluate")
  2786. } else if (e.data.tools && e.data.tools == "44") {
  2787. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2788. } else if (e.data.tools && e.data.tools == "46") {
  2789. U.MD.D.I.openApplication("project")
  2790. } else if (e.data.tools && e.data.tools == "1s") {
  2791. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2792. } else if (e.data.tools && e.data.tools == "3s") {
  2793. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2794. } else if (e.data.tools && e.data.tools == "6s") {
  2795. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2796. } else if (e.data.tools && e.data.tools == "1studio") {
  2797. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2798. } else if (e.data.tools && e.data.tools == "3studio") {
  2799. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2800. } else if (e.data.tools && e.data.tools == "6studio") {
  2801. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2802. } else if (e.data.tools && e.data.tools == "3y") {
  2803. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2804. } else if (e.data.tools && e.data.tools == "1y") {
  2805. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2806. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2807. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2808. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2809. U.MD.D.I.openApplication("AIAnalyse")
  2810. } else if (e.data.tools && e.data.tools == "1teacher") {
  2811. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2812. } else if (e.data.tools && e.data.tools == "3teacher") {
  2813. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2814. } else if (e.data.tools && e.data.tools == "7teacher") {
  2815. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2816. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2817. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2818. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2819. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2820. } else if (e.data.tools && e.data.tools == "1E") {
  2821. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2822. } else if (e.data.tools && e.data.tools == "3E") {
  2823. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2824. } else if (e.data.tools && e.data.tools == "57y") {
  2825. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2826. } else if (e.data.tools && e.data.tools == "57u") {
  2827. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2828. } else if (e.data.tools && e.data.tools == "57teacher") {
  2829. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2830. } else if (e.data.tools && e.data.tools == "64") {
  2831. U.MD.D.I.openApplication("AIChat")
  2832. } else if (e.data.tools && e.data.tools == "66") {
  2833. U.MD.D.I.openApplication("formulaEdi")
  2834. } else if (e.data.tools && e.data.tools == "67") {
  2835. U.MD.D.I.openApplication("molStr")
  2836. } else if (e.data.tools && e.data.tools == "68") {
  2837. U.MD.D.I.openApplication("timeAxis")
  2838. } else if (e.data.tools && e.data.tools == "openCourse") {
  2839. let _data = {
  2840. typea: e.data.typea || '',
  2841. typeb: e.data.typeb || '',
  2842. typed: e.data.typed || '',
  2843. }
  2844. U.MD.D.I.openInApplication("index", _data)
  2845. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2846. let _data = {
  2847. classid: e.data.classid || '',
  2848. }
  2849. U.MD.D.I.openInApplication("dataClass", _data)
  2850. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2851. let _data = {
  2852. cid: e.data.cid || '',
  2853. gid: e.data.gid || '',
  2854. }
  2855. U.MD.D.I.openInApplication("opencCscl", _data)
  2856. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  2857. U.MD.D.I.openApplication("dataBoardTest")
  2858. }
  2859. });
  2860. U.MD.D.I.selectUser = function () {
  2861. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2862. if (res.value[0].length > 0) {
  2863. US.userInfo = res.value[0][0];
  2864. $(".userName")[0].innerHTML = US.userInfo.username;
  2865. }
  2866. }, [], { "type": "GET", "withCredentials": true });
  2867. }
  2868. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2869. var _userinfo = US.userInfo, //登录用户信息
  2870. _userid = US.userInfo.userid, //登录用户id
  2871. _oid = _userinfo.organizeid,
  2872. _type = US.userInfo.type,
  2873. _org = US.userInfo.org,
  2874. _role = US.userInfo.role,
  2875. _classId = US.userInfo.classid;
  2876. if (_type == 4) {
  2877. tType = 4
  2878. }
  2879. switch (str) {
  2880. case "studyDetailNT": //无终端模式
  2881. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2882. setTimeout(() => {
  2883. U.MD.U.L.login();
  2884. }, 2000);
  2885. } else {
  2886. _formdiv = new U.UF.UI.form(
  2887. "课程详情",
  2888. $$("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 }), {
  2889. "id": "studyDetailNT",
  2890. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2891. "onresize": function () { }
  2892. }, {
  2893. closecallback: function () { }
  2894. }, { "style": { "height": "36px" } }).form; //创建窗体
  2895. _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); } }
  2896. break;
  2897. }
  2898. case "studyDetail":
  2899. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2900. setTimeout(() => {
  2901. U.MD.U.L.login();
  2902. }, 2000);
  2903. } else {
  2904. _formdiv = new U.UF.UI.form(
  2905. "课程详情",
  2906. $$("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 }), {
  2907. "id": "studyDetail",
  2908. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2909. "onresize": function () { }
  2910. }, {
  2911. closecallback: function () { }
  2912. }, { "style": { "height": "36px" } }).form; //创建窗体
  2913. _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); } }
  2914. break;
  2915. }
  2916. case "studyDetailTrain":
  2917. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2918. setTimeout(() => {
  2919. U.MD.U.L.login();
  2920. }, 2000);
  2921. } else {
  2922. _formdiv = new U.UF.UI.form(
  2923. "培训详情",
  2924. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailTrain?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2925. "id": "studyDetailTrain",
  2926. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2927. "onresize": function () { }
  2928. }, {
  2929. closecallback: function () { }
  2930. }, { "style": { "height": "36px" } }).form; //创建窗体
  2931. _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); } }
  2932. break;
  2933. }
  2934. case "studyDetailS":
  2935. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2936. setTimeout(() => {
  2937. U.MD.U.L.login();
  2938. }, 2000);
  2939. } else {
  2940. _formdiv = new U.UF.UI.form(
  2941. "项目详情",
  2942. $$("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 }), {
  2943. "id": "studyDetailS",
  2944. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2945. "onresize": function () { }
  2946. }, {
  2947. closecallback: function () { }
  2948. }, { "style": { "height": "36px" } }).form; //创建窗体
  2949. _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); } }
  2950. break;
  2951. }
  2952. case "studyDetailStudio":
  2953. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2954. setTimeout(() => {
  2955. U.MD.U.L.login();
  2956. }, 2000);
  2957. } else {
  2958. _formdiv = new U.UF.UI.form(
  2959. "工作详情",
  2960. $$("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 }), {
  2961. "id": "studyDetailStudio",
  2962. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2963. "onresize": function () { }
  2964. }, {
  2965. closecallback: function () { }
  2966. }, { "style": { "height": "36px" } }).form; //创建窗体
  2967. _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); } }
  2968. break;
  2969. }
  2970. case "studyDetailS5":
  2971. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2972. setTimeout(() => {
  2973. U.MD.U.L.login();
  2974. }, 2000);
  2975. } else {
  2976. _formdiv = new U.UF.UI.form(
  2977. "项目详情",
  2978. $$("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 }), {
  2979. "id": "studyDetailS",
  2980. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2981. "onresize": function () { }
  2982. }, {
  2983. closecallback: function () { }
  2984. }, { "style": { "height": "36px" } }).form; //创建窗体
  2985. _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); } }
  2986. break;
  2987. }
  2988. case "studyDetailGM":
  2989. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2990. setTimeout(() => {
  2991. U.MD.U.L.login();
  2992. }, 2000);
  2993. } else {
  2994. _formdiv = new U.UF.UI.form(
  2995. "课程详情",
  2996. $$("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 }), {
  2997. "id": "studyDetail",
  2998. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2999. "onresize": function () { }
  3000. }, {
  3001. closecallback: function () { }
  3002. }, { "style": { "height": "36px" } }).form; //创建窗体
  3003. _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); } }
  3004. break;
  3005. }
  3006. case "hanUrl":
  3007. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3008. setTimeout(() => {
  3009. U.MD.U.L.login();
  3010. }, 2000);
  3011. } else {
  3012. _formdiv = new U.UF.UI.form(
  3013. "汉字宫",
  3014. $$("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" }), {
  3015. "id": "hanUrl",
  3016. "style": { "width": "90%", "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/hanClass.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3022. break;
  3023. }
  3024. case "index":
  3025. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3026. setTimeout(() => {
  3027. U.MD.U.L.login();
  3028. }, 2000);
  3029. } else {
  3030. _formdiv = new U.UF.UI.form(
  3031. "课程中心",
  3032. $$("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 }), {
  3033. "id": "study",
  3034. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3035. "onresize": function () { }
  3036. }, {
  3037. closecallback: function () { }
  3038. }, { "style": { "height": "36px" } }).form; //创建窗体
  3039. _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); } }
  3040. break;
  3041. }
  3042. case "dataClass":
  3043. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3044. setTimeout(() => {
  3045. U.MD.U.L.login();
  3046. }, 2000);
  3047. } else {
  3048. _formdiv = new U.UF.UI.form(
  3049. "数据报告",
  3050. $$("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 }), {
  3051. "id": "dataClass",
  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/evaluation.png)" }, "name": "数据报告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3058. break;
  3059. }
  3060. case "opencCscl":
  3061. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3062. setTimeout(() => {
  3063. U.MD.U.L.login();
  3064. }, 2000);
  3065. } else {
  3066. _formdiv = new U.UF.UI.form(
  3067. "协同建构",
  3068. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  3069. "id": "futureClass",
  3070. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3071. "onresize": function () { }
  3072. }, {
  3073. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3074. }, { "style": { "height": "36px" } }).form; //创建窗体
  3075. _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); } }
  3076. break;
  3077. }
  3078. }
  3079. }
  3080. U.MD.D.I.openApplication = function (str, obj, info) {
  3081. obj = obj || {};
  3082. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3083. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3084. _userinfo = US.userInfo, //登录用户信息
  3085. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3086. _oid = obj.organizeid || _userinfo.organizeid,
  3087. _type = US.userInfo.type,
  3088. _org = US.userInfo.org,
  3089. _role = US.userInfo.role,
  3090. _classId = US.userInfo.classid,
  3091. _TscreenType = 1
  3092. _screenType = 2,
  3093. _SscreenType = 3;
  3094. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3095. return;
  3096. }
  3097. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3098. switch (str) {
  3099. case "studnetProject": //好友打开
  3100. _formdiv = new U.UF.UI.form(
  3101. "我的项目",
  3102. $$("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 }), {
  3103. "id": "studnetProject",
  3104. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3105. "onresize": function () { }
  3106. }, {
  3107. closecallback: function () { }
  3108. }, { "style": { "height": "36px" } }).form; //创建窗体
  3109. _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); } }
  3110. break;
  3111. case "studentEvaluate": //好友打开
  3112. _formdiv = new U.UF.UI.form(
  3113. "我的评价",
  3114. $$("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 }), {
  3115. "id": "studentEvaluate",
  3116. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3117. "onresize": function () { }
  3118. }, {
  3119. closecallback: function () { }
  3120. }, { "style": { "height": "36px" } }).form; //创建窗体
  3121. _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); } }
  3122. break;
  3123. case "my":
  3124. _formdiv = new U.UF.UI.form(
  3125. "我的资料",
  3126. $$("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 }), {
  3127. "id": "my",
  3128. "style": { "width": "42%", "height": "90%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3134. break;
  3135. case "program":
  3136. _formdiv = new U.UF.UI.form(
  3137. "编程平台",
  3138. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3139. "id": "program",
  3140. "style": { "width": "70%", "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/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3146. break;
  3147. case "library":
  3148. _formdiv = new U.UF.UI.form(
  3149. "素材库",
  3150. $$("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 }), {
  3151. "id": "library",
  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/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3158. break;
  3159. case "whiteboard":
  3160. _formdiv = new U.UF.UI.form(
  3161. "电子白板",
  3162. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3163. "id": "whiteboard",
  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/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3170. break;
  3171. case "investigation":
  3172. _formdiv = new U.UF.UI.form(
  3173. "问卷调查",
  3174. $$("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 }), {
  3175. "id": "investigation",
  3176. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3177. "onresize": function () { }
  3178. }, {
  3179. closecallback: function () { }
  3180. }, { "style": { "height": "36px" } }).form; //创建窗体
  3181. _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); } }
  3182. break;
  3183. case "note":
  3184. _formdiv = new U.UF.UI.form(
  3185. "便签分类",
  3186. $$("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 }), {
  3187. "id": "note",
  3188. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3189. "onresize": function () { }
  3190. }, {
  3191. closecallback: function () { }
  3192. }, { "style": { "height": "36px" } }).form; //创建窗体
  3193. _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); } }
  3194. break;
  3195. // case "score":
  3196. // _formdiv = new U.UF.UI.form(
  3197. // "量规评分",
  3198. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3199. // "id": "score",
  3200. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3201. // "onresize": function() {}
  3202. // }, {
  3203. // closecallback: function() {}
  3204. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3205. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3206. // break;
  3207. case "mind":
  3208. _formdiv = new U.UF.UI.form(
  3209. "思维导图",
  3210. $$("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"
  3211. "id": "mind",
  3212. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3213. "onresize": function () { }
  3214. }, {
  3215. closecallback: function () { }
  3216. }, { "style": { "height": "36px" } }).form; //创建窗体
  3217. _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); } }
  3218. break;
  3219. case "doc":
  3220. // U.MD.D.I.isRoom();
  3221. _formdiv = new U.UF.UI.form(
  3222. "协同文档",
  3223. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3224. "id": "doc",
  3225. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3226. "onresize": function () { }
  3227. }, {
  3228. closecallback: function () { }
  3229. }, { "style": { "height": "36px" } }).form; //创建窗体
  3230. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3231. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3232. // })
  3233. _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); } }
  3234. break;
  3235. case "studentStudy":
  3236. _formdiv = new U.UF.UI.form(
  3237. "课程中心",
  3238. $$("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
  3239. "id": "studentStudy",
  3240. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3241. "onresize": function () { }
  3242. }, {
  3243. closecallback: function () { }
  3244. }, { "style": { "height": "36px" } }).form; //创建窗体
  3245. _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); } }
  3246. break;
  3247. case "train": //好友打开
  3248. _formdiv = new U.UF.UI.form(
  3249. "训练平台",
  3250. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3251. "id": "train",
  3252. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3253. "onresize": function () { }
  3254. }, {
  3255. closecallback: function () { }
  3256. }, { "style": { "height": "36px" } }).form; //创建窗体
  3257. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3258. break;
  3259. case "mindNetwork": //好友打开
  3260. _formdiv = new U.UF.UI.form(
  3261. "思维网格",
  3262. $$("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 }), {
  3263. "id": "mindNetwork",
  3264. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3265. "onresize": function () { }
  3266. }, {
  3267. closecallback: function () { }
  3268. }, { "style": { "height": "36px" } }).form; //创建窗体
  3269. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3270. break;
  3271. case "studentClassRoom": //好友打开
  3272. _formdiv = new U.UF.UI.form(
  3273. "实时课堂",
  3274. $$("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 }), {
  3275. "id": "studentClassRoom",
  3276. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3277. "onresize": function () { }
  3278. }, {
  3279. closecallback: function () { }
  3280. }, { "style": { "height": "36px" } }).form; //创建窗体
  3281. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3282. setTimeout(() => {
  3283. U.UF.F.windowZooming(_formdiv)
  3284. }, 0);
  3285. break;
  3286. }
  3287. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3288. switch (str) {
  3289. case "studnetProject": //好友打开
  3290. _formdiv = new U.UF.UI.form(
  3291. "我的项目",
  3292. $$("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 }), {
  3293. "id": "studnetProject",
  3294. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3295. "onresize": function () { }
  3296. }, {
  3297. closecallback: function () { }
  3298. }, { "style": { "height": "36px" } }).form; //创建窗体
  3299. _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); } }
  3300. break;
  3301. case "studentEvaluate": //好友打开
  3302. _formdiv = new U.UF.UI.form(
  3303. "我的评价",
  3304. $$("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 }), {
  3305. "id": "studentEvaluate",
  3306. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3307. "onresize": function () { }
  3308. }, {
  3309. closecallback: function () { }
  3310. }, { "style": { "height": "36px" } }).form; //创建窗体
  3311. _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); } }
  3312. break;
  3313. case "my":
  3314. _formdiv = new U.UF.UI.form(
  3315. "我的资料",
  3316. $$("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 }), {
  3317. "id": "my",
  3318. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3324. break;
  3325. case "program":
  3326. _formdiv = new U.UF.UI.form(
  3327. "编程平台",
  3328. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3329. "id": "program",
  3330. "style": { "width": "70%", "height": "90%", "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/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3336. break;
  3337. case "library":
  3338. _formdiv = new U.UF.UI.form(
  3339. "素材库",
  3340. $$("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 }), {
  3341. "id": "library",
  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/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3348. break;
  3349. case "whiteboard":
  3350. _formdiv = new U.UF.UI.form(
  3351. "电子白板",
  3352. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3353. "id": "whiteboard",
  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/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3360. break;
  3361. case "investigation":
  3362. _formdiv = new U.UF.UI.form(
  3363. "问卷调查",
  3364. $$("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 }), {
  3365. "id": "investigation",
  3366. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3367. "onresize": function () { }
  3368. }, {
  3369. closecallback: function () { }
  3370. }, { "style": { "height": "36px" } }).form; //创建窗体
  3371. _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); } }
  3372. break;
  3373. case "note":
  3374. _formdiv = new U.UF.UI.form(
  3375. "便签分类",
  3376. $$("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 }), {
  3377. "id": "note",
  3378. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3379. "onresize": function () { }
  3380. }, {
  3381. closecallback: function () { }
  3382. }, { "style": { "height": "36px" } }).form; //创建窗体
  3383. _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); } }
  3384. break;
  3385. // case "score":
  3386. // _formdiv = new U.UF.UI.form(
  3387. // "量规评分",
  3388. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3389. // "id": "score",
  3390. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3391. // "onresize": function() {}
  3392. // }, {
  3393. // closecallback: function() {}
  3394. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3395. // _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); } }
  3396. // break;
  3397. case "mind":
  3398. _formdiv = new U.UF.UI.form(
  3399. "思维导图",
  3400. $$("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"
  3401. "id": "mind",
  3402. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3403. "onresize": function () { }
  3404. }, {
  3405. closecallback: function () { }
  3406. }, { "style": { "height": "36px" } }).form; //创建窗体
  3407. _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); } }
  3408. break;
  3409. case "doc":
  3410. // U.MD.D.I.isRoom();
  3411. _formdiv = new U.UF.UI.form(
  3412. "协同文档",
  3413. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3414. "id": "doc",
  3415. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3416. "onresize": function () { }
  3417. }, {
  3418. closecallback: function () { }
  3419. }, { "style": { "height": "36px" } }).form; //创建窗体
  3420. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3421. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3422. })
  3423. _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); } }
  3424. break;
  3425. case "train": //好友打开
  3426. _formdiv = new U.UF.UI.form(
  3427. "训练平台",
  3428. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3429. "id": "train",
  3430. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3431. "onresize": function () { }
  3432. }, {
  3433. closecallback: function () { }
  3434. }, { "style": { "height": "36px" } }).form; //创建窗体
  3435. _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); } }
  3436. break;
  3437. case "studentStudy":
  3438. _formdiv = new U.UF.UI.form(
  3439. "课程中心",
  3440. $$("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
  3441. "id": "studentStudy",
  3442. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3443. "onresize": function () { }
  3444. }, {
  3445. closecallback: function () { }
  3446. }, { "style": { "height": "36px" } }).form; //创建窗体
  3447. _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); } }
  3448. break;
  3449. case "mindNetwork": //好友打开
  3450. _formdiv = new U.UF.UI.form(
  3451. "思维网格",
  3452. $$("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 }), {
  3453. "id": "mindNetwork",
  3454. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3455. "onresize": function () { }
  3456. }, {
  3457. closecallback: function () { }
  3458. }, { "style": { "height": "36px" } }).form; //创建窗体
  3459. _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); } }
  3460. break;
  3461. case "studentClassRoom": //好友打开
  3462. _formdiv = new U.UF.UI.form(
  3463. "实时课堂",
  3464. $$("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 }), {
  3465. "id": "studentClassRoom",
  3466. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3467. "onresize": function () { }
  3468. }, {
  3469. closecallback: function () { }
  3470. }, { "style": { "height": "36px" } }).form; //创建窗体
  3471. _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); } }
  3472. setTimeout(() => {
  3473. U.UF.F.windowZooming(_formdiv)
  3474. }, 0);
  3475. break;
  3476. }
  3477. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3478. //选择应用处理
  3479. switch (str) {
  3480. case "project": //好友打开
  3481. _formdiv = new U.UF.UI.form(
  3482. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3483. $$("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 }), {
  3484. "id": "project",
  3485. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3486. "onresize": function () { }
  3487. }, {
  3488. closecallback: function () { }
  3489. }, { "style": { "height": "36px" } }).form; //创建窗体
  3490. _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); } }
  3491. break;
  3492. case "student":
  3493. _formdiv = new U.UF.UI.form(
  3494. "学生管理",
  3495. $$("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 }), {
  3496. "id": "student",
  3497. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3498. "onresize": function () { }
  3499. }, {
  3500. closecallback: function () { }
  3501. }, { "style": { "height": "36px" } }).form; //创建窗体
  3502. _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); } }
  3503. break;
  3504. case "evaluate":
  3505. _formdiv = new U.UF.UI.form(
  3506. "学生评价",
  3507. $$("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 }), {
  3508. "id": "evaluate",
  3509. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3510. "onresize": function () { }
  3511. }, {
  3512. closecallback: function () { }
  3513. }, { "style": { "height": "36px" } }).form; //创建窗体
  3514. _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); } }
  3515. break;
  3516. case "sys":
  3517. _formdiv = new U.UF.UI.form(
  3518. "目标管理",
  3519. $$("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 }), {
  3520. "id": "sys",
  3521. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3522. "onresize": function () { }
  3523. }, {
  3524. closecallback: function () { }
  3525. }, { "style": { "height": "36px" } }).form; //创建窗体
  3526. _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); } }
  3527. break;
  3528. case "courseDesign":
  3529. _formdiv = new U.UF.UI.form(
  3530. "项目设计",
  3531. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3532. "id": "courseDesign",
  3533. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3534. "onresize": function () { }
  3535. }, {
  3536. closecallback: function () { }
  3537. }, { "style": { "height": "36px" } }).form; //创建窗体
  3538. _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); } }
  3539. break;
  3540. case "program":
  3541. _formdiv = new U.UF.UI.form(
  3542. "编程平台",
  3543. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3544. "id": "program",
  3545. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3546. "onresize": function () { }
  3547. }, {
  3548. closecallback: function () { }
  3549. }, { "style": { "height": "36px" } }).form; //创建窗体
  3550. _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); } }
  3551. break;
  3552. case "class":
  3553. _formdiv = new U.UF.UI.form(
  3554. "班级管理",
  3555. $$("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 }), {
  3556. "id": "class",
  3557. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3558. "onresize": function () { }
  3559. }, {
  3560. closecallback: function () { }
  3561. }, { "style": { "height": "36px" } }).form; //创建窗体
  3562. _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); } }
  3563. break;
  3564. case "Grade":
  3565. _formdiv = new U.UF.UI.form(
  3566. "年级管理",
  3567. $$("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 }), {
  3568. "id": "Grade",
  3569. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3570. "onresize": function () { }
  3571. }, {
  3572. closecallback: function () { }
  3573. }, { "style": { "height": "36px" } }).form; //创建窗体
  3574. _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); } }
  3575. break;
  3576. case "teacherOffice":
  3577. _formdiv = new U.UF.UI.form(
  3578. "教研室",
  3579. $$("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 }), {
  3580. "id": "teacherOffice",
  3581. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3582. "onresize": function () { }
  3583. }, {
  3584. closecallback: function () { }
  3585. }, { "style": { "height": "36px" } }).form; //创建窗体
  3586. _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); } }
  3587. break;
  3588. case "my":
  3589. _formdiv = new U.UF.UI.form(
  3590. "我的资料",
  3591. $$("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 }), {
  3592. "id": "my",
  3593. "style": { "width": "42%", "height": "90%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3599. break;
  3600. case "notice":
  3601. _formdiv = new U.UF.UI.form(
  3602. "通知公告",
  3603. $$("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 }), {
  3604. "id": "notice",
  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/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3611. break;
  3612. case "library":
  3613. _formdiv = new U.UF.UI.form(
  3614. "素材库",
  3615. $$("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 }), {
  3616. "id": "library",
  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/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3623. break;
  3624. case "whiteboard":
  3625. _formdiv = new U.UF.UI.form(
  3626. "电子白板",
  3627. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3628. "id": "whiteboard",
  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/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3635. break;
  3636. case "investigation":
  3637. _formdiv = new U.UF.UI.form(
  3638. "问卷调查",
  3639. $$("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 }), {
  3640. "id": "investigation",
  3641. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3642. "onresize": function () { }
  3643. }, {
  3644. closecallback: function () { }
  3645. }, { "style": { "height": "36px" } }).form; //创建窗体
  3646. _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); } }
  3647. break;
  3648. case "note":
  3649. _formdiv = new U.UF.UI.form(
  3650. "便签分类",
  3651. $$("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 }), {
  3652. "id": "note",
  3653. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3654. "onresize": function () { }
  3655. }, {
  3656. closecallback: function () { }
  3657. }, { "style": { "height": "36px" } }).form; //创建窗体
  3658. _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); } }
  3659. break;
  3660. // case "score":
  3661. // _formdiv = new U.UF.UI.form(
  3662. // "量规评分",
  3663. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3664. // "id": "score",
  3665. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3666. // "onresize": function() {}
  3667. // }, {
  3668. // closecallback: function() {}
  3669. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3670. // _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); } }
  3671. // break;
  3672. case "mind":
  3673. _formdiv = new U.UF.UI.form(
  3674. "思维导图",
  3675. $$("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"
  3676. "id": "mind",
  3677. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3678. "onresize": function () { }
  3679. }, {
  3680. closecallback: function () { }
  3681. }, { "style": { "height": "36px" } }).form; //创建窗体
  3682. _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); } }
  3683. break;
  3684. case "doc":
  3685. // U.MD.D.I.isRoom();
  3686. _formdiv = new U.UF.UI.form(
  3687. "协同文档",
  3688. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3689. "id": "doc",
  3690. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3691. "onresize": function () { }
  3692. }, {
  3693. closecallback: function () { }
  3694. }, { "style": { "height": "36px" } }).form; //创建窗体
  3695. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3696. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3697. })
  3698. _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); } }
  3699. break;
  3700. case "study":
  3701. _formdiv = new U.UF.UI.form(
  3702. "课程中心",
  3703. $$("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
  3704. "id": "study",
  3705. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3706. "onresize": function () { }
  3707. }, {
  3708. closecallback: function () { }
  3709. }, { "style": { "height": "36px" } }).form; //创建窗体
  3710. _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); } }
  3711. break;
  3712. case "mindNetwork": //好友打开
  3713. _formdiv = new U.UF.UI.form(
  3714. "思维网格",
  3715. $$("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 }), {
  3716. "id": "mindNetwork",
  3717. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3718. "onresize": function () { }
  3719. }, {
  3720. closecallback: function () { }
  3721. }, { "style": { "height": "36px" } }).form; //创建窗体
  3722. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3723. break;
  3724. case "train": //好友打开
  3725. _formdiv = new U.UF.UI.form(
  3726. "训练平台",
  3727. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3728. "id": "mindNetwork",
  3729. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3730. "onresize": function () { }
  3731. }, {
  3732. closecallback: function () { }
  3733. }, { "style": { "height": "36px" } }).form; //创建窗体
  3734. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3735. break;
  3736. case "teacherClassRoom": //好友打开
  3737. _formdiv = new U.UF.UI.form(
  3738. "实时课堂",
  3739. $$("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 }), {
  3740. "id": "teacherClassRoom",
  3741. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3742. "onresize": function () { }
  3743. }, {
  3744. closecallback: function () { }
  3745. }, { "style": { "height": "36px" } }).form; //创建窗体
  3746. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3747. setTimeout(() => {
  3748. U.UF.F.windowZooming(_formdiv)
  3749. }, 0);
  3750. break;
  3751. }
  3752. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3753. switch (str) {
  3754. case "project": //好友打开
  3755. _formdiv = new U.UF.UI.form(
  3756. "课程管理",
  3757. $$("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 }), {
  3758. "id": "project",
  3759. "style": { "width": "90%", "height": "90%", "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/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3765. break;
  3766. case "evaluate":
  3767. _formdiv = new U.UF.UI.form(
  3768. "学生评价",
  3769. $$("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 }), {
  3770. "id": "evaluate",
  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/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3777. break;
  3778. case "notice":
  3779. _formdiv = new U.UF.UI.form(
  3780. "通知公告",
  3781. $$("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 }), {
  3782. "id": "notice",
  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/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3789. break;
  3790. case "stuLibrary":
  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/#/studyLibrary?userid=" + _userid + "&org=" + _org }), {
  3794. "id": "stuLibrary",
  3795. "style": { "width": "90%", "height": "90%", "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/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3801. break;
  3802. case "program":
  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": "https://x.cocorobo.cn" }), {
  3806. "id": "program",
  3807. "style": { "width": "70%", "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/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3813. break;
  3814. case "whiteboard":
  3815. _formdiv = new U.UF.UI.form(
  3816. "电子白板",
  3817. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3818. "id": "whiteboard",
  3819. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3820. "onresize": function () { }
  3821. }, {
  3822. closecallback: function () { }
  3823. }, { "style": { "height": "36px" } }).form; //创建窗体
  3824. _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); } }
  3825. break;
  3826. case "investigation":
  3827. _formdiv = new U.UF.UI.form(
  3828. "问卷调查",
  3829. $$("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 }), {
  3830. "id": "investigation",
  3831. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3832. "onresize": function () { }
  3833. }, {
  3834. closecallback: function () { }
  3835. }, { "style": { "height": "36px" } }).form; //创建窗体
  3836. _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); } }
  3837. break;
  3838. case "mind":
  3839. _formdiv = new U.UF.UI.form(
  3840. "思维导图",
  3841. $$("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"
  3842. "id": "mind",
  3843. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3844. "onresize": function () { }
  3845. }, {
  3846. closecallback: function () { }
  3847. }, { "style": { "height": "36px" } }).form; //创建窗体
  3848. _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); } }
  3849. break;
  3850. case "doc":
  3851. // U.MD.D.I.isRoom();
  3852. _formdiv = new U.UF.UI.form(
  3853. "协同文档",
  3854. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3855. "id": "doc",
  3856. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3857. "onresize": function () { }
  3858. }, {
  3859. closecallback: function () { }
  3860. }, { "style": { "height": "36px" } }).form; //创建窗体
  3861. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3862. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3863. })
  3864. _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); } }
  3865. break;
  3866. case "study":
  3867. _formdiv = new U.UF.UI.form(
  3868. "课程中心",
  3869. $$("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
  3870. "id": "study",
  3871. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3872. "onresize": function () { }
  3873. }, {
  3874. closecallback: function () { }
  3875. }, { "style": { "height": "36px" } }).form; //创建窗体
  3876. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3877. break;
  3878. case "mindNetwork": //好友打开
  3879. _formdiv = new U.UF.UI.form(
  3880. "思维网格",
  3881. $$("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 }), {
  3882. "id": "mindNetwork",
  3883. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3884. "onresize": function () { }
  3885. }, {
  3886. closecallback: function () { }
  3887. }, { "style": { "height": "36px" } }).form; //创建窗体
  3888. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3889. break;
  3890. case "train": //好友打开
  3891. _formdiv = new U.UF.UI.form(
  3892. "训练平台",
  3893. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3894. "id": "train",
  3895. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3896. "onresize": function () { }
  3897. }, {
  3898. closecallback: function () { }
  3899. }, { "style": { "height": "36px" } }).form; //创建窗体
  3900. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3901. break;
  3902. case "sys":
  3903. _formdiv = new U.UF.UI.form(
  3904. "目标管理",
  3905. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3906. "id": "sys",
  3907. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3908. "onresize": function () { }
  3909. }, {
  3910. closecallback: function () { }
  3911. }, { "style": { "height": "36px" } }).form; //创建窗体
  3912. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3913. break;
  3914. case "courseDesign":
  3915. _formdiv = new U.UF.UI.form(
  3916. "项目设计",
  3917. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3918. "id": "courseDesign",
  3919. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3920. "onresize": function () { }
  3921. }, {
  3922. closecallback: function () { }
  3923. }, { "style": { "height": "36px" } }).form; //创建窗体
  3924. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3925. break;
  3926. }
  3927. } else if (!_type) {
  3928. switch (str) {
  3929. case "my":
  3930. _formdiv = new U.UF.UI.form(
  3931. "我的资料",
  3932. $$("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 }), {
  3933. "id": "my",
  3934. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3935. "onresize": function () { }
  3936. }, {
  3937. closecallback: function () { }
  3938. }, { "style": { "height": "36px" } }).form; //创建窗体
  3939. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3940. break;
  3941. }
  3942. }
  3943. switch (str) {
  3944. // AIprogram2 AI体验 aihub.cocorobo.cn
  3945. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3946. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3947. case "formulaEdi": //公式编辑
  3948. _formdiv = new U.UF.UI.form(
  3949. "公式编辑",
  3950. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3951. "id": "formulaEdi",
  3952. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3953. "onresize": function () { }
  3954. }, {
  3955. closecallback: function () { }
  3956. }, { "style": { "height": "36px" } }).form; //创建窗体
  3957. _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); } }
  3958. break;
  3959. case "molStr": //分子结构
  3960. _formdiv = new U.UF.UI.form(
  3961. "分子结构",
  3962. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3963. "id": "molStr",
  3964. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3965. "onresize": function () { }
  3966. }, {
  3967. closecallback: function () { }
  3968. }, { "style": { "height": "36px" } }).form; //创建窗体
  3969. _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); } }
  3970. break;
  3971. case "timeAxis": //时间轴
  3972. _formdiv = new U.UF.UI.form(
  3973. "时间轴",
  3974. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3975. "id": "timeAxis",
  3976. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3977. "onresize": function () { }
  3978. }, {
  3979. closecallback: function () { }
  3980. }, { "style": { "height": "36px" } }).form; //创建窗体
  3981. _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); } }
  3982. break;
  3983. case "AIprogram2": //AI体验
  3984. _formdiv = new U.UF.UI.form(
  3985. "AI体验",
  3986. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3987. "id": "AIprogram2",
  3988. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3989. "onresize": function () { }
  3990. }, {
  3991. closecallback: function () { }
  3992. }, { "style": { "height": "36px" } }).form; //创建窗体
  3993. _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); } }
  3994. break;
  3995. case "Pythonprogram": //python编程
  3996. _formdiv = new U.UF.UI.form(
  3997. "Python编程",
  3998. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3999. "id": "Pythonprogram",
  4000. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4001. "onresize": function () { }
  4002. }, {
  4003. closecallback: function () { }
  4004. }, { "style": { "height": "36px" } }).form; //创建窗体
  4005. _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); } }
  4006. break;
  4007. case "AIprogram": //ai编程
  4008. _formdiv = new U.UF.UI.form(
  4009. "AI编程平台",
  4010. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4011. "id": "AIprogram",
  4012. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4013. "onresize": function () { }
  4014. }, {
  4015. closecallback: function () { }
  4016. }, { "style": { "height": "36px" } }).form; //创建窗体
  4017. _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); } }
  4018. break;
  4019. case "CocoPi": //CocoPi
  4020. _formdiv = new U.UF.UI.form(
  4021. "CocoPi",
  4022. $$("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" }), {
  4023. "id": "CocoPi",
  4024. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4025. "onresize": function () { }
  4026. }, {
  4027. closecallback: function () { }
  4028. }, { "style": { "height": "36px" } }).form; //创建窗体
  4029. _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); } }
  4030. break;
  4031. case "Wood": //Wood
  4032. _formdiv = new U.UF.UI.form(
  4033. "海龟编程",
  4034. $$("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/" }), {
  4035. "id": "Wood",
  4036. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4037. "onresize": function () { }
  4038. }, {
  4039. closecallback: function () { }
  4040. }, { "style": { "height": "36px" } }).form; //创建窗体
  4041. _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); } }
  4042. break;
  4043. case "car": //模拟驾驶
  4044. _formdiv = new U.UF.UI.form(
  4045. "模拟驾驶",
  4046. $$("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/" }), {
  4047. "id": "car",
  4048. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4049. "onresize": function () { }
  4050. }, {
  4051. closecallback: function () { }
  4052. }, { "style": { "height": "36px" } }).form; //创建窗体
  4053. _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); } }
  4054. break;
  4055. case "lineSearch": //路径搜索
  4056. _formdiv = new U.UF.UI.form(
  4057. "路径搜索",
  4058. $$("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/" }), {
  4059. "id": "lineSearch",
  4060. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4061. "onresize": function () { }
  4062. }, {
  4063. closecallback: function () { }
  4064. }, { "style": { "height": "36px" } }).form; //创建窗体
  4065. _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); } }
  4066. break;
  4067. case "deepLearning": //深度学习
  4068. _formdiv = new U.UF.UI.form(
  4069. "深度学习",
  4070. $$("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/#" }), {
  4071. "id": "deepLearning",
  4072. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4073. "onresize": function () { }
  4074. }, {
  4075. closecallback: function () { }
  4076. }, { "style": { "height": "36px" } }).form; //创建窗体
  4077. _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); } }
  4078. break;
  4079. case "allHistory": //深度学习
  4080. _formdiv = new U.UF.UI.form(
  4081. "全历史",
  4082. $$("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/" }), {
  4083. "id": "allHistory",
  4084. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4085. "onresize": function () { }
  4086. }, {
  4087. closecallback: function () { }
  4088. }, { "style": { "height": "36px" } }).form; //创建窗体
  4089. _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); } }
  4090. break;
  4091. case "chatPDF": //ai编程
  4092. _formdiv = new U.UF.UI.form(
  4093. "chatPDF",
  4094. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4095. "id": "chatPDF",
  4096. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4097. "onresize": function () { }
  4098. }, {
  4099. closecallback: function () { }
  4100. }, { "style": { "height": "36px" } }).form; //创建窗体
  4101. _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); } }
  4102. break;
  4103. case "resources": //国家教育
  4104. _formdiv = new U.UF.UI.form(
  4105. "国家教育",
  4106. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4107. "id": "resources",
  4108. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4109. "onresize": function () { }
  4110. }, {
  4111. closecallback: function () { }
  4112. }, { "style": { "height": "36px" } }).form; //创建窗体
  4113. _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); } }
  4114. break;
  4115. case "codeEdit": //源码编辑
  4116. _formdiv = new U.UF.UI.form(
  4117. "源码编辑",
  4118. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4119. "id": "codeEdit",
  4120. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4121. "onresize": function () { }
  4122. }, {
  4123. closecallback: function () { }
  4124. }, { "style": { "height": "36px" } }).form; //创建窗体
  4125. _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); } }
  4126. break; //
  4127. case "MindMap": //MindMap
  4128. _formdiv = new U.UF.UI.form(
  4129. "MindMap",
  4130. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4131. "id": "MindMap",
  4132. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4133. "onresize": function () { }
  4134. }, {
  4135. closecallback: function () { }
  4136. }, { "style": { "height": "36px" } }).form; //创建窗体
  4137. _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); } }
  4138. break;
  4139. case "netWorkPanel": //netWorkPanel
  4140. _formdiv = new U.UF.UI.form(
  4141. "netWorkPanel",
  4142. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4143. "id": "netWorkPanel",
  4144. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4145. "onresize": function () { }
  4146. }, {
  4147. closecallback: function () { }
  4148. }, { "style": { "height": "36px" } }).form; //创建窗体
  4149. _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); } }
  4150. break;
  4151. case "GeoGebra": //GeoGebra
  4152. _formdiv = new U.UF.UI.form(
  4153. "GeoGebra",
  4154. $$("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" }), {
  4155. "id": "GeoGebra",
  4156. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4157. "onresize": function () { }
  4158. }, {
  4159. closecallback: function () { }
  4160. }, { "style": { "height": "36px" } }).form; //创建窗体
  4161. _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); } }
  4162. break;
  4163. case "translation": //翻译
  4164. _formdiv = new U.UF.UI.form(
  4165. "翻译",
  4166. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4167. "id": "translation",
  4168. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4169. "onresize": function () { }
  4170. }, {
  4171. closecallback: function () { }
  4172. }, { "style": { "height": "36px" } }).form; //创建窗体
  4173. _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); } }
  4174. break;
  4175. case "mohe": //魔盒
  4176. _formdiv = new U.UF.UI.form(
  4177. "魔盒识字",
  4178. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4179. "id": "mohe",
  4180. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4181. "onresize": function () { }
  4182. }, {
  4183. closecallback: function () { }
  4184. }, { "style": { "height": "36px" } }).form; //创建窗体
  4185. _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); } }
  4186. break;
  4187. case "24game": //24点
  4188. _formdiv = new U.UF.UI.form(
  4189. "24点",
  4190. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4191. "id": "24game",
  4192. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4193. "onresize": function () { }
  4194. }, {
  4195. closecallback: function () { }
  4196. }, { "style": { "height": "36px" } }).form; //创建窗体
  4197. _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); } }
  4198. break;
  4199. case "case":
  4200. _formdiv = new U.UF.UI.form(
  4201. "课程进展",
  4202. $$("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 }), {
  4203. "id": "case",
  4204. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4205. "onresize": function () { }
  4206. }, {
  4207. closecallback: function () { }
  4208. }, { "style": { "height": "36px" } }).form; //创建窗体
  4209. _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); } }
  4210. break;
  4211. case "snf":
  4212. _formdiv = new U.UF.UI.form(
  4213. "赛诺梵",
  4214. $$("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" }), {
  4215. "id": "snf",
  4216. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4217. "onresize": function () { }
  4218. }, {
  4219. closecallback: function () { }
  4220. }, { "style": { "height": "36px" } }).form; //创建窗体
  4221. _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); } }
  4222. break;
  4223. case "hanFamily":
  4224. _formdiv = new U.UF.UI.form(
  4225. "汉字家族",
  4226. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4227. "id": "hanFamily",
  4228. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4229. "onresize": function () { }
  4230. }, {
  4231. closecallback: function () { }
  4232. }, { "style": { "height": "36px" } }).form; //创建窗体
  4233. _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); } }
  4234. break;
  4235. case "hanClassics":
  4236. _formdiv = new U.UF.UI.form(
  4237. "国学经典",
  4238. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4239. "id": "hanClassics",
  4240. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4241. "onresize": function () { }
  4242. }, {
  4243. closecallback: function () { }
  4244. }, { "style": { "height": "36px" } }).form; //创建窗体
  4245. _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); } }
  4246. break;
  4247. case "hanTraining":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4251. "id": "hanTraining",
  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/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4258. break;
  4259. case "hanClass":
  4260. _formdiv = new U.UF.UI.form(
  4261. "书法课堂",
  4262. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4263. "id": "hanClass",
  4264. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4265. "onresize": function () { }
  4266. }, {
  4267. closecallback: function () { }
  4268. }, { "style": { "height": "36px" } }).form; //创建窗体
  4269. _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); } }
  4270. break;
  4271. case "han":
  4272. _formdiv = new U.UF.UI.form(
  4273. "汉字宫",
  4274. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4275. "id": "han",
  4276. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4277. "onresize": function () { }
  4278. }, {
  4279. closecallback: function () { }
  4280. }, { "style": { "height": "36px" } }).form; //创建窗体
  4281. _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); } }
  4282. break;
  4283. case "projectGM": //课程管理
  4284. _formdiv = new U.UF.UI.form(
  4285. "课程管理",
  4286. $$("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 }), {
  4287. "id": "projectGM",
  4288. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4289. "onresize": function () { }
  4290. }, {
  4291. closecallback: function () { }
  4292. }, { "style": { "height": "36px" } }).form; //创建窗体
  4293. _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); } }
  4294. break;
  4295. case "studyGM": //课程中心
  4296. _formdiv = new U.UF.UI.form(
  4297. "课程中心",
  4298. $$("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
  4299. "id": "study",
  4300. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4301. "onresize": function () { }
  4302. }, {
  4303. closecallback: function () { }
  4304. }, { "style": { "height": "36px" } }).form; //创建窗体
  4305. _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); } }
  4306. break;
  4307. // studentGM
  4308. case "studentGM": //学生管理
  4309. _formdiv = new U.UF.UI.form(
  4310. "学生管理",
  4311. $$("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 }), {
  4312. "id": "studentGM",
  4313. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4314. "onresize": function () { }
  4315. }, {
  4316. closecallback: function () { }
  4317. }, { "style": { "height": "36px" } }).form; //创建窗体
  4318. _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); } }
  4319. break;
  4320. case "evaluateGM": //学生评价
  4321. _formdiv = new U.UF.UI.form(
  4322. "学生评价",
  4323. $$("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 }), {
  4324. "id": "evaluateGM",
  4325. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4326. "onresize": function () { }
  4327. }, {
  4328. closecallback: function () { }
  4329. }, { "style": { "height": "36px" } }).form; //创建窗体
  4330. _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); } }
  4331. break;
  4332. // classGM
  4333. case "classGM": //班级管理
  4334. _formdiv = new U.UF.UI.form(
  4335. "班级管理",
  4336. $$("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 }), {
  4337. "id": "classGM",
  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/gm/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4344. break;
  4345. // dataGM
  4346. case "dataGM":
  4347. _formdiv = new U.UF.UI.form(
  4348. "我的资料",
  4349. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataGM?userid=" + _userid + "&org=" + _org }), {
  4350. "id": "dataGM",
  4351. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4352. "onresize": function () { }
  4353. }, {
  4354. closecallback: function () { }
  4355. }, { "style": { "height": "36px" } }).form; //创建窗体
  4356. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/data.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4357. break;
  4358. // caseGM
  4359. case "caseGM": //课程进展
  4360. _formdiv = new U.UF.UI.form(
  4361. "课程进展",
  4362. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4363. "id": "caseGM",
  4364. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4365. "onresize": function () { }
  4366. }, {
  4367. closecallback: function () { }
  4368. }, { "style": { "height": "36px" } }).form; //创建窗体
  4369. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4370. break;
  4371. // meterialGM
  4372. case "meterialGM": //素材库
  4373. _formdiv = new U.UF.UI.form(
  4374. "素材库",
  4375. $$("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 }), {
  4376. "id": "meterialGM",
  4377. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4378. "onresize": function () { }
  4379. }, {
  4380. closecallback: function () { }
  4381. }, { "style": { "height": "36px" } }).form; //创建窗体
  4382. _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); } }
  4383. break;
  4384. // evaluateSGM
  4385. case "evaluateSGM": //我的评价
  4386. _formdiv = new U.UF.UI.form(
  4387. "我的评价",
  4388. $$("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 }), {
  4389. "id": "evaluateSGM",
  4390. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4391. "onresize": function () { }
  4392. }, {
  4393. closecallback: function () { }
  4394. }, { "style": { "height": "36px" } }).form; //创建窗体
  4395. _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); } }
  4396. break;
  4397. case "jupyter": //jupyter
  4398. _formdiv = new U.UF.UI.form(
  4399. "jupyter",
  4400. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4401. "id": "jupyter",
  4402. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4403. "onresize": function () { }
  4404. }, {
  4405. closecallback: function () { }
  4406. }, { "style": { "height": "36px" } }).form; //创建窗体
  4407. _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); } }
  4408. break;
  4409. case "number": //数字实验室
  4410. _formdiv = new U.UF.UI.form(
  4411. "数字实验室",
  4412. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4413. "id": "number",
  4414. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4415. "onresize": function () { }
  4416. }, {
  4417. closecallback: function () { }
  4418. }, { "style": { "height": "36px" } }).form; //创建窗体
  4419. _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); } }
  4420. break;
  4421. case "studentCourse": //项目管理 学生
  4422. _formdiv = new U.UF.UI.form(
  4423. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4424. $$("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 }), {
  4425. "id": "studentCourse",
  4426. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4427. "onresize": function () { }
  4428. }, {
  4429. closecallback: function () { }
  4430. }, { "style": { "height": "36px" } }).form; //创建窗体
  4431. _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); } }
  4432. break;
  4433. case "studentCourseS": //项目管理 老师
  4434. _formdiv = new U.UF.UI.form(
  4435. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4436. $$("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 }), {
  4437. "id": "studentCourseS",
  4438. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4439. "onresize": function () { }
  4440. }, {
  4441. closecallback: function () { }
  4442. }, { "style": { "height": "36px" } }).form; //创建窗体
  4443. _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); } }
  4444. break;
  4445. case "studentIndex": //项目中心
  4446. _formdiv = new U.UF.UI.form(
  4447. "项目中心",
  4448. $$("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 }), {
  4449. "id": "studentIndex",
  4450. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4451. "onresize": function () { }
  4452. }, {
  4453. closecallback: function () { }
  4454. }, { "style": { "height": "36px" } }).form; //创建窗体
  4455. _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); } }
  4456. break;
  4457. case "CaseDesignS":
  4458. _formdiv = new U.UF.UI.form(
  4459. "项目进展",
  4460. $$("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 }), {
  4461. "id": "case",
  4462. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4463. "onresize": function () { }
  4464. }, {
  4465. closecallback: function () { }
  4466. }, { "style": { "height": "36px" } }).form; //创建窗体
  4467. _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); } }
  4468. break;
  4469. case "tcStudent": //腾讯学生管理
  4470. _formdiv = new U.UF.UI.form(
  4471. "学生管理",
  4472. $$("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 }), {
  4473. "id": "tcStudent",
  4474. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4475. "onresize": function () { }
  4476. }, {
  4477. closecallback: function () { }
  4478. }, { "style": { "height": "36px" } }).form; //创建窗体
  4479. _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); } }
  4480. break;
  4481. case "tcSchool": //腾讯学校管理
  4482. _formdiv = new U.UF.UI.form(
  4483. "学校管理",
  4484. $$("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 }), {
  4485. "id": "tcSchool",
  4486. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4487. "onresize": function () { }
  4488. }, {
  4489. closecallback: function () { }
  4490. }, { "style": { "height": "36px" } }).form; //创建窗体
  4491. _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); } }
  4492. break;
  4493. case "tcTeacher": //腾讯学校管理
  4494. _formdiv = new U.UF.UI.form(
  4495. "教师管理",
  4496. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcTeacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4497. "id": "tcTeacher",
  4498. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4499. "onresize": function () { }
  4500. }, {
  4501. closecallback: function () { }
  4502. }, { "style": { "height": "36px" } }).form; //创建窗体
  4503. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacher.png)" }, "name": "教师管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4504. break;
  4505. case "tcData": //腾讯我的资料
  4506. _formdiv = new U.UF.UI.form(
  4507. "我的资料",
  4508. $$("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 }), {
  4509. "id": "tcData",
  4510. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4511. "onresize": function () { }
  4512. }, {
  4513. closecallback: function () { }
  4514. }, { "style": { "height": "36px" } }).form; //创建窗体
  4515. _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); } }
  4516. break;
  4517. case "tcNotice": //腾讯消息通知
  4518. _formdiv = new U.UF.UI.form(
  4519. "消息通知",
  4520. $$("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 }), {
  4521. "id": "tcNotice",
  4522. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4523. "onresize": function () { }
  4524. }, {
  4525. closecallback: function () { }
  4526. }, { "style": { "height": "36px" } }).form; //创建窗体
  4527. _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); } }
  4528. break;
  4529. case "myReport": //好友打开
  4530. _formdiv = new U.UF.UI.form(
  4531. "我的评价",
  4532. $$("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 }), {
  4533. "id": "myReport",
  4534. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4535. "onresize": function () { }
  4536. }, {
  4537. closecallback: function () { }
  4538. }, { "style": { "height": "36px" } }).form; //创建窗体
  4539. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4540. break;
  4541. case "learnAna": //好友打开
  4542. _formdiv = new U.UF.UI.form(
  4543. "学习分析",
  4544. $$("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 }), {
  4545. "id": "learnAna",
  4546. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4547. "onresize": function () { }
  4548. }, {
  4549. closecallback: function () { }
  4550. }, { "style": { "height": "36px" } }).form; //创建窗体
  4551. _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); } }
  4552. break;
  4553. case "AIChat": //AI共创
  4554. _formdiv = new U.UF.UI.form(
  4555. "AI共创",
  4556. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4557. "id": "AIChat",
  4558. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4559. "onresize": function () { }
  4560. }, {
  4561. istop: true,
  4562. closecallback: function () { $("#aichat_icon").remove(); },
  4563. narrowcallback: function () {
  4564. if (!$("#aichat_icon")[0]) {
  4565. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4566. }
  4567. },
  4568. }, { "style": { "height": "36px" } }).form; //创建窗体
  4569. _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); } }
  4570. break;
  4571. case "ainew": //AI共创
  4572. _formdiv = new U.UF.UI.form(
  4573. "AI协同",
  4574. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4575. "id": "ainew",
  4576. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4577. "onresize": function () { }
  4578. }, {
  4579. closecallback: function () { }
  4580. }, { "style": { "height": "36px" } }).form; //创建窗体
  4581. _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); } }
  4582. break;
  4583. case "gpt4": //gpt4
  4584. _formdiv = new U.UF.UI.form(
  4585. "AI助手",
  4586. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/gpt4/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4587. "id": "gpt4",
  4588. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4589. "onresize": function () { }
  4590. }, {
  4591. closecallback: function () { }
  4592. }, { "style": { "height": "36px" } }).form; //创建窗体
  4593. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpt4.png)" }, "name": "AI助手", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4594. break;
  4595. case "aigpt": //gpt4
  4596. _formdiv = new U.UF.UI.form(
  4597. "AI助手+",
  4598. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aigpt/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4599. "id": "aigpt",
  4600. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4601. "onresize": function () { }
  4602. }, {
  4603. closecallback: function () { }
  4604. }, { "style": { "height": "36px" } }).form; //创建窗体
  4605. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigpt.png)" }, "name": "AI助手+", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4606. break;
  4607. case "futureClass": //AI共创
  4608. _formdiv = new U.UF.UI.form(
  4609. "协同建构",
  4610. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://beta.cscl.cocorobo.cn
  4611. "id": "synergyCourse",
  4612. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4613. "onresize": function () { }
  4614. }, {
  4615. closecallback: function () {
  4616. $("iframe", _formdiv)[0].contentWindow.loginout();
  4617. }
  4618. }, { "style": { "height": "36px" } }).form; //创建窗体
  4619. _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); } }
  4620. break;
  4621. case "aiagent": //ai agent
  4622. _formdiv = new U.UF.UI.form(
  4623. "AI Agent",
  4624. $$("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" }), {
  4625. "id": "AIAgent",
  4626. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4627. "onresize": function () { }
  4628. }, {
  4629. closecallback: function () { }
  4630. }, { "style": { "height": "36px" } }).form; //创建窗体
  4631. _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); } }
  4632. break;
  4633. case "dataBoard": //数据看板
  4634. _formdiv = new U.UF.UI.form(
  4635. "数据看板",
  4636. $$("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 }), {
  4637. "id": "dataBoard",
  4638. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4639. "onresize": function () { }
  4640. }, {
  4641. closecallback: function () { }
  4642. }, { "style": { "height": "36px" } }).form; //创建窗体
  4643. _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); } }
  4644. break;
  4645. case "dataBoardSies": //数据融合
  4646. _formdiv = new U.UF.UI.form(
  4647. "数据融合",
  4648. $$("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 }), {
  4649. "id": "dataBoardSies",
  4650. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4651. "onresize": function () { }
  4652. }, {
  4653. closecallback: function () { }
  4654. }, { "style": { "height": "36px" } }).form; //创建窗体
  4655. _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); } }
  4656. break;
  4657. case "dataBoardNew": //数据看板
  4658. _formdiv = new U.UF.UI.form(
  4659. "综合看板",
  4660. $$("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 }), {
  4661. "id": "dataBoardNew",
  4662. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4663. "onresize": function () { }
  4664. }, {
  4665. closecallback: function () { }
  4666. }, { "style": { "height": "36px" } }).form; //创建窗体
  4667. _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); } }
  4668. break;
  4669. case "dataBoardTest": //数据看板
  4670. _formdiv = new U.UF.UI.form(
  4671. "评测看板",
  4672. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoardTest?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4673. "id": "dataBoardTest",
  4674. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4675. "onresize": function () { }
  4676. }, {
  4677. closecallback: function () { }
  4678. }, { "style": { "height": "36px" } }).form; //创建窗体
  4679. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardTest.png)" }, "name": "评测看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4680. break;
  4681. case "AIAnalyse": //AI共创
  4682. _formdiv = new U.UF.UI.form(
  4683. "AI分析",
  4684. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4685. "id": "AIAnalyse",
  4686. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4687. "onresize": function () { }
  4688. }, {
  4689. closecallback: function () { }
  4690. }, { "style": { "height": "36px" } }).form; //创建窗体
  4691. _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); } }
  4692. break;
  4693. case "studioCourse": //AI共创
  4694. _formdiv = new U.UF.UI.form(
  4695. "工作管理",
  4696. $$("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 }), {
  4697. "id": "studioCourse",
  4698. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4699. "onresize": function () { }
  4700. }, {
  4701. closecallback: function () { }
  4702. }, { "style": { "height": "36px" } }).form; //创建窗体
  4703. _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); } }
  4704. break;
  4705. case "studioIndex": //AI共创
  4706. _formdiv = new U.UF.UI.form(
  4707. "工作中心",
  4708. $$("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 }), {
  4709. "id": "studioIndex",
  4710. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4711. "onresize": function () { }
  4712. }, {
  4713. closecallback: function () { }
  4714. }, { "style": { "height": "36px" } }).form; //创建窗体
  4715. _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); } }
  4716. break;
  4717. case "source":
  4718. _formdiv = new U.UF.UI.form(
  4719. "教学资源",
  4720. $$("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 }), {
  4721. "id": "source",
  4722. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4723. "onresize": function () { }
  4724. }, {
  4725. closecallback: function () { }
  4726. }, { "style": { "height": "36px" } }).form; //创建窗体
  4727. _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); } }
  4728. break;
  4729. case "testTeacher":
  4730. _formdiv = new U.UF.UI.form(
  4731. "评测管理",
  4732. $$("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 }), {
  4733. "id": "testTeacher",
  4734. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4735. "onresize": function () { }
  4736. }, {
  4737. closecallback: function () { }
  4738. }, { "style": { "height": "36px" } }).form; //创建窗体
  4739. _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); } }
  4740. break;
  4741. case "testStudent":
  4742. _formdiv = new U.UF.UI.form(
  4743. "评测中心",
  4744. $$("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 }), {
  4745. "id": "testStudent",
  4746. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4747. "onresize": function () { }
  4748. }, {
  4749. closecallback: function () { }
  4750. }, { "style": { "height": "36px" } }).form; //创建窗体
  4751. _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); } }
  4752. break;
  4753. case "testTeacherSies":
  4754. _formdiv = new U.UF.UI.form(
  4755. "教师管理",
  4756. $$("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 }), {
  4757. "id": "testTeacherSies",
  4758. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4759. "onresize": function () { }
  4760. }, {
  4761. closecallback: function () { }
  4762. }, { "style": { "height": "36px" } }).form; //创建窗体
  4763. _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); } }
  4764. break;
  4765. case "testStudentSies":
  4766. _formdiv = new U.UF.UI.form(
  4767. "教师中心",
  4768. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testPerson?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  4769. "id": "testStudentSies",
  4770. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4771. "onresize": function () { }
  4772. }, {
  4773. closecallback: function () { }
  4774. }, { "style": { "height": "36px" } }).form; //创建窗体
  4775. _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); } }
  4776. break;
  4777. case "ytpbl": //消息通知
  4778. _formdiv = new U.UF.UI.form(
  4779. "案例征集",
  4780. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pblyt.cocorobo.cn/#/login?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4781. "id": "ytpbl",
  4782. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4783. "onresize": function () { }
  4784. }, {
  4785. closecallback: function () { }
  4786. }, { "style": { "height": "36px" } }).form; //创建窗体
  4787. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpbl2.png)" }, "name": "案例征集", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4788. // window.open("https://gdpbl.cocorobo.cn/#/login", "案例征集", "height=" + US.height + ", width=" + US.width + ", top=100, left=100, toolbar=no, menubar=0, resizable=0, location=0, status=no");
  4789. break;
  4790. }
  4791. //U.MD.D.I.openClick(str);
  4792. //如果有任务栏信息
  4793. if (_taskbar) {
  4794. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4795. }
  4796. }
  4797. // U.MD.D.I.openClick = function(str){
  4798. // var click = '';
  4799. // switch(str){
  4800. // case 'friend':
  4801. // click = '我的好友';
  4802. // break;
  4803. // case 'domain':
  4804. // click = '域名管理';
  4805. // break;
  4806. // case 'disk':
  4807. // click = '我的云盘';
  4808. // break;
  4809. // case 'word':
  4810. // click = 'Word';
  4811. // break;
  4812. // case 'excel':
  4813. // click = 'Execl';
  4814. // break;
  4815. // case 'txt':
  4816. // click = '文本文件';
  4817. // break;
  4818. // case 'lookupFriend':
  4819. // click = '查找好友';
  4820. // break;
  4821. // case 'ftp':
  4822. // click = 'FTP';
  4823. // break;
  4824. // case 'group':
  4825. // click = '群组';
  4826. // break;
  4827. // case 'set':
  4828. // click = '我的设置';
  4829. // break;
  4830. // case 'systemSet':
  4831. // click = '系统设置';
  4832. // break;
  4833. // case 'boomYun':
  4834. // click = '互联办公';
  4835. // break;
  4836. // case 'xz':
  4837. // click = '云端下载';
  4838. // break;
  4839. // case 'client':
  4840. // click = '有思浏览器';
  4841. // break;
  4842. // case 'backEndProgramming':
  4843. // click = '在线后台编程';
  4844. // break;
  4845. // case 'frontEndProgramming':
  4846. // click = '在线前端编程';
  4847. // break;
  4848. // default: break;
  4849. // }
  4850. // if(U.MD.D.I.Ip && click){
  4851. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4852. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4853. // })
  4854. // }
  4855. // }
  4856. /**
  4857. *函数作用:ajax简易函数,使用post格式
  4858. *@param url {data} 后台地址
  4859. *@param data {data} 参数json
  4860. *@param fn {data} 回调函数
  4861. *
  4862. */
  4863. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4864. // var xhr = new XMLHttpRequest();
  4865. // xhr.open("GET",url,true);
  4866. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4867. // xhr.onreadystatechange = function(){
  4868. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4869. // fn.call(this,xhr.responseText);
  4870. // }
  4871. // };
  4872. // xhr.send();
  4873. // }
  4874. /*判断是否是内网IP*/
  4875. // U.MD.D.I.isInnerIPFn = function(str){
  4876. // var curPageUrl = str;
  4877. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4878. // curPageUrl =curPageUrl.replace(reg1,'');
  4879. // // console.log('curPageUrl-1 '+curPageUrl);
  4880. // var reg2 = /\:+/g;//替换冒号为一点
  4881. // curPageUrl =curPageUrl.replace(reg2,'.');
  4882. // // console.log('curPageUrl-2 '+curPageUrl);
  4883. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4884. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4885. // if(curPageUrl[2] != '16'){
  4886. // return ipAddress;
  4887. // }else{
  4888. // return false;
  4889. // }
  4890. // }
  4891. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4892. // //compatibility for firefox and chrome
  4893. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4894. // var pc = new myPeerConnection({
  4895. // iceServers: []
  4896. // }),
  4897. // noop = function() {},
  4898. // localIPs = {},
  4899. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4900. // key;
  4901. // function iterateIP(ip) {
  4902. // if (!localIPs[ip]) onNewIP(ip);
  4903. // localIPs[ip] = true;
  4904. // }
  4905. // //create a bogus data channel
  4906. // pc.createDataChannel("");
  4907. // // create offer and set local description
  4908. // pc.createOffer().then(function(sdp) {
  4909. // sdp.sdp.split('\n').forEach(function(line) {
  4910. // if (line.indexOf('candidate') < 0) return;
  4911. // line.match(ipRegex).forEach(iterateIP);
  4912. // });
  4913. // pc.setLocalDescription(sdp, noop, noop);
  4914. // }).catch(function(reason) {
  4915. // // An error occurred, so handle the failure to connect
  4916. // });
  4917. // //sten for candidate events
  4918. // pc.onicecandidate = function(ice) {
  4919. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4920. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4921. // };
  4922. // }
  4923. // U.MD.D.I.getUserIpBool = function(callback){
  4924. // U.MD.D.I.getUserIP(function(ip){
  4925. // alert("Got IP! :" + ip);
  4926. // });
  4927. //}
  4928. //#endregion
  4929. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4930. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4931. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4932. _userinfo = US.userInfo, //登录用户信息
  4933. _userid = US.userInfo.userid //登录用户id
  4934. let _iframe;
  4935. let _cid = cid,
  4936. _stage = stage,
  4937. _task = task,
  4938. _tool = tool;
  4939. var _jie = $$("div", {
  4940. "style": {
  4941. "position": "absolute",
  4942. "bottom": "50px",
  4943. "right": "50px",
  4944. "zIndex": "9999",
  4945. "backgroundColor": "#2268bc",
  4946. "color": "#fff",
  4947. "padding": "12px 20px",
  4948. "cursor": "pointer",
  4949. "borderRadius": "4px",
  4950. },
  4951. "innerHTML": "提交作业"
  4952. })
  4953. let aTool = ''
  4954. let _loading = document.createElement('div')
  4955. _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;"
  4956. // _loading.id = "";
  4957. let _lchild = document.createElement('div')
  4958. let _limg = document.createElement('img')
  4959. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4960. _limg.style = "width: 26px;margin-right: 10px;"
  4961. _lchild.appendChild(_limg)
  4962. let _lspan = document.createElement('span')
  4963. _lspan.innerHTML = "上传中..."
  4964. _lchild.appendChild(_lspan)
  4965. _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%);"
  4966. _loading.appendChild(_lchild)
  4967. var _box = $$('div', {
  4968. "style": {
  4969. "position": "relative",
  4970. "width": "100%",
  4971. "height": "100%",
  4972. },
  4973. })
  4974. _box.appendChild(_loading)
  4975. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4976. switch (str) {
  4977. case "whiteboard":
  4978. aTool = 1;
  4979. _iframe = $$("iframe", {
  4980. "frameborder": "no",
  4981. "border": "0",
  4982. "scrolling ": "no",
  4983. "style": {
  4984. "cssText": "border:0;width:100%;height:100%"
  4985. },
  4986. "src": "https://iwb.cocorobo.cn/"
  4987. })
  4988. _box.appendChild(_iframe);
  4989. _box.appendChild(_jie);
  4990. _formdiv = new U.UF.UI.form(
  4991. "电子白板",
  4992. _box, {
  4993. "id": "whiteboard" + cid + stage + task + tool,
  4994. "style": {
  4995. "width": "90%",
  4996. "height": "90%",
  4997. "overflow": 'hidden'
  4998. },
  4999. "onresize": function () { }
  5000. }, {
  5001. closecallback: function () { }
  5002. }, {
  5003. "style": {
  5004. "height": "36px"
  5005. }
  5006. }).form; //创建窗体
  5007. _taskbar = {
  5008. "id": str + _formdiv.id,
  5009. "style": {
  5010. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5011. },
  5012. "name": "电子白板",
  5013. "forms": _formdiv,
  5014. "click": function () {
  5015. U.MD.D.I.openApplication(str, obj, info);
  5016. }
  5017. }
  5018. break;
  5019. case "mind":
  5020. aTool = 3;
  5021. _iframe = $$("iframe", {
  5022. "frameborder": "no",
  5023. "border": "0",
  5024. "scrolling ": "no",
  5025. "style": {
  5026. "cssText": "border:0;width:100%;height:100%"
  5027. },
  5028. "src": "/kityminder-editor/dist/index.html"
  5029. })
  5030. _box.appendChild(_iframe);
  5031. _box.appendChild(_jie);
  5032. _formdiv = new U.UF.UI.form(
  5033. "思维导图",
  5034. _box, { //"/jsmind/example/demo.html"
  5035. "id": "mind" + cid + stage + task + tool,
  5036. "style": {
  5037. "width": "90%",
  5038. "height": "90%",
  5039. "overflow": 'hidden'
  5040. },
  5041. "onresize": function () { }
  5042. }, {
  5043. closecallback: function () { }
  5044. }, {
  5045. "style": {
  5046. "height": "36px"
  5047. }
  5048. }).form; //创建窗体
  5049. _taskbar = {
  5050. "id": str + _formdiv.id,
  5051. "style": {
  5052. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5053. },
  5054. "name": "思维导图",
  5055. "forms": _formdiv,
  5056. "click": function () {
  5057. U.MD.D.I.openApplication(str, obj, info);
  5058. }
  5059. }
  5060. break;
  5061. case "MindMap":
  5062. aTool = 3;
  5063. _iframe = $$("iframe", {
  5064. "frameborder": "no",
  5065. "border": "0",
  5066. "scrolling ": "no",
  5067. "style": {
  5068. "cssText": "border:0;width:100%;height:100%"
  5069. },
  5070. "src": "//cloud.cocorobo.cn/mind/"
  5071. })
  5072. _box.appendChild(_iframe);
  5073. _box.appendChild(_jie);
  5074. _formdiv = new U.UF.UI.form(
  5075. "思维导图",
  5076. _box, { //"/jsmind/example/demo.html"
  5077. "id": "mind" + cid + stage + task + tool,
  5078. "style": {
  5079. "width": "90%",
  5080. "height": "90%",
  5081. "overflow": 'hidden'
  5082. },
  5083. "onresize": function () { }
  5084. }, {
  5085. closecallback: function () { }
  5086. }, {
  5087. "style": {
  5088. "height": "36px"
  5089. }
  5090. }).form; //创建窗体
  5091. _taskbar = {
  5092. "id": str + _formdiv.id,
  5093. "style": {
  5094. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5095. },
  5096. "name": "思维导图",
  5097. "forms": _formdiv,
  5098. "click": function () {
  5099. U.MD.D.I.openApplication(str, obj, info);
  5100. }
  5101. }
  5102. break;
  5103. case "doc":
  5104. aTool = 6;
  5105. _iframe = $$("iframe", {
  5106. "frameborder": "no",
  5107. "border": "0",
  5108. "scrolling ": "no",
  5109. "style": {
  5110. "cssText": "border:0;width:100%;height:100%"
  5111. },
  5112. "src": "/Office/Word/WordEditArea.htm"
  5113. })
  5114. _box.appendChild(_iframe);
  5115. _box.appendChild(_jie);
  5116. _formdiv = new U.UF.UI.form(
  5117. "协同文档",
  5118. _box, {
  5119. "id": "doc" + cid + stage + task + tool,
  5120. "style": {
  5121. "width": "90%",
  5122. "height": "90%",
  5123. "overflow": 'hidden'
  5124. },
  5125. "onresize": function () { }
  5126. }, {
  5127. closecallback: function () { }
  5128. }, {
  5129. "style": {
  5130. "height": "36px"
  5131. }
  5132. }).form; //创建窗体
  5133. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5134. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5135. })
  5136. _taskbar = {
  5137. "id": str + _formdiv.id,
  5138. "style": {
  5139. "backgroundImage": "url(/img/icon/doc.png)"
  5140. },
  5141. "name": "协同文档",
  5142. "forms": _formdiv,
  5143. "click": function () {
  5144. U.MD.D.I.openApplication(str, obj, info);
  5145. }
  5146. }
  5147. break;
  5148. case "mindNetwork": //好友打开
  5149. aTool = 7;
  5150. _iframe = $$("iframe", {
  5151. "webkitallowfullscreen": "",
  5152. "mozallowfullscreen": "",
  5153. "allowfullscreen": "",
  5154. "frameborder": "no",
  5155. "border": "0",
  5156. "scrolling ": "no",
  5157. "style": {
  5158. "cssText": "border:0; width:100%; height:100%;"
  5159. },
  5160. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5161. })
  5162. _box.appendChild(_iframe);
  5163. _box.appendChild(_jie);
  5164. _formdiv = new U.UF.UI.form(
  5165. "思维网格",
  5166. _box, {
  5167. "id": "mindNetwork" + cid + stage + task + tool,
  5168. "style": {
  5169. "width": "90%",
  5170. "height": "90%",
  5171. "overflow": 'hidden'
  5172. },
  5173. "onresize": function () { }
  5174. }, {
  5175. closecallback: function () { }
  5176. }, {
  5177. "style": {
  5178. "height": "36px"
  5179. }
  5180. }).form; //创建窗体
  5181. _taskbar = {
  5182. "id": str + _formdiv.id,
  5183. "style": {
  5184. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5185. },
  5186. "name": "思维网格",
  5187. "forms": _formdiv,
  5188. "click": function () {
  5189. U.MD.D.I.openApplication(str, obj, info);
  5190. }
  5191. }
  5192. break;
  5193. case "courseDesign":
  5194. _iframe = $$("iframe", {
  5195. "webkitallowfullscreen": "",
  5196. "mozallowfullscreen": "",
  5197. "allowfullscreen": "",
  5198. "frameborder": "no",
  5199. "border": "0",
  5200. "scrolling ": "no",
  5201. "style": {
  5202. "cssText": "border:0; width:100%; height:100%;"
  5203. },
  5204. "src": "/course-design-vue"
  5205. })
  5206. _box.appendChild(_iframe);
  5207. _box.appendChild(_jie);
  5208. _formdiv = new U.UF.UI.form(
  5209. "项目设计",
  5210. _box, {
  5211. "id": "courseDesign" + cid + stage + task + tool,
  5212. "style": {
  5213. "width": "90%",
  5214. "height": "90%",
  5215. "overflow": 'hidden'
  5216. },
  5217. "onresize": function () { }
  5218. }, {
  5219. closecallback: function () { }
  5220. }, {
  5221. "style": {
  5222. "height": "36px"
  5223. }
  5224. }).form; //创建窗体
  5225. _taskbar = {
  5226. "id": str + _formdiv.id,
  5227. "style": {
  5228. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5229. },
  5230. "name": "项目设计",
  5231. "forms": _formdiv,
  5232. "click": function () {
  5233. U.MD.D.I.openApplication(str, obj, info);
  5234. }
  5235. }
  5236. break;
  5237. }
  5238. const script1 = document.createElement("script");
  5239. script1.type = "text/javascript";
  5240. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5241. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5242. const script2 = document.createElement("script");
  5243. script2.type = "text/javascript";
  5244. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5245. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5246. const script3 = document.createElement("script");
  5247. script3.type = "text/javascript";
  5248. script3.charset = "UTF-8";
  5249. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5250. const script4 = document.createElement("script");
  5251. script4.type = "text/javascript";
  5252. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5253. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5254. if (_iframe) {
  5255. if (str == 'doc') {
  5256. _iframe = _formdiv.querySelector('iframe')
  5257. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5258. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5259. _iframe.contentWindow.document.body.appendChild(script1);
  5260. _iframe.contentWindow.document.body.appendChild(script2);
  5261. // _iframe.contentWindow.document.body.appendChild(script3);
  5262. _iframe.contentWindow.document.body.appendChild(script4);
  5263. })
  5264. if (onloadListener) {
  5265. _iframe.contentDocument.location.reload()
  5266. } else {
  5267. _iframe.contentDocument.location.reload()
  5268. }
  5269. } else if (str == 'courseDesign') {
  5270. U.UF.DL.iframeLoad(_iframe, function () {
  5271. // _iframe.contentWindow.U.MD.O.W.load();
  5272. // _iframe.contentWindow.document.body.appendChild(script1);
  5273. _iframe.contentWindow.document.body.appendChild(script2);
  5274. _iframe.contentWindow.document.body.appendChild(script4);
  5275. })
  5276. } else if (str == 'mind') {
  5277. _iframe = _formdiv.querySelector('iframe')
  5278. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5279. //
  5280. _iframe.contentWindow.document.body.appendChild(script1);
  5281. _iframe.contentWindow.document.body.appendChild(script2);
  5282. _iframe.contentWindow.document.body.appendChild(script4);
  5283. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5284. })
  5285. if (onloadListener) {
  5286. _iframe.contentDocument.location.reload()
  5287. } else {
  5288. _iframe.contentDocument.location.reload()
  5289. }
  5290. } else if (str == 'whiteboard') {
  5291. _iframe = _formdiv.querySelector('iframe')
  5292. let onloadListener = _iframe.onload = () => {
  5293. _iframe.contentWindow.document.body.appendChild(script1);
  5294. _iframe.contentWindow.document.body.appendChild(script2);
  5295. _iframe.contentWindow.document.body.appendChild(script4);
  5296. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5297. };
  5298. if (onloadListener) {
  5299. _iframe.contentDocument.location.reload()
  5300. } else {
  5301. _iframe.contentDocument.location.reload()
  5302. }
  5303. } else {
  5304. _iframe.onload = () => {
  5305. _iframe.contentWindow.document.body.appendChild(script1);
  5306. _iframe.contentWindow.document.body.appendChild(script2);
  5307. // _iframe.contentWindow.document.body.appendChild(script3);
  5308. _iframe.contentWindow.document.body.appendChild(script4);
  5309. };
  5310. }
  5311. _jie.onclick = async () => {
  5312. let text = ''
  5313. if (aTool == 1) {
  5314. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5315. } else if (aTool == 6) {
  5316. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5317. } else if (aTool == 3) {
  5318. text = await U.MD.D.I.getEditorContent(_iframe);
  5319. }
  5320. _loading.style.display = 'flex'
  5321. console.log(_loading);
  5322. var _ajs = _iframe.contentWindow.document.createElement("script");
  5323. _ajs.type = "text/javascript";
  5324. _ajs.innerHTML =
  5325. // 'console.log(' + _loading + ');\n' +
  5326. 'var _js = document.createElement("script");\n' +
  5327. '_js.type="text/javascript";\n' +
  5328. '_js.charset="UTF-8";\n' +
  5329. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5330. "_js.onload = function(){\n" +
  5331. ' var a = document.getElementsByTagName("img")\n' +
  5332. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5333. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5334. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5335. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5336. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5337. "beforeUpload_shishi(file," +
  5338. "'" +
  5339. _userid +
  5340. "'" +
  5341. ", " +
  5342. "'" +
  5343. _cid +
  5344. "'" +
  5345. ", " +
  5346. "'" +
  5347. _stage +
  5348. "'" +
  5349. ", " +
  5350. "'" +
  5351. _task +
  5352. "'" +
  5353. ", " +
  5354. "'" +
  5355. _tool +
  5356. "'" +
  5357. ", " +
  5358. "'" +
  5359. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5360. "'" +
  5361. ", " +
  5362. "'" +
  5363. aTool +
  5364. "'" +
  5365. ", " +
  5366. "`" +
  5367. text +
  5368. "`" +
  5369. ")\n" +
  5370. " });\n" +
  5371. "}\n" +
  5372. "document.head.appendChild(_js);\n";
  5373. _iframe.contentWindow.document.head.appendChild(_ajs);
  5374. }
  5375. }
  5376. //U.MD.D.I.openClick(str);
  5377. //如果有任务栏信息
  5378. // if (_taskbar) {
  5379. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5380. // }
  5381. }
  5382. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5383. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5384. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5385. _userinfo = US.userInfo, //登录用户信息
  5386. _userid = US.userInfo.userid //登录用户id
  5387. let _iframe;
  5388. let _cid = cid,
  5389. _stage = stage,
  5390. _task = task,
  5391. _tool = tool;
  5392. var _jie = $$("div", {
  5393. "style": {
  5394. "position": "absolute",
  5395. "bottom": "50px",
  5396. "right": "50px",
  5397. "zIndex": "9999",
  5398. "backgroundColor": "#2268bc",
  5399. "color": "#fff",
  5400. "padding": "12px 20px",
  5401. "cursor": "pointer",
  5402. "borderRadius": "4px",
  5403. },
  5404. "innerHTML": "提交作业"
  5405. })
  5406. let aTool = ''
  5407. let _loading = document.createElement('div')
  5408. _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;"
  5409. // _loading.id = "";
  5410. let _lchild = document.createElement('div')
  5411. let _limg = document.createElement('img')
  5412. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5413. _limg.style = "width: 26px;margin-right: 10px;"
  5414. _lchild.appendChild(_limg)
  5415. let _lspan = document.createElement('span')
  5416. _lspan.innerHTML = "上传中..."
  5417. _lchild.appendChild(_lspan)
  5418. _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%);"
  5419. _loading.appendChild(_lchild)
  5420. var _box = $$('div', {
  5421. "style": {
  5422. "position": "relative",
  5423. "width": "100%",
  5424. "height": "100%",
  5425. },
  5426. })
  5427. _box.appendChild(_loading)
  5428. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5429. switch (str) {
  5430. case "whiteboard":
  5431. aTool = 1;
  5432. _iframe = $$("iframe", {
  5433. "frameborder": "no",
  5434. "border": "0",
  5435. "scrolling ": "no",
  5436. "style": {
  5437. "cssText": "border:0;width:100%;height:100%"
  5438. },
  5439. "src": "https://iwb.cocorobo.cn/"
  5440. })
  5441. _box.appendChild(_iframe);
  5442. _box.appendChild(_jie);
  5443. _formdiv = new U.UF.UI.form(
  5444. "电子白板",
  5445. _box, {
  5446. "id": "whiteboard" + cid + stage + task + tool,
  5447. "style": {
  5448. "width": "90%",
  5449. "height": "90%",
  5450. "overflow": 'hidden'
  5451. },
  5452. "onresize": function () { }
  5453. }, {
  5454. closecallback: function () { }
  5455. }, {
  5456. "style": {
  5457. "height": "36px"
  5458. }
  5459. }).form; //创建窗体
  5460. _taskbar = {
  5461. "id": str + _formdiv.id,
  5462. "style": {
  5463. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5464. },
  5465. "name": "电子白板",
  5466. "forms": _formdiv,
  5467. "click": function () {
  5468. U.MD.D.I.openApplication(str, obj, info);
  5469. }
  5470. }
  5471. break;
  5472. case "mind":
  5473. aTool = 3;
  5474. _iframe = $$("iframe", {
  5475. "frameborder": "no",
  5476. "border": "0",
  5477. "scrolling ": "no",
  5478. "style": {
  5479. "cssText": "border:0;width:100%;height:100%"
  5480. },
  5481. "src": "/kityminder-editor/dist/index.html"
  5482. })
  5483. _box.appendChild(_iframe);
  5484. _box.appendChild(_jie);
  5485. _formdiv = new U.UF.UI.form(
  5486. "思维导图",
  5487. _box, { //"/jsmind/example/demo.html"
  5488. "id": "mind" + cid + stage + task + tool,
  5489. "style": {
  5490. "width": "90%",
  5491. "height": "90%",
  5492. "overflow": 'hidden'
  5493. },
  5494. "onresize": function () { }
  5495. }, {
  5496. closecallback: function () { }
  5497. }, {
  5498. "style": {
  5499. "height": "36px"
  5500. }
  5501. }).form; //创建窗体
  5502. _taskbar = {
  5503. "id": str + _formdiv.id,
  5504. "style": {
  5505. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5506. },
  5507. "name": "思维导图",
  5508. "forms": _formdiv,
  5509. "click": function () {
  5510. U.MD.D.I.openApplication(str, obj, info);
  5511. }
  5512. }
  5513. break;
  5514. case "MindMap":
  5515. aTool = 3;
  5516. _iframe = $$("iframe", {
  5517. "frameborder": "no",
  5518. "border": "0",
  5519. "scrolling ": "no",
  5520. "style": {
  5521. "cssText": "border:0;width:100%;height:100%"
  5522. },
  5523. "src": "//cloud.cocorobo.cn/mind/"
  5524. })
  5525. _box.appendChild(_iframe);
  5526. _box.appendChild(_jie);
  5527. _formdiv = new U.UF.UI.form(
  5528. "思维导图",
  5529. _box, { //"/jsmind/example/demo.html"
  5530. "id": "mind" + cid + stage + task + tool,
  5531. "style": {
  5532. "width": "90%",
  5533. "height": "90%",
  5534. "overflow": 'hidden'
  5535. },
  5536. "onresize": function () { }
  5537. }, {
  5538. closecallback: function () { }
  5539. }, {
  5540. "style": {
  5541. "height": "36px"
  5542. }
  5543. }).form; //创建窗体
  5544. _taskbar = {
  5545. "id": str + _formdiv.id,
  5546. "style": {
  5547. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5548. },
  5549. "name": "思维导图",
  5550. "forms": _formdiv,
  5551. "click": function () {
  5552. U.MD.D.I.openApplication(str, obj, info);
  5553. }
  5554. }
  5555. break;
  5556. case "doc":
  5557. aTool = 6;
  5558. _iframe = $$("iframe", {
  5559. "frameborder": "no",
  5560. "border": "0",
  5561. "scrolling ": "no",
  5562. "style": {
  5563. "cssText": "border:0;width:100%;height:100%"
  5564. },
  5565. "src": "/Office/Word/WordEditArea.htm"
  5566. })
  5567. _box.appendChild(_iframe);
  5568. _box.appendChild(_jie);
  5569. _formdiv = new U.UF.UI.form(
  5570. "协同文档",
  5571. _box, {
  5572. "id": "doc" + cid + stage + task + tool,
  5573. "style": {
  5574. "width": "90%",
  5575. "height": "90%",
  5576. "overflow": 'hidden'
  5577. },
  5578. "onresize": function () { }
  5579. }, {
  5580. closecallback: function () { }
  5581. }, {
  5582. "style": {
  5583. "height": "36px"
  5584. }
  5585. }).form; //创建窗体
  5586. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5587. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5588. })
  5589. _taskbar = {
  5590. "id": str + _formdiv.id,
  5591. "style": {
  5592. "backgroundImage": "url(/img/icon/doc.png)"
  5593. },
  5594. "name": "协同文档",
  5595. "forms": _formdiv,
  5596. "click": function () {
  5597. U.MD.D.I.openApplication(str, obj, info);
  5598. }
  5599. }
  5600. break;
  5601. case "mindNetwork": //好友打开
  5602. aTool = 7;
  5603. _iframe = $$("iframe", {
  5604. "webkitallowfullscreen": "",
  5605. "mozallowfullscreen": "",
  5606. "allowfullscreen": "",
  5607. "frameborder": "no",
  5608. "border": "0",
  5609. "scrolling ": "no",
  5610. "style": {
  5611. "cssText": "border:0; width:100%; height:100%;"
  5612. },
  5613. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5614. })
  5615. _box.appendChild(_iframe);
  5616. _box.appendChild(_jie);
  5617. _formdiv = new U.UF.UI.form(
  5618. "思维网格",
  5619. _box, {
  5620. "id": "mindNetwork" + cid + stage + task + tool,
  5621. "style": {
  5622. "width": "90%",
  5623. "height": "90%",
  5624. "overflow": 'hidden'
  5625. },
  5626. "onresize": function () { }
  5627. }, {
  5628. closecallback: function () { }
  5629. }, {
  5630. "style": {
  5631. "height": "36px"
  5632. }
  5633. }).form; //创建窗体
  5634. _taskbar = {
  5635. "id": str + _formdiv.id,
  5636. "style": {
  5637. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5638. },
  5639. "name": "思维网格",
  5640. "forms": _formdiv,
  5641. "click": function () {
  5642. U.MD.D.I.openApplication(str, obj, info);
  5643. }
  5644. }
  5645. break;
  5646. case "courseDesign":
  5647. _iframe = $$("iframe", {
  5648. "webkitallowfullscreen": "",
  5649. "mozallowfullscreen": "",
  5650. "allowfullscreen": "",
  5651. "frameborder": "no",
  5652. "border": "0",
  5653. "scrolling ": "no",
  5654. "style": {
  5655. "cssText": "border:0; width:100%; height:100%;"
  5656. },
  5657. "src": "/course-design-vue"
  5658. })
  5659. _box.appendChild(_iframe);
  5660. _box.appendChild(_jie);
  5661. _formdiv = new U.UF.UI.form(
  5662. "项目设计",
  5663. _box, {
  5664. "id": "courseDesign" + cid + stage + task + tool,
  5665. "style": {
  5666. "width": "90%",
  5667. "height": "90%",
  5668. "overflow": 'hidden'
  5669. },
  5670. "onresize": function () { }
  5671. }, {
  5672. closecallback: function () { }
  5673. }, {
  5674. "style": {
  5675. "height": "36px"
  5676. }
  5677. }).form; //创建窗体
  5678. _taskbar = {
  5679. "id": str + _formdiv.id,
  5680. "style": {
  5681. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5682. },
  5683. "name": "项目设计",
  5684. "forms": _formdiv,
  5685. "click": function () {
  5686. U.MD.D.I.openApplication(str, obj, info);
  5687. }
  5688. }
  5689. break;
  5690. }
  5691. const script1 = document.createElement("script");
  5692. script1.type = "text/javascript";
  5693. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5694. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5695. const script2 = document.createElement("script");
  5696. script2.type = "text/javascript";
  5697. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5698. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5699. const script3 = document.createElement("script");
  5700. script3.type = "text/javascript";
  5701. script3.charset = "UTF-8";
  5702. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5703. const script4 = document.createElement("script");
  5704. script4.type = "text/javascript";
  5705. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5706. script4.src = window.origin + "/js/Common/jietu2E.js";
  5707. if (_iframe) {
  5708. if (str == 'doc') {
  5709. _iframe = _formdiv.querySelector('iframe')
  5710. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5711. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5712. _iframe.contentWindow.document.body.appendChild(script1);
  5713. _iframe.contentWindow.document.body.appendChild(script2);
  5714. // _iframe.contentWindow.document.body.appendChild(script3);
  5715. _iframe.contentWindow.document.body.appendChild(script4);
  5716. })
  5717. if (onloadListener) {
  5718. _iframe.contentDocument.location.reload()
  5719. } else {
  5720. _iframe.contentDocument.location.reload()
  5721. }
  5722. } else if (str == 'courseDesign') {
  5723. U.UF.DL.iframeLoad(_iframe, function () {
  5724. // _iframe.contentWindow.U.MD.O.W.load();
  5725. // _iframe.contentWindow.document.body.appendChild(script1);
  5726. _iframe.contentWindow.document.body.appendChild(script2);
  5727. _iframe.contentWindow.document.body.appendChild(script4);
  5728. })
  5729. } else if (str == 'mind') {
  5730. _iframe = _formdiv.querySelector('iframe')
  5731. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5732. //
  5733. _iframe.contentWindow.document.body.appendChild(script1);
  5734. _iframe.contentWindow.document.body.appendChild(script2);
  5735. _iframe.contentWindow.document.body.appendChild(script4);
  5736. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5737. })
  5738. if (onloadListener) {
  5739. _iframe.contentDocument.location.reload()
  5740. } else {
  5741. _iframe.contentDocument.location.reload()
  5742. }
  5743. } else if (str == 'whiteboard') {
  5744. _iframe = _formdiv.querySelector('iframe')
  5745. let onloadListener = _iframe.onload = () => {
  5746. _iframe.contentWindow.document.body.appendChild(script1);
  5747. _iframe.contentWindow.document.body.appendChild(script2);
  5748. _iframe.contentWindow.document.body.appendChild(script4);
  5749. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5750. };
  5751. if (onloadListener) {
  5752. _iframe.contentDocument.location.reload()
  5753. } else {
  5754. _iframe.contentDocument.location.reload()
  5755. }
  5756. } else {
  5757. _iframe.onload = () => {
  5758. _iframe.contentWindow.document.body.appendChild(script1);
  5759. _iframe.contentWindow.document.body.appendChild(script2);
  5760. // _iframe.contentWindow.document.body.appendChild(script3);
  5761. _iframe.contentWindow.document.body.appendChild(script4);
  5762. };
  5763. }
  5764. _jie.onclick = async () => {
  5765. let text = ''
  5766. if (aTool == 1) {
  5767. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5768. } else if (aTool == 6) {
  5769. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5770. } else if (aTool == 3) {
  5771. text = await U.MD.D.I.getEditorContent(_iframe);
  5772. }
  5773. _loading.style.display = 'flex'
  5774. console.log(_loading);
  5775. var _ajs = _iframe.contentWindow.document.createElement("script");
  5776. _ajs.type = "text/javascript";
  5777. _ajs.innerHTML =
  5778. // 'console.log(' + _loading + ');\n' +
  5779. 'var _js = document.createElement("script");\n' +
  5780. '_js.type="text/javascript";\n' +
  5781. '_js.charset="UTF-8";\n' +
  5782. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5783. "_js.onload = function(){\n" +
  5784. ' var a = document.getElementsByTagName("img")\n' +
  5785. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5786. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5787. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5788. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5789. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5790. "beforeUpload_shishi(file," +
  5791. "'" +
  5792. _userid +
  5793. "'" +
  5794. ", " +
  5795. "'" +
  5796. _cid +
  5797. "'" +
  5798. ", " +
  5799. "'" +
  5800. _stage +
  5801. "'" +
  5802. ", " +
  5803. "'" +
  5804. _task +
  5805. "'" +
  5806. ", " +
  5807. "'" +
  5808. _tool +
  5809. "'" +
  5810. ", " +
  5811. "'" +
  5812. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5813. "'" +
  5814. ", " +
  5815. "'" +
  5816. aTool +
  5817. "'" +
  5818. ", " +
  5819. "`" +
  5820. text +
  5821. "`" +
  5822. ")\n" +
  5823. " });\n" +
  5824. "}\n" +
  5825. "document.head.appendChild(_js);\n";
  5826. _iframe.contentWindow.document.head.appendChild(_ajs);
  5827. }
  5828. }
  5829. //U.MD.D.I.openClick(str);
  5830. //如果有任务栏信息
  5831. // if (_taskbar) {
  5832. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5833. // }
  5834. }
  5835. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5836. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5837. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5838. _userid = student.userid, //登录用户id
  5839. _username = student.student //用户名字
  5840. let _iframe;
  5841. let _cid = cid,
  5842. _stage = stage,
  5843. _task = task,
  5844. _tool = tool;
  5845. var _jie = $$("div", {
  5846. "style": {
  5847. "position": "absolute",
  5848. "bottom": "50px",
  5849. "right": "50px",
  5850. "zIndex": "9999",
  5851. "backgroundColor": "#2268bc",
  5852. "color": "#fff",
  5853. "padding": "12px 20px",
  5854. "cursor": "pointer",
  5855. "borderRadius": "4px",
  5856. },
  5857. "innerHTML": "提交作业"
  5858. })
  5859. let aTool = ''
  5860. let _loading = document.createElement('div')
  5861. _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;"
  5862. // _loading.id = "";
  5863. let _lchild = document.createElement('div')
  5864. let _limg = document.createElement('img')
  5865. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5866. _limg.style = "width: 26px;margin-right: 10px;"
  5867. _lchild.appendChild(_limg)
  5868. let _lspan = document.createElement('span')
  5869. _lspan.innerHTML = "上传中..."
  5870. _lchild.appendChild(_lspan)
  5871. _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%);"
  5872. _loading.appendChild(_lchild)
  5873. var _box = $$('div', {
  5874. "style": {
  5875. "position": "relative",
  5876. "width": "100%",
  5877. "height": "100%",
  5878. },
  5879. })
  5880. _box.appendChild(_loading)
  5881. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5882. switch (str) {
  5883. case "whiteboard":
  5884. aTool = 1;
  5885. _iframe = $$("iframe", {
  5886. "frameborder": "no",
  5887. "border": "0",
  5888. "scrolling ": "no",
  5889. "style": {
  5890. "cssText": "border:0;width:100%;height:100%"
  5891. },
  5892. "src": "https://iwb.cocorobo.cn/"
  5893. })
  5894. _box.appendChild(_iframe);
  5895. _box.appendChild(_jie);
  5896. _formdiv = new U.UF.UI.form(
  5897. "电子白板-" + _username,
  5898. _box, {
  5899. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5900. "style": {
  5901. "width": "90%",
  5902. "height": "90%",
  5903. "overflow": 'hidden'
  5904. },
  5905. "onresize": function () { }
  5906. }, {
  5907. closecallback: function () { }
  5908. }, {
  5909. "style": {
  5910. "height": "36px"
  5911. }
  5912. }).form; //创建窗体
  5913. _taskbar = {
  5914. "id": str + _formdiv.id,
  5915. "style": {
  5916. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5917. },
  5918. "name": "电子白板",
  5919. "forms": _formdiv,
  5920. "click": function () {
  5921. U.MD.D.I.openApplication(str, obj, info);
  5922. }
  5923. }
  5924. break;
  5925. case "mind":
  5926. aTool = 3;
  5927. _iframe = $$("iframe", {
  5928. "frameborder": "no",
  5929. "border": "0",
  5930. "scrolling ": "no",
  5931. "style": {
  5932. "cssText": "border:0;width:100%;height:100%"
  5933. },
  5934. "src": "/kityminder-editor/dist/index.html"
  5935. })
  5936. _box.appendChild(_iframe);
  5937. _box.appendChild(_jie);
  5938. _formdiv = new U.UF.UI.form(
  5939. "思维导图-" + _username,
  5940. _box, { //"/jsmind/example/demo.html"
  5941. "id": "mind" + cid + stage + task + tool + _userid,
  5942. "style": {
  5943. "width": "90%",
  5944. "height": "90%",
  5945. "overflow": 'hidden'
  5946. },
  5947. "onresize": function () { }
  5948. }, {
  5949. closecallback: function () { }
  5950. }, {
  5951. "style": {
  5952. "height": "36px"
  5953. }
  5954. }).form; //创建窗体
  5955. _taskbar = {
  5956. "id": str + _formdiv.id,
  5957. "style": {
  5958. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5959. },
  5960. "name": "思维导图",
  5961. "forms": _formdiv,
  5962. "click": function () {
  5963. U.MD.D.I.openApplication(str, obj, info);
  5964. }
  5965. }
  5966. break;
  5967. case "MindMap":
  5968. aTool = 3;
  5969. _iframe = $$("iframe", {
  5970. "frameborder": "no",
  5971. "border": "0",
  5972. "scrolling ": "no",
  5973. "style": {
  5974. "cssText": "border:0;width:100%;height:100%"
  5975. },
  5976. "src": "//cloud.cocorobo.cn/mind/"
  5977. })
  5978. _box.appendChild(_iframe);
  5979. _box.appendChild(_jie);
  5980. _formdiv = new U.UF.UI.form(
  5981. "思维导图-" + _username,
  5982. _box, { //"/jsmind/example/demo.html"
  5983. "id": "mind" + cid + stage + task + tool + _userid,
  5984. "style": {
  5985. "width": "90%",
  5986. "height": "90%",
  5987. "overflow": 'hidden'
  5988. },
  5989. "onresize": function () { }
  5990. }, {
  5991. closecallback: function () { }
  5992. }, {
  5993. "style": {
  5994. "height": "36px"
  5995. }
  5996. }).form; //创建窗体
  5997. _taskbar = {
  5998. "id": str + _formdiv.id,
  5999. "style": {
  6000. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6001. },
  6002. "name": "思维导图",
  6003. "forms": _formdiv,
  6004. "click": function () {
  6005. U.MD.D.I.openApplication(str, obj, info);
  6006. }
  6007. }
  6008. break;
  6009. case "doc":
  6010. aTool = 6;
  6011. _iframe = $$("iframe", {
  6012. "frameborder": "no",
  6013. "border": "0",
  6014. "scrolling ": "no",
  6015. "style": {
  6016. "cssText": "border:0;width:100%;height:100%"
  6017. },
  6018. "src": "/Office/Word/WordEditArea.htm"
  6019. })
  6020. _box.appendChild(_iframe);
  6021. _box.appendChild(_jie);
  6022. _formdiv = new U.UF.UI.form(
  6023. "协同文档-" + _username,
  6024. _box, {
  6025. "id": "doc" + cid + stage + task + tool + _userid,
  6026. "style": {
  6027. "width": "90%",
  6028. "height": "90%",
  6029. "overflow": 'hidden'
  6030. },
  6031. "onresize": function () { }
  6032. }, {
  6033. closecallback: function () { }
  6034. }, {
  6035. "style": {
  6036. "height": "36px"
  6037. }
  6038. }).form; //创建窗体
  6039. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6040. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6041. })
  6042. _taskbar = {
  6043. "id": str + _formdiv.id,
  6044. "style": {
  6045. "backgroundImage": "url(/img/icon/doc.png)"
  6046. },
  6047. "name": "协同文档",
  6048. "forms": _formdiv,
  6049. "click": function () {
  6050. U.MD.D.I.openApplication(str, obj, info);
  6051. }
  6052. }
  6053. break;
  6054. case "mindNetwork": //好友打开
  6055. aTool = 7;
  6056. _iframe = $$("iframe", {
  6057. "webkitallowfullscreen": "",
  6058. "mozallowfullscreen": "",
  6059. "allowfullscreen": "",
  6060. "frameborder": "no",
  6061. "border": "0",
  6062. "scrolling ": "no",
  6063. "style": {
  6064. "cssText": "border:0; width:100%; height:100%;"
  6065. },
  6066. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6067. })
  6068. _box.appendChild(_iframe);
  6069. _box.appendChild(_jie);
  6070. _formdiv = new U.UF.UI.form(
  6071. "思维网格-" + _username,
  6072. _box, {
  6073. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6074. "style": {
  6075. "width": "90%",
  6076. "height": "90%",
  6077. "overflow": 'hidden'
  6078. },
  6079. "onresize": function () { }
  6080. }, {
  6081. closecallback: function () { }
  6082. }, {
  6083. "style": {
  6084. "height": "36px"
  6085. }
  6086. }).form; //创建窗体
  6087. _taskbar = {
  6088. "id": str + _formdiv.id,
  6089. "style": {
  6090. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6091. },
  6092. "name": "思维网格",
  6093. "forms": _formdiv,
  6094. "click": function () {
  6095. U.MD.D.I.openApplication(str, obj, info);
  6096. }
  6097. }
  6098. break;
  6099. case "courseDesign":
  6100. _iframe = $$("iframe", {
  6101. "webkitallowfullscreen": "",
  6102. "mozallowfullscreen": "",
  6103. "allowfullscreen": "",
  6104. "frameborder": "no",
  6105. "border": "0",
  6106. "scrolling ": "no",
  6107. "style": {
  6108. "cssText": "border:0; width:100%; height:100%;"
  6109. },
  6110. "src": "/course-design-vue"
  6111. })
  6112. _box.appendChild(_iframe);
  6113. _box.appendChild(_jie);
  6114. _formdiv = new U.UF.UI.form(
  6115. "项目设计-" + _username,
  6116. _box, {
  6117. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6118. "style": {
  6119. "width": "90%",
  6120. "height": "90%",
  6121. "overflow": 'hidden'
  6122. },
  6123. "onresize": function () { }
  6124. }, {
  6125. closecallback: function () { }
  6126. }, {
  6127. "style": {
  6128. "height": "36px"
  6129. }
  6130. }).form; //创建窗体
  6131. _taskbar = {
  6132. "id": str + _formdiv.id,
  6133. "style": {
  6134. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6135. },
  6136. "name": "项目设计",
  6137. "forms": _formdiv,
  6138. "click": function () {
  6139. U.MD.D.I.openApplication(str, obj, info);
  6140. }
  6141. }
  6142. break;
  6143. }
  6144. const script1 = document.createElement("script");
  6145. script1.type = "text/javascript";
  6146. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6147. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6148. const script2 = document.createElement("script");
  6149. script2.type = "text/javascript";
  6150. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6151. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6152. const script3 = document.createElement("script");
  6153. script3.type = "text/javascript";
  6154. script3.charset = "UTF-8";
  6155. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6156. const script4 = document.createElement("script");
  6157. script4.type = "text/javascript";
  6158. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6159. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6160. if (_iframe) {
  6161. if (str == 'doc') {
  6162. _iframe = _formdiv.querySelector('iframe')
  6163. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6164. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6165. _iframe.contentWindow.document.body.appendChild(script1);
  6166. _iframe.contentWindow.document.body.appendChild(script2);
  6167. // _iframe.contentWindow.document.body.appendChild(script3);
  6168. _iframe.contentWindow.document.body.appendChild(script4);
  6169. })
  6170. if (onloadListener) {
  6171. _iframe.contentDocument.location.reload()
  6172. } else {
  6173. _iframe.contentDocument.location.reload()
  6174. }
  6175. } else if (str == 'courseDesign') {
  6176. U.UF.DL.iframeLoad(_iframe, function () {
  6177. // _iframe.contentWindow.U.MD.O.W.load();
  6178. // _iframe.contentWindow.document.body.appendChild(script1);
  6179. _iframe.contentWindow.document.body.appendChild(script2);
  6180. _iframe.contentWindow.document.body.appendChild(script4);
  6181. })
  6182. } else if (str == 'mind') {
  6183. _iframe = _formdiv.querySelector('iframe')
  6184. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6185. //
  6186. _iframe.contentWindow.document.body.appendChild(script1);
  6187. _iframe.contentWindow.document.body.appendChild(script2);
  6188. _iframe.contentWindow.document.body.appendChild(script4);
  6189. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6190. })
  6191. if (onloadListener) {
  6192. _iframe.contentDocument.location.reload()
  6193. } else {
  6194. _iframe.contentDocument.location.reload()
  6195. }
  6196. } else if (str == 'whiteboard') {
  6197. _iframe = _formdiv.querySelector('iframe')
  6198. let onloadListener = _iframe.onload = () => {
  6199. _iframe.contentWindow.document.body.appendChild(script1);
  6200. _iframe.contentWindow.document.body.appendChild(script2);
  6201. _iframe.contentWindow.document.body.appendChild(script4);
  6202. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6203. };
  6204. if (onloadListener) {
  6205. _iframe.contentDocument.location.reload()
  6206. } else {
  6207. _iframe.contentDocument.location.reload()
  6208. }
  6209. } else {
  6210. _iframe.onload = () => {
  6211. _iframe.contentWindow.document.body.appendChild(script1);
  6212. _iframe.contentWindow.document.body.appendChild(script2);
  6213. // _iframe.contentWindow.document.body.appendChild(script3);
  6214. _iframe.contentWindow.document.body.appendChild(script4);
  6215. };
  6216. }
  6217. _jie.onclick = async () => {
  6218. let text = ''
  6219. if (aTool == 1) {
  6220. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6221. } else if (aTool == 6) {
  6222. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6223. } else if (aTool == 3) {
  6224. text = await U.MD.D.I.getEditorContent(_iframe);
  6225. }
  6226. _loading.style.display = 'flex'
  6227. console.log(_loading);
  6228. var _ajs = _iframe.contentWindow.document.createElement("script");
  6229. _ajs.type = "text/javascript";
  6230. _ajs.innerHTML =
  6231. // 'console.log(' + _loading + ');\n' +
  6232. 'var _js = document.createElement("script");\n' +
  6233. '_js.type="text/javascript";\n' +
  6234. '_js.charset="UTF-8";\n' +
  6235. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6236. "_js.onload = function(){\n" +
  6237. ' var a = document.getElementsByTagName("img")\n' +
  6238. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6239. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6240. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6241. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6242. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6243. "beforeUpload_shishi(file," +
  6244. "'" +
  6245. _userid +
  6246. "'" +
  6247. ", " +
  6248. "'" +
  6249. _cid +
  6250. "'" +
  6251. ", " +
  6252. "'" +
  6253. _stage +
  6254. "'" +
  6255. ", " +
  6256. "'" +
  6257. _task +
  6258. "'" +
  6259. ", " +
  6260. "'" +
  6261. _tool +
  6262. "'" +
  6263. ", " +
  6264. "'" +
  6265. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6266. "'" +
  6267. ", " +
  6268. "'" +
  6269. aTool +
  6270. "'" +
  6271. ", " +
  6272. "`" +
  6273. text +
  6274. "`" +
  6275. ")\n" +
  6276. " });\n" +
  6277. "}\n" +
  6278. "document.head.appendChild(_js);\n";
  6279. _iframe.contentWindow.document.head.appendChild(_ajs);
  6280. }
  6281. }
  6282. }
  6283. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6284. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6285. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6286. _userid = student.userid, //登录用户id
  6287. _username = student.student //用户名字
  6288. let _iframe;
  6289. let _cid = cid,
  6290. _stage = stage,
  6291. _task = task,
  6292. _tool = tool;
  6293. var _jie = $$("div", {
  6294. "style": {
  6295. "position": "absolute",
  6296. "bottom": "50px",
  6297. "right": "50px",
  6298. "zIndex": "9999",
  6299. "backgroundColor": "#2268bc",
  6300. "color": "#fff",
  6301. "padding": "12px 20px",
  6302. "cursor": "pointer",
  6303. "borderRadius": "4px",
  6304. },
  6305. "innerHTML": "提交作业"
  6306. })
  6307. let aTool = ''
  6308. let _loading = document.createElement('div')
  6309. _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;"
  6310. // _loading.id = "";
  6311. let _lchild = document.createElement('div')
  6312. let _limg = document.createElement('img')
  6313. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6314. _limg.style = "width: 26px;margin-right: 10px;"
  6315. _lchild.appendChild(_limg)
  6316. let _lspan = document.createElement('span')
  6317. _lspan.innerHTML = "上传中..."
  6318. _lchild.appendChild(_lspan)
  6319. _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%);"
  6320. _loading.appendChild(_lchild)
  6321. var _box = $$('div', {
  6322. "style": {
  6323. "position": "relative",
  6324. "width": "100%",
  6325. "height": "100%",
  6326. },
  6327. })
  6328. _box.appendChild(_loading)
  6329. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6330. switch (str) {
  6331. case "whiteboard":
  6332. aTool = 1;
  6333. _iframe = $$("iframe", {
  6334. "frameborder": "no",
  6335. "border": "0",
  6336. "scrolling ": "no",
  6337. "style": {
  6338. "cssText": "border:0;width:100%;height:100%"
  6339. },
  6340. "src": "https://iwb.cocorobo.cn/"
  6341. })
  6342. _box.appendChild(_iframe);
  6343. _box.appendChild(_jie);
  6344. _formdiv = new U.UF.UI.form(
  6345. "电子白板-" + _username,
  6346. _box, {
  6347. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6348. "style": {
  6349. "width": "90%",
  6350. "height": "90%",
  6351. "overflow": 'hidden'
  6352. },
  6353. "onresize": function () { }
  6354. }, {
  6355. closecallback: function () { }
  6356. }, {
  6357. "style": {
  6358. "height": "36px"
  6359. }
  6360. }).form; //创建窗体
  6361. _taskbar = {
  6362. "id": str + _formdiv.id,
  6363. "style": {
  6364. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6365. },
  6366. "name": "电子白板",
  6367. "forms": _formdiv,
  6368. "click": function () {
  6369. U.MD.D.I.openApplication(str, obj, info);
  6370. }
  6371. }
  6372. break;
  6373. case "mind":
  6374. aTool = 3;
  6375. _iframe = $$("iframe", {
  6376. "frameborder": "no",
  6377. "border": "0",
  6378. "scrolling ": "no",
  6379. "style": {
  6380. "cssText": "border:0;width:100%;height:100%"
  6381. },
  6382. "src": "/kityminder-editor/dist/index.html"
  6383. })
  6384. _box.appendChild(_iframe);
  6385. _box.appendChild(_jie);
  6386. _formdiv = new U.UF.UI.form(
  6387. "思维导图-" + _username,
  6388. _box, { //"/jsmind/example/demo.html"
  6389. "id": "mind" + cid + stage + task + tool + _userid,
  6390. "style": {
  6391. "width": "90%",
  6392. "height": "90%",
  6393. "overflow": 'hidden'
  6394. },
  6395. "onresize": function () { }
  6396. }, {
  6397. closecallback: function () { }
  6398. }, {
  6399. "style": {
  6400. "height": "36px"
  6401. }
  6402. }).form; //创建窗体
  6403. _taskbar = {
  6404. "id": str + _formdiv.id,
  6405. "style": {
  6406. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6407. },
  6408. "name": "思维导图",
  6409. "forms": _formdiv,
  6410. "click": function () {
  6411. U.MD.D.I.openApplication(str, obj, info);
  6412. }
  6413. }
  6414. break;
  6415. case "MindMap":
  6416. aTool = 3;
  6417. _iframe = $$("iframe", {
  6418. "frameborder": "no",
  6419. "border": "0",
  6420. "scrolling ": "no",
  6421. "style": {
  6422. "cssText": "border:0;width:100%;height:100%"
  6423. },
  6424. "src": "//cloud.cocorobo.cn/mind/"
  6425. })
  6426. _box.appendChild(_iframe);
  6427. _box.appendChild(_jie);
  6428. _formdiv = new U.UF.UI.form(
  6429. "思维导图-" + _username,
  6430. _box, { //"/jsmind/example/demo.html"
  6431. "id": "mind" + cid + stage + task + tool + _userid,
  6432. "style": {
  6433. "width": "90%",
  6434. "height": "90%",
  6435. "overflow": 'hidden'
  6436. },
  6437. "onresize": function () { }
  6438. }, {
  6439. closecallback: function () { }
  6440. }, {
  6441. "style": {
  6442. "height": "36px"
  6443. }
  6444. }).form; //创建窗体
  6445. _taskbar = {
  6446. "id": str + _formdiv.id,
  6447. "style": {
  6448. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6449. },
  6450. "name": "思维导图",
  6451. "forms": _formdiv,
  6452. "click": function () {
  6453. U.MD.D.I.openApplication(str, obj, info);
  6454. }
  6455. }
  6456. break;
  6457. case "doc":
  6458. aTool = 6;
  6459. _iframe = $$("iframe", {
  6460. "frameborder": "no",
  6461. "border": "0",
  6462. "scrolling ": "no",
  6463. "style": {
  6464. "cssText": "border:0;width:100%;height:100%"
  6465. },
  6466. "src": "/Office/Word/WordEditArea.htm"
  6467. })
  6468. _box.appendChild(_iframe);
  6469. _box.appendChild(_jie);
  6470. _formdiv = new U.UF.UI.form(
  6471. "协同文档-" + _username,
  6472. _box, {
  6473. "id": "doc" + cid + stage + task + tool + _userid,
  6474. "style": {
  6475. "width": "90%",
  6476. "height": "90%",
  6477. "overflow": 'hidden'
  6478. },
  6479. "onresize": function () { }
  6480. }, {
  6481. closecallback: function () { }
  6482. }, {
  6483. "style": {
  6484. "height": "36px"
  6485. }
  6486. }).form; //创建窗体
  6487. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6488. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6489. })
  6490. _taskbar = {
  6491. "id": str + _formdiv.id,
  6492. "style": {
  6493. "backgroundImage": "url(/img/icon/doc.png)"
  6494. },
  6495. "name": "协同文档",
  6496. "forms": _formdiv,
  6497. "click": function () {
  6498. U.MD.D.I.openApplication(str, obj, info);
  6499. }
  6500. }
  6501. break;
  6502. case "mindNetwork": //好友打开
  6503. aTool = 7;
  6504. _iframe = $$("iframe", {
  6505. "webkitallowfullscreen": "",
  6506. "mozallowfullscreen": "",
  6507. "allowfullscreen": "",
  6508. "frameborder": "no",
  6509. "border": "0",
  6510. "scrolling ": "no",
  6511. "style": {
  6512. "cssText": "border:0; width:100%; height:100%;"
  6513. },
  6514. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6515. })
  6516. _box.appendChild(_iframe);
  6517. _box.appendChild(_jie);
  6518. _formdiv = new U.UF.UI.form(
  6519. "思维网格-" + _username,
  6520. _box, {
  6521. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6522. "style": {
  6523. "width": "90%",
  6524. "height": "90%",
  6525. "overflow": 'hidden'
  6526. },
  6527. "onresize": function () { }
  6528. }, {
  6529. closecallback: function () { }
  6530. }, {
  6531. "style": {
  6532. "height": "36px"
  6533. }
  6534. }).form; //创建窗体
  6535. _taskbar = {
  6536. "id": str + _formdiv.id,
  6537. "style": {
  6538. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6539. },
  6540. "name": "思维网格",
  6541. "forms": _formdiv,
  6542. "click": function () {
  6543. U.MD.D.I.openApplication(str, obj, info);
  6544. }
  6545. }
  6546. break;
  6547. case "courseDesign":
  6548. _iframe = $$("iframe", {
  6549. "webkitallowfullscreen": "",
  6550. "mozallowfullscreen": "",
  6551. "allowfullscreen": "",
  6552. "frameborder": "no",
  6553. "border": "0",
  6554. "scrolling ": "no",
  6555. "style": {
  6556. "cssText": "border:0; width:100%; height:100%;"
  6557. },
  6558. "src": "/course-design-vue"
  6559. })
  6560. _box.appendChild(_iframe);
  6561. _box.appendChild(_jie);
  6562. _formdiv = new U.UF.UI.form(
  6563. "项目设计-" + _username,
  6564. _box, {
  6565. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6566. "style": {
  6567. "width": "90%",
  6568. "height": "90%",
  6569. "overflow": 'hidden'
  6570. },
  6571. "onresize": function () { }
  6572. }, {
  6573. closecallback: function () { }
  6574. }, {
  6575. "style": {
  6576. "height": "36px"
  6577. }
  6578. }).form; //创建窗体
  6579. _taskbar = {
  6580. "id": str + _formdiv.id,
  6581. "style": {
  6582. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6583. },
  6584. "name": "项目设计",
  6585. "forms": _formdiv,
  6586. "click": function () {
  6587. U.MD.D.I.openApplication(str, obj, info);
  6588. }
  6589. }
  6590. break;
  6591. }
  6592. const script1 = document.createElement("script");
  6593. script1.type = "text/javascript";
  6594. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6595. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6596. const script2 = document.createElement("script");
  6597. script2.type = "text/javascript";
  6598. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6599. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6600. const script3 = document.createElement("script");
  6601. script3.type = "text/javascript";
  6602. script3.charset = "UTF-8";
  6603. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6604. const script4 = document.createElement("script");
  6605. script4.type = "text/javascript";
  6606. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6607. script4.src = window.origin + "/js/Common/jietu2E.js";
  6608. if (_iframe) {
  6609. if (str == 'doc') {
  6610. _iframe = _formdiv.querySelector('iframe')
  6611. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6612. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6613. _iframe.contentWindow.document.body.appendChild(script1);
  6614. _iframe.contentWindow.document.body.appendChild(script2);
  6615. // _iframe.contentWindow.document.body.appendChild(script3);
  6616. _iframe.contentWindow.document.body.appendChild(script4);
  6617. })
  6618. if (onloadListener) {
  6619. _iframe.contentDocument.location.reload()
  6620. } else {
  6621. _iframe.contentDocument.location.reload()
  6622. }
  6623. } else if (str == 'courseDesign') {
  6624. U.UF.DL.iframeLoad(_iframe, function () {
  6625. // _iframe.contentWindow.U.MD.O.W.load();
  6626. // _iframe.contentWindow.document.body.appendChild(script1);
  6627. _iframe.contentWindow.document.body.appendChild(script2);
  6628. _iframe.contentWindow.document.body.appendChild(script4);
  6629. })
  6630. } else if (str == 'mind') {
  6631. _iframe = _formdiv.querySelector('iframe')
  6632. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6633. //
  6634. _iframe.contentWindow.document.body.appendChild(script1);
  6635. _iframe.contentWindow.document.body.appendChild(script2);
  6636. _iframe.contentWindow.document.body.appendChild(script4);
  6637. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6638. })
  6639. if (onloadListener) {
  6640. _iframe.contentDocument.location.reload()
  6641. } else {
  6642. _iframe.contentDocument.location.reload()
  6643. }
  6644. } else if (str == 'whiteboard') {
  6645. _iframe = _formdiv.querySelector('iframe')
  6646. let onloadListener = _iframe.onload = () => {
  6647. _iframe.contentWindow.document.body.appendChild(script1);
  6648. _iframe.contentWindow.document.body.appendChild(script2);
  6649. _iframe.contentWindow.document.body.appendChild(script4);
  6650. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6651. };
  6652. if (onloadListener) {
  6653. _iframe.contentDocument.location.reload()
  6654. } else {
  6655. _iframe.contentDocument.location.reload()
  6656. }
  6657. } else {
  6658. _iframe.onload = () => {
  6659. _iframe.contentWindow.document.body.appendChild(script1);
  6660. _iframe.contentWindow.document.body.appendChild(script2);
  6661. // _iframe.contentWindow.document.body.appendChild(script3);
  6662. _iframe.contentWindow.document.body.appendChild(script4);
  6663. };
  6664. }
  6665. _jie.onclick = async () => {
  6666. let text = ''
  6667. if (aTool == 1) {
  6668. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6669. } else if (aTool == 6) {
  6670. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6671. } else if (aTool == 3) {
  6672. text = await U.MD.D.I.getEditorContent(_iframe);
  6673. }
  6674. _loading.style.display = 'flex'
  6675. console.log(_loading);
  6676. var _ajs = _iframe.contentWindow.document.createElement("script");
  6677. _ajs.type = "text/javascript";
  6678. _ajs.innerHTML =
  6679. // 'console.log(' + _loading + ');\n' +
  6680. 'var _js = document.createElement("script");\n' +
  6681. '_js.type="text/javascript";\n' +
  6682. '_js.charset="UTF-8";\n' +
  6683. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6684. "_js.onload = function(){\n" +
  6685. ' var a = document.getElementsByTagName("img")\n' +
  6686. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6687. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6688. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6689. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6690. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6691. "beforeUpload_shishi(file," +
  6692. "'" +
  6693. _userid +
  6694. "'" +
  6695. ", " +
  6696. "'" +
  6697. _cid +
  6698. "'" +
  6699. ", " +
  6700. "'" +
  6701. _stage +
  6702. "'" +
  6703. ", " +
  6704. "'" +
  6705. _task +
  6706. "'" +
  6707. ", " +
  6708. "'" +
  6709. _tool +
  6710. "'" +
  6711. ", " +
  6712. "'" +
  6713. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6714. "'" +
  6715. ", " +
  6716. "'" +
  6717. aTool +
  6718. "'" +
  6719. ", " +
  6720. "`" +
  6721. text +
  6722. "`" +
  6723. ")\n" +
  6724. " });\n" +
  6725. "}\n" +
  6726. "document.head.appendChild(_js);\n";
  6727. _iframe.contentWindow.document.head.appendChild(_ajs);
  6728. }
  6729. }
  6730. }
  6731. U.MD.D.I.getEditorContent = function (iframe) {
  6732. return new Promise((resolve, reject) => {
  6733. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6734. console.log(content);
  6735. resolve(content)
  6736. });
  6737. });
  6738. }
  6739. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6740. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6741. // if (res.value[0].length > 0) {
  6742. // // resolve(res.value[0][0].text);
  6743. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6744. // $(fileInput).val('');
  6745. // });
  6746. // }
  6747. // }, [], { "type": "GET", "withCredentials": true });
  6748. var xmlhttp;
  6749. var Mac, Sn, DeviceId
  6750. if (window.XMLHttpRequest) {
  6751. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6752. xmlhttp = new XMLHttpRequest();
  6753. } else {
  6754. // IE6, IE5 浏览器执行代码
  6755. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6756. }
  6757. xmlhttp.onreadystatechange = function () {
  6758. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6759. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6760. // resolve(res.value[0][0].text);
  6761. if (type == '2') {
  6762. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6763. } else if (type == '3') {
  6764. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6765. }
  6766. } else {
  6767. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6768. }
  6769. }
  6770. }
  6771. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6772. xmlhttp.send();
  6773. }
  6774. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6775. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6776. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6777. _userinfo = US.userInfo, //登录用户信息
  6778. _userid = US.userInfo.userid //登录用户id
  6779. let _iframe;
  6780. let _cid = cid,
  6781. _stage = stage,
  6782. _task = task,
  6783. _tool = tool;
  6784. var _jie = $$("div", {
  6785. "style": {
  6786. "position": "absolute",
  6787. "bottom": "50px",
  6788. "right": "50px",
  6789. "zIndex": "9999",
  6790. "backgroundColor": "#2268bc",
  6791. "color": "#fff",
  6792. "padding": "12px 20px",
  6793. "cursor": "pointer",
  6794. "borderRadius": "4px",
  6795. },
  6796. "innerHTML": "确认并提交"
  6797. })
  6798. let aTool = ''
  6799. let _loading = document.createElement('div')
  6800. _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;"
  6801. // _loading.id = "";
  6802. let _lchild = document.createElement('div')
  6803. let _limg = document.createElement('img')
  6804. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6805. _limg.style = "width: 26px;margin-right: 10px;"
  6806. _lchild.appendChild(_limg)
  6807. let _lspan = document.createElement('span')
  6808. _lspan.innerHTML = "上传中..."
  6809. _lchild.appendChild(_lspan)
  6810. _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%);"
  6811. _loading.appendChild(_lchild)
  6812. var _box = $$('div', {
  6813. "style": {
  6814. "position": "relative",
  6815. "width": "100%",
  6816. "height": "100%",
  6817. },
  6818. })
  6819. _box.appendChild(_loading)
  6820. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6821. switch (str) {
  6822. case "whiteboard":
  6823. aTool = 1;
  6824. _iframe = $$("iframe", {
  6825. "frameborder": "no",
  6826. "border": "0",
  6827. "scrolling ": "no",
  6828. "style": {
  6829. "cssText": "border:0;width:100%;height:100%"
  6830. },
  6831. "src": "https://iwb.cocorobo.cn/"
  6832. })
  6833. _box.appendChild(_iframe);
  6834. _box.appendChild(_jie);
  6835. _formdiv = new U.UF.UI.form(
  6836. "电子白板",
  6837. _box, {
  6838. "id": "whiteboards" + cid + stage + task + tool,
  6839. "style": {
  6840. "width": "90%",
  6841. "height": "90%",
  6842. "overflow": 'hidden'
  6843. },
  6844. "onresize": function () { }
  6845. }, {
  6846. closecallback: function () { }
  6847. }, {
  6848. "style": {
  6849. "height": "36px"
  6850. }
  6851. }).form; //创建窗体
  6852. _taskbar = {
  6853. "id": str + _formdiv.id,
  6854. "style": {
  6855. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6856. },
  6857. "name": "电子白板",
  6858. "forms": _formdiv,
  6859. "click": function () {
  6860. U.MD.D.I.openApplication(str, obj, info);
  6861. }
  6862. }
  6863. break;
  6864. case "mind":
  6865. aTool = 3;
  6866. _iframe = $$("iframe", {
  6867. "frameborder": "no",
  6868. "border": "0",
  6869. "scrolling ": "no",
  6870. "style": {
  6871. "cssText": "border:0;width:100%;height:100%"
  6872. },
  6873. "src": "/kityminder-editor/dist/index.html"
  6874. });
  6875. _box.appendChild(_iframe);
  6876. _box.appendChild(_jie);
  6877. _formdiv = new U.UF.UI.form(
  6878. "思维导图",
  6879. _box, { //"/jsmind/example/demo.html"
  6880. "id": "minds" + cid + stage + task + tool,
  6881. "style": {
  6882. "width": "90%",
  6883. "height": "90%",
  6884. "overflow": 'hidden'
  6885. },
  6886. "onresize": function () { }
  6887. }, {
  6888. closecallback: function () { }
  6889. }, {
  6890. "style": {
  6891. "height": "36px"
  6892. }
  6893. }).form; //创建窗体
  6894. _taskbar = {
  6895. "id": str + _formdiv.id,
  6896. "style": {
  6897. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6898. },
  6899. "name": "思维导图",
  6900. "forms": _formdiv,
  6901. "click": function () {
  6902. U.MD.D.I.openApplication(str, obj, info);
  6903. }
  6904. }
  6905. break;
  6906. case "doc":
  6907. aTool = 6;
  6908. _iframe = $$("iframe", {
  6909. "frameborder": "no",
  6910. "border": "0",
  6911. "scrolling ": "no",
  6912. "style": {
  6913. "cssText": "border:0;width:100%;height:100%"
  6914. },
  6915. "src": "/Office/Word/WordEditArea.htm"
  6916. })
  6917. _box.appendChild(_iframe);
  6918. _box.appendChild(_jie);
  6919. _formdiv = new U.UF.UI.form(
  6920. "协同文档",
  6921. _box, {
  6922. "id": "docs" + cid + stage + task + tool,
  6923. "style": {
  6924. "width": "90%",
  6925. "height": "90%",
  6926. "overflow": 'hidden'
  6927. },
  6928. "onresize": function () { }
  6929. }, {
  6930. closecallback: function () { }
  6931. }, {
  6932. "style": {
  6933. "height": "36px"
  6934. }
  6935. }).form; //创建窗体
  6936. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6937. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6938. })
  6939. _taskbar = {
  6940. "id": str + _formdiv.id,
  6941. "style": {
  6942. "backgroundImage": "url(/img/icon/doc.png)"
  6943. },
  6944. "name": "协同文档",
  6945. "forms": _formdiv,
  6946. "click": function () {
  6947. U.MD.D.I.openApplication(str, obj, info);
  6948. }
  6949. }
  6950. break;
  6951. }
  6952. const script1 = document.createElement("script");
  6953. script1.type = "text/javascript";
  6954. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6955. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6956. const script2 = document.createElement("script");
  6957. script2.type = "text/javascript";
  6958. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6959. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6960. const script3 = document.createElement("script");
  6961. script3.type = "text/javascript";
  6962. script3.charset = "UTF-8";
  6963. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6964. const script4 = document.createElement("script");
  6965. script4.type = "text/javascript";
  6966. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6967. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6968. if (_iframe) {
  6969. if (str == 'doc') {
  6970. _iframe = _formdiv.querySelector('iframe')
  6971. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6972. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6973. _iframe.contentWindow.document.body.appendChild(script1);
  6974. _iframe.contentWindow.document.body.appendChild(script2);
  6975. // _iframe.contentWindow.document.body.appendChild(script3);
  6976. _iframe.contentWindow.document.body.appendChild(script4);
  6977. })
  6978. if (onloadListener) {
  6979. _iframe.contentDocument.location.reload()
  6980. } else {
  6981. _iframe.contentDocument.location.reload()
  6982. }
  6983. } else if (str == 'mind') {
  6984. _iframe = _formdiv.querySelector('iframe')
  6985. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6986. _iframe.contentWindow.document.body.appendChild(script1);
  6987. _iframe.contentWindow.document.body.appendChild(script2);
  6988. _iframe.contentWindow.document.body.appendChild(script4);
  6989. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6990. })
  6991. if (onloadListener) {
  6992. _iframe.contentDocument.location.reload()
  6993. } else {
  6994. _iframe.contentDocument.location.reload()
  6995. }
  6996. } else {
  6997. _iframe.onload = () => {
  6998. _iframe.contentWindow.document.body.appendChild(script1);
  6999. _iframe.contentWindow.document.body.appendChild(script2);
  7000. // _iframe.contentWindow.document.body.appendChild(script3);
  7001. _iframe.contentWindow.document.body.appendChild(script4);
  7002. };
  7003. }
  7004. _jie.onclick = async () => {
  7005. let text = ''
  7006. if (aTool == 6) {
  7007. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7008. } else if (aTool == 3) {
  7009. text = await U.MD.D.I.getEditorContent(_iframe);
  7010. }
  7011. _loading.style.display = 'flex'
  7012. console.log(_loading);
  7013. var _ajs = _iframe.contentWindow.document.createElement("script");
  7014. _ajs.type = "text/javascript";
  7015. _ajs.innerHTML =
  7016. // 'console.log(' + _loading + ');\n' +
  7017. 'var _js = document.createElement("script");\n' +
  7018. '_js.type="text/javascript";\n' +
  7019. '_js.charset="UTF-8";\n' +
  7020. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7021. "_js.onload = function(){\n" +
  7022. ' var a = document.getElementsByTagName("img")\n' +
  7023. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7024. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7025. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7026. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7027. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7028. "beforeUpload_shishi(file," +
  7029. "'" +
  7030. _userid +
  7031. "'" +
  7032. ", " +
  7033. "'" +
  7034. _cid +
  7035. "'" +
  7036. ", " +
  7037. "'" +
  7038. _stage +
  7039. "'" +
  7040. ", " +
  7041. "'" +
  7042. _task +
  7043. "'" +
  7044. ", " +
  7045. "'" +
  7046. _tool +
  7047. "'" +
  7048. ", " +
  7049. "'" +
  7050. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7051. "'" +
  7052. ", " +
  7053. "'" +
  7054. aTool +
  7055. "'" +
  7056. ", " +
  7057. "`" +
  7058. text +
  7059. "`" +
  7060. ")\n" +
  7061. " });\n" +
  7062. "}\n" +
  7063. "document.head.appendChild(_js);\n";
  7064. _iframe.contentWindow.document.head.appendChild(_ajs);
  7065. }
  7066. }
  7067. //U.MD.D.I.openClick(str);
  7068. //如果有任务栏信息
  7069. // if (_taskbar) {
  7070. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7071. // }
  7072. }
  7073. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7074. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7075. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7076. _userinfo = US.userInfo, //登录用户信息
  7077. _userid = US.userInfo.userid //登录用户id
  7078. let _iframe;
  7079. let _cid = cid,
  7080. _stage = stage,
  7081. _task = task,
  7082. _tool = tool;
  7083. var _jie = $$("div", {
  7084. "style": {
  7085. "position": "absolute",
  7086. "bottom": "50px",
  7087. "right": "50px",
  7088. "zIndex": "9999",
  7089. "backgroundColor": "#2268bc",
  7090. "color": "#fff",
  7091. "padding": "12px 20px",
  7092. "cursor": "pointer",
  7093. "borderRadius": "4px",
  7094. },
  7095. "innerHTML": "确认并提交"
  7096. })
  7097. let aTool = ''
  7098. let _loading = document.createElement('div')
  7099. _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;"
  7100. // _loading.id = "";
  7101. let _lchild = document.createElement('div')
  7102. let _limg = document.createElement('img')
  7103. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7104. _limg.style = "width: 26px;margin-right: 10px;"
  7105. _lchild.appendChild(_limg)
  7106. let _lspan = document.createElement('span')
  7107. _lspan.innerHTML = "上传中..."
  7108. _lchild.appendChild(_lspan)
  7109. _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%);"
  7110. _loading.appendChild(_lchild)
  7111. var _box = $$('div', {
  7112. "style": {
  7113. "position": "relative",
  7114. "width": "100%",
  7115. "height": "100%",
  7116. },
  7117. })
  7118. _box.appendChild(_loading)
  7119. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7120. switch (str) {
  7121. case "whiteboard":
  7122. aTool = 1;
  7123. _iframe = $$("iframe", {
  7124. "frameborder": "no",
  7125. "border": "0",
  7126. "scrolling ": "no",
  7127. "style": {
  7128. "cssText": "border:0;width:100%;height:100%"
  7129. },
  7130. "src": "https://iwb.cocorobo.cn/"
  7131. })
  7132. _box.appendChild(_iframe);
  7133. _box.appendChild(_jie);
  7134. _formdiv = new U.UF.UI.form(
  7135. "电子白板",
  7136. _box, {
  7137. "id": "whiteboards" + cid + stage + task + tool,
  7138. "style": {
  7139. "width": "90%",
  7140. "height": "90%",
  7141. "overflow": 'hidden'
  7142. },
  7143. "onresize": function () { }
  7144. }, {
  7145. closecallback: function () { }
  7146. }, {
  7147. "style": {
  7148. "height": "36px"
  7149. }
  7150. }).form; //创建窗体
  7151. _taskbar = {
  7152. "id": str + _formdiv.id,
  7153. "style": {
  7154. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7155. },
  7156. "name": "电子白板",
  7157. "forms": _formdiv,
  7158. "click": function () {
  7159. U.MD.D.I.openApplication(str, obj, info);
  7160. }
  7161. }
  7162. break;
  7163. case "mind":
  7164. aTool = 3;
  7165. _iframe = $$("iframe", {
  7166. "frameborder": "no",
  7167. "border": "0",
  7168. "scrolling ": "no",
  7169. "style": {
  7170. "cssText": "border:0;width:100%;height:100%"
  7171. },
  7172. "src": "/kityminder-editor/dist/index.html"
  7173. });
  7174. _box.appendChild(_iframe);
  7175. _box.appendChild(_jie);
  7176. _formdiv = new U.UF.UI.form(
  7177. "思维导图",
  7178. _box, { //"/jsmind/example/demo.html"
  7179. "id": "minds" + cid + stage + task + tool,
  7180. "style": {
  7181. "width": "90%",
  7182. "height": "90%",
  7183. "overflow": 'hidden'
  7184. },
  7185. "onresize": function () { }
  7186. }, {
  7187. closecallback: function () { }
  7188. }, {
  7189. "style": {
  7190. "height": "36px"
  7191. }
  7192. }).form; //创建窗体
  7193. _taskbar = {
  7194. "id": str + _formdiv.id,
  7195. "style": {
  7196. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7197. },
  7198. "name": "思维导图",
  7199. "forms": _formdiv,
  7200. "click": function () {
  7201. U.MD.D.I.openApplication(str, obj, info);
  7202. }
  7203. }
  7204. break;
  7205. case "doc":
  7206. aTool = 6;
  7207. _iframe = $$("iframe", {
  7208. "frameborder": "no",
  7209. "border": "0",
  7210. "scrolling ": "no",
  7211. "style": {
  7212. "cssText": "border:0;width:100%;height:100%"
  7213. },
  7214. "src": "/Office/Word/WordEditArea.htm"
  7215. })
  7216. _box.appendChild(_iframe);
  7217. _box.appendChild(_jie);
  7218. _formdiv = new U.UF.UI.form(
  7219. "协同文档",
  7220. _box, {
  7221. "id": "docs" + cid + stage + task + tool,
  7222. "style": {
  7223. "width": "90%",
  7224. "height": "90%",
  7225. "overflow": 'hidden'
  7226. },
  7227. "onresize": function () { }
  7228. }, {
  7229. closecallback: function () { }
  7230. }, {
  7231. "style": {
  7232. "height": "36px"
  7233. }
  7234. }).form; //创建窗体
  7235. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7236. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7237. })
  7238. _taskbar = {
  7239. "id": str + _formdiv.id,
  7240. "style": {
  7241. "backgroundImage": "url(/img/icon/doc.png)"
  7242. },
  7243. "name": "协同文档",
  7244. "forms": _formdiv,
  7245. "click": function () {
  7246. U.MD.D.I.openApplication(str, obj, info);
  7247. }
  7248. }
  7249. break;
  7250. }
  7251. const script1 = document.createElement("script");
  7252. script1.type = "text/javascript";
  7253. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7254. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7255. const script2 = document.createElement("script");
  7256. script2.type = "text/javascript";
  7257. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7258. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7259. const script3 = document.createElement("script");
  7260. script3.type = "text/javascript";
  7261. script3.charset = "UTF-8";
  7262. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7263. const script4 = document.createElement("script");
  7264. script4.type = "text/javascript";
  7265. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7266. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7267. if (_iframe) {
  7268. if (str == 'doc') {
  7269. _iframe = _formdiv.querySelector('iframe')
  7270. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7271. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7272. _iframe.contentWindow.document.body.appendChild(script1);
  7273. _iframe.contentWindow.document.body.appendChild(script2);
  7274. // _iframe.contentWindow.document.body.appendChild(script3);
  7275. _iframe.contentWindow.document.body.appendChild(script4);
  7276. })
  7277. if (onloadListener) {
  7278. _iframe.contentDocument.location.reload()
  7279. } else {
  7280. _iframe.contentDocument.location.reload()
  7281. }
  7282. } else if (str == 'mind') {
  7283. _iframe = _formdiv.querySelector('iframe')
  7284. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7285. _iframe.contentWindow.document.body.appendChild(script1);
  7286. _iframe.contentWindow.document.body.appendChild(script2);
  7287. _iframe.contentWindow.document.body.appendChild(script4);
  7288. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7289. })
  7290. if (onloadListener) {
  7291. _iframe.contentDocument.location.reload()
  7292. } else {
  7293. _iframe.contentDocument.location.reload()
  7294. }
  7295. } else {
  7296. _iframe.onload = () => {
  7297. _iframe.contentWindow.document.body.appendChild(script1);
  7298. _iframe.contentWindow.document.body.appendChild(script2);
  7299. // _iframe.contentWindow.document.body.appendChild(script3);
  7300. _iframe.contentWindow.document.body.appendChild(script4);
  7301. };
  7302. }
  7303. _jie.onclick = async () => {
  7304. let text = ''
  7305. if (aTool == 6) {
  7306. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7307. } else if (aTool == 3) {
  7308. text = await U.MD.D.I.getEditorContent(_iframe);
  7309. }
  7310. _loading.style.display = 'flex'
  7311. console.log(_loading);
  7312. var _ajs = _iframe.contentWindow.document.createElement("script");
  7313. _ajs.type = "text/javascript";
  7314. _ajs.innerHTML =
  7315. // 'console.log(' + _loading + ');\n' +
  7316. 'var _js = document.createElement("script");\n' +
  7317. '_js.type="text/javascript";\n' +
  7318. '_js.charset="UTF-8";\n' +
  7319. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7320. "_js.onload = function(){\n" +
  7321. ' var a = document.getElementsByTagName("img")\n' +
  7322. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7323. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7324. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7325. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7326. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7327. "beforeUpload_shishi(file," +
  7328. "'" +
  7329. _userid +
  7330. "'" +
  7331. ", " +
  7332. "'" +
  7333. _cid +
  7334. "'" +
  7335. ", " +
  7336. "'" +
  7337. _stage +
  7338. "'" +
  7339. ", " +
  7340. "'" +
  7341. _task +
  7342. "'" +
  7343. ", " +
  7344. "'" +
  7345. _tool +
  7346. "'" +
  7347. ", " +
  7348. "'" +
  7349. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7350. "'" +
  7351. ", " +
  7352. "'" +
  7353. aTool +
  7354. "'" +
  7355. ", " +
  7356. "`" +
  7357. text +
  7358. "`" +
  7359. ")\n" +
  7360. " });\n" +
  7361. "}\n" +
  7362. "document.head.appendChild(_js);\n";
  7363. _iframe.contentWindow.document.head.appendChild(_ajs);
  7364. }
  7365. }
  7366. //U.MD.D.I.openClick(str);
  7367. //如果有任务栏信息
  7368. // if (_taskbar) {
  7369. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7370. // }
  7371. }
  7372. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7373. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7374. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7375. _userinfo = US.userInfo, //登录用户信息
  7376. _userid = US.userInfo.userid //登录用户id
  7377. let _iframe;
  7378. let _cid = cid,
  7379. _stage = stage,
  7380. _task = task,
  7381. _tool = tool;
  7382. var _jie = $$("div", {
  7383. "style": {
  7384. "position": "absolute",
  7385. "bottom": "50px",
  7386. "right": "50px",
  7387. "zIndex": "9999",
  7388. "backgroundColor": "#2268bc",
  7389. "color": "#fff",
  7390. "padding": "12px 20px",
  7391. "cursor": "pointer",
  7392. "borderRadius": "4px",
  7393. },
  7394. "innerHTML": "上传模板"
  7395. })
  7396. let aTool = ''
  7397. let _loading = document.createElement('div')
  7398. _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;"
  7399. // _loading.id = "";
  7400. let _lchild = document.createElement('div')
  7401. let _limg = document.createElement('img')
  7402. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7403. _limg.style = "width: 26px;margin-right: 10px;"
  7404. _lchild.appendChild(_limg)
  7405. let _lspan = document.createElement('span')
  7406. _lspan.innerHTML = "上传中..."
  7407. _lchild.appendChild(_lspan)
  7408. _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%);"
  7409. _loading.appendChild(_lchild)
  7410. var _box = $$('div', {
  7411. "style": {
  7412. "position": "relative",
  7413. "width": "100%",
  7414. "height": "100%",
  7415. },
  7416. })
  7417. _box.appendChild(_loading)
  7418. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7419. switch (str) {
  7420. case "whiteboard":
  7421. aTool = 1;
  7422. _iframe = $$("iframe", {
  7423. "frameborder": "no",
  7424. "border": "0",
  7425. "scrolling ": "no",
  7426. "style": {
  7427. "cssText": "border:0;width:100%;height:100%"
  7428. },
  7429. "src": "https://iwb.cocorobo.cn/"
  7430. })
  7431. _box.appendChild(_iframe);
  7432. _box.appendChild(_jie);
  7433. _formdiv = new U.UF.UI.form(
  7434. "电子白板",
  7435. _box, {
  7436. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7437. "style": {
  7438. "width": "90%",
  7439. "height": "90%",
  7440. "overflow": 'hidden'
  7441. },
  7442. "onresize": function () { }
  7443. }, {
  7444. closecallback: function () { }
  7445. }, {
  7446. "style": {
  7447. "height": "36px"
  7448. }
  7449. }).form; //创建窗体
  7450. _taskbar = {
  7451. "id": str + _formdiv.id,
  7452. "style": {
  7453. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7454. },
  7455. "name": "电子白板",
  7456. "forms": _formdiv,
  7457. "click": function () {
  7458. U.MD.D.I.openApplication(str, obj, info);
  7459. }
  7460. }
  7461. break;
  7462. case "mind":
  7463. aTool = 3;
  7464. _iframe = $$("iframe", {
  7465. "frameborder": "no",
  7466. "border": "0",
  7467. "scrolling ": "no",
  7468. "style": {
  7469. "cssText": "border:0;width:100%;height:100%"
  7470. },
  7471. "src": "/kityminder-editor/dist/index.html"
  7472. });
  7473. _box.appendChild(_iframe);
  7474. _box.appendChild(_jie);
  7475. _formdiv = new U.UF.UI.form(
  7476. "思维导图",
  7477. _box, { //"/jsmind/example/demo.html"
  7478. "id": "minds_Yu" + cid + stage + task + tool,
  7479. "style": {
  7480. "width": "90%",
  7481. "height": "90%",
  7482. "overflow": 'hidden'
  7483. },
  7484. "onresize": function () { }
  7485. }, {
  7486. closecallback: function () { }
  7487. }, {
  7488. "style": {
  7489. "height": "36px"
  7490. }
  7491. }).form; //创建窗体
  7492. _taskbar = {
  7493. "id": str + _formdiv.id,
  7494. "style": {
  7495. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7496. },
  7497. "name": "思维导图",
  7498. "forms": _formdiv,
  7499. "click": function () {
  7500. U.MD.D.I.openApplication(str, obj, info);
  7501. }
  7502. }
  7503. break;
  7504. case "doc":
  7505. aTool = 6;
  7506. _iframe = $$("iframe", {
  7507. "frameborder": "no",
  7508. "border": "0",
  7509. "scrolling ": "no",
  7510. "style": {
  7511. "cssText": "border:0;width:100%;height:100%"
  7512. },
  7513. "src": "/Office/Word/WordEditArea.htm"
  7514. })
  7515. _box.appendChild(_iframe);
  7516. _box.appendChild(_jie);
  7517. _formdiv = new U.UF.UI.form(
  7518. "协同文档",
  7519. _box, {
  7520. "id": "docs_Yu" + cid + stage + task + tool,
  7521. "style": {
  7522. "width": "90%",
  7523. "height": "90%",
  7524. "overflow": 'hidden'
  7525. },
  7526. "onresize": function () { }
  7527. }, {
  7528. closecallback: function () { }
  7529. }, {
  7530. "style": {
  7531. "height": "36px"
  7532. }
  7533. }).form; //创建窗体
  7534. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7535. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7536. })
  7537. _taskbar = {
  7538. "id": str + _formdiv.id,
  7539. "style": {
  7540. "backgroundImage": "url(/img/icon/doc.png)"
  7541. },
  7542. "name": "协同文档",
  7543. "forms": _formdiv,
  7544. "click": function () {
  7545. U.MD.D.I.openApplication(str, obj, info);
  7546. }
  7547. }
  7548. break;
  7549. case "CocoPi":
  7550. aTool = 57;
  7551. _iframe = $$("iframe", {
  7552. "allowpaymentrequest": "allowpaymentrequest",
  7553. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7554. "webkitallowfullscreen": "",
  7555. "mozallowfullscreen": "",
  7556. "frameborder": "no",
  7557. "border": "0",
  7558. "scrolling ": "no",
  7559. "style": {
  7560. "cssText": "border:0;width:100%;height:100%"
  7561. },
  7562. "src": "https://pi.cocorobo.cn/"
  7563. })
  7564. _box.appendChild(_iframe);
  7565. _box.appendChild(_jie);
  7566. _formdiv = new U.UF.UI.form(
  7567. "CocoPi",
  7568. _box, {
  7569. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7570. "style": {
  7571. "width": "90%",
  7572. "height": "90%",
  7573. "overflow": 'hidden'
  7574. },
  7575. "onresize": function () { }
  7576. }, {
  7577. closecallback: function () { }
  7578. }, {
  7579. "style": {
  7580. "height": "36px"
  7581. }
  7582. }).form; //创建窗体
  7583. _taskbar = {
  7584. "id": str + _formdiv.id,
  7585. "style": {
  7586. "backgroundImage": "url(/img/icon/cocopi.png)"
  7587. },
  7588. "name": "CocoPi",
  7589. "forms": _formdiv,
  7590. "click": function () {
  7591. U.MD.D.I.openApplication(str, obj, info);
  7592. }
  7593. }
  7594. break;
  7595. }
  7596. if (_iframe) {
  7597. if (str == 'doc') {
  7598. _iframe = _formdiv.querySelector('iframe')
  7599. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7600. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7601. })
  7602. if (onloadListener) {
  7603. _iframe.contentDocument.location.reload()
  7604. } else {
  7605. _iframe.contentDocument.location.reload()
  7606. }
  7607. } else if (str == 'mind') {
  7608. _iframe = _formdiv.querySelector('iframe')
  7609. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7610. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7611. })
  7612. if (onloadListener) {
  7613. _iframe.contentDocument.location.reload()
  7614. } else {
  7615. _iframe.contentDocument.location.reload()
  7616. }
  7617. } else if (str == 'whiteboard') {
  7618. _iframe = _formdiv.querySelector('iframe')
  7619. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7620. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7621. })
  7622. if (onloadListener) {
  7623. _iframe.contentDocument.location.reload()
  7624. } else {
  7625. _iframe.contentDocument.location.reload()
  7626. }
  7627. } else if (str == 'CocoPi') {
  7628. _iframe = _formdiv.querySelector('iframe')
  7629. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7630. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7631. })
  7632. if (onloadListener) {
  7633. _iframe.contentDocument.location.reload()
  7634. } else {
  7635. _iframe.contentDocument.location.reload()
  7636. }
  7637. } else {
  7638. _iframe.onload = () => { };
  7639. }
  7640. _jie.onclick = async () => {
  7641. let text = ''
  7642. let type = '2'
  7643. if (aTool == 1) {
  7644. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7645. type = '3'
  7646. } else if (aTool == 6) {
  7647. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7648. type = '1'
  7649. } else if (aTool == 3) {
  7650. text = await U.MD.D.I.getEditorContent(_iframe);
  7651. type = '2'
  7652. } else if (aTool == 57) {
  7653. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7654. type = '4'
  7655. }
  7656. _loading.style.display = 'flex'
  7657. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7658. }
  7659. }
  7660. //U.MD.D.I.openClick(str);
  7661. //如果有任务栏信息
  7662. // if (_taskbar) {
  7663. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7664. // }
  7665. }
  7666. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7667. var xmlhttp;
  7668. var Mac, Sn, DeviceId
  7669. if (window.XMLHttpRequest) {
  7670. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7671. xmlhttp = new XMLHttpRequest();
  7672. } else {
  7673. // IE6, IE5 浏览器执行代码
  7674. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7675. }
  7676. xmlhttp.onreadystatechange = function () {
  7677. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7678. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7679. // resolve(res.value[0][0].text);
  7680. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7681. }
  7682. }
  7683. }
  7684. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7685. xmlhttp.send();
  7686. }
  7687. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7688. var xmlhttp;
  7689. var Mac, Sn, DeviceId
  7690. if (window.XMLHttpRequest) {
  7691. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7692. xmlhttp = new XMLHttpRequest();
  7693. } else {
  7694. // IE6, IE5 浏览器执行代码
  7695. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7696. }
  7697. xmlhttp.onreadystatechange = function () {
  7698. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7699. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7700. // resolve(res.value[0][0].text);
  7701. if (type == '2') {
  7702. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7703. } else if (type == '3') {
  7704. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7705. } else if (type == '4') {
  7706. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7707. }
  7708. } else {
  7709. if (type == '2') {
  7710. iframe.contentWindow.editor.minder.importData('json', '')
  7711. } else if (type == '3') {
  7712. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7713. } else if (type == '4') {
  7714. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7715. }
  7716. }
  7717. }
  7718. }
  7719. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7720. xmlhttp.send();
  7721. }
  7722. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7723. var xmlhttp;
  7724. var Mac, Sn, DeviceId
  7725. if (window.XMLHttpRequest) {
  7726. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7727. xmlhttp = new XMLHttpRequest();
  7728. } else {
  7729. // IE6, IE5 浏览器执行代码
  7730. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7731. }
  7732. xmlhttp.onreadystatechange = function () {
  7733. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7734. if (xmlhttp.response) {
  7735. // resolve(res.value[0][0].text);
  7736. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7737. // $(fileInput).val('');
  7738. // });
  7739. span.innerHTML = '上传成功'
  7740. setTimeout(() => {
  7741. loading.style.display = 'none'
  7742. }, 1000);
  7743. }
  7744. }
  7745. }
  7746. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7747. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7748. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7749. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7750. // 设置请求头,表示请求体的编码格式
  7751. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7752. // 设置请求体,使用url-encoded格式的数据
  7753. }
  7754. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7755. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7756. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7757. _userinfo = US.userInfo, //登录用户信息
  7758. _userid = US.userInfo.userid //登录用户id
  7759. let _iframe;
  7760. let _cid = cid,
  7761. _stage = stage,
  7762. _task = task,
  7763. _tool = tool;
  7764. var _jie = $$("div", {
  7765. "style": {
  7766. "position": "absolute",
  7767. "bottom": "50px",
  7768. "right": "50px",
  7769. "zIndex": "9999",
  7770. "backgroundColor": "#2268bc",
  7771. "color": "#fff",
  7772. "padding": "12px 20px",
  7773. "cursor": "pointer",
  7774. "borderRadius": "4px",
  7775. },
  7776. "innerHTML": "提交作业"
  7777. })
  7778. let aTool = ''
  7779. let _loading = document.createElement('div')
  7780. _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;"
  7781. // _loading.id = "";
  7782. let _lchild = document.createElement('div')
  7783. let _limg = document.createElement('img')
  7784. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7785. _limg.style = "width: 26px;margin-right: 10px;"
  7786. _lchild.appendChild(_limg)
  7787. let _lspan = document.createElement('span')
  7788. _lspan.innerHTML = "上传中..."
  7789. _lchild.appendChild(_lspan)
  7790. _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%);"
  7791. _loading.appendChild(_lchild)
  7792. var _box = $$('div', {
  7793. "style": {
  7794. "position": "relative",
  7795. "width": "100%",
  7796. "height": "100%",
  7797. },
  7798. })
  7799. _box.appendChild(_loading)
  7800. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7801. switch (str) {
  7802. case "CocoPi":
  7803. aTool = 57;
  7804. _iframe = $$("iframe", {
  7805. "allowpaymentrequest": "allowpaymentrequest",
  7806. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7807. "webkitallowfullscreen": "",
  7808. "mozallowfullscreen": "",
  7809. "frameborder": "no",
  7810. "border": "0",
  7811. "scrolling ": "no",
  7812. "style": {
  7813. "cssText": "border:0;width:100%;height:100%"
  7814. },
  7815. "src": "https://pi.cocorobo.cn/"
  7816. })
  7817. _box.appendChild(_iframe);
  7818. _box.appendChild(_jie);
  7819. _formdiv = new U.UF.UI.form(
  7820. "CocoPi",
  7821. _box, {
  7822. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7823. "style": {
  7824. "width": "90%",
  7825. "height": "90%",
  7826. "overflow": 'hidden'
  7827. },
  7828. "onresize": function () { }
  7829. }, {
  7830. closecallback: function () { }
  7831. }, {
  7832. "style": {
  7833. "height": "36px"
  7834. }
  7835. }).form; //创建窗体
  7836. _taskbar = {
  7837. "id": str + _formdiv.id,
  7838. "style": {
  7839. "backgroundImage": "url(/img/icon/cocopi.png)"
  7840. },
  7841. "name": "CocoPi",
  7842. "forms": _formdiv,
  7843. "click": function () {
  7844. U.MD.D.I.openApplication(str, obj, info);
  7845. }
  7846. }
  7847. break;
  7848. }
  7849. if (_iframe) {
  7850. if (str == 'CocoPi') {
  7851. _iframe = _formdiv.querySelector('iframe')
  7852. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7853. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7854. })
  7855. if (onloadListener) {
  7856. _iframe.contentDocument.location.reload()
  7857. } else {
  7858. _iframe.contentDocument.location.reload()
  7859. }
  7860. }
  7861. _jie.onclick = async () => {
  7862. let text = ''
  7863. if (aTool == 57) {
  7864. text = _iframe.contentWindow.getLoadXmlStr()
  7865. }
  7866. _loading.style.display = 'flex'
  7867. console.log(_loading);
  7868. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7869. _loading.style.display = 'none'
  7870. let _div = document.createElement('div')
  7871. _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;"
  7872. let _inner = document.createElement('div')
  7873. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7874. _inner.innerHTML = "上传成功"
  7875. _div.appendChild(_inner)
  7876. _iframe.contentWindow.window.document.body.appendChild(_div)
  7877. _div.onclick = () => {
  7878. _iframe.contentWindow.window.document.body.removeChild(_div)
  7879. }
  7880. setTimeout(() => {
  7881. _iframe.contentWindow.window.document.body.removeChild(_div)
  7882. }, 1000);
  7883. }, [], { "type": "POST", "withCredentials": true });
  7884. }
  7885. }
  7886. }
  7887. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7888. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7889. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7890. _userid = student.userid, //登录用户id
  7891. _username = student.student //用户名字
  7892. let _iframe;
  7893. let _cid = cid,
  7894. _stage = stage,
  7895. _task = task,
  7896. _tool = tool;
  7897. var _jie = $$("div", {
  7898. "style": {
  7899. "position": "absolute",
  7900. "bottom": "50px",
  7901. "right": "50px",
  7902. "zIndex": "9999",
  7903. "backgroundColor": "#2268bc",
  7904. "color": "#fff",
  7905. "padding": "12px 20px",
  7906. "cursor": "pointer",
  7907. "borderRadius": "4px",
  7908. },
  7909. "innerHTML": "提交作业"
  7910. })
  7911. let aTool = ''
  7912. let _loading = document.createElement('div')
  7913. _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;"
  7914. // _loading.id = "";
  7915. let _lchild = document.createElement('div')
  7916. let _limg = document.createElement('img')
  7917. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7918. _limg.style = "width: 26px;margin-right: 10px;"
  7919. _lchild.appendChild(_limg)
  7920. let _lspan = document.createElement('span')
  7921. _lspan.innerHTML = "上传中..."
  7922. _lchild.appendChild(_lspan)
  7923. _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%);"
  7924. _loading.appendChild(_lchild)
  7925. var _box = $$('div', {
  7926. "style": {
  7927. "position": "relative",
  7928. "width": "100%",
  7929. "height": "100%",
  7930. },
  7931. })
  7932. _box.appendChild(_loading)
  7933. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7934. switch (str) {
  7935. case "CocoPi":
  7936. aTool = 57;
  7937. _iframe = $$("iframe", {
  7938. "allowpaymentrequest": "allowpaymentrequest",
  7939. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7940. "webkitallowfullscreen": "",
  7941. "mozallowfullscreen": "",
  7942. "frameborder": "no",
  7943. "border": "0",
  7944. "scrolling ": "no",
  7945. "style": {
  7946. "cssText": "border:0;width:100%;height:100%"
  7947. },
  7948. "src": "https://pi.cocorobo.cn/"
  7949. })
  7950. _box.appendChild(_iframe);
  7951. _box.appendChild(_jie);
  7952. _formdiv = new U.UF.UI.form(
  7953. "CocoPi-" + _username,
  7954. _box, {
  7955. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7956. "style": {
  7957. "width": "90%",
  7958. "height": "90%",
  7959. "overflow": 'hidden'
  7960. },
  7961. "onresize": function () { }
  7962. }, {
  7963. closecallback: function () { }
  7964. }, {
  7965. "style": {
  7966. "height": "36px"
  7967. }
  7968. }).form; //创建窗体
  7969. _taskbar = {
  7970. "id": str + _formdiv.id,
  7971. "style": {
  7972. "backgroundImage": "url(/img/icon/cocopi.png)"
  7973. },
  7974. "name": "CocoPi",
  7975. "forms": _formdiv,
  7976. "click": function () {
  7977. U.MD.D.I.openApplication(str, obj, info);
  7978. }
  7979. }
  7980. break;
  7981. }
  7982. if (_iframe) {
  7983. if (str == 'CocoPi') {
  7984. _iframe = _formdiv.querySelector('iframe')
  7985. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7986. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7987. })
  7988. if (onloadListener) {
  7989. _iframe.contentDocument.location.reload()
  7990. } else {
  7991. _iframe.contentDocument.location.reload()
  7992. }
  7993. }
  7994. _jie.onclick = async () => {
  7995. let text = ''
  7996. if (aTool == 57) {
  7997. text = _iframe.contentWindow.getLoadXmlStr()
  7998. }
  7999. _loading.style.display = 'flex'
  8000. console.log(_loading);
  8001. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8002. _loading.style.display = 'none'
  8003. let _div = document.createElement('div')
  8004. _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;"
  8005. let _inner = document.createElement('div')
  8006. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8007. _inner.innerHTML = "上传成功"
  8008. _div.appendChild(_inner)
  8009. _iframe.contentWindow.window.document.body.appendChild(_div)
  8010. _div.onclick = () => {
  8011. _iframe.contentWindow.window.document.body.removeChild(_div)
  8012. }
  8013. setTimeout(() => {
  8014. _iframe.contentWindow.window.document.body.removeChild(_div)
  8015. }, 1000);
  8016. }, [], { "type": "POST", "withCredentials": true });
  8017. }
  8018. }
  8019. }
  8020. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8021. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8022. if (res.value[0].length > 0) {
  8023. if (atool == 57) {
  8024. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8025. }
  8026. } else {
  8027. if (atool == 57) {
  8028. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8029. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8030. }
  8031. }
  8032. }, [], { "type": "POST", "withCredentials": true });
  8033. }