DeskTop.js 465 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966
  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. ];
  51. //极简模式
  52. U.MD.D.I.easyDeskIcon = [
  53. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  54. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  55. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  57. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  58. ];
  59. //教师桌面图标的全局变量
  60. U.MD.D.I.teacherDeskIcon2 = [
  61. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  62. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  63. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  64. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  65. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  66. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  67. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  68. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  69. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  70. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  71. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  72. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  73. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  74. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  75. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  76. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  77. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  78. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  79. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  80. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  81. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  82. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  83. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  84. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  85. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  86. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  87. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  88. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  89. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  90. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  91. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  92. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  93. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  94. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  95. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  96. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  97. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  98. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  99. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  100. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  101. ];
  102. U.MD.D.I.studentDeskIcon = [
  103. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  104. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  105. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  106. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  107. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  108. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  109. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  110. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  111. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  112. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  113. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  114. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  115. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  116. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  117. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  118. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  119. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  120. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  121. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  122. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  123. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  124. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  125. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  126. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  127. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  128. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  129. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  130. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  131. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  132. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  133. ];
  134. U.MD.D.I.studentDeskIcon2 = [
  135. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  136. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  137. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  138. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  139. ]
  140. U.MD.D.I.studentDeskIcon3 = [
  141. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  142. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  143. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  144. ]
  145. U.MD.D.I.schoolDeskIcon = [
  146. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  147. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  148. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  149. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  150. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  151. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  152. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  153. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  154. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  155. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  156. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  157. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  158. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  159. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  160. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  161. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  162. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  163. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  164. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  165. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  166. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  167. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  168. ];
  169. U.MD.D.I.orgDeskIcon = [
  170. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  171. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  172. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  173. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  174. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  175. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  176. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  177. ];
  178. U.MD.D.I.orgStemDeskIcon = [
  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": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  182. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  183. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  184. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  185. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  186. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  187. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  188. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  189. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  190. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  191. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  192. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  193. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  194. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  195. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  196. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  197. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  198. ];
  199. U.MD.D.I.szulsDeskIcon = [
  200. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  201. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  202. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  203. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  204. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  205. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  206. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  207. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  208. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  209. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  210. ];
  211. U.MD.D.I.hanDeskIcon = [
  212. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  213. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  214. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  215. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  216. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  217. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  218. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  219. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  220. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  221. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  222. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  223. ];
  224. U.MD.D.I.GMteacherDeskIcon = [
  225. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  226. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  227. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  228. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  229. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  230. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  231. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  232. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  233. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  234. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  235. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  236. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  237. ];
  238. U.MD.D.I.GMstudentDeskIcon = [
  239. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  240. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  241. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  242. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  243. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  244. ];
  245. //北师大
  246. U.MD.D.I.BSDNSteacherDeskIcon = [
  247. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  248. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  249. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  250. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  251. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  252. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  253. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  254. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  255. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  256. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  257. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  258. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  259. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  260. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  261. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  262. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  263. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  264. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  265. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  266. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  267. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  268. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  269. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  270. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  271. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  272. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  273. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  274. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  275. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  276. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  277. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  278. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  279. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  280. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  281. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  282. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  283. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  284. ];
  285. //松山湖
  286. U.MD.D.I.SONGteacherDeskIcon = [
  287. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  288. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  289. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  290. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  291. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  292. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  293. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  294. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  295. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  296. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  297. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  298. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  299. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  300. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  301. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  302. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  303. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  304. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  305. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  306. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  307. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  308. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  309. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  310. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  311. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  312. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  313. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  314. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  315. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  316. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  317. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  318. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  319. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  320. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  321. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  322. ];
  323. U.MD.D.I.tcStudentDeskIcon = [
  324. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  325. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  326. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  327. ];
  328. U.MD.D.I.tcTeacherDeskIcon = [
  329. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  330. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  331. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  332. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  333. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  334. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  335. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  336. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  337. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  338. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  339. ];
  340. U.MD.D.I.tcOrganizerDeskIcon = [
  341. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  342. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  343. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  344. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  345. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  346. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  347. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  348. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  349. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  350. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  351. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  352. ];
  353. U.MD.D.I.szscStudentDeskIcon = [
  354. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  355. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  356. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  357. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  358. ];
  359. U.MD.D.I.szscTeacherDeskIcon = [
  360. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  361. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  362. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  363. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  364. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  365. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  366. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  367. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  368. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  369. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  370. ];
  371. U.MD.D.I.szscOrganizerDeskIcon = [
  372. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  373. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  374. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  375. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  376. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  377. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  378. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  379. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  380. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  381. ];
  382. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  383. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  384. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  385. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  386. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  387. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  388. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  389. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  390. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  391. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  392. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  393. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  394. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  395. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  396. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  397. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  398. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  399. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  400. ];
  401. U.MD.D.I.wankeAdminDeskIcon = [
  402. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  403. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  404. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  405. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  406. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  407. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  408. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  409. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  410. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  411. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  412. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  413. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  414. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  415. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  416. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  417. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  418. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  419. ];
  420. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  421. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  422. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  423. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  424. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  425. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  426. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  427. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  428. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  429. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  430. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  431. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  432. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  433. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  434. ];
  435. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  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": "项目管理", "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": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  443. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  444. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  445. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  446. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  447. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  448. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  449. ];
  450. //明德教师桌面图标的全局变量
  451. U.MD.D.I.MingdeTeacherDeskIcon = [
  452. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  453. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  454. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  455. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  456. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  457. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  458. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  459. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  460. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  461. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  462. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  463. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  464. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  465. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  466. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  467. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  468. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  469. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  470. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  471. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  472. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  473. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  474. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  475. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  476. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  477. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  478. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  479. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  480. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  481. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  482. ];
  483. //97c4ee8b-d010-4042-986d-e9d3c217264f
  484. //教师桌面图标的全局变量
  485. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  486. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  487. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  488. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  489. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  490. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  491. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  492. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  493. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  494. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  495. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  496. ];
  497. //福田
  498. U.MD.D.I.futianTeacherDeskIcon = [
  499. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  500. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  501. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  502. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  503. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  504. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  505. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  506. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  507. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  508. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  509. ];
  510. //福田
  511. U.MD.D.I.futianAdminDeskIcon = [
  512. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  513. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  514. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  515. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  516. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  517. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  518. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  519. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  520. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  521. ];
  522. //lotech
  523. U.MD.D.I.lotechTeacherDeskIcon = [
  524. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  525. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  526. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  527. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  528. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  529. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  530. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  531. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  532. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  533. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  534. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  535. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  536. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  537. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  538. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  539. ];
  540. //龙华中心小学教师桌面图标的全局变量
  541. U.MD.D.I.longhuateacherDeskIcon = [
  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": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  545. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  546. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  547. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  548. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  549. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  550. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  551. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  552. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  553. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  554. ];
  555. //教科院实小教师桌面图标的全局变量
  556. U.MD.D.I.siesteacherDeskIcon = [
  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": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  560. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  561. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  562. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  563. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  564. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  565. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  566. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  567. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  568. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  569. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  570. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  571. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  572. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  573. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  574. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  575. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  576. { "Name": "数据看板", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  577. ];
  578. //教科院实小教师桌面图标的全局变量
  579. U.MD.D.I.siesStudentDeskIcon = [
  580. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  581. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  582. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  583. ];
  584. //福田
  585. U.MD.D.I.gdjgTeacherDeskIcon = [
  586. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  587. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  588. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  589. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  590. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  591. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  592. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  593. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  594. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  595. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  596. ];
  597. //gdjg
  598. U.MD.D.I.gdjgAdminDeskIcon = [
  599. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  600. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  601. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  602. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  603. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  604. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  605. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  606. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  607. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  608. ];
  609. //hk
  610. U.MD.D.I.hkteacherDeskIcon = [
  611. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  612. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  613. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  614. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  615. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  616. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  617. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  618. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  619. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  620. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  621. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  622. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  623. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  624. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  625. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  627. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  628. ];
  629. //hk
  630. U.MD.D.I.hkStudentDeskIcon = [
  631. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  632. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  633. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  634. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  635. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  636. ];
  637. //香海正覺蓮社佛教正覺中學
  638. U.MD.D.I.hkZJLSteacherDeskIcon = [
  639. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  640. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  641. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  642. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  643. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  644. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  645. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  646. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  647. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  648. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  649. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  650. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.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. ];
  654. //香海正覺蓮社佛教正覺中學
  655. U.MD.D.I.hkZJLSStudentDeskIcon = [
  656. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  657. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  658. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  659. ];
  660. //云海
  661. U.MD.D.I.yunhaiTeacherDeskIcon = [
  662. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  663. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  664. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  665. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  666. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  667. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  668. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  669. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  670. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  671. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  672. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  673. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  674. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  675. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  676. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  677. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  678. ];
  679. //福田
  680. U.MD.D.I.heyuanTeacherDeskIcon = [
  681. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  682. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  683. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  684. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  685. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  686. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  687. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  688. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  689. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  690. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  691. ];
  692. //福田
  693. U.MD.D.I.heyuanAdminDeskIcon = [
  694. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  695. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  696. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  697. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  698. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  699. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  700. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  701. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  702. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  703. ];
  704. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  705. U.MD.D.I.szherTeacherDeskIcon = [
  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": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  709. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  710. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  711. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  712. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  713. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  714. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  715. ];
  716. //dsei
  717. U.MD.D.I.dseiTeacherDeskIcon = [
  718. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  719. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  720. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  721. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  722. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  723. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  724. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  725. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  726. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  727. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  728. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  729. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  730. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  731. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  732. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  733. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  734. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  735. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  736. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  737. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  738. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  739. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  740. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  741. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  742. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  743. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  744. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  745. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  746. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  747. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  748. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  749. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  750. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  751. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  752. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  753. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  754. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  755. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  756. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  757. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  758. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  759. ];
  760. //dsei
  761. U.MD.D.I.dseiAdminDeskIcon = [
  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": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  769. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  770. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  771. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  772. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  773. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  774. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  775. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  776. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  777. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  778. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  779. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  780. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  781. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  782. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  783. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  784. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  785. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  786. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  787. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  788. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  789. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  790. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  791. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  792. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  793. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  794. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  795. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  796. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  797. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  798. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  799. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  800. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  801. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  802. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  803. ];
  804. //dsei
  805. U.MD.D.I.dseiStudentDeskIcon = [
  806. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  807. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  808. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  809. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  810. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  811. ];
  812. //未来教育基地
  813. U.MD.D.I.szjkyTeacherDeskIcon = [
  814. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  815. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  816. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  817. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  818. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  819. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  820. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  821. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  822. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  823. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  824. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  825. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  826. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  827. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  828. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  829. ];
  830. //未来教育基地
  831. U.MD.D.I.szjkyAdminDeskIcon = [
  832. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  833. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  834. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  835. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  836. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  837. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  838. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  839. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  840. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  841. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  842. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  843. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  844. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  845. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  846. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  847. ];
  848. //未来教育基地
  849. U.MD.D.I.szjkyStudentDeskIcon = [
  850. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  851. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  852. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  853. ];
  854. //成华教育局
  855. U.MD.D.I.chjyjTeacherDeskIcon = [
  856. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  857. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  858. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  859. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  860. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  861. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  862. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  863. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  864. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  865. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  866. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  867. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  868. ];
  869. //成华教育局chjyj
  870. U.MD.D.I.chjyjAdminDeskIcon = [
  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": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  874. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  875. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  876. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  877. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  878. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  879. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  880. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  881. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  882. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  883. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  884. ];
  885. //成华教育局chjyj
  886. U.MD.D.I.chjyjStudentDeskIcon = [
  887. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  888. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  889. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  890. ];
  891. //tpc
  892. U.MD.D.I.tpcStudentDeskIcon = [
  893. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  894. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  895. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  896. ];
  897. //tpc
  898. U.MD.D.I.tpcTeacherDeskIcon = [
  899. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  900. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  901. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  902. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  903. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  904. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  905. ];
  906. //tpc
  907. U.MD.D.I.tpcAdminDeskIcon = [
  908. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  909. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  910. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  911. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  912. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  913. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  914. ];
  915. //THU-IOE
  916. U.MD.D.I.thuioeTeacherDeskIcon = [
  917. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  918. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  919. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  920. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  921. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  922. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  923. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  924. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  925. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  926. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  927. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  928. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  929. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  930. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  931. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  932. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  933. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  934. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  935. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  936. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  937. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  938. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  939. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  940. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  941. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  942. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  943. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  944. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  945. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  946. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  947. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  948. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  949. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  950. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  951. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  952. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  953. ];
  954. //THU-IOE
  955. U.MD.D.I.thuioeStudentDeskIcon = [
  956. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  957. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  958. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  959. ];
  960. //#region 桌面初始化a
  961. /**
  962. * 初始化桌面的起始函数
  963. *
  964. */
  965. U.MD.D.I.init = function () {
  966. if ($("#U_MD_D_K")[0]) {
  967. //初始化桌面图标
  968. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  969. // var clickUrl = ':12588/requestIp.php';
  970. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  971. // U.MD.D.I.Ip = data;
  972. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  973. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  974. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  975. // })
  976. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  977. // })
  978. }
  979. }
  980. /**
  981. * 模式切换
  982. *
  983. */
  984. U.MD.D.I.ModeCheck = function (type) {
  985. if (US.Config.type == type) {
  986. return
  987. }
  988. US.Config.type = type
  989. $('.U_PBL_Check .active')[0].className = ''
  990. if (type == 1) {
  991. $('.U_PBL_Check div')[0].className = 'active'
  992. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  993. } else {
  994. $('.U_PBL_Check div')[1].className = 'active'
  995. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  996. }
  997. //初始化桌面图标
  998. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  999. if (type == 2) {
  1000. U.MD.D.I.openApplication("project")
  1001. }
  1002. }
  1003. /**
  1004. * 隐藏任务栏
  1005. *
  1006. * @param {element} 桌面元素
  1007. */
  1008. U.MD.D.I.hiddenTaskbar = function (el) {
  1009. //任务栏位置变小
  1010. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1011. //桌面的位置变大
  1012. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1013. }
  1014. /**
  1015. * 隐藏任务栏
  1016. *
  1017. * @param {element} 桌面元素
  1018. */
  1019. U.MD.D.I.hiddenTaskbarout = function (el) {
  1020. //任务栏位置变小
  1021. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1022. //任务栏位置变化
  1023. U.selectEl(el).css({ "bottom": "-60px" });
  1024. //桌面的位置变大
  1025. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1026. }
  1027. }
  1028. /**
  1029. * 初始化打印桌面图标
  1030. *
  1031. * @param {element} 桌面元素
  1032. */
  1033. U.MD.D.I.initDesktopIcons = function (el, type) {
  1034. var i, //用于循环
  1035. _content, //桌面图标元素
  1036. _iconcontent, //桌面图标元素
  1037. _frag = $$("frag"), //定义一个碎片元素
  1038. _type = US.userInfo.type,
  1039. _org = US.userInfo.org,
  1040. _oid = US.userInfo.organizeid,
  1041. _role = US.userInfo.role,
  1042. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1043. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1044. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1045. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1046. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1047. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1048. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1049. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1050. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1051. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1052. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1053. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1054. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1055. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1056. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1057. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1058. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1059. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1060. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1061. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1062. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1063. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1064. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1065. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1066. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1067. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1068. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1069. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1070. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1071. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1072. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1073. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1074. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1075. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1076. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1077. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1078. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1079. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1080. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1081. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1082. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1083. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1084. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1085. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1086. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1087. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1088. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1089. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1090. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1091. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1092. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1093. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1094. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1095. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1096. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1097. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1098. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1099. 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'];
  1100. 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'];
  1101. //清楚桌面图标
  1102. el.innerHTML = "";
  1103. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1104. _teacherDesktopIconInfo.push(
  1105. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1106. { "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)" } },
  1107. )
  1108. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1109. }
  1110. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1111. _teacherDesktopIconInfo.push(
  1112. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1113. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1114. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1115. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1116. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1117. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1118. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1119. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1120. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1121. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1122. )
  1123. }
  1124. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1125. _teacherDesktopIconInfo.push(
  1126. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1127. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1128. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1129. )
  1130. }
  1131. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1132. _teacherDesktopIconInfo.push(
  1133. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1134. )
  1135. }
  1136. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1137. _teacherDesktopIconInfo.push(
  1138. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1139. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1140. )
  1141. _studentDesktopIconInfo.push(
  1142. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1143. )
  1144. }
  1145. //麒麟二中 和 民新小学
  1146. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1147. _teacherDesktopIconInfo.push(
  1148. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1149. )
  1150. }
  1151. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1152. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1153. _teacherDesktopIconInfo.push(
  1154. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1155. )
  1156. }
  1157. //麒麟二中
  1158. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1159. _studentDesktopIconInfo.push(
  1160. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1161. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1162. )
  1163. }
  1164. //万科双语
  1165. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1166. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1167. if (el.Name == '项目管理') {
  1168. el.Name = 'PBL项目'
  1169. }
  1170. return el
  1171. })
  1172. _studentDesktopIconInfo3.push(
  1173. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1174. )
  1175. }
  1176. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1177. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1178. return el.Name != '魔盒识字' && el.Name != '24点'
  1179. })
  1180. }
  1181. 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) {
  1182. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },)
  1183. }
  1184. //循环创建桌面图标
  1185. if (type == 1) {
  1186. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1187. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1188. _content = $$("div", {
  1189. className: "U_MD_D_KO",
  1190. "onmousedown": U.UF.C.closure(function (obj) {
  1191. //防止拖动图标即打开了桌面应用
  1192. U.MD.D.click(this, obj);
  1193. }, [_studentDesktopIconInfo[i]]),
  1194. "onclick": U.UF.C.closure(function (obj) {
  1195. //防止拖动图标即打开了桌面应用
  1196. U.MD.D.click(this, obj);
  1197. }, [_studentDesktopIconInfo[i]])
  1198. }, _frag); //
  1199. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1200. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1201. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1202. }
  1203. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1204. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1205. _content = $$("div", {
  1206. className: "U_MD_D_KO",
  1207. "onmousedown": U.UF.C.closure(function (obj) {
  1208. //防止拖动图标即打开了桌面应用
  1209. U.MD.D.click(this, obj);
  1210. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1211. "onclick": U.UF.C.closure(function (obj) {
  1212. //防止拖动图标即打开了桌面应用
  1213. U.MD.D.click(this, obj);
  1214. }, [_hkZJLSStudentDeskIconInfo[i]])
  1215. }, _frag); //
  1216. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1217. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1218. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1219. } //
  1220. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1221. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1222. _content = $$("div", {
  1223. className: "U_MD_D_KO",
  1224. "onmousedown": U.UF.C.closure(function (obj) {
  1225. //防止拖动图标即打开了桌面应用
  1226. U.MD.D.click(this, obj);
  1227. }, [_thuioeStudentDeskIconInfo[i]]),
  1228. "onclick": U.UF.C.closure(function (obj) {
  1229. //防止拖动图标即打开了桌面应用
  1230. U.MD.D.click(this, obj);
  1231. }, [_thuioeStudentDeskIconInfo[i]])
  1232. }, _frag); //
  1233. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1234. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1235. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1236. }
  1237. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1238. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1239. _content = $$("div", {
  1240. className: "U_MD_D_KO",
  1241. "onmousedown": U.UF.C.closure(function (obj) {
  1242. //防止拖动图标即打开了桌面应用
  1243. U.MD.D.click(this, obj);
  1244. }, [_tpcStudentDeskIconInfo[i]]),
  1245. "onclick": U.UF.C.closure(function (obj) {
  1246. //防止拖动图标即打开了桌面应用
  1247. U.MD.D.click(this, obj);
  1248. }, [_tpcStudentDeskIconInfo[i]])
  1249. }, _frag); //
  1250. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1251. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1252. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1253. } //
  1254. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1255. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1256. _content = $$("div", {
  1257. className: "U_MD_D_KO",
  1258. "onmousedown": U.UF.C.closure(function (obj) {
  1259. //防止拖动图标即打开了桌面应用
  1260. U.MD.D.click(this, obj);
  1261. }, [_chjyjStudentDeskIconInfo[i]]),
  1262. "onclick": U.UF.C.closure(function (obj) {
  1263. //防止拖动图标即打开了桌面应用
  1264. U.MD.D.click(this, obj);
  1265. }, [_chjyjStudentDeskIconInfo[i]])
  1266. }, _frag); //
  1267. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1268. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1269. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1270. }
  1271. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1272. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1273. _content = $$("div", {
  1274. className: "U_MD_D_KO",
  1275. "onmousedown": U.UF.C.closure(function (obj) {
  1276. //防止拖动图标即打开了桌面应用
  1277. U.MD.D.click(this, obj);
  1278. }, [_szjkyStudentDeskIconInfo[i]]),
  1279. "onclick": U.UF.C.closure(function (obj) {
  1280. //防止拖动图标即打开了桌面应用
  1281. U.MD.D.click(this, obj);
  1282. }, [_szjkyStudentDeskIconInfo[i]])
  1283. }, _frag); //
  1284. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1285. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1286. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1287. }
  1288. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1289. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1290. _content = $$("div", {
  1291. className: "U_MD_D_KO",
  1292. "onmousedown": U.UF.C.closure(function (obj) {
  1293. //防止拖动图标即打开了桌面应用
  1294. U.MD.D.click(this, obj);
  1295. }, [_dseiStudentDeskIconInfo[i]]),
  1296. "onclick": U.UF.C.closure(function (obj) {
  1297. //防止拖动图标即打开了桌面应用
  1298. U.MD.D.click(this, obj);
  1299. }, [_dseiStudentDeskIconInfo[i]])
  1300. }, _frag); //
  1301. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1302. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1303. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1304. }
  1305. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1306. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1307. _content = $$("div", {
  1308. className: "U_MD_D_KO",
  1309. "onmousedown": U.UF.C.closure(function (obj) {
  1310. //防止拖动图标即打开了桌面应用
  1311. U.MD.D.click(this, obj);
  1312. }, [_siesStudentDeskIconInfo[i]]),
  1313. "onclick": U.UF.C.closure(function (obj) {
  1314. //防止拖动图标即打开了桌面应用
  1315. U.MD.D.click(this, obj);
  1316. }, [_siesStudentDeskIconInfo[i]])
  1317. }, _frag); //
  1318. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1319. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1320. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1321. }
  1322. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1323. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1324. _content = $$("div", {
  1325. className: "U_MD_D_KO",
  1326. "onmousedown": U.UF.C.closure(function (obj) {
  1327. //防止拖动图标即打开了桌面应用
  1328. U.MD.D.click(this, obj);
  1329. }, [_hkStudentDeskIconInfo[i]]),
  1330. "onclick": U.UF.C.closure(function (obj) {
  1331. //防止拖动图标即打开了桌面应用
  1332. U.MD.D.click(this, obj);
  1333. }, [_hkStudentDeskIconInfo[i]])
  1334. }, _frag); //
  1335. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1336. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1337. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1338. }
  1339. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1340. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1341. _content = $$("div", {
  1342. className: "U_MD_D_KO",
  1343. "onmousedown": U.UF.C.closure(function (obj) {
  1344. //防止拖动图标即打开了桌面应用
  1345. U.MD.D.click(this, obj);
  1346. }, [_studentDesktopIconInfo[i]]),
  1347. "onclick": U.UF.C.closure(function (obj) {
  1348. //防止拖动图标即打开了桌面应用
  1349. U.MD.D.click(this, obj);
  1350. }, [_studentDesktopIconInfo[i]])
  1351. }, _frag); //
  1352. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1353. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1354. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1355. }
  1356. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1357. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1358. _content = $$("div", {
  1359. className: "U_MD_D_KO",
  1360. "onmousedown": U.UF.C.closure(function (obj) {
  1361. //防止拖动图标即打开了桌面应用
  1362. U.MD.D.click(this, obj);
  1363. }, [_tcStudentDeskIconInfo[i]]),
  1364. "onclick": U.UF.C.closure(function (obj) {
  1365. //防止拖动图标即打开了桌面应用
  1366. U.MD.D.click(this, obj);
  1367. }, [_tcStudentDeskIconInfo[i]])
  1368. }, _frag); //
  1369. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1370. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1371. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1372. }
  1373. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1374. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1375. _content = $$("div", {
  1376. className: "U_MD_D_KO",
  1377. "onmousedown": U.UF.C.closure(function (obj) {
  1378. //防止拖动图标即打开了桌面应用
  1379. U.MD.D.click(this, obj);
  1380. }, [_szscStudentDeskIconInfo[i]]),
  1381. "onclick": U.UF.C.closure(function (obj) {
  1382. //防止拖动图标即打开了桌面应用
  1383. U.MD.D.click(this, obj);
  1384. }, [_szscStudentDeskIconInfo[i]])
  1385. }, _frag); //
  1386. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1387. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1388. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1389. }
  1390. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1391. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1392. _content = $$("div", {
  1393. className: "U_MD_D_KO",
  1394. "onmousedown": U.UF.C.closure(function (obj) {
  1395. //防止拖动图标即打开了桌面应用
  1396. U.MD.D.click(this, obj);
  1397. }, [_studentDesktopIconInfo3[i]]),
  1398. "onclick": U.UF.C.closure(function (obj) {
  1399. //防止拖动图标即打开了桌面应用
  1400. U.MD.D.click(this, obj);
  1401. }, [_studentDesktopIconInfo3[i]])
  1402. }, _frag); //
  1403. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1404. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1405. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1406. }
  1407. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1408. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1409. _content = $$("div", {
  1410. className: "U_MD_D_KO",
  1411. "onmousedown": U.UF.C.closure(function (obj) {
  1412. //防止拖动图标即打开了桌面应用
  1413. U.MD.D.click(this, obj);
  1414. }, [_studentDesktopIconInfo2[i]]),
  1415. "onclick": U.UF.C.closure(function (obj) {
  1416. //防止拖动图标即打开了桌面应用
  1417. U.MD.D.click(this, obj);
  1418. }, [_studentDesktopIconInfo2[i]])
  1419. }, _frag); //
  1420. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1421. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1422. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1423. }
  1424. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1425. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1426. _content = $$("div", {
  1427. className: "U_MD_D_KO",
  1428. "onmousedown": U.UF.C.closure(function (obj) {
  1429. //防止拖动图标即打开了桌面应用
  1430. U.MD.D.click(this, obj);
  1431. }, [_wanketeacherDesktopIconInfo[i]]),
  1432. "onclick": U.UF.C.closure(function (obj) {
  1433. //防止拖动图标即打开了桌面应用
  1434. U.MD.D.click(this, obj);
  1435. }, [_wanketeacherDesktopIconInfo[i]])
  1436. }, _frag); //
  1437. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1438. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1439. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1440. }
  1441. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1442. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1443. _content = $$("div", {
  1444. className: "U_MD_D_KO",
  1445. "onmousedown": U.UF.C.closure(function (obj) {
  1446. //防止拖动图标即打开了桌面应用
  1447. U.MD.D.click(this, obj);
  1448. }, [_wankeAdminDesktopIconInfo[i]]),
  1449. "onclick": U.UF.C.closure(function (obj) {
  1450. //防止拖动图标即打开了桌面应用
  1451. U.MD.D.click(this, obj);
  1452. }, [_wankeAdminDesktopIconInfo[i]])
  1453. }, _frag); //
  1454. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1455. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1456. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1457. }
  1458. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1459. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1460. _content = $$("div", {
  1461. className: "U_MD_D_KO",
  1462. "onmousedown": U.UF.C.closure(function (obj) {
  1463. //防止拖动图标即打开了桌面应用
  1464. U.MD.D.click(this, obj);
  1465. }, [_tpcOrganizerDeskIconInfo[i]]),
  1466. "onclick": U.UF.C.closure(function (obj) {
  1467. //防止拖动图标即打开了桌面应用
  1468. U.MD.D.click(this, obj);
  1469. }, [_tpcOrganizerDeskIconInfo[i]])
  1470. }, _frag); //
  1471. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1472. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1473. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1474. }
  1475. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1476. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1477. _content = $$("div", {
  1478. className: "U_MD_D_KO",
  1479. "onmousedown": U.UF.C.closure(function (obj) {
  1480. //防止拖动图标即打开了桌面应用
  1481. U.MD.D.click(this, obj);
  1482. }, [_tpcTeacherDeskIconInfo[i]]),
  1483. "onclick": U.UF.C.closure(function (obj) {
  1484. //防止拖动图标即打开了桌面应用
  1485. U.MD.D.click(this, obj);
  1486. }, [_tpcTeacherDeskIconInfo[i]])
  1487. }, _frag); //
  1488. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1489. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1490. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1491. }
  1492. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1493. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1494. _content = $$("div", {
  1495. className: "U_MD_D_KO",
  1496. "onmousedown": U.UF.C.closure(function (obj) {
  1497. //防止拖动图标即打开了桌面应用
  1498. U.MD.D.click(this, obj);
  1499. }, [_teacherDesktopIconInfo2[i]]),
  1500. "onclick": U.UF.C.closure(function (obj) {
  1501. //防止拖动图标即打开了桌面应用
  1502. U.MD.D.click(this, obj);
  1503. }, [_teacherDesktopIconInfo2[i]])
  1504. }, _frag); //
  1505. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1506. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1507. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1508. }
  1509. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1510. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1511. _content = $$("div", {
  1512. className: "U_MD_D_KO",
  1513. "onmousedown": U.UF.C.closure(function (obj) {
  1514. //防止拖动图标即打开了桌面应用
  1515. U.MD.D.click(this, obj);
  1516. }, [_thuioeTeacherDeskIconInfo[i]]),
  1517. "onclick": U.UF.C.closure(function (obj) {
  1518. //防止拖动图标即打开了桌面应用
  1519. U.MD.D.click(this, obj);
  1520. }, [_thuioeTeacherDeskIconInfo[i]])
  1521. }, _frag); //
  1522. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1523. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1524. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1525. }
  1526. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1527. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1528. _content = $$("div", {
  1529. className: "U_MD_D_KO",
  1530. "onmousedown": U.UF.C.closure(function (obj) {
  1531. //防止拖动图标即打开了桌面应用
  1532. U.MD.D.click(this, obj);
  1533. }, [_lotechTeacherDeskIconInfo[i]]),
  1534. "onclick": U.UF.C.closure(function (obj) {
  1535. //防止拖动图标即打开了桌面应用
  1536. U.MD.D.click(this, obj);
  1537. }, [_lotechTeacherDeskIconInfo[i]])
  1538. }, _frag); //
  1539. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1540. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1541. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1542. }//
  1543. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1544. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1545. _content = $$("div", {
  1546. className: "U_MD_D_KO",
  1547. "onmousedown": U.UF.C.closure(function (obj) {
  1548. //防止拖动图标即打开了桌面应用
  1549. U.MD.D.click(this, obj);
  1550. }, [_siesTeacherDeskIconInfo[i]]),
  1551. "onclick": U.UF.C.closure(function (obj) {
  1552. //防止拖动图标即打开了桌面应用
  1553. U.MD.D.click(this, obj);
  1554. }, [_siesTeacherDeskIconInfo[i]])
  1555. }, _frag); //
  1556. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1557. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1558. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1559. }
  1560. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1561. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1562. _content = $$("div", {
  1563. className: "U_MD_D_KO",
  1564. "onmousedown": U.UF.C.closure(function (obj) {
  1565. //防止拖动图标即打开了桌面应用
  1566. U.MD.D.click(this, obj);
  1567. }, [_longhuaTeacherDeskIconInfo[i]]),
  1568. "onclick": U.UF.C.closure(function (obj) {
  1569. //防止拖动图标即打开了桌面应用
  1570. U.MD.D.click(this, obj);
  1571. }, [_longhuaTeacherDeskIconInfo[i]])
  1572. }, _frag); //
  1573. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1574. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1575. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1576. }
  1577. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1578. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1579. _content = $$("div", {
  1580. className: "U_MD_D_KO",
  1581. "onmousedown": U.UF.C.closure(function (obj) {
  1582. //防止拖动图标即打开了桌面应用
  1583. U.MD.D.click(this, obj);
  1584. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1585. "onclick": U.UF.C.closure(function (obj) {
  1586. //防止拖动图标即打开了桌面应用
  1587. U.MD.D.click(this, obj);
  1588. }, [_yunhaiTeacherDeskIconInfo[i]])
  1589. }, _frag); //
  1590. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1591. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1592. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1593. } //_hkStudentDeskIconInfo
  1594. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1595. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1596. _content = $$("div", {
  1597. className: "U_MD_D_KO",
  1598. "onmousedown": U.UF.C.closure(function (obj) {
  1599. //防止拖动图标即打开了桌面应用
  1600. U.MD.D.click(this, obj);
  1601. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1602. "onclick": U.UF.C.closure(function (obj) {
  1603. //防止拖动图标即打开了桌面应用
  1604. U.MD.D.click(this, obj);
  1605. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1606. }, _frag); //
  1607. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1608. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1609. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1610. }
  1611. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1612. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1613. _content = $$("div", {
  1614. className: "U_MD_D_KO",
  1615. "onmousedown": U.UF.C.closure(function (obj) {
  1616. //防止拖动图标即打开了桌面应用
  1617. U.MD.D.click(this, obj);
  1618. }, [_hkTeacherDeskIconInfo[i]]),
  1619. "onclick": U.UF.C.closure(function (obj) {
  1620. //防止拖动图标即打开了桌面应用
  1621. U.MD.D.click(this, obj);
  1622. }, [_hkTeacherDeskIconInfo[i]])
  1623. }, _frag); //
  1624. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1625. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1626. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1627. }
  1628. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1629. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1630. _content = $$("div", {
  1631. className: "U_MD_D_KO",
  1632. "onmousedown": U.UF.C.closure(function (obj) {
  1633. //防止拖动图标即打开了桌面应用
  1634. U.MD.D.click(this, obj);
  1635. }, [_gdjgAdminDeskIconInfo[i]]),
  1636. "onclick": U.UF.C.closure(function (obj) {
  1637. //防止拖动图标即打开了桌面应用
  1638. U.MD.D.click(this, obj);
  1639. }, [_gdjgAdminDeskIconInfo[i]])
  1640. }, _frag); //
  1641. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1642. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1643. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1644. }
  1645. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1646. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1647. _content = $$("div", {
  1648. className: "U_MD_D_KO",
  1649. "onmousedown": U.UF.C.closure(function (obj) {
  1650. //防止拖动图标即打开了桌面应用
  1651. U.MD.D.click(this, obj);
  1652. }, [_gdjgTeacherDeskIconInfo[i]]),
  1653. "onclick": U.UF.C.closure(function (obj) {
  1654. //防止拖动图标即打开了桌面应用
  1655. U.MD.D.click(this, obj);
  1656. }, [_gdjgTeacherDeskIconInfo[i]])
  1657. }, _frag); //
  1658. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1659. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1660. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1661. }
  1662. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1663. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1664. _content = $$("div", {
  1665. className: "U_MD_D_KO",
  1666. "onmousedown": U.UF.C.closure(function (obj) {
  1667. //防止拖动图标即打开了桌面应用
  1668. U.MD.D.click(this, obj);
  1669. }, [_szherTeacherDeskIconInfo[i]]),
  1670. "onclick": U.UF.C.closure(function (obj) {
  1671. //防止拖动图标即打开了桌面应用
  1672. U.MD.D.click(this, obj);
  1673. }, [_szherTeacherDeskIconInfo[i]])
  1674. }, _frag); //
  1675. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1676. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1677. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1678. }
  1679. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1680. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1681. _content = $$("div", {
  1682. className: "U_MD_D_KO",
  1683. "onmousedown": U.UF.C.closure(function (obj) {
  1684. //防止拖动图标即打开了桌面应用
  1685. U.MD.D.click(this, obj);
  1686. }, [_heyuannAdminDeskIconInfo[i]]),
  1687. "onclick": U.UF.C.closure(function (obj) {
  1688. //防止拖动图标即打开了桌面应用
  1689. U.MD.D.click(this, obj);
  1690. }, [_heyuannAdminDeskIconInfo[i]])
  1691. }, _frag); //
  1692. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1693. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1694. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1695. }
  1696. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1697. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1698. _content = $$("div", {
  1699. className: "U_MD_D_KO",
  1700. "onmousedown": U.UF.C.closure(function (obj) {
  1701. //防止拖动图标即打开了桌面应用
  1702. U.MD.D.click(this, obj);
  1703. }, [_heyuanTeacherDeskIconInfo[i]]),
  1704. "onclick": U.UF.C.closure(function (obj) {
  1705. //防止拖动图标即打开了桌面应用
  1706. U.MD.D.click(this, obj);
  1707. }, [_heyuanTeacherDeskIconInfo[i]])
  1708. }, _frag); //
  1709. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1710. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1711. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1712. } //
  1713. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1714. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1715. _content = $$("div", {
  1716. className: "U_MD_D_KO",
  1717. "onmousedown": U.UF.C.closure(function (obj) {
  1718. //防止拖动图标即打开了桌面应用
  1719. U.MD.D.click(this, obj);
  1720. }, [_dseiAdminDeskIconInfo[i]]),
  1721. "onclick": U.UF.C.closure(function (obj) {
  1722. //防止拖动图标即打开了桌面应用
  1723. U.MD.D.click(this, obj);
  1724. }, [_dseiAdminDeskIconInfo[i]])
  1725. }, _frag); //
  1726. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1727. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1728. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1729. }
  1730. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1731. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1732. _content = $$("div", {
  1733. className: "U_MD_D_KO",
  1734. "onmousedown": U.UF.C.closure(function (obj) {
  1735. //防止拖动图标即打开了桌面应用
  1736. U.MD.D.click(this, obj);
  1737. }, [_dseiTeacherDeskIconInfo[i]]),
  1738. "onclick": U.UF.C.closure(function (obj) {
  1739. //防止拖动图标即打开了桌面应用
  1740. U.MD.D.click(this, obj);
  1741. }, [_dseiTeacherDeskIconInfo[i]])
  1742. }, _frag); //
  1743. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1744. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1745. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1746. } //
  1747. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1748. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1749. _content = $$("div", {
  1750. className: "U_MD_D_KO",
  1751. "onmousedown": U.UF.C.closure(function (obj) {
  1752. //防止拖动图标即打开了桌面应用
  1753. U.MD.D.click(this, obj);
  1754. }, [_chjyjAdminDeskIconInfo[i]]),
  1755. "onclick": U.UF.C.closure(function (obj) {
  1756. //防止拖动图标即打开了桌面应用
  1757. U.MD.D.click(this, obj);
  1758. }, [_chjyjAdminDeskIconInfo[i]])
  1759. }, _frag); //
  1760. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1761. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1762. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1763. }//
  1764. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1765. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1766. _content = $$("div", {
  1767. className: "U_MD_D_KO",
  1768. "onmousedown": U.UF.C.closure(function (obj) {
  1769. //防止拖动图标即打开了桌面应用
  1770. U.MD.D.click(this, obj);
  1771. }, [_chjyjTeacherDeskIconInfo[i]]),
  1772. "onclick": U.UF.C.closure(function (obj) {
  1773. //防止拖动图标即打开了桌面应用
  1774. U.MD.D.click(this, obj);
  1775. }, [_chjyjTeacherDeskIconInfo[i]])
  1776. }, _frag); //
  1777. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1778. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1779. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1780. }
  1781. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1782. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1783. _content = $$("div", {
  1784. className: "U_MD_D_KO",
  1785. "onmousedown": U.UF.C.closure(function (obj) {
  1786. //防止拖动图标即打开了桌面应用
  1787. U.MD.D.click(this, obj);
  1788. }, [_szjkyAdminDeskIconInfo[i]]),
  1789. "onclick": U.UF.C.closure(function (obj) {
  1790. //防止拖动图标即打开了桌面应用
  1791. U.MD.D.click(this, obj);
  1792. }, [_szjkyAdminDeskIconInfo[i]])
  1793. }, _frag); //
  1794. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1795. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1796. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1797. }//
  1798. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1799. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1800. _content = $$("div", {
  1801. className: "U_MD_D_KO",
  1802. "onmousedown": U.UF.C.closure(function (obj) {
  1803. //防止拖动图标即打开了桌面应用
  1804. U.MD.D.click(this, obj);
  1805. }, [_szjkyTeacherDeskIconInfo[i]]),
  1806. "onclick": U.UF.C.closure(function (obj) {
  1807. //防止拖动图标即打开了桌面应用
  1808. U.MD.D.click(this, obj);
  1809. }, [_szjkyTeacherDeskIconInfo[i]])
  1810. }, _frag); //
  1811. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1812. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1813. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1814. }
  1815. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1816. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1817. _content = $$("div", {
  1818. className: "U_MD_D_KO",
  1819. "onmousedown": U.UF.C.closure(function (obj) {
  1820. //防止拖动图标即打开了桌面应用
  1821. U.MD.D.click(this, obj);
  1822. }, [_futianAdminDeskIconInfo[i]]),
  1823. "onclick": U.UF.C.closure(function (obj) {
  1824. //防止拖动图标即打开了桌面应用
  1825. U.MD.D.click(this, obj);
  1826. }, [_futianAdminDeskIconInfo[i]])
  1827. }, _frag); //
  1828. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1829. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1830. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1831. }
  1832. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1833. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1834. _content = $$("div", {
  1835. className: "U_MD_D_KO",
  1836. "onmousedown": U.UF.C.closure(function (obj) {
  1837. //防止拖动图标即打开了桌面应用
  1838. U.MD.D.click(this, obj);
  1839. }, [_futianTeacherDeskIconInfo[i]]),
  1840. "onclick": U.UF.C.closure(function (obj) {
  1841. //防止拖动图标即打开了桌面应用
  1842. U.MD.D.click(this, obj);
  1843. }, [_futianTeacherDeskIconInfo[i]])
  1844. }, _frag); //
  1845. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1846. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1847. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1848. }
  1849. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1850. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1851. _content = $$("div", {
  1852. className: "U_MD_D_KO",
  1853. "onmousedown": U.UF.C.closure(function (obj) {
  1854. //防止拖动图标即打开了桌面应用
  1855. U.MD.D.click(this, obj);
  1856. }, [_MingdeTeacherDeskIcon[i]]),
  1857. "onclick": U.UF.C.closure(function (obj) {
  1858. //防止拖动图标即打开了桌面应用
  1859. U.MD.D.click(this, obj);
  1860. }, [_MingdeTeacherDeskIcon[i]])
  1861. }, _frag); //
  1862. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1863. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1864. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1865. }
  1866. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1867. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1868. _content = $$("div", {
  1869. className: "U_MD_D_KO",
  1870. "onmousedown": U.UF.C.closure(function (obj) {
  1871. //防止拖动图标即打开了桌面应用
  1872. U.MD.D.click(this, obj);
  1873. }, [_lhsAdminDesktopIconInfo[i]]),
  1874. "onclick": U.UF.C.closure(function (obj) {
  1875. //防止拖动图标即打开了桌面应用
  1876. U.MD.D.click(this, obj);
  1877. }, [_lhsAdminDesktopIconInfo[i]])
  1878. }, _frag); //
  1879. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1880. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1881. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1882. }
  1883. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1884. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1885. _content = $$("div", {
  1886. className: "U_MD_D_KO",
  1887. "onmousedown": U.UF.C.closure(function (obj) {
  1888. //防止拖动图标即打开了桌面应用
  1889. U.MD.D.click(this, obj);
  1890. }, [_lhsteacherDesktopIconInfo[i]]),
  1891. "onclick": U.UF.C.closure(function (obj) {
  1892. //防止拖动图标即打开了桌面应用
  1893. U.MD.D.click(this, obj);
  1894. }, [_lhsteacherDesktopIconInfo[i]])
  1895. }, _frag); //
  1896. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1897. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1898. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1899. }
  1900. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1901. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1902. _content = $$("div", {
  1903. className: "U_MD_D_KO",
  1904. "onmousedown": U.UF.C.closure(function (obj) {
  1905. //防止拖动图标即打开了桌面应用
  1906. U.MD.D.click(this, obj);
  1907. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1908. "onclick": U.UF.C.closure(function (obj) {
  1909. //防止拖动图标即打开了桌面应用
  1910. U.MD.D.click(this, obj);
  1911. }, [_zhoujiateacherDesktopIconInfo[i]])
  1912. }, _frag); //
  1913. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1914. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1915. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1916. }
  1917. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1918. for (i = 0; i < _hanDeskIcon.length; i++) {
  1919. _content = $$("div", {
  1920. className: "U_MD_D_KO",
  1921. "onmousedown": U.UF.C.closure(function (obj) {
  1922. //防止拖动图标即打开了桌面应用
  1923. U.MD.D.click(this, obj);
  1924. }, [_hanDeskIcon[i]]),
  1925. "onclick": U.UF.C.closure(function (obj) {
  1926. //防止拖动图标即打开了桌面应用
  1927. U.MD.D.click(this, obj);
  1928. }, [_hanDeskIcon[i]])
  1929. }, _frag); //
  1930. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1931. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1932. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1933. }
  1934. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1935. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1936. _content = $$("div", {
  1937. className: "U_MD_D_KO",
  1938. "onmousedown": U.UF.C.closure(function (obj) {
  1939. //防止拖动图标即打开了桌面应用
  1940. U.MD.D.click(this, obj);
  1941. }, [_orgStemDeskIcon[i]]),
  1942. "onclick": U.UF.C.closure(function (obj) {
  1943. //防止拖动图标即打开了桌面应用
  1944. U.MD.D.click(this, obj);
  1945. }, [_orgStemDeskIcon[i]])
  1946. }, _frag); //
  1947. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1948. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1949. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1950. }
  1951. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1952. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1953. _content = $$("div", {
  1954. className: "U_MD_D_KO",
  1955. "onmousedown": U.UF.C.closure(function (obj) {
  1956. //防止拖动图标即打开了桌面应用
  1957. U.MD.D.click(this, obj);
  1958. }, [_szulsDeskIcon[i]]),
  1959. "onclick": U.UF.C.closure(function (obj) {
  1960. //防止拖动图标即打开了桌面应用
  1961. U.MD.D.click(this, obj);
  1962. }, [_szulsDeskIcon[i]])
  1963. }, _frag); //
  1964. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1965. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1966. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1967. }
  1968. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1969. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1970. _content = $$("div", {
  1971. className: "U_MD_D_KO",
  1972. "onmousedown": U.UF.C.closure(function (obj) {
  1973. //防止拖动图标即打开了桌面应用
  1974. U.MD.D.click(this, obj);
  1975. }, [_orgDesktopIconInfo[i]]),
  1976. "onclick": U.UF.C.closure(function (obj) {
  1977. //防止拖动图标即打开了桌面应用
  1978. U.MD.D.click(this, obj);
  1979. }, [_orgDesktopIconInfo[i]])
  1980. }, _frag); //
  1981. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1982. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1983. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1984. }
  1985. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1986. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1987. _content = $$("div", {
  1988. className: "U_MD_D_KO",
  1989. "onmousedown": U.UF.C.closure(function (obj) {
  1990. //防止拖动图标即打开了桌面应用
  1991. U.MD.D.click(this, obj);
  1992. }, [_schoolDesktopIconInfo[i]]),
  1993. "onclick": U.UF.C.closure(function (obj) {
  1994. //防止拖动图标即打开了桌面应用
  1995. U.MD.D.click(this, obj);
  1996. }, [_schoolDesktopIconInfo[i]])
  1997. }, _frag); //
  1998. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1999. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2000. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2001. }
  2002. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2003. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2004. _content = $$("div", {
  2005. className: "U_MD_D_KO",
  2006. "onmousedown": U.UF.C.closure(function (obj) {
  2007. //防止拖动图标即打开了桌面应用
  2008. U.MD.D.click(this, obj);
  2009. }, [_GMteacherDesktopIconInfo[i]]),
  2010. "onclick": U.UF.C.closure(function (obj) {
  2011. //防止拖动图标即打开了桌面应用
  2012. U.MD.D.click(this, obj);
  2013. }, [_GMteacherDesktopIconInfo[i]])
  2014. }, _frag); //
  2015. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2016. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2017. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2018. }
  2019. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2020. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2021. _content = $$("div", {
  2022. className: "U_MD_D_KO",
  2023. "onmousedown": U.UF.C.closure(function (obj) {
  2024. //防止拖动图标即打开了桌面应用
  2025. U.MD.D.click(this, obj);
  2026. }, [_SONGteacherDesktopIconInfo[i]]),
  2027. "onclick": U.UF.C.closure(function (obj) {
  2028. //防止拖动图标即打开了桌面应用
  2029. U.MD.D.click(this, obj);
  2030. }, [_SONGteacherDesktopIconInfo[i]])
  2031. }, _frag); //
  2032. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2033. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2034. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2035. }
  2036. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2037. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2038. _content = $$("div", {
  2039. className: "U_MD_D_KO",
  2040. "onmousedown": U.UF.C.closure(function (obj) {
  2041. //防止拖动图标即打开了桌面应用
  2042. U.MD.D.click(this, obj);
  2043. }, [_GMstudentDesktopIconInfo[i]]),
  2044. "onclick": U.UF.C.closure(function (obj) {
  2045. //防止拖动图标即打开了桌面应用
  2046. U.MD.D.click(this, obj);
  2047. }, [_GMstudentDesktopIconInfo[i]])
  2048. }, _frag); //
  2049. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2050. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2051. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2052. }
  2053. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2054. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2055. _content = $$("div", {
  2056. className: "U_MD_D_KO",
  2057. "onmousedown": U.UF.C.closure(function (obj) {
  2058. //防止拖动图标即打开了桌面应用
  2059. U.MD.D.click(this, obj);
  2060. }, [_tcTeacherDeskIconInfo[i]]),
  2061. "onclick": U.UF.C.closure(function (obj) {
  2062. //防止拖动图标即打开了桌面应用
  2063. U.MD.D.click(this, obj);
  2064. }, [_tcTeacherDeskIconInfo[i]])
  2065. }, _frag); //
  2066. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2067. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2068. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2069. }
  2070. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2071. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2072. _content = $$("div", {
  2073. className: "U_MD_D_KO",
  2074. "onmousedown": U.UF.C.closure(function (obj) {
  2075. //防止拖动图标即打开了桌面应用
  2076. U.MD.D.click(this, obj);
  2077. }, [_tcOrganizerDeskIconInfo[i]]),
  2078. "onclick": U.UF.C.closure(function (obj) {
  2079. //防止拖动图标即打开了桌面应用
  2080. U.MD.D.click(this, obj);
  2081. }, [_tcOrganizerDeskIconInfo[i]])
  2082. }, _frag); //
  2083. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2084. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2085. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2086. }
  2087. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2088. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2089. _content = $$("div", {
  2090. className: "U_MD_D_KO",
  2091. "onmousedown": U.UF.C.closure(function (obj) {
  2092. //防止拖动图标即打开了桌面应用
  2093. U.MD.D.click(this, obj);
  2094. }, [_szscTeacherDeskIconInfo[i]]),
  2095. "onclick": U.UF.C.closure(function (obj) {
  2096. //防止拖动图标即打开了桌面应用
  2097. U.MD.D.click(this, obj);
  2098. }, [_szscTeacherDeskIconInfo[i]])
  2099. }, _frag); //
  2100. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2101. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2102. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2103. }
  2104. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2105. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2106. _content = $$("div", {
  2107. className: "U_MD_D_KO",
  2108. "onmousedown": U.UF.C.closure(function (obj) {
  2109. //防止拖动图标即打开了桌面应用
  2110. U.MD.D.click(this, obj);
  2111. }, [_szscOrganizerDeskIconInfo[i]]),
  2112. "onclick": U.UF.C.closure(function (obj) {
  2113. //防止拖动图标即打开了桌面应用
  2114. U.MD.D.click(this, obj);
  2115. }, [_szscOrganizerDeskIconInfo[i]])
  2116. }, _frag); //
  2117. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2118. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2119. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2120. }
  2121. } else {
  2122. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2123. _content = $$("div", {
  2124. className: "U_MD_D_KO",
  2125. "onmousedown": U.UF.C.closure(function (obj) {
  2126. //防止拖动图标即打开了桌面应用
  2127. U.MD.D.click(this, obj);
  2128. }, [_teacherDesktopIconInfo[i]]),
  2129. "onclick": U.UF.C.closure(function (obj) {
  2130. //防止拖动图标即打开了桌面应用
  2131. U.MD.D.click(this, obj);
  2132. }, [_teacherDesktopIconInfo[i]])
  2133. }, _frag); //
  2134. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2135. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2136. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2137. }
  2138. }
  2139. } else {
  2140. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2141. _content = $$("div", {
  2142. className: "U_MD_D_KO",
  2143. style: { 'width': '124px', 'height': '145px' },
  2144. "onmousedown": U.UF.C.closure(function (obj) {
  2145. //防止拖动图标即打开了桌面应用
  2146. U.MD.D.click(this, obj);
  2147. }, [_easyDesktopIconInfo[i]]),
  2148. "onclick": U.UF.C.closure(function (obj) {
  2149. //防止拖动图标即打开了桌面应用
  2150. U.MD.D.click(this, obj);
  2151. }, [_easyDesktopIconInfo[i]])
  2152. }, _frag); //
  2153. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2154. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2155. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2156. }
  2157. }
  2158. if (type == 1) {
  2159. //加载好后给图标定位
  2160. U.MD.D.iconPostion($(_frag).Child());
  2161. } else {
  2162. //加载好后给图标定位
  2163. U.MD.D.iconPostion2($(_frag).Child());
  2164. }
  2165. //把图标加载到页面
  2166. el.appendChild(_frag);
  2167. }
  2168. /**
  2169. * 显示任务栏
  2170. *
  2171. * @param {element} 桌面元素
  2172. */
  2173. U.MD.D.I.displayTaskbar = function (el) {
  2174. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2175. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2176. //任务栏位置变化
  2177. U.selectEl(el).css({ "bottom": "0px" });
  2178. //桌面位置变话
  2179. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2180. }
  2181. }
  2182. //#region 桌面图标拖动逻辑
  2183. /**
  2184. * 桌面排列图标
  2185. *
  2186. * @param {element} 桌面元素
  2187. * @param {object} 上下相距的距离
  2188. * @param {object} 左右相距的距离
  2189. * @return {object} 命名空间
  2190. */
  2191. U.MD.D.iconPostion = function (childs, top, left) {
  2192. var i; //用于循环处理
  2193. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2194. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2195. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2196. for (i = 0; i < childs.length; i++) {
  2197. //如果竖排top超过了范围处理
  2198. if (top + 95 > US.height - 10) {
  2199. //left超过了页面范围处理,则向上重叠打印处理
  2200. if ((left + 180) > US.width) {
  2201. top -= 110;
  2202. left -= 90;
  2203. }
  2204. //没有超过范围,那么left+90添加到下一个竖排打印
  2205. else {
  2206. left += 90;
  2207. top = 15;
  2208. };
  2209. }
  2210. //给图标的位置赋值
  2211. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2212. if (i < childs.length - 1) {
  2213. //页面图标每次向下加95
  2214. top += 95;
  2215. }
  2216. }
  2217. //返回最后调用的图标的位置
  2218. return [top, left];
  2219. }
  2220. /**
  2221. * 桌面排列图标
  2222. *
  2223. * @param {element} 桌面元素
  2224. * @param {object} 上下相距的距离
  2225. * @param {object} 左右相距的距离
  2226. * @return {object} 命名空间
  2227. */
  2228. U.MD.D.iconPostion2 = function (childs, top, left) {
  2229. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2230. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2231. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2232. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2233. for (i = 0; i < childs.length; i++) {
  2234. //如果竖排top超过了范围处理
  2235. if (left + 150 > US.width - 10) {
  2236. //left超过了页面范围处理,则向上重叠打印处理
  2237. if ((top + 180) > US.Height) {
  2238. top -= 150;
  2239. left -= 150;
  2240. }
  2241. //没有超过范围,那么left+90添加到下一个竖排打印
  2242. else {
  2243. top += 150;
  2244. left = ol;
  2245. };
  2246. }
  2247. //给图标的位置赋值
  2248. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2249. if (i < childs.length - 1) {
  2250. //页面图标每次向下加95
  2251. left += 150;
  2252. }
  2253. }
  2254. //返回最后调用的图标的位置
  2255. return [top, left];
  2256. }
  2257. /**
  2258. * 桌面点击事件逻辑
  2259. *
  2260. * @param {element} 桌面元素
  2261. * @param {object} 上下相距的距离
  2262. * @param {object} 左右相距的距离
  2263. * @return {object} 命名空间
  2264. */
  2265. U.MD.D.click = function (el, obj) {
  2266. var _buttonnumber = event.button; //点击的按钮的事件值
  2267. var _userinfo = US.userInfo;
  2268. U.UF.EV.stopBubble(); //阻止向上冒泡
  2269. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2270. if (_buttonnumber < 2) {
  2271. //如果是click事件的处理
  2272. if (event.type == "click") {
  2273. //如果元素在mousemove事件中没有移动则出发click事件
  2274. if (!U.MD.D.I.IsDrag) {
  2275. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2276. U.alert("请先登录您的账号!");
  2277. setTimeout(() => {
  2278. U.MD.U.L.login();
  2279. }, 2000);
  2280. } else {
  2281. //打开应用处理
  2282. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2283. }
  2284. }
  2285. }
  2286. //如果是mouse事件的处理
  2287. else {
  2288. if (US.Config.type == '1') {
  2289. //拖动处理,添加拖动和拖动结束事件
  2290. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2291. }
  2292. }
  2293. U.MD.D.I.IsDrag = false;
  2294. }
  2295. }
  2296. /**
  2297. * 拖动的处理
  2298. *
  2299. */
  2300. U.MD.D.iconMove = function () {
  2301. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2302. U.MD.D.I.IsDrag = true;
  2303. }
  2304. /**
  2305. * 拖动结束后,这里是定位处理,以网状的形式定位
  2306. *
  2307. * @param {element} 拖动的元素
  2308. * @return {object} 命名空间
  2309. */
  2310. U.MD.D.iconUp = function (el) {
  2311. var _top = 15,
  2312. _left = 20,
  2313. _margin,
  2314. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2315. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2316. if (_positioninfo["OT"] > 15) {
  2317. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2318. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2319. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2320. }
  2321. if (_positioninfo["OL"] > 20) {
  2322. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2323. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2324. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2325. }
  2326. //while循环判断么一个重叠的元素
  2327. do {
  2328. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2329. _top = _positioninfo[0] + 95; //得到定位后的top
  2330. _left = _positioninfo[1]; //得到定位后的left
  2331. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2332. }
  2333. /**
  2334. * 判断拖动后图标是否重叠
  2335. *
  2336. * @param {element} 拖动的元素
  2337. * @param {element} 桌面所有的元素
  2338. * @param {array} 拖动元素的位置
  2339. ----------[0] 上 top
  2340. ----------[1] 左 left
  2341. * @return {object} 命名空间
  2342. */
  2343. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2344. //循环所有的图标
  2345. for (var i = 0; i < childs.length; i++) {
  2346. //判断有没有和该图标诶子重叠的元素
  2347. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2348. return childs[i]; //如果有返回
  2349. }
  2350. }
  2351. }
  2352. //#endregion
  2353. //#endregion
  2354. //#region 桌面应用
  2355. /**
  2356. * 打开应用
  2357. *
  2358. * @param {string} 类型
  2359. -----------------Disk 网盘系统
  2360. -----------------PDisk 学习系统网盘
  2361. -----------------Poto 图片
  2362. -----------------Video 视频
  2363. -----------------Music 音乐
  2364. -----------------Word word
  2365. -----------------Excel excel
  2366. -----------------Txt 记事本
  2367. -----------------PB 学习系统
  2368. -----------------Blog 朋友圈系统
  2369. -----------------FTP ftp系统
  2370. -----------------Group 好友群
  2371. -----------------SY 首页系统
  2372. -----------------Set 个人设置
  2373. -----------------XSet 系统设置
  2374. -----------------App 我们所有的app
  2375. -----------------BC c.1473.cn 平台
  2376. -----------------CWeb d.1473.cn 变成平台
  2377. -----------------其他的外联系统 我们统一用iframe打开
  2378. * @param {array} 类型
  2379. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2380. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2381. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2382. 如果第一个参数为其他,则无第二个参数
  2383. * @returns {array}
  2384. */
  2385. window.addEventListener('message', function (e) { // 监听 message 事件
  2386. // alert(e.data.type);
  2387. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2388. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2389. //3是展示全部阶段 2学生 1老师 4专家
  2390. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2391. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2392. //3是展示全部阶段 2学生 1老师 4专家
  2393. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2394. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2395. //3是展示全部阶段 2学生 1老师 4专家
  2396. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2397. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2398. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2399. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2400. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2401. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2402. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2403. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2404. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2405. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2406. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2407. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2408. //3是展示全部阶段 2学生 1老师 4专家
  2409. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2410. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2411. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2412. U.MD.D.I.selectUser();
  2413. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2414. var _formel = document.getElementById("study");
  2415. U.UF.F.windowZooming(_formel);
  2416. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2417. var _formel = document.getElementById("studyDetail");
  2418. U.UF.F.windowZooming(_formel);
  2419. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2420. var _formel = document.getElementById("studyDetail");
  2421. U.UF.F.windowZooming(_formel);
  2422. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2423. var _formel = document.getElementById("studentStudy");
  2424. U.UF.F.windowZooming(_formel);
  2425. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2426. // var _formel = document.getElementById("study");
  2427. //如果最大化了,那么就把他缩小
  2428. // if (_formel.ismaximize) {
  2429. // return;
  2430. // }
  2431. // U.UF.F.windowZooming(_formel);
  2432. // U.UF.F.topWindow(_formel);
  2433. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2434. // var _formel = document.getElementById("studyDetail");
  2435. //如果最大化了,那么就把他缩小
  2436. // if (_formel.ismaximize) {
  2437. // return;
  2438. // }
  2439. // U.UF.F.windowZooming(_formel);
  2440. // U.UF.F.topWindow(_formel);
  2441. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2442. // var _formel = document.getElementById("studentStudy");
  2443. // if (_formel.ismaximize) {
  2444. // return;
  2445. // }
  2446. // U.UF.F.windowZooming(_formel);
  2447. // U.UF.F.topWindow(_formel);
  2448. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2449. var _formel = document.getElementById("study");
  2450. // if (_formel.ismaximize) {
  2451. // return;
  2452. // }
  2453. // U.UF.F.windowZooming(_formel);
  2454. U.UF.F.topWindow(_formel);
  2455. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2456. var _formel = document.getElementById("studentIndex");
  2457. U.UF.F.windowZooming(_formel);
  2458. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2459. var _formel = document.getElementById("studyDetailS");
  2460. U.UF.F.windowZooming(_formel);
  2461. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2462. var _formel = document.getElementById("studioIndex");
  2463. U.UF.F.windowZooming(_formel);
  2464. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2465. var _formel = document.getElementById("studyDetailStudio");
  2466. U.UF.F.windowZooming(_formel);
  2467. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2468. var _formel = document.getElementById("studyDetailStudio");
  2469. U.UF.F.windowZooming(_formel);
  2470. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2471. var _formel = document.getElementById("studyDetailNT");
  2472. U.UF.F.windowZooming(_formel);
  2473. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2474. var _formel = document.getElementById("studyDetailS");
  2475. U.UF.F.windowZooming(_formel);
  2476. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2477. var _formel = document.getElementById("studyDetailS");
  2478. U.UF.F.topWindow(_formel);
  2479. } else if (e.data.tools && e.data.tools == "1") {
  2480. // U.MD.D.I.openApplication("whiteboard")
  2481. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2482. } else if (e.data.tools && e.data.tools == "2") {
  2483. U.MD.D.I.openApplication("note")
  2484. } else if (e.data.tools && e.data.tools == "3") {
  2485. // U.MD.D.I.openApplication("mind")
  2486. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2487. } else if (e.data.tools && e.data.tools == "4") {
  2488. U.MD.D.I.openApplication("investigation")
  2489. } else if (e.data.tools && e.data.tools == "6") {
  2490. // U.MD.D.I.openApplication("doc")
  2491. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2492. } else if (e.data.tools && e.data.tools == "7") {
  2493. // U.MD.D.I.openApplication("mindNetwork")
  2494. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2495. } else if (e.data.tools && e.data.tools == "8") {
  2496. U.MD.D.I.openApplication("library")
  2497. } else if (e.data.tools && e.data.tools == "17") {
  2498. U.MD.D.I.openApplication("stuLibrary")
  2499. } else if (e.data.tools && e.data.tools == "18") {
  2500. U.MD.D.I.openApplication("train")
  2501. } else if (e.data.tools && e.data.tools == "21") {
  2502. U.MD.D.I.openApplication("program")
  2503. } else if (e.data.tools && e.data.tools == "22") {
  2504. U.MD.D.I.openApplication("AIprogram2")
  2505. } else if (e.data.tools && e.data.tools == "23") {
  2506. U.MD.D.I.openApplication("Pythonprogram")
  2507. } else if (e.data.tools && e.data.tools == "24") {
  2508. U.MD.D.I.openApplication("AIprogram")
  2509. } else if (e.data.tools && e.data.tools == "25") {
  2510. U.MD.D.I.openApplication("sys")
  2511. } else if (e.data.tools && e.data.tools == "26") {
  2512. // U.MD.D.I.openApplication("courseDesign")
  2513. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2514. } else if (e.data.tools && e.data.tools == "31") {
  2515. U.MD.D.I.openApplication("netWorkPanel")
  2516. } else if (e.data.tools && e.data.tools == "32") {
  2517. U.MD.D.I.openApplication("codeEdit")
  2518. } else if (e.data.tools && e.data.tools == "57") {
  2519. U.MD.D.I.openApplication("CocoPi")
  2520. } else if (e.data.tools && e.data.tools == "63") {
  2521. U.MD.D.I.openApplication("Wood")
  2522. } else if (e.data.tools && e.data.tools == "58") {
  2523. U.MD.D.I.openApplication("car")
  2524. } else if (e.data.tools && e.data.tools == "59") {
  2525. U.MD.D.I.openApplication("lineSearch")
  2526. } else if (e.data.tools && e.data.tools == "60") {
  2527. U.MD.D.I.openApplication("deepLearning")
  2528. } else if (e.data.tools && e.data.tools == "61") {
  2529. U.MD.D.I.openApplication("allHistory")
  2530. } else if (e.data.tools && e.data.tools == "28") {
  2531. U.MD.D.I.openApplication("translation")
  2532. } else if (e.data.tools && e.data.tools == "37") {
  2533. U.MD.D.I.openApplication("mohe")
  2534. } else if (e.data.tools && e.data.tools == "38") {
  2535. U.MD.D.I.openApplication("24game")
  2536. } else if (e.data.tools && e.data.tools == "39") {
  2537. U.MD.D.I.openApplication("GeoGebra")
  2538. } else if (e.data.tools && e.data.tools == "43") {
  2539. U.MD.D.I.openApplication("studentEvaluate")
  2540. } else if (e.data.tools && e.data.tools == "44") {
  2541. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2542. } else if (e.data.tools && e.data.tools == "46") {
  2543. U.MD.D.I.openApplication("project")
  2544. } else if (e.data.tools && e.data.tools == "1s") {
  2545. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2546. } else if (e.data.tools && e.data.tools == "3s") {
  2547. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2548. } else if (e.data.tools && e.data.tools == "6s") {
  2549. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2550. } else if (e.data.tools && e.data.tools == "1studio") {
  2551. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2552. } else if (e.data.tools && e.data.tools == "3studio") {
  2553. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2554. } else if (e.data.tools && e.data.tools == "6studio") {
  2555. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2556. } else if (e.data.tools && e.data.tools == "3y") {
  2557. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2558. } else if (e.data.tools && e.data.tools == "1y") {
  2559. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2560. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2561. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2562. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2563. U.MD.D.I.openApplication("AIAnalyse")
  2564. } else if (e.data.tools && e.data.tools == "1teacher") {
  2565. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2566. } else if (e.data.tools && e.data.tools == "3teacher") {
  2567. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2568. } else if (e.data.tools && e.data.tools == "7teacher") {
  2569. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2570. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2571. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2572. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2573. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2574. } else if (e.data.tools && e.data.tools == "1E") {
  2575. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2576. } else if (e.data.tools && e.data.tools == "3E") {
  2577. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2578. } else if (e.data.tools && e.data.tools == "57y") {
  2579. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2580. } else if (e.data.tools && e.data.tools == "57u") {
  2581. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2582. } else if (e.data.tools && e.data.tools == "57teacher") {
  2583. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2584. } else if (e.data.tools && e.data.tools == "64") {
  2585. U.MD.D.I.openApplication("AIChat")
  2586. } else if (e.data.tools && e.data.tools == "66") {
  2587. U.MD.D.I.openApplication("formulaEdi")
  2588. } else if (e.data.tools && e.data.tools == "67") {
  2589. U.MD.D.I.openApplication("molStr")
  2590. } else if (e.data.tools && e.data.tools == "68") {
  2591. U.MD.D.I.openApplication("timeAxis")
  2592. } else if (e.data.tools && e.data.tools == "openCourse") {
  2593. let _data = {
  2594. typea: e.data.typea || '',
  2595. typeb: e.data.typeb || '',
  2596. typed: e.data.typed || '',
  2597. }
  2598. U.MD.D.I.openInApplication("index", _data)
  2599. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2600. let _data = {
  2601. classid: e.data.classid || '',
  2602. }
  2603. U.MD.D.I.openInApplication("dataClass", _data)
  2604. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2605. let _data = {
  2606. cid: e.data.cid || '',
  2607. gid: e.data.gid || '',
  2608. }
  2609. U.MD.D.I.openInApplication("opencCscl", _data)
  2610. }
  2611. });
  2612. U.MD.D.I.selectUser = function () {
  2613. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2614. if (res.value[0].length > 0) {
  2615. US.userInfo = res.value[0][0];
  2616. $(".userName")[0].innerHTML = US.userInfo.username;
  2617. }
  2618. }, [], { "type": "GET", "withCredentials": true });
  2619. }
  2620. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2621. var _userinfo = US.userInfo, //登录用户信息
  2622. _userid = US.userInfo.userid, //登录用户id
  2623. _oid = _userinfo.organizeid,
  2624. _type = US.userInfo.type,
  2625. _org = US.userInfo.org,
  2626. _role = US.userInfo.role,
  2627. _classId = US.userInfo.classid;
  2628. if (_type == 4) {
  2629. tType = 4
  2630. }
  2631. switch (str) {
  2632. case "studyDetailNT": //无终端模式
  2633. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2634. setTimeout(() => {
  2635. U.MD.U.L.login();
  2636. }, 2000);
  2637. } else {
  2638. _formdiv = new U.UF.UI.form(
  2639. "课程详情",
  2640. $$("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 }), {
  2641. "id": "studyDetailNT",
  2642. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2643. "onresize": function () { }
  2644. }, {
  2645. closecallback: function () { }
  2646. }, { "style": { "height": "36px" } }).form; //创建窗体
  2647. _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); } }
  2648. break;
  2649. }
  2650. case "studyDetail":
  2651. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2652. setTimeout(() => {
  2653. U.MD.U.L.login();
  2654. }, 2000);
  2655. } else {
  2656. _formdiv = new U.UF.UI.form(
  2657. "课程详情",
  2658. $$("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 }), {
  2659. "id": "studyDetail",
  2660. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2661. "onresize": function () { }
  2662. }, {
  2663. closecallback: function () { }
  2664. }, { "style": { "height": "36px" } }).form; //创建窗体
  2665. _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); } }
  2666. break;
  2667. }
  2668. case "studyDetailS":
  2669. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2670. setTimeout(() => {
  2671. U.MD.U.L.login();
  2672. }, 2000);
  2673. } else {
  2674. _formdiv = new U.UF.UI.form(
  2675. "项目详情",
  2676. $$("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 }), {
  2677. "id": "studyDetailS",
  2678. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2679. "onresize": function () { }
  2680. }, {
  2681. closecallback: function () { }
  2682. }, { "style": { "height": "36px" } }).form; //创建窗体
  2683. _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); } }
  2684. break;
  2685. }
  2686. case "studyDetailStudio":
  2687. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2688. setTimeout(() => {
  2689. U.MD.U.L.login();
  2690. }, 2000);
  2691. } else {
  2692. _formdiv = new U.UF.UI.form(
  2693. "工作详情",
  2694. $$("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 }), {
  2695. "id": "studyDetailStudio",
  2696. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2697. "onresize": function () { }
  2698. }, {
  2699. closecallback: function () { }
  2700. }, { "style": { "height": "36px" } }).form; //创建窗体
  2701. _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); } }
  2702. break;
  2703. }
  2704. case "studyDetailS5":
  2705. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2706. setTimeout(() => {
  2707. U.MD.U.L.login();
  2708. }, 2000);
  2709. } else {
  2710. _formdiv = new U.UF.UI.form(
  2711. "项目详情",
  2712. $$("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 }), {
  2713. "id": "studyDetailS",
  2714. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2715. "onresize": function () { }
  2716. }, {
  2717. closecallback: function () { }
  2718. }, { "style": { "height": "36px" } }).form; //创建窗体
  2719. _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); } }
  2720. break;
  2721. }
  2722. case "studyDetailGM":
  2723. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2724. setTimeout(() => {
  2725. U.MD.U.L.login();
  2726. }, 2000);
  2727. } else {
  2728. _formdiv = new U.UF.UI.form(
  2729. "课程详情",
  2730. $$("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 }), {
  2731. "id": "studyDetail",
  2732. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2733. "onresize": function () { }
  2734. }, {
  2735. closecallback: function () { }
  2736. }, { "style": { "height": "36px" } }).form; //创建窗体
  2737. _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); } }
  2738. break;
  2739. }
  2740. case "hanUrl":
  2741. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2742. setTimeout(() => {
  2743. U.MD.U.L.login();
  2744. }, 2000);
  2745. } else {
  2746. _formdiv = new U.UF.UI.form(
  2747. "汉字宫",
  2748. $$("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" }), {
  2749. "id": "hanUrl",
  2750. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2751. "onresize": function () { }
  2752. }, {
  2753. closecallback: function () { }
  2754. }, { "style": { "height": "36px" } }).form; //创建窗体
  2755. _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); } }
  2756. break;
  2757. }
  2758. case "index":
  2759. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2760. setTimeout(() => {
  2761. U.MD.U.L.login();
  2762. }, 2000);
  2763. } else {
  2764. _formdiv = new U.UF.UI.form(
  2765. "课程中心",
  2766. $$("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 }), {
  2767. "id": "study",
  2768. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2769. "onresize": function () { }
  2770. }, {
  2771. closecallback: function () { }
  2772. }, { "style": { "height": "36px" } }).form; //创建窗体
  2773. _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); } }
  2774. break;
  2775. }
  2776. case "dataClass":
  2777. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2778. setTimeout(() => {
  2779. U.MD.U.L.login();
  2780. }, 2000);
  2781. } else {
  2782. _formdiv = new U.UF.UI.form(
  2783. "数据报告",
  2784. $$("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 }), {
  2785. "id": "dataClass",
  2786. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2787. "onresize": function () { }
  2788. }, {
  2789. closecallback: function () { }
  2790. }, { "style": { "height": "36px" } }).form; //创建窗体
  2791. _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); } }
  2792. break;
  2793. }
  2794. case "opencCscl":
  2795. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2796. setTimeout(() => {
  2797. U.MD.U.L.login();
  2798. }, 2000);
  2799. } else {
  2800. _formdiv = new U.UF.UI.form(
  2801. "协同建构",
  2802. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  2803. "id": "futureClass",
  2804. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2805. "onresize": function () { }
  2806. }, {
  2807. closecallback: function () { }
  2808. }, { "style": { "height": "36px" } }).form; //创建窗体
  2809. _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); } }
  2810. break;
  2811. }
  2812. }
  2813. }
  2814. U.MD.D.I.openApplication = function (str, obj, info) {
  2815. obj = obj || {};
  2816. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2817. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2818. _userinfo = US.userInfo, //登录用户信息
  2819. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2820. _oid = obj.organizeid || _userinfo.organizeid,
  2821. _type = US.userInfo.type,
  2822. _org = US.userInfo.org,
  2823. _role = US.userInfo.role,
  2824. _classId = US.userInfo.classid,
  2825. _TscreenType = 1
  2826. _screenType = 2,
  2827. _SscreenType = 3;
  2828. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2829. return;
  2830. }
  2831. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2832. switch (str) {
  2833. case "studnetProject": //好友打开
  2834. _formdiv = new U.UF.UI.form(
  2835. "我的项目",
  2836. $$("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 }), {
  2837. "id": "studnetProject",
  2838. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2839. "onresize": function () { }
  2840. }, {
  2841. closecallback: function () { }
  2842. }, { "style": { "height": "36px" } }).form; //创建窗体
  2843. _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); } }
  2844. break;
  2845. case "studentEvaluate": //好友打开
  2846. _formdiv = new U.UF.UI.form(
  2847. "我的评价",
  2848. $$("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 }), {
  2849. "id": "studentEvaluate",
  2850. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2851. "onresize": function () { }
  2852. }, {
  2853. closecallback: function () { }
  2854. }, { "style": { "height": "36px" } }).form; //创建窗体
  2855. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2856. break;
  2857. case "my":
  2858. _formdiv = new U.UF.UI.form(
  2859. "我的资料",
  2860. $$("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 }), {
  2861. "id": "my",
  2862. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2863. "onresize": function () { }
  2864. }, {
  2865. closecallback: function () { }
  2866. }, { "style": { "height": "36px" } }).form; //创建窗体
  2867. _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); } }
  2868. break;
  2869. case "program":
  2870. _formdiv = new U.UF.UI.form(
  2871. "编程平台",
  2872. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2873. "id": "program",
  2874. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2875. "onresize": function () { }
  2876. }, {
  2877. closecallback: function () { }
  2878. }, { "style": { "height": "36px" } }).form; //创建窗体
  2879. _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); } }
  2880. break;
  2881. case "library":
  2882. _formdiv = new U.UF.UI.form(
  2883. "素材库",
  2884. $$("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 }), {
  2885. "id": "library",
  2886. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2887. "onresize": function () { }
  2888. }, {
  2889. closecallback: function () { }
  2890. }, { "style": { "height": "36px" } }).form; //创建窗体
  2891. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2892. break;
  2893. case "whiteboard":
  2894. _formdiv = new U.UF.UI.form(
  2895. "电子白板",
  2896. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2897. "id": "whiteboard",
  2898. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2899. "onresize": function () { }
  2900. }, {
  2901. closecallback: function () { }
  2902. }, { "style": { "height": "36px" } }).form; //创建窗体
  2903. _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); } }
  2904. break;
  2905. case "investigation":
  2906. _formdiv = new U.UF.UI.form(
  2907. "问卷调查",
  2908. $$("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 }), {
  2909. "id": "investigation",
  2910. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2911. "onresize": function () { }
  2912. }, {
  2913. closecallback: function () { }
  2914. }, { "style": { "height": "36px" } }).form; //创建窗体
  2915. _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); } }
  2916. break;
  2917. case "note":
  2918. _formdiv = new U.UF.UI.form(
  2919. "便签分类",
  2920. $$("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 }), {
  2921. "id": "note",
  2922. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2923. "onresize": function () { }
  2924. }, {
  2925. closecallback: function () { }
  2926. }, { "style": { "height": "36px" } }).form; //创建窗体
  2927. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2928. break;
  2929. // case "score":
  2930. // _formdiv = new U.UF.UI.form(
  2931. // "量规评分",
  2932. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2933. // "id": "score",
  2934. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2935. // "onresize": function() {}
  2936. // }, {
  2937. // closecallback: function() {}
  2938. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2939. // _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); } }
  2940. // break;
  2941. case "mind":
  2942. _formdiv = new U.UF.UI.form(
  2943. "思维导图",
  2944. $$("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"
  2945. "id": "mind",
  2946. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2947. "onresize": function () { }
  2948. }, {
  2949. closecallback: function () { }
  2950. }, { "style": { "height": "36px" } }).form; //创建窗体
  2951. _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); } }
  2952. break;
  2953. case "doc":
  2954. // U.MD.D.I.isRoom();
  2955. _formdiv = new U.UF.UI.form(
  2956. "协同文档",
  2957. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2958. "id": "doc",
  2959. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2960. "onresize": function () { }
  2961. }, {
  2962. closecallback: function () { }
  2963. }, { "style": { "height": "36px" } }).form; //创建窗体
  2964. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2965. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2966. // })
  2967. _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); } }
  2968. break;
  2969. case "studentStudy":
  2970. _formdiv = new U.UF.UI.form(
  2971. "课程中心",
  2972. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": 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
  2973. "id": "studentStudy",
  2974. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2975. "onresize": function () { }
  2976. }, {
  2977. closecallback: function () { }
  2978. }, { "style": { "height": "36px" } }).form; //创建窗体
  2979. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2980. break;
  2981. case "train": //好友打开
  2982. _formdiv = new U.UF.UI.form(
  2983. "训练平台",
  2984. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2985. "id": "train",
  2986. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2987. "onresize": function () { }
  2988. }, {
  2989. closecallback: function () { }
  2990. }, { "style": { "height": "36px" } }).form; //创建窗体
  2991. _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); } }
  2992. break;
  2993. case "mindNetwork": //好友打开
  2994. _formdiv = new U.UF.UI.form(
  2995. "思维网格",
  2996. $$("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 }), {
  2997. "id": "mindNetwork",
  2998. "style": { "width": "90%", "height": "90%", "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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3004. break;
  3005. case "studentClassRoom": //好友打开
  3006. _formdiv = new U.UF.UI.form(
  3007. "实时课堂",
  3008. $$("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 }), {
  3009. "id": "studentClassRoom",
  3010. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3011. "onresize": function () { }
  3012. }, {
  3013. closecallback: function () { }
  3014. }, { "style": { "height": "36px" } }).form; //创建窗体
  3015. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3016. setTimeout(() => {
  3017. U.UF.F.windowZooming(_formdiv)
  3018. }, 0);
  3019. break;
  3020. }
  3021. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3022. switch (str) {
  3023. case "studnetProject": //好友打开
  3024. _formdiv = new U.UF.UI.form(
  3025. "我的项目",
  3026. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  3027. "id": "studnetProject",
  3028. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3029. "onresize": function () { }
  3030. }, {
  3031. closecallback: function () { }
  3032. }, { "style": { "height": "36px" } }).form; //创建窗体
  3033. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3034. break;
  3035. case "studentEvaluate": //好友打开
  3036. _formdiv = new U.UF.UI.form(
  3037. "我的评价",
  3038. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3039. "id": "studentEvaluate",
  3040. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3041. "onresize": function () { }
  3042. }, {
  3043. closecallback: function () { }
  3044. }, { "style": { "height": "36px" } }).form; //创建窗体
  3045. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3046. break;
  3047. case "my":
  3048. _formdiv = new U.UF.UI.form(
  3049. "我的资料",
  3050. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3051. "id": "my",
  3052. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3058. break;
  3059. case "program":
  3060. _formdiv = new U.UF.UI.form(
  3061. "编程平台",
  3062. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3063. "id": "program",
  3064. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3065. "onresize": function () { }
  3066. }, {
  3067. closecallback: function () { }
  3068. }, { "style": { "height": "36px" } }).form; //创建窗体
  3069. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3070. break;
  3071. case "library":
  3072. _formdiv = new U.UF.UI.form(
  3073. "素材库",
  3074. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  3075. "id": "library",
  3076. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3077. "onresize": function () { }
  3078. }, {
  3079. closecallback: function () { }
  3080. }, { "style": { "height": "36px" } }).form; //创建窗体
  3081. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3082. break;
  3083. case "whiteboard":
  3084. _formdiv = new U.UF.UI.form(
  3085. "电子白板",
  3086. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3087. "id": "whiteboard",
  3088. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3089. "onresize": function () { }
  3090. }, {
  3091. closecallback: function () { }
  3092. }, { "style": { "height": "36px" } }).form; //创建窗体
  3093. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3094. break;
  3095. case "investigation":
  3096. _formdiv = new U.UF.UI.form(
  3097. "问卷调查",
  3098. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3099. "id": "investigation",
  3100. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3101. "onresize": function () { }
  3102. }, {
  3103. closecallback: function () { }
  3104. }, { "style": { "height": "36px" } }).form; //创建窗体
  3105. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3106. break;
  3107. case "note":
  3108. _formdiv = new U.UF.UI.form(
  3109. "便签分类",
  3110. $$("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 }), {
  3111. "id": "note",
  3112. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3113. "onresize": function () { }
  3114. }, {
  3115. closecallback: function () { }
  3116. }, { "style": { "height": "36px" } }).form; //创建窗体
  3117. _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); } }
  3118. break;
  3119. // case "score":
  3120. // _formdiv = new U.UF.UI.form(
  3121. // "量规评分",
  3122. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3123. // "id": "score",
  3124. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3125. // "onresize": function() {}
  3126. // }, {
  3127. // closecallback: function() {}
  3128. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3129. // _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); } }
  3130. // break;
  3131. case "mind":
  3132. _formdiv = new U.UF.UI.form(
  3133. "思维导图",
  3134. $$("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"
  3135. "id": "mind",
  3136. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3137. "onresize": function () { }
  3138. }, {
  3139. closecallback: function () { }
  3140. }, { "style": { "height": "36px" } }).form; //创建窗体
  3141. _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); } }
  3142. break;
  3143. case "doc":
  3144. // U.MD.D.I.isRoom();
  3145. _formdiv = new U.UF.UI.form(
  3146. "协同文档",
  3147. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3148. "id": "doc",
  3149. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3150. "onresize": function () { }
  3151. }, {
  3152. closecallback: function () { }
  3153. }, { "style": { "height": "36px" } }).form; //创建窗体
  3154. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3155. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3156. })
  3157. _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); } }
  3158. break;
  3159. case "train": //好友打开
  3160. _formdiv = new U.UF.UI.form(
  3161. "训练平台",
  3162. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3163. "id": "train",
  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/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3170. break;
  3171. case "studentStudy":
  3172. _formdiv = new U.UF.UI.form(
  3173. "课程中心",
  3174. $$("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
  3175. "id": "studentStudy",
  3176. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3182. break;
  3183. case "mindNetwork": //好友打开
  3184. _formdiv = new U.UF.UI.form(
  3185. "思维网格",
  3186. $$("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 }), {
  3187. "id": "mindNetwork",
  3188. "style": { "width": "90%", "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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3194. break;
  3195. case "studentClassRoom": //好友打开
  3196. _formdiv = new U.UF.UI.form(
  3197. "实时课堂",
  3198. $$("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 }), {
  3199. "id": "studentClassRoom",
  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/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3206. setTimeout(() => {
  3207. U.UF.F.windowZooming(_formdiv)
  3208. }, 0);
  3209. break;
  3210. }
  3211. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3212. //选择应用处理
  3213. switch (str) {
  3214. case "project": //好友打开
  3215. _formdiv = new U.UF.UI.form(
  3216. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3217. $$("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 }), {
  3218. "id": "project",
  3219. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3220. "onresize": function () { }
  3221. }, {
  3222. closecallback: function () { }
  3223. }, { "style": { "height": "36px" } }).form; //创建窗体
  3224. _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); } }
  3225. break;
  3226. case "student":
  3227. _formdiv = new U.UF.UI.form(
  3228. "学生管理",
  3229. $$("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 }), {
  3230. "id": "student",
  3231. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3232. "onresize": function () { }
  3233. }, {
  3234. closecallback: function () { }
  3235. }, { "style": { "height": "36px" } }).form; //创建窗体
  3236. _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); } }
  3237. break;
  3238. case "evaluate":
  3239. _formdiv = new U.UF.UI.form(
  3240. "学生评价",
  3241. $$("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 }), {
  3242. "id": "evaluate",
  3243. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3244. "onresize": function () { }
  3245. }, {
  3246. closecallback: function () { }
  3247. }, { "style": { "height": "36px" } }).form; //创建窗体
  3248. _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); } }
  3249. break;
  3250. case "sys":
  3251. _formdiv = new U.UF.UI.form(
  3252. "目标管理",
  3253. $$("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 }), {
  3254. "id": "sys",
  3255. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3256. "onresize": function () { }
  3257. }, {
  3258. closecallback: function () { }
  3259. }, { "style": { "height": "36px" } }).form; //创建窗体
  3260. _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); } }
  3261. break;
  3262. case "courseDesign":
  3263. _formdiv = new U.UF.UI.form(
  3264. "项目设计",
  3265. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3266. "id": "courseDesign",
  3267. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3268. "onresize": function () { }
  3269. }, {
  3270. closecallback: function () { }
  3271. }, { "style": { "height": "36px" } }).form; //创建窗体
  3272. _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); } }
  3273. break;
  3274. case "program":
  3275. _formdiv = new U.UF.UI.form(
  3276. "编程平台",
  3277. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3278. "id": "program",
  3279. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3280. "onresize": function () { }
  3281. }, {
  3282. closecallback: function () { }
  3283. }, { "style": { "height": "36px" } }).form; //创建窗体
  3284. _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); } }
  3285. break;
  3286. case "class":
  3287. _formdiv = new U.UF.UI.form(
  3288. "班级管理",
  3289. $$("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 }), {
  3290. "id": "class",
  3291. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3292. "onresize": function () { }
  3293. }, {
  3294. closecallback: function () { }
  3295. }, { "style": { "height": "36px" } }).form; //创建窗体
  3296. _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); } }
  3297. break;
  3298. case "Grade":
  3299. _formdiv = new U.UF.UI.form(
  3300. "年级管理",
  3301. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/grade?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3302. "id": "Grade",
  3303. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3304. "onresize": function () { }
  3305. }, {
  3306. closecallback: function () { }
  3307. }, { "style": { "height": "36px" } }).form; //创建窗体
  3308. _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); } }
  3309. break;
  3310. case "teacherOffice":
  3311. _formdiv = new U.UF.UI.form(
  3312. "教研室",
  3313. $$("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 }), {
  3314. "id": "teacherOffice",
  3315. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3316. "onresize": function () { }
  3317. }, {
  3318. closecallback: function () { }
  3319. }, { "style": { "height": "36px" } }).form; //创建窗体
  3320. _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); } }
  3321. break;
  3322. case "my":
  3323. _formdiv = new U.UF.UI.form(
  3324. "我的资料",
  3325. $$("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 }), {
  3326. "id": "my",
  3327. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3328. "onresize": function () { }
  3329. }, {
  3330. closecallback: function () { }
  3331. }, { "style": { "height": "36px" } }).form; //创建窗体
  3332. _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); } }
  3333. break;
  3334. case "notice":
  3335. _formdiv = new U.UF.UI.form(
  3336. "通知公告",
  3337. $$("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 }), {
  3338. "id": "notice",
  3339. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3340. "onresize": function () { }
  3341. }, {
  3342. closecallback: function () { }
  3343. }, { "style": { "height": "36px" } }).form; //创建窗体
  3344. _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); } }
  3345. break;
  3346. case "library":
  3347. _formdiv = new U.UF.UI.form(
  3348. "素材库",
  3349. $$("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 }), {
  3350. "id": "library",
  3351. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3352. "onresize": function () { }
  3353. }, {
  3354. closecallback: function () { }
  3355. }, { "style": { "height": "36px" } }).form; //创建窗体
  3356. _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); } }
  3357. break;
  3358. case "whiteboard":
  3359. _formdiv = new U.UF.UI.form(
  3360. "电子白板",
  3361. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3362. "id": "whiteboard",
  3363. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3364. "onresize": function () { }
  3365. }, {
  3366. closecallback: function () { }
  3367. }, { "style": { "height": "36px" } }).form; //创建窗体
  3368. _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); } }
  3369. break;
  3370. case "investigation":
  3371. _formdiv = new U.UF.UI.form(
  3372. "问卷调查",
  3373. $$("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 }), {
  3374. "id": "investigation",
  3375. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3376. "onresize": function () { }
  3377. }, {
  3378. closecallback: function () { }
  3379. }, { "style": { "height": "36px" } }).form; //创建窗体
  3380. _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); } }
  3381. break;
  3382. case "note":
  3383. _formdiv = new U.UF.UI.form(
  3384. "便签分类",
  3385. $$("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 }), {
  3386. "id": "note",
  3387. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3388. "onresize": function () { }
  3389. }, {
  3390. closecallback: function () { }
  3391. }, { "style": { "height": "36px" } }).form; //创建窗体
  3392. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3393. break;
  3394. // case "score":
  3395. // _formdiv = new U.UF.UI.form(
  3396. // "量规评分",
  3397. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3398. // "id": "score",
  3399. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3400. // "onresize": function() {}
  3401. // }, {
  3402. // closecallback: function() {}
  3403. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3404. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3405. // break;
  3406. case "mind":
  3407. _formdiv = new U.UF.UI.form(
  3408. "思维导图",
  3409. $$("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"
  3410. "id": "mind",
  3411. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3412. "onresize": function () { }
  3413. }, {
  3414. closecallback: function () { }
  3415. }, { "style": { "height": "36px" } }).form; //创建窗体
  3416. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3417. break;
  3418. case "doc":
  3419. // U.MD.D.I.isRoom();
  3420. _formdiv = new U.UF.UI.form(
  3421. "协同文档",
  3422. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3423. "id": "doc",
  3424. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3425. "onresize": function () { }
  3426. }, {
  3427. closecallback: function () { }
  3428. }, { "style": { "height": "36px" } }).form; //创建窗体
  3429. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3430. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3431. })
  3432. _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); } }
  3433. break;
  3434. case "study":
  3435. _formdiv = new U.UF.UI.form(
  3436. "课程中心",
  3437. $$("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
  3438. "id": "study",
  3439. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3440. "onresize": function () { }
  3441. }, {
  3442. closecallback: function () { }
  3443. }, { "style": { "height": "36px" } }).form; //创建窗体
  3444. _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); } }
  3445. break;
  3446. case "mindNetwork": //好友打开
  3447. _formdiv = new U.UF.UI.form(
  3448. "思维网格",
  3449. $$("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 }), {
  3450. "id": "mindNetwork",
  3451. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3452. "onresize": function () { }
  3453. }, {
  3454. closecallback: function () { }
  3455. }, { "style": { "height": "36px" } }).form; //创建窗体
  3456. _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); } }
  3457. break;
  3458. case "train": //好友打开
  3459. _formdiv = new U.UF.UI.form(
  3460. "训练平台",
  3461. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3462. "id": "mindNetwork",
  3463. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3464. "onresize": function () { }
  3465. }, {
  3466. closecallback: function () { }
  3467. }, { "style": { "height": "36px" } }).form; //创建窗体
  3468. _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); } }
  3469. break;
  3470. case "teacherClassRoom": //好友打开
  3471. _formdiv = new U.UF.UI.form(
  3472. "实时课堂",
  3473. $$("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 }), {
  3474. "id": "teacherClassRoom",
  3475. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3476. "onresize": function () { }
  3477. }, {
  3478. closecallback: function () { }
  3479. }, { "style": { "height": "36px" } }).form; //创建窗体
  3480. _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); } }
  3481. setTimeout(() => {
  3482. U.UF.F.windowZooming(_formdiv)
  3483. }, 0);
  3484. break;
  3485. }
  3486. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3487. switch (str) {
  3488. case "project": //好友打开
  3489. _formdiv = new U.UF.UI.form(
  3490. "课程管理",
  3491. $$("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 }), {
  3492. "id": "project",
  3493. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3494. "onresize": function () { }
  3495. }, {
  3496. closecallback: function () { }
  3497. }, { "style": { "height": "36px" } }).form; //创建窗体
  3498. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3499. break;
  3500. case "evaluate":
  3501. _formdiv = new U.UF.UI.form(
  3502. "学生评价",
  3503. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3504. "id": "evaluate",
  3505. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3506. "onresize": function () { }
  3507. }, {
  3508. closecallback: function () { }
  3509. }, { "style": { "height": "36px" } }).form; //创建窗体
  3510. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3511. break;
  3512. case "notice":
  3513. _formdiv = new U.UF.UI.form(
  3514. "通知公告",
  3515. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  3516. "id": "notice",
  3517. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3518. "onresize": function () { }
  3519. }, {
  3520. closecallback: function () { }
  3521. }, { "style": { "height": "36px" } }).form; //创建窗体
  3522. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3523. break;
  3524. case "stuLibrary":
  3525. _formdiv = new U.UF.UI.form(
  3526. "学习资料",
  3527. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studyLibrary?userid=" + _userid + "&org=" + _org }), {
  3528. "id": "stuLibrary",
  3529. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3530. "onresize": function () { }
  3531. }, {
  3532. closecallback: function () { }
  3533. }, { "style": { "height": "36px" } }).form; //创建窗体
  3534. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3535. break;
  3536. case "program":
  3537. _formdiv = new U.UF.UI.form(
  3538. "编程平台",
  3539. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3540. "id": "program",
  3541. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3542. "onresize": function () { }
  3543. }, {
  3544. closecallback: function () { }
  3545. }, { "style": { "height": "36px" } }).form; //创建窗体
  3546. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3547. break;
  3548. case "whiteboard":
  3549. _formdiv = new U.UF.UI.form(
  3550. "电子白板",
  3551. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3552. "id": "whiteboard",
  3553. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3554. "onresize": function () { }
  3555. }, {
  3556. closecallback: function () { }
  3557. }, { "style": { "height": "36px" } }).form; //创建窗体
  3558. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3559. break;
  3560. case "investigation":
  3561. _formdiv = new U.UF.UI.form(
  3562. "问卷调查",
  3563. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3564. "id": "investigation",
  3565. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3566. "onresize": function () { }
  3567. }, {
  3568. closecallback: function () { }
  3569. }, { "style": { "height": "36px" } }).form; //创建窗体
  3570. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3571. break;
  3572. case "mind":
  3573. _formdiv = new U.UF.UI.form(
  3574. "思维导图",
  3575. $$("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"
  3576. "id": "mind",
  3577. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3578. "onresize": function () { }
  3579. }, {
  3580. closecallback: function () { }
  3581. }, { "style": { "height": "36px" } }).form; //创建窗体
  3582. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3583. break;
  3584. case "doc":
  3585. // U.MD.D.I.isRoom();
  3586. _formdiv = new U.UF.UI.form(
  3587. "协同文档",
  3588. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3589. "id": "doc",
  3590. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3591. "onresize": function () { }
  3592. }, {
  3593. closecallback: function () { }
  3594. }, { "style": { "height": "36px" } }).form; //创建窗体
  3595. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3596. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3597. })
  3598. _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); } }
  3599. break;
  3600. case "study":
  3601. _formdiv = new U.UF.UI.form(
  3602. "课程中心",
  3603. $$("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
  3604. "id": "study",
  3605. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3611. break;
  3612. case "mindNetwork": //好友打开
  3613. _formdiv = new U.UF.UI.form(
  3614. "思维网格",
  3615. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid + "&org=" + _org }), {
  3616. "id": "mindNetwork",
  3617. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3618. "onresize": function () { }
  3619. }, {
  3620. closecallback: function () { }
  3621. }, { "style": { "height": "36px" } }).form; //创建窗体
  3622. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3623. break;
  3624. case "train": //好友打开
  3625. _formdiv = new U.UF.UI.form(
  3626. "训练平台",
  3627. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3628. "id": "train",
  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/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3635. break;
  3636. case "sys":
  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/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3640. "id": "sys",
  3641. "style": { "width": "100%", "height": "100%", "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/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3647. break;
  3648. case "courseDesign":
  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": "/course-design-vue" }), {
  3652. "id": "courseDesign",
  3653. "style": { "width": "90%", "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/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3659. break;
  3660. }
  3661. } else if (!_type) {
  3662. switch (str) {
  3663. case "my":
  3664. _formdiv = new U.UF.UI.form(
  3665. "我的资料",
  3666. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3667. "id": "my",
  3668. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3669. "onresize": function () { }
  3670. }, {
  3671. closecallback: function () { }
  3672. }, { "style": { "height": "36px" } }).form; //创建窗体
  3673. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3674. break;
  3675. }
  3676. }
  3677. switch (str) {
  3678. // AIprogram2 AI体验 aihub.cocorobo.cn
  3679. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3680. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3681. case "formulaEdi": //公式编辑
  3682. _formdiv = new U.UF.UI.form(
  3683. "公式编辑",
  3684. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3685. "id": "formulaEdi",
  3686. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3687. "onresize": function () { }
  3688. }, {
  3689. closecallback: function () { }
  3690. }, { "style": { "height": "36px" } }).form; //创建窗体
  3691. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3692. break;
  3693. case "molStr": //分子结构
  3694. _formdiv = new U.UF.UI.form(
  3695. "分子结构",
  3696. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3697. "id": "molStr",
  3698. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3699. "onresize": function () { }
  3700. }, {
  3701. closecallback: function () { }
  3702. }, { "style": { "height": "36px" } }).form; //创建窗体
  3703. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3704. break;
  3705. case "timeAxis": //时间轴
  3706. _formdiv = new U.UF.UI.form(
  3707. "时间轴",
  3708. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3709. "id": "timeAxis",
  3710. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3711. "onresize": function () { }
  3712. }, {
  3713. closecallback: function () { }
  3714. }, { "style": { "height": "36px" } }).form; //创建窗体
  3715. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3716. break;
  3717. case "AIprogram2": //AI体验
  3718. _formdiv = new U.UF.UI.form(
  3719. "AI体验",
  3720. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3721. "id": "AIprogram2",
  3722. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3723. "onresize": function () { }
  3724. }, {
  3725. closecallback: function () { }
  3726. }, { "style": { "height": "36px" } }).form; //创建窗体
  3727. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI体验", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3728. break;
  3729. case "Pythonprogram": //python编程
  3730. _formdiv = new U.UF.UI.form(
  3731. "Python编程",
  3732. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3733. "id": "Pythonprogram",
  3734. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3735. "onresize": function () { }
  3736. }, {
  3737. closecallback: function () { }
  3738. }, { "style": { "height": "36px" } }).form; //创建窗体
  3739. _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); } }
  3740. break;
  3741. case "AIprogram": //ai编程
  3742. _formdiv = new U.UF.UI.form(
  3743. "AI编程平台",
  3744. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3745. "id": "AIprogram",
  3746. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3747. "onresize": function () { }
  3748. }, {
  3749. closecallback: function () { }
  3750. }, { "style": { "height": "36px" } }).form; //创建窗体
  3751. _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); } }
  3752. break;
  3753. case "CocoPi": //CocoPi
  3754. _formdiv = new U.UF.UI.form(
  3755. "CocoPi",
  3756. $$("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" }), {
  3757. "id": "CocoPi",
  3758. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3759. "onresize": function () { }
  3760. }, {
  3761. closecallback: function () { }
  3762. }, { "style": { "height": "36px" } }).form; //创建窗体
  3763. _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); } }
  3764. break;
  3765. case "Wood": //Wood
  3766. _formdiv = new U.UF.UI.form(
  3767. "海龟编程",
  3768. $$("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/" }), {
  3769. "id": "Wood",
  3770. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3771. "onresize": function () { }
  3772. }, {
  3773. closecallback: function () { }
  3774. }, { "style": { "height": "36px" } }).form; //创建窗体
  3775. _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); } }
  3776. break;
  3777. case "car": //模拟驾驶
  3778. _formdiv = new U.UF.UI.form(
  3779. "模拟驾驶",
  3780. $$("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/" }), {
  3781. "id": "car",
  3782. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3783. "onresize": function () { }
  3784. }, {
  3785. closecallback: function () { }
  3786. }, { "style": { "height": "36px" } }).form; //创建窗体
  3787. _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); } }
  3788. break;
  3789. case "lineSearch": //路径搜索
  3790. _formdiv = new U.UF.UI.form(
  3791. "路径搜索",
  3792. $$("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/" }), {
  3793. "id": "lineSearch",
  3794. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3795. "onresize": function () { }
  3796. }, {
  3797. closecallback: function () { }
  3798. }, { "style": { "height": "36px" } }).form; //创建窗体
  3799. _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); } }
  3800. break;
  3801. case "deepLearning": //深度学习
  3802. _formdiv = new U.UF.UI.form(
  3803. "深度学习",
  3804. $$("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/#" }), {
  3805. "id": "deepLearning",
  3806. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3807. "onresize": function () { }
  3808. }, {
  3809. closecallback: function () { }
  3810. }, { "style": { "height": "36px" } }).form; //创建窗体
  3811. _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); } }
  3812. break;
  3813. case "allHistory": //深度学习
  3814. _formdiv = new U.UF.UI.form(
  3815. "全历史",
  3816. $$("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/" }), {
  3817. "id": "allHistory",
  3818. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3819. "onresize": function () { }
  3820. }, {
  3821. closecallback: function () { }
  3822. }, { "style": { "height": "36px" } }).form; //创建窗体
  3823. _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); } }
  3824. break;
  3825. case "chatPDF": //ai编程
  3826. _formdiv = new U.UF.UI.form(
  3827. "chatPDF",
  3828. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3829. "id": "chatPDF",
  3830. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3831. "onresize": function () { }
  3832. }, {
  3833. closecallback: function () { }
  3834. }, { "style": { "height": "36px" } }).form; //创建窗体
  3835. _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); } }
  3836. break;
  3837. case "resources": //国家教育
  3838. _formdiv = new U.UF.UI.form(
  3839. "国家教育",
  3840. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3841. "id": "resources",
  3842. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3843. "onresize": function () { }
  3844. }, {
  3845. closecallback: function () { }
  3846. }, { "style": { "height": "36px" } }).form; //创建窗体
  3847. _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); } }
  3848. break;
  3849. case "codeEdit": //源码编辑
  3850. _formdiv = new U.UF.UI.form(
  3851. "源码编辑",
  3852. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3853. "id": "codeEdit",
  3854. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3855. "onresize": function () { }
  3856. }, {
  3857. closecallback: function () { }
  3858. }, { "style": { "height": "36px" } }).form; //创建窗体
  3859. _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); } }
  3860. break; //
  3861. case "MindMap": //MindMap
  3862. _formdiv = new U.UF.UI.form(
  3863. "MindMap",
  3864. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3865. "id": "MindMap",
  3866. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3867. "onresize": function () { }
  3868. }, {
  3869. closecallback: function () { }
  3870. }, { "style": { "height": "36px" } }).form; //创建窗体
  3871. _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); } }
  3872. break;
  3873. case "netWorkPanel": //netWorkPanel
  3874. _formdiv = new U.UF.UI.form(
  3875. "netWorkPanel",
  3876. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3877. "id": "netWorkPanel",
  3878. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3879. "onresize": function () { }
  3880. }, {
  3881. closecallback: function () { }
  3882. }, { "style": { "height": "36px" } }).form; //创建窗体
  3883. _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); } }
  3884. break;
  3885. case "GeoGebra": //GeoGebra
  3886. _formdiv = new U.UF.UI.form(
  3887. "GeoGebra",
  3888. $$("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" }), {
  3889. "id": "GeoGebra",
  3890. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3891. "onresize": function () { }
  3892. }, {
  3893. closecallback: function () { }
  3894. }, { "style": { "height": "36px" } }).form; //创建窗体
  3895. _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); } }
  3896. break;
  3897. case "translation": //翻译
  3898. _formdiv = new U.UF.UI.form(
  3899. "翻译",
  3900. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3901. "id": "translation",
  3902. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3903. "onresize": function () { }
  3904. }, {
  3905. closecallback: function () { }
  3906. }, { "style": { "height": "36px" } }).form; //创建窗体
  3907. _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); } }
  3908. break;
  3909. case "mohe": //魔盒
  3910. _formdiv = new U.UF.UI.form(
  3911. "魔盒识字",
  3912. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3913. "id": "mohe",
  3914. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3915. "onresize": function () { }
  3916. }, {
  3917. closecallback: function () { }
  3918. }, { "style": { "height": "36px" } }).form; //创建窗体
  3919. _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); } }
  3920. break;
  3921. case "24game": //24点
  3922. _formdiv = new U.UF.UI.form(
  3923. "24点",
  3924. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3925. "id": "24game",
  3926. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3927. "onresize": function () { }
  3928. }, {
  3929. closecallback: function () { }
  3930. }, { "style": { "height": "36px" } }).form; //创建窗体
  3931. _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); } }
  3932. break;
  3933. case "case":
  3934. _formdiv = new U.UF.UI.form(
  3935. "课程进展",
  3936. $$("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 }), {
  3937. "id": "case",
  3938. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3939. "onresize": function () { }
  3940. }, {
  3941. closecallback: function () { }
  3942. }, { "style": { "height": "36px" } }).form; //创建窗体
  3943. _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); } }
  3944. break;
  3945. case "snf":
  3946. _formdiv = new U.UF.UI.form(
  3947. "赛诺梵",
  3948. $$("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" }), {
  3949. "id": "snf",
  3950. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3951. "onresize": function () { }
  3952. }, {
  3953. closecallback: function () { }
  3954. }, { "style": { "height": "36px" } }).form; //创建窗体
  3955. _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); } }
  3956. break;
  3957. case "hanFamily":
  3958. _formdiv = new U.UF.UI.form(
  3959. "汉字家族",
  3960. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3961. "id": "hanFamily",
  3962. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3963. "onresize": function () { }
  3964. }, {
  3965. closecallback: function () { }
  3966. }, { "style": { "height": "36px" } }).form; //创建窗体
  3967. _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); } }
  3968. break;
  3969. case "hanClassics":
  3970. _formdiv = new U.UF.UI.form(
  3971. "国学经典",
  3972. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3973. "id": "hanClassics",
  3974. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3975. "onresize": function () { }
  3976. }, {
  3977. closecallback: function () { }
  3978. }, { "style": { "height": "36px" } }).form; //创建窗体
  3979. _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); } }
  3980. break;
  3981. case "hanTraining":
  3982. _formdiv = new U.UF.UI.form(
  3983. "笔画训练",
  3984. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3985. "id": "hanTraining",
  3986. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3987. "onresize": function () { }
  3988. }, {
  3989. closecallback: function () { }
  3990. }, { "style": { "height": "36px" } }).form; //创建窗体
  3991. _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); } }
  3992. break;
  3993. case "hanClass":
  3994. _formdiv = new U.UF.UI.form(
  3995. "书法课堂",
  3996. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3997. "id": "hanClass",
  3998. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3999. "onresize": function () { }
  4000. }, {
  4001. closecallback: function () { }
  4002. }, { "style": { "height": "36px" } }).form; //创建窗体
  4003. _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); } }
  4004. break;
  4005. case "han":
  4006. _formdiv = new U.UF.UI.form(
  4007. "汉字宫",
  4008. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4009. "id": "han",
  4010. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4011. "onresize": function () { }
  4012. }, {
  4013. closecallback: function () { }
  4014. }, { "style": { "height": "36px" } }).form; //创建窗体
  4015. _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); } }
  4016. break;
  4017. case "projectGM": //课程管理
  4018. _formdiv = new U.UF.UI.form(
  4019. "课程管理",
  4020. $$("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 }), {
  4021. "id": "projectGM",
  4022. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4023. "onresize": function () { }
  4024. }, {
  4025. closecallback: function () { }
  4026. }, { "style": { "height": "36px" } }).form; //创建窗体
  4027. _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); } }
  4028. break;
  4029. case "studyGM": //课程中心
  4030. _formdiv = new U.UF.UI.form(
  4031. "课程中心",
  4032. $$("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
  4033. "id": "study",
  4034. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4035. "onresize": function () { }
  4036. }, {
  4037. closecallback: function () { }
  4038. }, { "style": { "height": "36px" } }).form; //创建窗体
  4039. _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); } }
  4040. break;
  4041. // studentGM
  4042. case "studentGM": //学生管理
  4043. _formdiv = new U.UF.UI.form(
  4044. "学生管理",
  4045. $$("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 }), {
  4046. "id": "studentGM",
  4047. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4048. "onresize": function () { }
  4049. }, {
  4050. closecallback: function () { }
  4051. }, { "style": { "height": "36px" } }).form; //创建窗体
  4052. _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); } }
  4053. break;
  4054. case "evaluateGM": //学生评价
  4055. _formdiv = new U.UF.UI.form(
  4056. "学生评价",
  4057. $$("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 }), {
  4058. "id": "evaluateGM",
  4059. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4060. "onresize": function () { }
  4061. }, {
  4062. closecallback: function () { }
  4063. }, { "style": { "height": "36px" } }).form; //创建窗体
  4064. _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); } }
  4065. break;
  4066. // classGM
  4067. case "classGM": //班级管理
  4068. _formdiv = new U.UF.UI.form(
  4069. "班级管理",
  4070. $$("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 }), {
  4071. "id": "classGM",
  4072. "style": { "width": "90%", "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/gm/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4078. break;
  4079. // dataGM
  4080. case "dataGM":
  4081. _formdiv = new U.UF.UI.form(
  4082. "我的资料",
  4083. $$("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 }), {
  4084. "id": "dataGM",
  4085. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4086. "onresize": function () { }
  4087. }, {
  4088. closecallback: function () { }
  4089. }, { "style": { "height": "36px" } }).form; //创建窗体
  4090. _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); } }
  4091. break;
  4092. // caseGM
  4093. case "caseGM": //课程进展
  4094. _formdiv = new U.UF.UI.form(
  4095. "课程进展",
  4096. $$("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 }), {
  4097. "id": "caseGM",
  4098. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4099. "onresize": function () { }
  4100. }, {
  4101. closecallback: function () { }
  4102. }, { "style": { "height": "36px" } }).form; //创建窗体
  4103. _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); } }
  4104. break;
  4105. // meterialGM
  4106. case "meterialGM": //素材库
  4107. _formdiv = new U.UF.UI.form(
  4108. "素材库",
  4109. $$("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 }), {
  4110. "id": "meterialGM",
  4111. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4112. "onresize": function () { }
  4113. }, {
  4114. closecallback: function () { }
  4115. }, { "style": { "height": "36px" } }).form; //创建窗体
  4116. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/material.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4117. break;
  4118. // evaluateSGM
  4119. case "evaluateSGM": //我的评价
  4120. _formdiv = new U.UF.UI.form(
  4121. "我的评价",
  4122. $$("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 }), {
  4123. "id": "evaluateSGM",
  4124. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4125. "onresize": function () { }
  4126. }, {
  4127. closecallback: function () { }
  4128. }, { "style": { "height": "36px" } }).form; //创建窗体
  4129. _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); } }
  4130. break;
  4131. case "jupyter": //jupyter
  4132. _formdiv = new U.UF.UI.form(
  4133. "jupyter",
  4134. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4135. "id": "jupyter",
  4136. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4137. "onresize": function () { }
  4138. }, {
  4139. closecallback: function () { }
  4140. }, { "style": { "height": "36px" } }).form; //创建窗体
  4141. _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); } }
  4142. break;
  4143. case "number": //数字实验室
  4144. _formdiv = new U.UF.UI.form(
  4145. "数字实验室",
  4146. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4147. "id": "number",
  4148. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4149. "onresize": function () { }
  4150. }, {
  4151. closecallback: function () { }
  4152. }, { "style": { "height": "36px" } }).form; //创建窗体
  4153. _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); } }
  4154. break;
  4155. case "studentCourse": //项目管理 学生
  4156. _formdiv = new U.UF.UI.form(
  4157. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4158. $$("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 }), {
  4159. "id": "studentCourse",
  4160. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4161. "onresize": function () { }
  4162. }, {
  4163. closecallback: function () { }
  4164. }, { "style": { "height": "36px" } }).form; //创建窗体
  4165. _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); } }
  4166. break;
  4167. case "studentCourseS": //项目管理 老师
  4168. _formdiv = new U.UF.UI.form(
  4169. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4170. $$("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 }), {
  4171. "id": "studentCourseS",
  4172. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4173. "onresize": function () { }
  4174. }, {
  4175. closecallback: function () { }
  4176. }, { "style": { "height": "36px" } }).form; //创建窗体
  4177. _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); } }
  4178. break;
  4179. case "studentIndex": //项目中心
  4180. _formdiv = new U.UF.UI.form(
  4181. "项目中心",
  4182. $$("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 }), {
  4183. "id": "studentIndex",
  4184. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4185. "onresize": function () { }
  4186. }, {
  4187. closecallback: function () { }
  4188. }, { "style": { "height": "36px" } }).form; //创建窗体
  4189. _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); } }
  4190. break;
  4191. case "CaseDesignS":
  4192. _formdiv = new U.UF.UI.form(
  4193. "项目进展",
  4194. $$("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 }), {
  4195. "id": "case",
  4196. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4197. "onresize": function () { }
  4198. }, {
  4199. closecallback: function () { }
  4200. }, { "style": { "height": "36px" } }).form; //创建窗体
  4201. _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); } }
  4202. break;
  4203. case "tcStudent": //腾讯学生管理
  4204. _formdiv = new U.UF.UI.form(
  4205. "学生管理",
  4206. $$("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 }), {
  4207. "id": "tcStudent",
  4208. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4209. "onresize": function () { }
  4210. }, {
  4211. closecallback: function () { }
  4212. }, { "style": { "height": "36px" } }).form; //创建窗体
  4213. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4214. break;
  4215. case "tcSchool": //腾讯学校管理
  4216. _formdiv = new U.UF.UI.form(
  4217. "学校管理",
  4218. $$("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 }), {
  4219. "id": "tcSchool",
  4220. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4221. "onresize": function () { }
  4222. }, {
  4223. closecallback: function () { }
  4224. }, { "style": { "height": "36px" } }).form; //创建窗体
  4225. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/school.png)" }, "name": "学校管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4226. break;
  4227. case "tcTeacher": //腾讯学校管理
  4228. _formdiv = new U.UF.UI.form(
  4229. "教师管理",
  4230. $$("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 }), {
  4231. "id": "tcTeacher",
  4232. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4233. "onresize": function () { }
  4234. }, {
  4235. closecallback: function () { }
  4236. }, { "style": { "height": "36px" } }).form; //创建窗体
  4237. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacher.png)" }, "name": "教师管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4238. break;
  4239. case "tcData": //腾讯我的资料
  4240. _formdiv = new U.UF.UI.form(
  4241. "我的资料",
  4242. $$("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 }), {
  4243. "id": "tcData",
  4244. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4245. "onresize": function () { }
  4246. }, {
  4247. closecallback: function () { }
  4248. }, { "style": { "height": "36px" } }).form; //创建窗体
  4249. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4250. break;
  4251. case "tcNotice": //腾讯消息通知
  4252. _formdiv = new U.UF.UI.form(
  4253. "消息通知",
  4254. $$("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 }), {
  4255. "id": "tcNotice",
  4256. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4257. "onresize": function () { }
  4258. }, {
  4259. closecallback: function () { }
  4260. }, { "style": { "height": "36px" } }).form; //创建窗体
  4261. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "消息通知", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4262. break;
  4263. case "myReport": //好友打开
  4264. _formdiv = new U.UF.UI.form(
  4265. "我的评价",
  4266. $$("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 }), {
  4267. "id": "myReport",
  4268. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4269. "onresize": function () { }
  4270. }, {
  4271. closecallback: function () { }
  4272. }, { "style": { "height": "36px" } }).form; //创建窗体
  4273. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4274. break;
  4275. case "learnAna": //好友打开
  4276. _formdiv = new U.UF.UI.form(
  4277. "学习分析",
  4278. $$("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 }), {
  4279. "id": "learnAna",
  4280. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4281. "onresize": function () { }
  4282. }, {
  4283. closecallback: function () { }
  4284. }, { "style": { "height": "36px" } }).form; //创建窗体
  4285. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "学习分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4286. break;
  4287. case "AIChat": //AI共创
  4288. _formdiv = new U.UF.UI.form(
  4289. "AI共创",
  4290. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4291. "id": "AIChat",
  4292. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4293. "onresize": function () { }
  4294. }, {
  4295. istop: true,
  4296. closecallback: function () { $("#aichat_icon").remove(); },
  4297. narrowcallback: function () {
  4298. if (!$("#aichat_icon")[0]) {
  4299. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4300. }
  4301. },
  4302. }, { "style": { "height": "36px" } }).form; //创建窗体
  4303. _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); } }
  4304. break;
  4305. case "ainew": //AI共创
  4306. _formdiv = new U.UF.UI.form(
  4307. "AI协同",
  4308. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4309. "id": "ainew",
  4310. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4311. "onresize": function () { }
  4312. }, {
  4313. closecallback: function () { }
  4314. }, { "style": { "height": "36px" } }).form; //创建窗体
  4315. _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); } }
  4316. break;
  4317. case "futureClass": //AI共创
  4318. _formdiv = new U.UF.UI.form(
  4319. "协同建构",
  4320. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://cscl.cocorobo.cn
  4321. "id": "synergyCourse",
  4322. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4323. "onresize": function () { }
  4324. }, {
  4325. closecallback: function () { }
  4326. }, { "style": { "height": "36px" } }).form; //创建窗体
  4327. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "协同建构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4328. break;
  4329. case "aiagent": //ai agent
  4330. _formdiv = new U.UF.UI.form(
  4331. "AI Agent",
  4332. $$("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" }), {
  4333. "id": "AIAgent",
  4334. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4335. "onresize": function () { }
  4336. }, {
  4337. closecallback: function () { }
  4338. }, { "style": { "height": "36px" } }).form; //创建窗体
  4339. _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); } }
  4340. break;
  4341. case "dataBoard": //数据看板
  4342. _formdiv = new U.UF.UI.form(
  4343. "数据看板",
  4344. $$("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 }), {
  4345. "id": "dataBoard",
  4346. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4347. "onresize": function () { }
  4348. }, {
  4349. closecallback: function () { }
  4350. }, { "style": { "height": "36px" } }).form; //创建窗体
  4351. _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); } }
  4352. break;
  4353. case "dataBoardSies": //数据看板
  4354. _formdiv = new U.UF.UI.form(
  4355. "数据看板",
  4356. $$("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 }), {
  4357. "id": "dataBoardSies",
  4358. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4359. "onresize": function () { }
  4360. }, {
  4361. closecallback: function () { }
  4362. }, { "style": { "height": "36px" } }).form; //创建窗体
  4363. _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); } }
  4364. break;
  4365. case "AIAnalyse": //AI共创
  4366. _formdiv = new U.UF.UI.form(
  4367. "AI分析",
  4368. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4369. "id": "AIAnalyse",
  4370. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4371. "onresize": function () { }
  4372. }, {
  4373. closecallback: function () { }
  4374. }, { "style": { "height": "36px" } }).form; //创建窗体
  4375. _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); } }
  4376. break;
  4377. case "studioCourse": //AI共创
  4378. _formdiv = new U.UF.UI.form(
  4379. "工作管理",
  4380. $$("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 }), {
  4381. "id": "studioCourse",
  4382. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4383. "onresize": function () { }
  4384. }, {
  4385. closecallback: function () { }
  4386. }, { "style": { "height": "36px" } }).form; //创建窗体
  4387. _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); } }
  4388. break;
  4389. case "studioIndex": //AI共创
  4390. _formdiv = new U.UF.UI.form(
  4391. "工作中心",
  4392. $$("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 }), {
  4393. "id": "studioIndex",
  4394. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4395. "onresize": function () { }
  4396. }, {
  4397. closecallback: function () { }
  4398. }, { "style": { "height": "36px" } }).form; //创建窗体
  4399. _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); } }
  4400. break;
  4401. case "source":
  4402. _formdiv = new U.UF.UI.form(
  4403. "教学资源",
  4404. $$("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 }), {
  4405. "id": "source",
  4406. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4407. "onresize": function () { }
  4408. }, {
  4409. closecallback: function () { }
  4410. }, { "style": { "height": "36px" } }).form; //创建窗体
  4411. _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); } }
  4412. break;
  4413. case "testTeacher":
  4414. _formdiv = new U.UF.UI.form(
  4415. "评测管理",
  4416. $$("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 }), {
  4417. "id": "testTeacher",
  4418. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4419. "onresize": function () { }
  4420. }, {
  4421. closecallback: function () { }
  4422. }, { "style": { "height": "36px" } }).form; //创建窗体
  4423. _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); } }
  4424. break;
  4425. case "testStudent":
  4426. _formdiv = new U.UF.UI.form(
  4427. "评测中心",
  4428. $$("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 }), {
  4429. "id": "testStudent",
  4430. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4431. "onresize": function () { }
  4432. }, {
  4433. closecallback: function () { }
  4434. }, { "style": { "height": "36px" } }).form; //创建窗体
  4435. _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); } }
  4436. break;
  4437. }
  4438. //U.MD.D.I.openClick(str);
  4439. //如果有任务栏信息
  4440. if (_taskbar) {
  4441. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4442. }
  4443. }
  4444. // U.MD.D.I.openClick = function(str){
  4445. // var click = '';
  4446. // switch(str){
  4447. // case 'friend':
  4448. // click = '我的好友';
  4449. // break;
  4450. // case 'domain':
  4451. // click = '域名管理';
  4452. // break;
  4453. // case 'disk':
  4454. // click = '我的云盘';
  4455. // break;
  4456. // case 'word':
  4457. // click = 'Word';
  4458. // break;
  4459. // case 'excel':
  4460. // click = 'Execl';
  4461. // break;
  4462. // case 'txt':
  4463. // click = '文本文件';
  4464. // break;
  4465. // case 'lookupFriend':
  4466. // click = '查找好友';
  4467. // break;
  4468. // case 'ftp':
  4469. // click = 'FTP';
  4470. // break;
  4471. // case 'group':
  4472. // click = '群组';
  4473. // break;
  4474. // case 'set':
  4475. // click = '我的设置';
  4476. // break;
  4477. // case 'systemSet':
  4478. // click = '系统设置';
  4479. // break;
  4480. // case 'boomYun':
  4481. // click = '互联办公';
  4482. // break;
  4483. // case 'xz':
  4484. // click = '云端下载';
  4485. // break;
  4486. // case 'client':
  4487. // click = '有思浏览器';
  4488. // break;
  4489. // case 'backEndProgramming':
  4490. // click = '在线后台编程';
  4491. // break;
  4492. // case 'frontEndProgramming':
  4493. // click = '在线前端编程';
  4494. // break;
  4495. // default: break;
  4496. // }
  4497. // if(U.MD.D.I.Ip && click){
  4498. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4499. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4500. // })
  4501. // }
  4502. // }
  4503. /**
  4504. *函数作用:ajax简易函数,使用post格式
  4505. *@param url {data} 后台地址
  4506. *@param data {data} 参数json
  4507. *@param fn {data} 回调函数
  4508. *
  4509. */
  4510. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4511. // var xhr = new XMLHttpRequest();
  4512. // xhr.open("GET",url,true);
  4513. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4514. // xhr.onreadystatechange = function(){
  4515. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4516. // fn.call(this,xhr.responseText);
  4517. // }
  4518. // };
  4519. // xhr.send();
  4520. // }
  4521. /*判断是否是内网IP*/
  4522. // U.MD.D.I.isInnerIPFn = function(str){
  4523. // var curPageUrl = str;
  4524. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4525. // curPageUrl =curPageUrl.replace(reg1,'');
  4526. // // console.log('curPageUrl-1 '+curPageUrl);
  4527. // var reg2 = /\:+/g;//替换冒号为一点
  4528. // curPageUrl =curPageUrl.replace(reg2,'.');
  4529. // // console.log('curPageUrl-2 '+curPageUrl);
  4530. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4531. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4532. // if(curPageUrl[2] != '16'){
  4533. // return ipAddress;
  4534. // }else{
  4535. // return false;
  4536. // }
  4537. // }
  4538. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4539. // //compatibility for firefox and chrome
  4540. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4541. // var pc = new myPeerConnection({
  4542. // iceServers: []
  4543. // }),
  4544. // noop = function() {},
  4545. // localIPs = {},
  4546. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4547. // key;
  4548. // function iterateIP(ip) {
  4549. // if (!localIPs[ip]) onNewIP(ip);
  4550. // localIPs[ip] = true;
  4551. // }
  4552. // //create a bogus data channel
  4553. // pc.createDataChannel("");
  4554. // // create offer and set local description
  4555. // pc.createOffer().then(function(sdp) {
  4556. // sdp.sdp.split('\n').forEach(function(line) {
  4557. // if (line.indexOf('candidate') < 0) return;
  4558. // line.match(ipRegex).forEach(iterateIP);
  4559. // });
  4560. // pc.setLocalDescription(sdp, noop, noop);
  4561. // }).catch(function(reason) {
  4562. // // An error occurred, so handle the failure to connect
  4563. // });
  4564. // //sten for candidate events
  4565. // pc.onicecandidate = function(ice) {
  4566. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4567. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4568. // };
  4569. // }
  4570. // U.MD.D.I.getUserIpBool = function(callback){
  4571. // U.MD.D.I.getUserIP(function(ip){
  4572. // alert("Got IP! :" + ip);
  4573. // });
  4574. //}
  4575. //#endregion
  4576. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4577. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4578. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4579. _userinfo = US.userInfo, //登录用户信息
  4580. _userid = US.userInfo.userid //登录用户id
  4581. let _iframe;
  4582. let _cid = cid,
  4583. _stage = stage,
  4584. _task = task,
  4585. _tool = tool;
  4586. var _jie = $$("div", {
  4587. "style": {
  4588. "position": "absolute",
  4589. "bottom": "50px",
  4590. "right": "50px",
  4591. "zIndex": "9999",
  4592. "backgroundColor": "#2268bc",
  4593. "color": "#fff",
  4594. "padding": "12px 20px",
  4595. "cursor": "pointer",
  4596. "borderRadius": "4px",
  4597. },
  4598. "innerHTML": "提交作业"
  4599. })
  4600. let aTool = ''
  4601. let _loading = document.createElement('div')
  4602. _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;"
  4603. // _loading.id = "";
  4604. let _lchild = document.createElement('div')
  4605. let _limg = document.createElement('img')
  4606. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4607. _limg.style = "width: 26px;margin-right: 10px;"
  4608. _lchild.appendChild(_limg)
  4609. let _lspan = document.createElement('span')
  4610. _lspan.innerHTML = "上传中..."
  4611. _lchild.appendChild(_lspan)
  4612. _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%);"
  4613. _loading.appendChild(_lchild)
  4614. var _box = $$('div', {
  4615. "style": {
  4616. "position": "relative",
  4617. "width": "100%",
  4618. "height": "100%",
  4619. },
  4620. })
  4621. _box.appendChild(_loading)
  4622. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4623. switch (str) {
  4624. case "whiteboard":
  4625. aTool = 1;
  4626. _iframe = $$("iframe", {
  4627. "frameborder": "no",
  4628. "border": "0",
  4629. "scrolling ": "no",
  4630. "style": {
  4631. "cssText": "border:0;width:100%;height:100%"
  4632. },
  4633. "src": "https://iwb.cocorobo.cn/"
  4634. })
  4635. _box.appendChild(_iframe);
  4636. _box.appendChild(_jie);
  4637. _formdiv = new U.UF.UI.form(
  4638. "电子白板",
  4639. _box, {
  4640. "id": "whiteboard" + cid + stage + task + tool,
  4641. "style": {
  4642. "width": "90%",
  4643. "height": "90%",
  4644. "overflow": 'hidden'
  4645. },
  4646. "onresize": function () { }
  4647. }, {
  4648. closecallback: function () { }
  4649. }, {
  4650. "style": {
  4651. "height": "36px"
  4652. }
  4653. }).form; //创建窗体
  4654. _taskbar = {
  4655. "id": str + _formdiv.id,
  4656. "style": {
  4657. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4658. },
  4659. "name": "电子白板",
  4660. "forms": _formdiv,
  4661. "click": function () {
  4662. U.MD.D.I.openApplication(str, obj, info);
  4663. }
  4664. }
  4665. break;
  4666. case "mind":
  4667. aTool = 3;
  4668. _iframe = $$("iframe", {
  4669. "frameborder": "no",
  4670. "border": "0",
  4671. "scrolling ": "no",
  4672. "style": {
  4673. "cssText": "border:0;width:100%;height:100%"
  4674. },
  4675. "src": "/kityminder-editor/dist/index.html"
  4676. })
  4677. _box.appendChild(_iframe);
  4678. _box.appendChild(_jie);
  4679. _formdiv = new U.UF.UI.form(
  4680. "思维导图",
  4681. _box, { //"/jsmind/example/demo.html"
  4682. "id": "mind" + cid + stage + task + tool,
  4683. "style": {
  4684. "width": "90%",
  4685. "height": "90%",
  4686. "overflow": 'hidden'
  4687. },
  4688. "onresize": function () { }
  4689. }, {
  4690. closecallback: function () { }
  4691. }, {
  4692. "style": {
  4693. "height": "36px"
  4694. }
  4695. }).form; //创建窗体
  4696. _taskbar = {
  4697. "id": str + _formdiv.id,
  4698. "style": {
  4699. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4700. },
  4701. "name": "思维导图",
  4702. "forms": _formdiv,
  4703. "click": function () {
  4704. U.MD.D.I.openApplication(str, obj, info);
  4705. }
  4706. }
  4707. break;
  4708. case "MindMap":
  4709. aTool = 3;
  4710. _iframe = $$("iframe", {
  4711. "frameborder": "no",
  4712. "border": "0",
  4713. "scrolling ": "no",
  4714. "style": {
  4715. "cssText": "border:0;width:100%;height:100%"
  4716. },
  4717. "src": "//cloud.cocorobo.cn/mind/"
  4718. })
  4719. _box.appendChild(_iframe);
  4720. _box.appendChild(_jie);
  4721. _formdiv = new U.UF.UI.form(
  4722. "思维导图",
  4723. _box, { //"/jsmind/example/demo.html"
  4724. "id": "mind" + cid + stage + task + tool,
  4725. "style": {
  4726. "width": "90%",
  4727. "height": "90%",
  4728. "overflow": 'hidden'
  4729. },
  4730. "onresize": function () { }
  4731. }, {
  4732. closecallback: function () { }
  4733. }, {
  4734. "style": {
  4735. "height": "36px"
  4736. }
  4737. }).form; //创建窗体
  4738. _taskbar = {
  4739. "id": str + _formdiv.id,
  4740. "style": {
  4741. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4742. },
  4743. "name": "思维导图",
  4744. "forms": _formdiv,
  4745. "click": function () {
  4746. U.MD.D.I.openApplication(str, obj, info);
  4747. }
  4748. }
  4749. break;
  4750. case "doc":
  4751. aTool = 6;
  4752. _iframe = $$("iframe", {
  4753. "frameborder": "no",
  4754. "border": "0",
  4755. "scrolling ": "no",
  4756. "style": {
  4757. "cssText": "border:0;width:100%;height:100%"
  4758. },
  4759. "src": "/Office/Word/WordEditArea.htm"
  4760. })
  4761. _box.appendChild(_iframe);
  4762. _box.appendChild(_jie);
  4763. _formdiv = new U.UF.UI.form(
  4764. "协同文档",
  4765. _box, {
  4766. "id": "doc" + cid + stage + task + tool,
  4767. "style": {
  4768. "width": "90%",
  4769. "height": "90%",
  4770. "overflow": 'hidden'
  4771. },
  4772. "onresize": function () { }
  4773. }, {
  4774. closecallback: function () { }
  4775. }, {
  4776. "style": {
  4777. "height": "36px"
  4778. }
  4779. }).form; //创建窗体
  4780. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4781. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4782. })
  4783. _taskbar = {
  4784. "id": str + _formdiv.id,
  4785. "style": {
  4786. "backgroundImage": "url(/img/icon/doc.png)"
  4787. },
  4788. "name": "协同文档",
  4789. "forms": _formdiv,
  4790. "click": function () {
  4791. U.MD.D.I.openApplication(str, obj, info);
  4792. }
  4793. }
  4794. break;
  4795. case "mindNetwork": //好友打开
  4796. aTool = 7;
  4797. _iframe = $$("iframe", {
  4798. "webkitallowfullscreen": "",
  4799. "mozallowfullscreen": "",
  4800. "allowfullscreen": "",
  4801. "frameborder": "no",
  4802. "border": "0",
  4803. "scrolling ": "no",
  4804. "style": {
  4805. "cssText": "border:0; width:100%; height:100%;"
  4806. },
  4807. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4808. })
  4809. _box.appendChild(_iframe);
  4810. _box.appendChild(_jie);
  4811. _formdiv = new U.UF.UI.form(
  4812. "思维网格",
  4813. _box, {
  4814. "id": "mindNetwork" + cid + stage + task + tool,
  4815. "style": {
  4816. "width": "90%",
  4817. "height": "90%",
  4818. "overflow": 'hidden'
  4819. },
  4820. "onresize": function () { }
  4821. }, {
  4822. closecallback: function () { }
  4823. }, {
  4824. "style": {
  4825. "height": "36px"
  4826. }
  4827. }).form; //创建窗体
  4828. _taskbar = {
  4829. "id": str + _formdiv.id,
  4830. "style": {
  4831. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4832. },
  4833. "name": "思维网格",
  4834. "forms": _formdiv,
  4835. "click": function () {
  4836. U.MD.D.I.openApplication(str, obj, info);
  4837. }
  4838. }
  4839. break;
  4840. case "courseDesign":
  4841. _iframe = $$("iframe", {
  4842. "webkitallowfullscreen": "",
  4843. "mozallowfullscreen": "",
  4844. "allowfullscreen": "",
  4845. "frameborder": "no",
  4846. "border": "0",
  4847. "scrolling ": "no",
  4848. "style": {
  4849. "cssText": "border:0; width:100%; height:100%;"
  4850. },
  4851. "src": "/course-design-vue"
  4852. })
  4853. _box.appendChild(_iframe);
  4854. _box.appendChild(_jie);
  4855. _formdiv = new U.UF.UI.form(
  4856. "项目设计",
  4857. _box, {
  4858. "id": "courseDesign" + cid + stage + task + tool,
  4859. "style": {
  4860. "width": "90%",
  4861. "height": "90%",
  4862. "overflow": 'hidden'
  4863. },
  4864. "onresize": function () { }
  4865. }, {
  4866. closecallback: function () { }
  4867. }, {
  4868. "style": {
  4869. "height": "36px"
  4870. }
  4871. }).form; //创建窗体
  4872. _taskbar = {
  4873. "id": str + _formdiv.id,
  4874. "style": {
  4875. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4876. },
  4877. "name": "项目设计",
  4878. "forms": _formdiv,
  4879. "click": function () {
  4880. U.MD.D.I.openApplication(str, obj, info);
  4881. }
  4882. }
  4883. break;
  4884. }
  4885. const script1 = document.createElement("script");
  4886. script1.type = "text/javascript";
  4887. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4888. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4889. const script2 = document.createElement("script");
  4890. script2.type = "text/javascript";
  4891. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4892. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4893. const script3 = document.createElement("script");
  4894. script3.type = "text/javascript";
  4895. script3.charset = "UTF-8";
  4896. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4897. const script4 = document.createElement("script");
  4898. script4.type = "text/javascript";
  4899. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4900. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4901. if (_iframe) {
  4902. if (str == 'doc') {
  4903. _iframe = _formdiv.querySelector('iframe')
  4904. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4905. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4906. _iframe.contentWindow.document.body.appendChild(script1);
  4907. _iframe.contentWindow.document.body.appendChild(script2);
  4908. // _iframe.contentWindow.document.body.appendChild(script3);
  4909. _iframe.contentWindow.document.body.appendChild(script4);
  4910. })
  4911. if (onloadListener) {
  4912. _iframe.contentDocument.location.reload()
  4913. } else {
  4914. _iframe.contentDocument.location.reload()
  4915. }
  4916. } else if (str == 'courseDesign') {
  4917. U.UF.DL.iframeLoad(_iframe, function () {
  4918. // _iframe.contentWindow.U.MD.O.W.load();
  4919. // _iframe.contentWindow.document.body.appendChild(script1);
  4920. _iframe.contentWindow.document.body.appendChild(script2);
  4921. _iframe.contentWindow.document.body.appendChild(script4);
  4922. })
  4923. } else if (str == 'mind') {
  4924. _iframe = _formdiv.querySelector('iframe')
  4925. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4926. //
  4927. _iframe.contentWindow.document.body.appendChild(script1);
  4928. _iframe.contentWindow.document.body.appendChild(script2);
  4929. _iframe.contentWindow.document.body.appendChild(script4);
  4930. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4931. })
  4932. if (onloadListener) {
  4933. _iframe.contentDocument.location.reload()
  4934. } else {
  4935. _iframe.contentDocument.location.reload()
  4936. }
  4937. } else if (str == 'whiteboard') {
  4938. _iframe = _formdiv.querySelector('iframe')
  4939. let onloadListener = _iframe.onload = () => {
  4940. _iframe.contentWindow.document.body.appendChild(script1);
  4941. _iframe.contentWindow.document.body.appendChild(script2);
  4942. _iframe.contentWindow.document.body.appendChild(script4);
  4943. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4944. };
  4945. if (onloadListener) {
  4946. _iframe.contentDocument.location.reload()
  4947. } else {
  4948. _iframe.contentDocument.location.reload()
  4949. }
  4950. } else {
  4951. _iframe.onload = () => {
  4952. _iframe.contentWindow.document.body.appendChild(script1);
  4953. _iframe.contentWindow.document.body.appendChild(script2);
  4954. // _iframe.contentWindow.document.body.appendChild(script3);
  4955. _iframe.contentWindow.document.body.appendChild(script4);
  4956. };
  4957. }
  4958. _jie.onclick = async () => {
  4959. let text = ''
  4960. if (aTool == 1) {
  4961. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4962. } else if (aTool == 6) {
  4963. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4964. } else if (aTool == 3) {
  4965. text = await U.MD.D.I.getEditorContent(_iframe);
  4966. }
  4967. _loading.style.display = 'flex'
  4968. console.log(_loading);
  4969. var _ajs = _iframe.contentWindow.document.createElement("script");
  4970. _ajs.type = "text/javascript";
  4971. _ajs.innerHTML =
  4972. // 'console.log(' + _loading + ');\n' +
  4973. 'var _js = document.createElement("script");\n' +
  4974. '_js.type="text/javascript";\n' +
  4975. '_js.charset="UTF-8";\n' +
  4976. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4977. "_js.onload = function(){\n" +
  4978. ' var a = document.getElementsByTagName("img")\n' +
  4979. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4980. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4981. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4982. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4983. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4984. "beforeUpload_shishi(file," +
  4985. "'" +
  4986. _userid +
  4987. "'" +
  4988. ", " +
  4989. "'" +
  4990. _cid +
  4991. "'" +
  4992. ", " +
  4993. "'" +
  4994. _stage +
  4995. "'" +
  4996. ", " +
  4997. "'" +
  4998. _task +
  4999. "'" +
  5000. ", " +
  5001. "'" +
  5002. _tool +
  5003. "'" +
  5004. ", " +
  5005. "'" +
  5006. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5007. "'" +
  5008. ", " +
  5009. "'" +
  5010. aTool +
  5011. "'" +
  5012. ", " +
  5013. "`" +
  5014. text +
  5015. "`" +
  5016. ")\n" +
  5017. " });\n" +
  5018. "}\n" +
  5019. "document.head.appendChild(_js);\n";
  5020. _iframe.contentWindow.document.head.appendChild(_ajs);
  5021. }
  5022. }
  5023. //U.MD.D.I.openClick(str);
  5024. //如果有任务栏信息
  5025. // if (_taskbar) {
  5026. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5027. // }
  5028. }
  5029. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5030. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5031. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5032. _userinfo = US.userInfo, //登录用户信息
  5033. _userid = US.userInfo.userid //登录用户id
  5034. let _iframe;
  5035. let _cid = cid,
  5036. _stage = stage,
  5037. _task = task,
  5038. _tool = tool;
  5039. var _jie = $$("div", {
  5040. "style": {
  5041. "position": "absolute",
  5042. "bottom": "50px",
  5043. "right": "50px",
  5044. "zIndex": "9999",
  5045. "backgroundColor": "#2268bc",
  5046. "color": "#fff",
  5047. "padding": "12px 20px",
  5048. "cursor": "pointer",
  5049. "borderRadius": "4px",
  5050. },
  5051. "innerHTML": "提交作业"
  5052. })
  5053. let aTool = ''
  5054. let _loading = document.createElement('div')
  5055. _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;"
  5056. // _loading.id = "";
  5057. let _lchild = document.createElement('div')
  5058. let _limg = document.createElement('img')
  5059. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5060. _limg.style = "width: 26px;margin-right: 10px;"
  5061. _lchild.appendChild(_limg)
  5062. let _lspan = document.createElement('span')
  5063. _lspan.innerHTML = "上传中..."
  5064. _lchild.appendChild(_lspan)
  5065. _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%);"
  5066. _loading.appendChild(_lchild)
  5067. var _box = $$('div', {
  5068. "style": {
  5069. "position": "relative",
  5070. "width": "100%",
  5071. "height": "100%",
  5072. },
  5073. })
  5074. _box.appendChild(_loading)
  5075. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5076. switch (str) {
  5077. case "whiteboard":
  5078. aTool = 1;
  5079. _iframe = $$("iframe", {
  5080. "frameborder": "no",
  5081. "border": "0",
  5082. "scrolling ": "no",
  5083. "style": {
  5084. "cssText": "border:0;width:100%;height:100%"
  5085. },
  5086. "src": "https://iwb.cocorobo.cn/"
  5087. })
  5088. _box.appendChild(_iframe);
  5089. _box.appendChild(_jie);
  5090. _formdiv = new U.UF.UI.form(
  5091. "电子白板",
  5092. _box, {
  5093. "id": "whiteboard" + cid + stage + task + tool,
  5094. "style": {
  5095. "width": "90%",
  5096. "height": "90%",
  5097. "overflow": 'hidden'
  5098. },
  5099. "onresize": function () { }
  5100. }, {
  5101. closecallback: function () { }
  5102. }, {
  5103. "style": {
  5104. "height": "36px"
  5105. }
  5106. }).form; //创建窗体
  5107. _taskbar = {
  5108. "id": str + _formdiv.id,
  5109. "style": {
  5110. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5111. },
  5112. "name": "电子白板",
  5113. "forms": _formdiv,
  5114. "click": function () {
  5115. U.MD.D.I.openApplication(str, obj, info);
  5116. }
  5117. }
  5118. break;
  5119. case "mind":
  5120. aTool = 3;
  5121. _iframe = $$("iframe", {
  5122. "frameborder": "no",
  5123. "border": "0",
  5124. "scrolling ": "no",
  5125. "style": {
  5126. "cssText": "border:0;width:100%;height:100%"
  5127. },
  5128. "src": "/kityminder-editor/dist/index.html"
  5129. })
  5130. _box.appendChild(_iframe);
  5131. _box.appendChild(_jie);
  5132. _formdiv = new U.UF.UI.form(
  5133. "思维导图",
  5134. _box, { //"/jsmind/example/demo.html"
  5135. "id": "mind" + cid + stage + task + tool,
  5136. "style": {
  5137. "width": "90%",
  5138. "height": "90%",
  5139. "overflow": 'hidden'
  5140. },
  5141. "onresize": function () { }
  5142. }, {
  5143. closecallback: function () { }
  5144. }, {
  5145. "style": {
  5146. "height": "36px"
  5147. }
  5148. }).form; //创建窗体
  5149. _taskbar = {
  5150. "id": str + _formdiv.id,
  5151. "style": {
  5152. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5153. },
  5154. "name": "思维导图",
  5155. "forms": _formdiv,
  5156. "click": function () {
  5157. U.MD.D.I.openApplication(str, obj, info);
  5158. }
  5159. }
  5160. break;
  5161. case "MindMap":
  5162. aTool = 3;
  5163. _iframe = $$("iframe", {
  5164. "frameborder": "no",
  5165. "border": "0",
  5166. "scrolling ": "no",
  5167. "style": {
  5168. "cssText": "border:0;width:100%;height:100%"
  5169. },
  5170. "src": "//cloud.cocorobo.cn/mind/"
  5171. })
  5172. _box.appendChild(_iframe);
  5173. _box.appendChild(_jie);
  5174. _formdiv = new U.UF.UI.form(
  5175. "思维导图",
  5176. _box, { //"/jsmind/example/demo.html"
  5177. "id": "mind" + cid + stage + task + tool,
  5178. "style": {
  5179. "width": "90%",
  5180. "height": "90%",
  5181. "overflow": 'hidden'
  5182. },
  5183. "onresize": function () { }
  5184. }, {
  5185. closecallback: function () { }
  5186. }, {
  5187. "style": {
  5188. "height": "36px"
  5189. }
  5190. }).form; //创建窗体
  5191. _taskbar = {
  5192. "id": str + _formdiv.id,
  5193. "style": {
  5194. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5195. },
  5196. "name": "思维导图",
  5197. "forms": _formdiv,
  5198. "click": function () {
  5199. U.MD.D.I.openApplication(str, obj, info);
  5200. }
  5201. }
  5202. break;
  5203. case "doc":
  5204. aTool = 6;
  5205. _iframe = $$("iframe", {
  5206. "frameborder": "no",
  5207. "border": "0",
  5208. "scrolling ": "no",
  5209. "style": {
  5210. "cssText": "border:0;width:100%;height:100%"
  5211. },
  5212. "src": "/Office/Word/WordEditArea.htm"
  5213. })
  5214. _box.appendChild(_iframe);
  5215. _box.appendChild(_jie);
  5216. _formdiv = new U.UF.UI.form(
  5217. "协同文档",
  5218. _box, {
  5219. "id": "doc" + cid + stage + task + tool,
  5220. "style": {
  5221. "width": "90%",
  5222. "height": "90%",
  5223. "overflow": 'hidden'
  5224. },
  5225. "onresize": function () { }
  5226. }, {
  5227. closecallback: function () { }
  5228. }, {
  5229. "style": {
  5230. "height": "36px"
  5231. }
  5232. }).form; //创建窗体
  5233. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5234. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5235. })
  5236. _taskbar = {
  5237. "id": str + _formdiv.id,
  5238. "style": {
  5239. "backgroundImage": "url(/img/icon/doc.png)"
  5240. },
  5241. "name": "协同文档",
  5242. "forms": _formdiv,
  5243. "click": function () {
  5244. U.MD.D.I.openApplication(str, obj, info);
  5245. }
  5246. }
  5247. break;
  5248. case "mindNetwork": //好友打开
  5249. aTool = 7;
  5250. _iframe = $$("iframe", {
  5251. "webkitallowfullscreen": "",
  5252. "mozallowfullscreen": "",
  5253. "allowfullscreen": "",
  5254. "frameborder": "no",
  5255. "border": "0",
  5256. "scrolling ": "no",
  5257. "style": {
  5258. "cssText": "border:0; width:100%; height:100%;"
  5259. },
  5260. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5261. })
  5262. _box.appendChild(_iframe);
  5263. _box.appendChild(_jie);
  5264. _formdiv = new U.UF.UI.form(
  5265. "思维网格",
  5266. _box, {
  5267. "id": "mindNetwork" + cid + stage + task + tool,
  5268. "style": {
  5269. "width": "90%",
  5270. "height": "90%",
  5271. "overflow": 'hidden'
  5272. },
  5273. "onresize": function () { }
  5274. }, {
  5275. closecallback: function () { }
  5276. }, {
  5277. "style": {
  5278. "height": "36px"
  5279. }
  5280. }).form; //创建窗体
  5281. _taskbar = {
  5282. "id": str + _formdiv.id,
  5283. "style": {
  5284. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5285. },
  5286. "name": "思维网格",
  5287. "forms": _formdiv,
  5288. "click": function () {
  5289. U.MD.D.I.openApplication(str, obj, info);
  5290. }
  5291. }
  5292. break;
  5293. case "courseDesign":
  5294. _iframe = $$("iframe", {
  5295. "webkitallowfullscreen": "",
  5296. "mozallowfullscreen": "",
  5297. "allowfullscreen": "",
  5298. "frameborder": "no",
  5299. "border": "0",
  5300. "scrolling ": "no",
  5301. "style": {
  5302. "cssText": "border:0; width:100%; height:100%;"
  5303. },
  5304. "src": "/course-design-vue"
  5305. })
  5306. _box.appendChild(_iframe);
  5307. _box.appendChild(_jie);
  5308. _formdiv = new U.UF.UI.form(
  5309. "项目设计",
  5310. _box, {
  5311. "id": "courseDesign" + cid + stage + task + tool,
  5312. "style": {
  5313. "width": "90%",
  5314. "height": "90%",
  5315. "overflow": 'hidden'
  5316. },
  5317. "onresize": function () { }
  5318. }, {
  5319. closecallback: function () { }
  5320. }, {
  5321. "style": {
  5322. "height": "36px"
  5323. }
  5324. }).form; //创建窗体
  5325. _taskbar = {
  5326. "id": str + _formdiv.id,
  5327. "style": {
  5328. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5329. },
  5330. "name": "项目设计",
  5331. "forms": _formdiv,
  5332. "click": function () {
  5333. U.MD.D.I.openApplication(str, obj, info);
  5334. }
  5335. }
  5336. break;
  5337. }
  5338. const script1 = document.createElement("script");
  5339. script1.type = "text/javascript";
  5340. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5341. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5342. const script2 = document.createElement("script");
  5343. script2.type = "text/javascript";
  5344. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5345. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5346. const script3 = document.createElement("script");
  5347. script3.type = "text/javascript";
  5348. script3.charset = "UTF-8";
  5349. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5350. const script4 = document.createElement("script");
  5351. script4.type = "text/javascript";
  5352. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5353. script4.src = window.origin + "/js/Common/jietu2E.js";
  5354. if (_iframe) {
  5355. if (str == 'doc') {
  5356. _iframe = _formdiv.querySelector('iframe')
  5357. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5358. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5359. _iframe.contentWindow.document.body.appendChild(script1);
  5360. _iframe.contentWindow.document.body.appendChild(script2);
  5361. // _iframe.contentWindow.document.body.appendChild(script3);
  5362. _iframe.contentWindow.document.body.appendChild(script4);
  5363. })
  5364. if (onloadListener) {
  5365. _iframe.contentDocument.location.reload()
  5366. } else {
  5367. _iframe.contentDocument.location.reload()
  5368. }
  5369. } else if (str == 'courseDesign') {
  5370. U.UF.DL.iframeLoad(_iframe, function () {
  5371. // _iframe.contentWindow.U.MD.O.W.load();
  5372. // _iframe.contentWindow.document.body.appendChild(script1);
  5373. _iframe.contentWindow.document.body.appendChild(script2);
  5374. _iframe.contentWindow.document.body.appendChild(script4);
  5375. })
  5376. } else if (str == 'mind') {
  5377. _iframe = _formdiv.querySelector('iframe')
  5378. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5379. //
  5380. _iframe.contentWindow.document.body.appendChild(script1);
  5381. _iframe.contentWindow.document.body.appendChild(script2);
  5382. _iframe.contentWindow.document.body.appendChild(script4);
  5383. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5384. })
  5385. if (onloadListener) {
  5386. _iframe.contentDocument.location.reload()
  5387. } else {
  5388. _iframe.contentDocument.location.reload()
  5389. }
  5390. } else if (str == 'whiteboard') {
  5391. _iframe = _formdiv.querySelector('iframe')
  5392. let onloadListener = _iframe.onload = () => {
  5393. _iframe.contentWindow.document.body.appendChild(script1);
  5394. _iframe.contentWindow.document.body.appendChild(script2);
  5395. _iframe.contentWindow.document.body.appendChild(script4);
  5396. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5397. };
  5398. if (onloadListener) {
  5399. _iframe.contentDocument.location.reload()
  5400. } else {
  5401. _iframe.contentDocument.location.reload()
  5402. }
  5403. } else {
  5404. _iframe.onload = () => {
  5405. _iframe.contentWindow.document.body.appendChild(script1);
  5406. _iframe.contentWindow.document.body.appendChild(script2);
  5407. // _iframe.contentWindow.document.body.appendChild(script3);
  5408. _iframe.contentWindow.document.body.appendChild(script4);
  5409. };
  5410. }
  5411. _jie.onclick = async () => {
  5412. let text = ''
  5413. if (aTool == 1) {
  5414. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5415. } else if (aTool == 6) {
  5416. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5417. } else if (aTool == 3) {
  5418. text = await U.MD.D.I.getEditorContent(_iframe);
  5419. }
  5420. _loading.style.display = 'flex'
  5421. console.log(_loading);
  5422. var _ajs = _iframe.contentWindow.document.createElement("script");
  5423. _ajs.type = "text/javascript";
  5424. _ajs.innerHTML =
  5425. // 'console.log(' + _loading + ');\n' +
  5426. 'var _js = document.createElement("script");\n' +
  5427. '_js.type="text/javascript";\n' +
  5428. '_js.charset="UTF-8";\n' +
  5429. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5430. "_js.onload = function(){\n" +
  5431. ' var a = document.getElementsByTagName("img")\n' +
  5432. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5433. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5434. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5435. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5436. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5437. "beforeUpload_shishi(file," +
  5438. "'" +
  5439. _userid +
  5440. "'" +
  5441. ", " +
  5442. "'" +
  5443. _cid +
  5444. "'" +
  5445. ", " +
  5446. "'" +
  5447. _stage +
  5448. "'" +
  5449. ", " +
  5450. "'" +
  5451. _task +
  5452. "'" +
  5453. ", " +
  5454. "'" +
  5455. _tool +
  5456. "'" +
  5457. ", " +
  5458. "'" +
  5459. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5460. "'" +
  5461. ", " +
  5462. "'" +
  5463. aTool +
  5464. "'" +
  5465. ", " +
  5466. "`" +
  5467. text +
  5468. "`" +
  5469. ")\n" +
  5470. " });\n" +
  5471. "}\n" +
  5472. "document.head.appendChild(_js);\n";
  5473. _iframe.contentWindow.document.head.appendChild(_ajs);
  5474. }
  5475. }
  5476. //U.MD.D.I.openClick(str);
  5477. //如果有任务栏信息
  5478. // if (_taskbar) {
  5479. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5480. // }
  5481. }
  5482. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5483. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5484. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5485. _userid = student.userid, //登录用户id
  5486. _username = student.student //用户名字
  5487. let _iframe;
  5488. let _cid = cid,
  5489. _stage = stage,
  5490. _task = task,
  5491. _tool = tool;
  5492. var _jie = $$("div", {
  5493. "style": {
  5494. "position": "absolute",
  5495. "bottom": "50px",
  5496. "right": "50px",
  5497. "zIndex": "9999",
  5498. "backgroundColor": "#2268bc",
  5499. "color": "#fff",
  5500. "padding": "12px 20px",
  5501. "cursor": "pointer",
  5502. "borderRadius": "4px",
  5503. },
  5504. "innerHTML": "提交作业"
  5505. })
  5506. let aTool = ''
  5507. let _loading = document.createElement('div')
  5508. _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;"
  5509. // _loading.id = "";
  5510. let _lchild = document.createElement('div')
  5511. let _limg = document.createElement('img')
  5512. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5513. _limg.style = "width: 26px;margin-right: 10px;"
  5514. _lchild.appendChild(_limg)
  5515. let _lspan = document.createElement('span')
  5516. _lspan.innerHTML = "上传中..."
  5517. _lchild.appendChild(_lspan)
  5518. _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%);"
  5519. _loading.appendChild(_lchild)
  5520. var _box = $$('div', {
  5521. "style": {
  5522. "position": "relative",
  5523. "width": "100%",
  5524. "height": "100%",
  5525. },
  5526. })
  5527. _box.appendChild(_loading)
  5528. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5529. switch (str) {
  5530. case "whiteboard":
  5531. aTool = 1;
  5532. _iframe = $$("iframe", {
  5533. "frameborder": "no",
  5534. "border": "0",
  5535. "scrolling ": "no",
  5536. "style": {
  5537. "cssText": "border:0;width:100%;height:100%"
  5538. },
  5539. "src": "https://iwb.cocorobo.cn/"
  5540. })
  5541. _box.appendChild(_iframe);
  5542. _box.appendChild(_jie);
  5543. _formdiv = new U.UF.UI.form(
  5544. "电子白板-" + _username,
  5545. _box, {
  5546. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5547. "style": {
  5548. "width": "90%",
  5549. "height": "90%",
  5550. "overflow": 'hidden'
  5551. },
  5552. "onresize": function () { }
  5553. }, {
  5554. closecallback: function () { }
  5555. }, {
  5556. "style": {
  5557. "height": "36px"
  5558. }
  5559. }).form; //创建窗体
  5560. _taskbar = {
  5561. "id": str + _formdiv.id,
  5562. "style": {
  5563. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5564. },
  5565. "name": "电子白板",
  5566. "forms": _formdiv,
  5567. "click": function () {
  5568. U.MD.D.I.openApplication(str, obj, info);
  5569. }
  5570. }
  5571. break;
  5572. case "mind":
  5573. aTool = 3;
  5574. _iframe = $$("iframe", {
  5575. "frameborder": "no",
  5576. "border": "0",
  5577. "scrolling ": "no",
  5578. "style": {
  5579. "cssText": "border:0;width:100%;height:100%"
  5580. },
  5581. "src": "/kityminder-editor/dist/index.html"
  5582. })
  5583. _box.appendChild(_iframe);
  5584. _box.appendChild(_jie);
  5585. _formdiv = new U.UF.UI.form(
  5586. "思维导图-" + _username,
  5587. _box, { //"/jsmind/example/demo.html"
  5588. "id": "mind" + cid + stage + task + tool + _userid,
  5589. "style": {
  5590. "width": "90%",
  5591. "height": "90%",
  5592. "overflow": 'hidden'
  5593. },
  5594. "onresize": function () { }
  5595. }, {
  5596. closecallback: function () { }
  5597. }, {
  5598. "style": {
  5599. "height": "36px"
  5600. }
  5601. }).form; //创建窗体
  5602. _taskbar = {
  5603. "id": str + _formdiv.id,
  5604. "style": {
  5605. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5606. },
  5607. "name": "思维导图",
  5608. "forms": _formdiv,
  5609. "click": function () {
  5610. U.MD.D.I.openApplication(str, obj, info);
  5611. }
  5612. }
  5613. break;
  5614. case "MindMap":
  5615. aTool = 3;
  5616. _iframe = $$("iframe", {
  5617. "frameborder": "no",
  5618. "border": "0",
  5619. "scrolling ": "no",
  5620. "style": {
  5621. "cssText": "border:0;width:100%;height:100%"
  5622. },
  5623. "src": "//cloud.cocorobo.cn/mind/"
  5624. })
  5625. _box.appendChild(_iframe);
  5626. _box.appendChild(_jie);
  5627. _formdiv = new U.UF.UI.form(
  5628. "思维导图-" + _username,
  5629. _box, { //"/jsmind/example/demo.html"
  5630. "id": "mind" + cid + stage + task + tool + _userid,
  5631. "style": {
  5632. "width": "90%",
  5633. "height": "90%",
  5634. "overflow": 'hidden'
  5635. },
  5636. "onresize": function () { }
  5637. }, {
  5638. closecallback: function () { }
  5639. }, {
  5640. "style": {
  5641. "height": "36px"
  5642. }
  5643. }).form; //创建窗体
  5644. _taskbar = {
  5645. "id": str + _formdiv.id,
  5646. "style": {
  5647. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5648. },
  5649. "name": "思维导图",
  5650. "forms": _formdiv,
  5651. "click": function () {
  5652. U.MD.D.I.openApplication(str, obj, info);
  5653. }
  5654. }
  5655. break;
  5656. case "doc":
  5657. aTool = 6;
  5658. _iframe = $$("iframe", {
  5659. "frameborder": "no",
  5660. "border": "0",
  5661. "scrolling ": "no",
  5662. "style": {
  5663. "cssText": "border:0;width:100%;height:100%"
  5664. },
  5665. "src": "/Office/Word/WordEditArea.htm"
  5666. })
  5667. _box.appendChild(_iframe);
  5668. _box.appendChild(_jie);
  5669. _formdiv = new U.UF.UI.form(
  5670. "协同文档-" + _username,
  5671. _box, {
  5672. "id": "doc" + cid + stage + task + tool + _userid,
  5673. "style": {
  5674. "width": "90%",
  5675. "height": "90%",
  5676. "overflow": 'hidden'
  5677. },
  5678. "onresize": function () { }
  5679. }, {
  5680. closecallback: function () { }
  5681. }, {
  5682. "style": {
  5683. "height": "36px"
  5684. }
  5685. }).form; //创建窗体
  5686. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5687. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5688. })
  5689. _taskbar = {
  5690. "id": str + _formdiv.id,
  5691. "style": {
  5692. "backgroundImage": "url(/img/icon/doc.png)"
  5693. },
  5694. "name": "协同文档",
  5695. "forms": _formdiv,
  5696. "click": function () {
  5697. U.MD.D.I.openApplication(str, obj, info);
  5698. }
  5699. }
  5700. break;
  5701. case "mindNetwork": //好友打开
  5702. aTool = 7;
  5703. _iframe = $$("iframe", {
  5704. "webkitallowfullscreen": "",
  5705. "mozallowfullscreen": "",
  5706. "allowfullscreen": "",
  5707. "frameborder": "no",
  5708. "border": "0",
  5709. "scrolling ": "no",
  5710. "style": {
  5711. "cssText": "border:0; width:100%; height:100%;"
  5712. },
  5713. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5714. })
  5715. _box.appendChild(_iframe);
  5716. _box.appendChild(_jie);
  5717. _formdiv = new U.UF.UI.form(
  5718. "思维网格-" + _username,
  5719. _box, {
  5720. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5721. "style": {
  5722. "width": "90%",
  5723. "height": "90%",
  5724. "overflow": 'hidden'
  5725. },
  5726. "onresize": function () { }
  5727. }, {
  5728. closecallback: function () { }
  5729. }, {
  5730. "style": {
  5731. "height": "36px"
  5732. }
  5733. }).form; //创建窗体
  5734. _taskbar = {
  5735. "id": str + _formdiv.id,
  5736. "style": {
  5737. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5738. },
  5739. "name": "思维网格",
  5740. "forms": _formdiv,
  5741. "click": function () {
  5742. U.MD.D.I.openApplication(str, obj, info);
  5743. }
  5744. }
  5745. break;
  5746. case "courseDesign":
  5747. _iframe = $$("iframe", {
  5748. "webkitallowfullscreen": "",
  5749. "mozallowfullscreen": "",
  5750. "allowfullscreen": "",
  5751. "frameborder": "no",
  5752. "border": "0",
  5753. "scrolling ": "no",
  5754. "style": {
  5755. "cssText": "border:0; width:100%; height:100%;"
  5756. },
  5757. "src": "/course-design-vue"
  5758. })
  5759. _box.appendChild(_iframe);
  5760. _box.appendChild(_jie);
  5761. _formdiv = new U.UF.UI.form(
  5762. "项目设计-" + _username,
  5763. _box, {
  5764. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5765. "style": {
  5766. "width": "90%",
  5767. "height": "90%",
  5768. "overflow": 'hidden'
  5769. },
  5770. "onresize": function () { }
  5771. }, {
  5772. closecallback: function () { }
  5773. }, {
  5774. "style": {
  5775. "height": "36px"
  5776. }
  5777. }).form; //创建窗体
  5778. _taskbar = {
  5779. "id": str + _formdiv.id,
  5780. "style": {
  5781. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5782. },
  5783. "name": "项目设计",
  5784. "forms": _formdiv,
  5785. "click": function () {
  5786. U.MD.D.I.openApplication(str, obj, info);
  5787. }
  5788. }
  5789. break;
  5790. }
  5791. const script1 = document.createElement("script");
  5792. script1.type = "text/javascript";
  5793. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5794. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5795. const script2 = document.createElement("script");
  5796. script2.type = "text/javascript";
  5797. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5798. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5799. const script3 = document.createElement("script");
  5800. script3.type = "text/javascript";
  5801. script3.charset = "UTF-8";
  5802. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5803. const script4 = document.createElement("script");
  5804. script4.type = "text/javascript";
  5805. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5806. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5807. if (_iframe) {
  5808. if (str == 'doc') {
  5809. _iframe = _formdiv.querySelector('iframe')
  5810. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5811. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5812. _iframe.contentWindow.document.body.appendChild(script1);
  5813. _iframe.contentWindow.document.body.appendChild(script2);
  5814. // _iframe.contentWindow.document.body.appendChild(script3);
  5815. _iframe.contentWindow.document.body.appendChild(script4);
  5816. })
  5817. if (onloadListener) {
  5818. _iframe.contentDocument.location.reload()
  5819. } else {
  5820. _iframe.contentDocument.location.reload()
  5821. }
  5822. } else if (str == 'courseDesign') {
  5823. U.UF.DL.iframeLoad(_iframe, function () {
  5824. // _iframe.contentWindow.U.MD.O.W.load();
  5825. // _iframe.contentWindow.document.body.appendChild(script1);
  5826. _iframe.contentWindow.document.body.appendChild(script2);
  5827. _iframe.contentWindow.document.body.appendChild(script4);
  5828. })
  5829. } else if (str == 'mind') {
  5830. _iframe = _formdiv.querySelector('iframe')
  5831. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5832. //
  5833. _iframe.contentWindow.document.body.appendChild(script1);
  5834. _iframe.contentWindow.document.body.appendChild(script2);
  5835. _iframe.contentWindow.document.body.appendChild(script4);
  5836. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5837. })
  5838. if (onloadListener) {
  5839. _iframe.contentDocument.location.reload()
  5840. } else {
  5841. _iframe.contentDocument.location.reload()
  5842. }
  5843. } else if (str == 'whiteboard') {
  5844. _iframe = _formdiv.querySelector('iframe')
  5845. let onloadListener = _iframe.onload = () => {
  5846. _iframe.contentWindow.document.body.appendChild(script1);
  5847. _iframe.contentWindow.document.body.appendChild(script2);
  5848. _iframe.contentWindow.document.body.appendChild(script4);
  5849. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5850. };
  5851. if (onloadListener) {
  5852. _iframe.contentDocument.location.reload()
  5853. } else {
  5854. _iframe.contentDocument.location.reload()
  5855. }
  5856. } else {
  5857. _iframe.onload = () => {
  5858. _iframe.contentWindow.document.body.appendChild(script1);
  5859. _iframe.contentWindow.document.body.appendChild(script2);
  5860. // _iframe.contentWindow.document.body.appendChild(script3);
  5861. _iframe.contentWindow.document.body.appendChild(script4);
  5862. };
  5863. }
  5864. _jie.onclick = async () => {
  5865. let text = ''
  5866. if (aTool == 1) {
  5867. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5868. } else if (aTool == 6) {
  5869. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5870. } else if (aTool == 3) {
  5871. text = await U.MD.D.I.getEditorContent(_iframe);
  5872. }
  5873. _loading.style.display = 'flex'
  5874. console.log(_loading);
  5875. var _ajs = _iframe.contentWindow.document.createElement("script");
  5876. _ajs.type = "text/javascript";
  5877. _ajs.innerHTML =
  5878. // 'console.log(' + _loading + ');\n' +
  5879. 'var _js = document.createElement("script");\n' +
  5880. '_js.type="text/javascript";\n' +
  5881. '_js.charset="UTF-8";\n' +
  5882. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5883. "_js.onload = function(){\n" +
  5884. ' var a = document.getElementsByTagName("img")\n' +
  5885. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5886. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5887. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5888. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5889. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5890. "beforeUpload_shishi(file," +
  5891. "'" +
  5892. _userid +
  5893. "'" +
  5894. ", " +
  5895. "'" +
  5896. _cid +
  5897. "'" +
  5898. ", " +
  5899. "'" +
  5900. _stage +
  5901. "'" +
  5902. ", " +
  5903. "'" +
  5904. _task +
  5905. "'" +
  5906. ", " +
  5907. "'" +
  5908. _tool +
  5909. "'" +
  5910. ", " +
  5911. "'" +
  5912. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5913. "'" +
  5914. ", " +
  5915. "'" +
  5916. aTool +
  5917. "'" +
  5918. ", " +
  5919. "`" +
  5920. text +
  5921. "`" +
  5922. ")\n" +
  5923. " });\n" +
  5924. "}\n" +
  5925. "document.head.appendChild(_js);\n";
  5926. _iframe.contentWindow.document.head.appendChild(_ajs);
  5927. }
  5928. }
  5929. }
  5930. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  5931. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5932. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5933. _userid = student.userid, //登录用户id
  5934. _username = student.student //用户名字
  5935. let _iframe;
  5936. let _cid = cid,
  5937. _stage = stage,
  5938. _task = task,
  5939. _tool = tool;
  5940. var _jie = $$("div", {
  5941. "style": {
  5942. "position": "absolute",
  5943. "bottom": "50px",
  5944. "right": "50px",
  5945. "zIndex": "9999",
  5946. "backgroundColor": "#2268bc",
  5947. "color": "#fff",
  5948. "padding": "12px 20px",
  5949. "cursor": "pointer",
  5950. "borderRadius": "4px",
  5951. },
  5952. "innerHTML": "提交作业"
  5953. })
  5954. let aTool = ''
  5955. let _loading = document.createElement('div')
  5956. _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;"
  5957. // _loading.id = "";
  5958. let _lchild = document.createElement('div')
  5959. let _limg = document.createElement('img')
  5960. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5961. _limg.style = "width: 26px;margin-right: 10px;"
  5962. _lchild.appendChild(_limg)
  5963. let _lspan = document.createElement('span')
  5964. _lspan.innerHTML = "上传中..."
  5965. _lchild.appendChild(_lspan)
  5966. _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%);"
  5967. _loading.appendChild(_lchild)
  5968. var _box = $$('div', {
  5969. "style": {
  5970. "position": "relative",
  5971. "width": "100%",
  5972. "height": "100%",
  5973. },
  5974. })
  5975. _box.appendChild(_loading)
  5976. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5977. switch (str) {
  5978. case "whiteboard":
  5979. aTool = 1;
  5980. _iframe = $$("iframe", {
  5981. "frameborder": "no",
  5982. "border": "0",
  5983. "scrolling ": "no",
  5984. "style": {
  5985. "cssText": "border:0;width:100%;height:100%"
  5986. },
  5987. "src": "https://iwb.cocorobo.cn/"
  5988. })
  5989. _box.appendChild(_iframe);
  5990. _box.appendChild(_jie);
  5991. _formdiv = new U.UF.UI.form(
  5992. "电子白板-" + _username,
  5993. _box, {
  5994. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5995. "style": {
  5996. "width": "90%",
  5997. "height": "90%",
  5998. "overflow": 'hidden'
  5999. },
  6000. "onresize": function () { }
  6001. }, {
  6002. closecallback: function () { }
  6003. }, {
  6004. "style": {
  6005. "height": "36px"
  6006. }
  6007. }).form; //创建窗体
  6008. _taskbar = {
  6009. "id": str + _formdiv.id,
  6010. "style": {
  6011. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6012. },
  6013. "name": "电子白板",
  6014. "forms": _formdiv,
  6015. "click": function () {
  6016. U.MD.D.I.openApplication(str, obj, info);
  6017. }
  6018. }
  6019. break;
  6020. case "mind":
  6021. aTool = 3;
  6022. _iframe = $$("iframe", {
  6023. "frameborder": "no",
  6024. "border": "0",
  6025. "scrolling ": "no",
  6026. "style": {
  6027. "cssText": "border:0;width:100%;height:100%"
  6028. },
  6029. "src": "/kityminder-editor/dist/index.html"
  6030. })
  6031. _box.appendChild(_iframe);
  6032. _box.appendChild(_jie);
  6033. _formdiv = new U.UF.UI.form(
  6034. "思维导图-" + _username,
  6035. _box, { //"/jsmind/example/demo.html"
  6036. "id": "mind" + cid + stage + task + tool + _userid,
  6037. "style": {
  6038. "width": "90%",
  6039. "height": "90%",
  6040. "overflow": 'hidden'
  6041. },
  6042. "onresize": function () { }
  6043. }, {
  6044. closecallback: function () { }
  6045. }, {
  6046. "style": {
  6047. "height": "36px"
  6048. }
  6049. }).form; //创建窗体
  6050. _taskbar = {
  6051. "id": str + _formdiv.id,
  6052. "style": {
  6053. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6054. },
  6055. "name": "思维导图",
  6056. "forms": _formdiv,
  6057. "click": function () {
  6058. U.MD.D.I.openApplication(str, obj, info);
  6059. }
  6060. }
  6061. break;
  6062. case "MindMap":
  6063. aTool = 3;
  6064. _iframe = $$("iframe", {
  6065. "frameborder": "no",
  6066. "border": "0",
  6067. "scrolling ": "no",
  6068. "style": {
  6069. "cssText": "border:0;width:100%;height:100%"
  6070. },
  6071. "src": "//cloud.cocorobo.cn/mind/"
  6072. })
  6073. _box.appendChild(_iframe);
  6074. _box.appendChild(_jie);
  6075. _formdiv = new U.UF.UI.form(
  6076. "思维导图-" + _username,
  6077. _box, { //"/jsmind/example/demo.html"
  6078. "id": "mind" + cid + stage + task + tool + _userid,
  6079. "style": {
  6080. "width": "90%",
  6081. "height": "90%",
  6082. "overflow": 'hidden'
  6083. },
  6084. "onresize": function () { }
  6085. }, {
  6086. closecallback: function () { }
  6087. }, {
  6088. "style": {
  6089. "height": "36px"
  6090. }
  6091. }).form; //创建窗体
  6092. _taskbar = {
  6093. "id": str + _formdiv.id,
  6094. "style": {
  6095. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6096. },
  6097. "name": "思维导图",
  6098. "forms": _formdiv,
  6099. "click": function () {
  6100. U.MD.D.I.openApplication(str, obj, info);
  6101. }
  6102. }
  6103. break;
  6104. case "doc":
  6105. aTool = 6;
  6106. _iframe = $$("iframe", {
  6107. "frameborder": "no",
  6108. "border": "0",
  6109. "scrolling ": "no",
  6110. "style": {
  6111. "cssText": "border:0;width:100%;height:100%"
  6112. },
  6113. "src": "/Office/Word/WordEditArea.htm"
  6114. })
  6115. _box.appendChild(_iframe);
  6116. _box.appendChild(_jie);
  6117. _formdiv = new U.UF.UI.form(
  6118. "协同文档-" + _username,
  6119. _box, {
  6120. "id": "doc" + cid + stage + task + tool + _userid,
  6121. "style": {
  6122. "width": "90%",
  6123. "height": "90%",
  6124. "overflow": 'hidden'
  6125. },
  6126. "onresize": function () { }
  6127. }, {
  6128. closecallback: function () { }
  6129. }, {
  6130. "style": {
  6131. "height": "36px"
  6132. }
  6133. }).form; //创建窗体
  6134. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6135. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6136. })
  6137. _taskbar = {
  6138. "id": str + _formdiv.id,
  6139. "style": {
  6140. "backgroundImage": "url(/img/icon/doc.png)"
  6141. },
  6142. "name": "协同文档",
  6143. "forms": _formdiv,
  6144. "click": function () {
  6145. U.MD.D.I.openApplication(str, obj, info);
  6146. }
  6147. }
  6148. break;
  6149. case "mindNetwork": //好友打开
  6150. aTool = 7;
  6151. _iframe = $$("iframe", {
  6152. "webkitallowfullscreen": "",
  6153. "mozallowfullscreen": "",
  6154. "allowfullscreen": "",
  6155. "frameborder": "no",
  6156. "border": "0",
  6157. "scrolling ": "no",
  6158. "style": {
  6159. "cssText": "border:0; width:100%; height:100%;"
  6160. },
  6161. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6162. })
  6163. _box.appendChild(_iframe);
  6164. _box.appendChild(_jie);
  6165. _formdiv = new U.UF.UI.form(
  6166. "思维网格-" + _username,
  6167. _box, {
  6168. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6169. "style": {
  6170. "width": "90%",
  6171. "height": "90%",
  6172. "overflow": 'hidden'
  6173. },
  6174. "onresize": function () { }
  6175. }, {
  6176. closecallback: function () { }
  6177. }, {
  6178. "style": {
  6179. "height": "36px"
  6180. }
  6181. }).form; //创建窗体
  6182. _taskbar = {
  6183. "id": str + _formdiv.id,
  6184. "style": {
  6185. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6186. },
  6187. "name": "思维网格",
  6188. "forms": _formdiv,
  6189. "click": function () {
  6190. U.MD.D.I.openApplication(str, obj, info);
  6191. }
  6192. }
  6193. break;
  6194. case "courseDesign":
  6195. _iframe = $$("iframe", {
  6196. "webkitallowfullscreen": "",
  6197. "mozallowfullscreen": "",
  6198. "allowfullscreen": "",
  6199. "frameborder": "no",
  6200. "border": "0",
  6201. "scrolling ": "no",
  6202. "style": {
  6203. "cssText": "border:0; width:100%; height:100%;"
  6204. },
  6205. "src": "/course-design-vue"
  6206. })
  6207. _box.appendChild(_iframe);
  6208. _box.appendChild(_jie);
  6209. _formdiv = new U.UF.UI.form(
  6210. "项目设计-" + _username,
  6211. _box, {
  6212. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6213. "style": {
  6214. "width": "90%",
  6215. "height": "90%",
  6216. "overflow": 'hidden'
  6217. },
  6218. "onresize": function () { }
  6219. }, {
  6220. closecallback: function () { }
  6221. }, {
  6222. "style": {
  6223. "height": "36px"
  6224. }
  6225. }).form; //创建窗体
  6226. _taskbar = {
  6227. "id": str + _formdiv.id,
  6228. "style": {
  6229. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6230. },
  6231. "name": "项目设计",
  6232. "forms": _formdiv,
  6233. "click": function () {
  6234. U.MD.D.I.openApplication(str, obj, info);
  6235. }
  6236. }
  6237. break;
  6238. }
  6239. const script1 = document.createElement("script");
  6240. script1.type = "text/javascript";
  6241. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6242. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6243. const script2 = document.createElement("script");
  6244. script2.type = "text/javascript";
  6245. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6246. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6247. const script3 = document.createElement("script");
  6248. script3.type = "text/javascript";
  6249. script3.charset = "UTF-8";
  6250. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6251. const script4 = document.createElement("script");
  6252. script4.type = "text/javascript";
  6253. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6254. script4.src = window.origin + "/js/Common/jietu2E.js";
  6255. if (_iframe) {
  6256. if (str == 'doc') {
  6257. _iframe = _formdiv.querySelector('iframe')
  6258. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6259. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6260. _iframe.contentWindow.document.body.appendChild(script1);
  6261. _iframe.contentWindow.document.body.appendChild(script2);
  6262. // _iframe.contentWindow.document.body.appendChild(script3);
  6263. _iframe.contentWindow.document.body.appendChild(script4);
  6264. })
  6265. if (onloadListener) {
  6266. _iframe.contentDocument.location.reload()
  6267. } else {
  6268. _iframe.contentDocument.location.reload()
  6269. }
  6270. } else if (str == 'courseDesign') {
  6271. U.UF.DL.iframeLoad(_iframe, function () {
  6272. // _iframe.contentWindow.U.MD.O.W.load();
  6273. // _iframe.contentWindow.document.body.appendChild(script1);
  6274. _iframe.contentWindow.document.body.appendChild(script2);
  6275. _iframe.contentWindow.document.body.appendChild(script4);
  6276. })
  6277. } else if (str == 'mind') {
  6278. _iframe = _formdiv.querySelector('iframe')
  6279. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6280. //
  6281. _iframe.contentWindow.document.body.appendChild(script1);
  6282. _iframe.contentWindow.document.body.appendChild(script2);
  6283. _iframe.contentWindow.document.body.appendChild(script4);
  6284. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6285. })
  6286. if (onloadListener) {
  6287. _iframe.contentDocument.location.reload()
  6288. } else {
  6289. _iframe.contentDocument.location.reload()
  6290. }
  6291. } else if (str == 'whiteboard') {
  6292. _iframe = _formdiv.querySelector('iframe')
  6293. let onloadListener = _iframe.onload = () => {
  6294. _iframe.contentWindow.document.body.appendChild(script1);
  6295. _iframe.contentWindow.document.body.appendChild(script2);
  6296. _iframe.contentWindow.document.body.appendChild(script4);
  6297. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6298. };
  6299. if (onloadListener) {
  6300. _iframe.contentDocument.location.reload()
  6301. } else {
  6302. _iframe.contentDocument.location.reload()
  6303. }
  6304. } else {
  6305. _iframe.onload = () => {
  6306. _iframe.contentWindow.document.body.appendChild(script1);
  6307. _iframe.contentWindow.document.body.appendChild(script2);
  6308. // _iframe.contentWindow.document.body.appendChild(script3);
  6309. _iframe.contentWindow.document.body.appendChild(script4);
  6310. };
  6311. }
  6312. _jie.onclick = async () => {
  6313. let text = ''
  6314. if (aTool == 1) {
  6315. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6316. } else if (aTool == 6) {
  6317. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6318. } else if (aTool == 3) {
  6319. text = await U.MD.D.I.getEditorContent(_iframe);
  6320. }
  6321. _loading.style.display = 'flex'
  6322. console.log(_loading);
  6323. var _ajs = _iframe.contentWindow.document.createElement("script");
  6324. _ajs.type = "text/javascript";
  6325. _ajs.innerHTML =
  6326. // 'console.log(' + _loading + ');\n' +
  6327. 'var _js = document.createElement("script");\n' +
  6328. '_js.type="text/javascript";\n' +
  6329. '_js.charset="UTF-8";\n' +
  6330. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6331. "_js.onload = function(){\n" +
  6332. ' var a = document.getElementsByTagName("img")\n' +
  6333. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6334. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6335. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6336. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6337. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6338. "beforeUpload_shishi(file," +
  6339. "'" +
  6340. _userid +
  6341. "'" +
  6342. ", " +
  6343. "'" +
  6344. _cid +
  6345. "'" +
  6346. ", " +
  6347. "'" +
  6348. _stage +
  6349. "'" +
  6350. ", " +
  6351. "'" +
  6352. _task +
  6353. "'" +
  6354. ", " +
  6355. "'" +
  6356. _tool +
  6357. "'" +
  6358. ", " +
  6359. "'" +
  6360. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6361. "'" +
  6362. ", " +
  6363. "'" +
  6364. aTool +
  6365. "'" +
  6366. ", " +
  6367. "`" +
  6368. text +
  6369. "`" +
  6370. ")\n" +
  6371. " });\n" +
  6372. "}\n" +
  6373. "document.head.appendChild(_js);\n";
  6374. _iframe.contentWindow.document.head.appendChild(_ajs);
  6375. }
  6376. }
  6377. }
  6378. U.MD.D.I.getEditorContent = function (iframe) {
  6379. return new Promise((resolve, reject) => {
  6380. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6381. console.log(content);
  6382. resolve(content)
  6383. });
  6384. });
  6385. }
  6386. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6387. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6388. // if (res.value[0].length > 0) {
  6389. // // resolve(res.value[0][0].text);
  6390. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6391. // $(fileInput).val('');
  6392. // });
  6393. // }
  6394. // }, [], { "type": "GET", "withCredentials": true });
  6395. var xmlhttp;
  6396. var Mac, Sn, DeviceId
  6397. if (window.XMLHttpRequest) {
  6398. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6399. xmlhttp = new XMLHttpRequest();
  6400. } else {
  6401. // IE6, IE5 浏览器执行代码
  6402. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6403. }
  6404. xmlhttp.onreadystatechange = function () {
  6405. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6406. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6407. // resolve(res.value[0][0].text);
  6408. if (type == '2') {
  6409. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6410. } else if (type == '3') {
  6411. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6412. }
  6413. } else {
  6414. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6415. }
  6416. }
  6417. }
  6418. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6419. xmlhttp.send();
  6420. }
  6421. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6422. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6423. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6424. _userinfo = US.userInfo, //登录用户信息
  6425. _userid = US.userInfo.userid //登录用户id
  6426. let _iframe;
  6427. let _cid = cid,
  6428. _stage = stage,
  6429. _task = task,
  6430. _tool = tool;
  6431. var _jie = $$("div", {
  6432. "style": {
  6433. "position": "absolute",
  6434. "bottom": "50px",
  6435. "right": "50px",
  6436. "zIndex": "9999",
  6437. "backgroundColor": "#2268bc",
  6438. "color": "#fff",
  6439. "padding": "12px 20px",
  6440. "cursor": "pointer",
  6441. "borderRadius": "4px",
  6442. },
  6443. "innerHTML": "确认并提交"
  6444. })
  6445. let aTool = ''
  6446. let _loading = document.createElement('div')
  6447. _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;"
  6448. // _loading.id = "";
  6449. let _lchild = document.createElement('div')
  6450. let _limg = document.createElement('img')
  6451. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6452. _limg.style = "width: 26px;margin-right: 10px;"
  6453. _lchild.appendChild(_limg)
  6454. let _lspan = document.createElement('span')
  6455. _lspan.innerHTML = "上传中..."
  6456. _lchild.appendChild(_lspan)
  6457. _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%);"
  6458. _loading.appendChild(_lchild)
  6459. var _box = $$('div', {
  6460. "style": {
  6461. "position": "relative",
  6462. "width": "100%",
  6463. "height": "100%",
  6464. },
  6465. })
  6466. _box.appendChild(_loading)
  6467. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6468. switch (str) {
  6469. case "whiteboard":
  6470. aTool = 1;
  6471. _iframe = $$("iframe", {
  6472. "frameborder": "no",
  6473. "border": "0",
  6474. "scrolling ": "no",
  6475. "style": {
  6476. "cssText": "border:0;width:100%;height:100%"
  6477. },
  6478. "src": "https://iwb.cocorobo.cn/"
  6479. })
  6480. _box.appendChild(_iframe);
  6481. _box.appendChild(_jie);
  6482. _formdiv = new U.UF.UI.form(
  6483. "电子白板",
  6484. _box, {
  6485. "id": "whiteboards" + cid + stage + task + tool,
  6486. "style": {
  6487. "width": "90%",
  6488. "height": "90%",
  6489. "overflow": 'hidden'
  6490. },
  6491. "onresize": function () { }
  6492. }, {
  6493. closecallback: function () { }
  6494. }, {
  6495. "style": {
  6496. "height": "36px"
  6497. }
  6498. }).form; //创建窗体
  6499. _taskbar = {
  6500. "id": str + _formdiv.id,
  6501. "style": {
  6502. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6503. },
  6504. "name": "电子白板",
  6505. "forms": _formdiv,
  6506. "click": function () {
  6507. U.MD.D.I.openApplication(str, obj, info);
  6508. }
  6509. }
  6510. break;
  6511. case "mind":
  6512. aTool = 3;
  6513. _iframe = $$("iframe", {
  6514. "frameborder": "no",
  6515. "border": "0",
  6516. "scrolling ": "no",
  6517. "style": {
  6518. "cssText": "border:0;width:100%;height:100%"
  6519. },
  6520. "src": "/kityminder-editor/dist/index.html"
  6521. });
  6522. _box.appendChild(_iframe);
  6523. _box.appendChild(_jie);
  6524. _formdiv = new U.UF.UI.form(
  6525. "思维导图",
  6526. _box, { //"/jsmind/example/demo.html"
  6527. "id": "minds" + cid + stage + task + tool,
  6528. "style": {
  6529. "width": "90%",
  6530. "height": "90%",
  6531. "overflow": 'hidden'
  6532. },
  6533. "onresize": function () { }
  6534. }, {
  6535. closecallback: function () { }
  6536. }, {
  6537. "style": {
  6538. "height": "36px"
  6539. }
  6540. }).form; //创建窗体
  6541. _taskbar = {
  6542. "id": str + _formdiv.id,
  6543. "style": {
  6544. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6545. },
  6546. "name": "思维导图",
  6547. "forms": _formdiv,
  6548. "click": function () {
  6549. U.MD.D.I.openApplication(str, obj, info);
  6550. }
  6551. }
  6552. break;
  6553. case "doc":
  6554. aTool = 6;
  6555. _iframe = $$("iframe", {
  6556. "frameborder": "no",
  6557. "border": "0",
  6558. "scrolling ": "no",
  6559. "style": {
  6560. "cssText": "border:0;width:100%;height:100%"
  6561. },
  6562. "src": "/Office/Word/WordEditArea.htm"
  6563. })
  6564. _box.appendChild(_iframe);
  6565. _box.appendChild(_jie);
  6566. _formdiv = new U.UF.UI.form(
  6567. "协同文档",
  6568. _box, {
  6569. "id": "docs" + cid + stage + task + tool,
  6570. "style": {
  6571. "width": "90%",
  6572. "height": "90%",
  6573. "overflow": 'hidden'
  6574. },
  6575. "onresize": function () { }
  6576. }, {
  6577. closecallback: function () { }
  6578. }, {
  6579. "style": {
  6580. "height": "36px"
  6581. }
  6582. }).form; //创建窗体
  6583. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6584. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6585. })
  6586. _taskbar = {
  6587. "id": str + _formdiv.id,
  6588. "style": {
  6589. "backgroundImage": "url(/img/icon/doc.png)"
  6590. },
  6591. "name": "协同文档",
  6592. "forms": _formdiv,
  6593. "click": function () {
  6594. U.MD.D.I.openApplication(str, obj, info);
  6595. }
  6596. }
  6597. break;
  6598. }
  6599. const script1 = document.createElement("script");
  6600. script1.type = "text/javascript";
  6601. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6602. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6603. const script2 = document.createElement("script");
  6604. script2.type = "text/javascript";
  6605. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6606. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6607. const script3 = document.createElement("script");
  6608. script3.type = "text/javascript";
  6609. script3.charset = "UTF-8";
  6610. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6611. const script4 = document.createElement("script");
  6612. script4.type = "text/javascript";
  6613. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6614. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6615. if (_iframe) {
  6616. if (str == 'doc') {
  6617. _iframe = _formdiv.querySelector('iframe')
  6618. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6619. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6620. _iframe.contentWindow.document.body.appendChild(script1);
  6621. _iframe.contentWindow.document.body.appendChild(script2);
  6622. // _iframe.contentWindow.document.body.appendChild(script3);
  6623. _iframe.contentWindow.document.body.appendChild(script4);
  6624. })
  6625. if (onloadListener) {
  6626. _iframe.contentDocument.location.reload()
  6627. } else {
  6628. _iframe.contentDocument.location.reload()
  6629. }
  6630. } else if (str == 'mind') {
  6631. _iframe = _formdiv.querySelector('iframe')
  6632. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6633. _iframe.contentWindow.document.body.appendChild(script1);
  6634. _iframe.contentWindow.document.body.appendChild(script2);
  6635. _iframe.contentWindow.document.body.appendChild(script4);
  6636. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6637. })
  6638. if (onloadListener) {
  6639. _iframe.contentDocument.location.reload()
  6640. } else {
  6641. _iframe.contentDocument.location.reload()
  6642. }
  6643. } else {
  6644. _iframe.onload = () => {
  6645. _iframe.contentWindow.document.body.appendChild(script1);
  6646. _iframe.contentWindow.document.body.appendChild(script2);
  6647. // _iframe.contentWindow.document.body.appendChild(script3);
  6648. _iframe.contentWindow.document.body.appendChild(script4);
  6649. };
  6650. }
  6651. _jie.onclick = async () => {
  6652. let text = ''
  6653. if (aTool == 6) {
  6654. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6655. } else if (aTool == 3) {
  6656. text = await U.MD.D.I.getEditorContent(_iframe);
  6657. }
  6658. _loading.style.display = 'flex'
  6659. console.log(_loading);
  6660. var _ajs = _iframe.contentWindow.document.createElement("script");
  6661. _ajs.type = "text/javascript";
  6662. _ajs.innerHTML =
  6663. // 'console.log(' + _loading + ');\n' +
  6664. 'var _js = document.createElement("script");\n' +
  6665. '_js.type="text/javascript";\n' +
  6666. '_js.charset="UTF-8";\n' +
  6667. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6668. "_js.onload = function(){\n" +
  6669. ' var a = document.getElementsByTagName("img")\n' +
  6670. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6671. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6672. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6673. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6674. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6675. "beforeUpload_shishi(file," +
  6676. "'" +
  6677. _userid +
  6678. "'" +
  6679. ", " +
  6680. "'" +
  6681. _cid +
  6682. "'" +
  6683. ", " +
  6684. "'" +
  6685. _stage +
  6686. "'" +
  6687. ", " +
  6688. "'" +
  6689. _task +
  6690. "'" +
  6691. ", " +
  6692. "'" +
  6693. _tool +
  6694. "'" +
  6695. ", " +
  6696. "'" +
  6697. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6698. "'" +
  6699. ", " +
  6700. "'" +
  6701. aTool +
  6702. "'" +
  6703. ", " +
  6704. "`" +
  6705. text +
  6706. "`" +
  6707. ")\n" +
  6708. " });\n" +
  6709. "}\n" +
  6710. "document.head.appendChild(_js);\n";
  6711. _iframe.contentWindow.document.head.appendChild(_ajs);
  6712. }
  6713. }
  6714. //U.MD.D.I.openClick(str);
  6715. //如果有任务栏信息
  6716. // if (_taskbar) {
  6717. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6718. // }
  6719. }
  6720. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6721. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6722. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6723. _userinfo = US.userInfo, //登录用户信息
  6724. _userid = US.userInfo.userid //登录用户id
  6725. let _iframe;
  6726. let _cid = cid,
  6727. _stage = stage,
  6728. _task = task,
  6729. _tool = tool;
  6730. var _jie = $$("div", {
  6731. "style": {
  6732. "position": "absolute",
  6733. "bottom": "50px",
  6734. "right": "50px",
  6735. "zIndex": "9999",
  6736. "backgroundColor": "#2268bc",
  6737. "color": "#fff",
  6738. "padding": "12px 20px",
  6739. "cursor": "pointer",
  6740. "borderRadius": "4px",
  6741. },
  6742. "innerHTML": "确认并提交"
  6743. })
  6744. let aTool = ''
  6745. let _loading = document.createElement('div')
  6746. _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;"
  6747. // _loading.id = "";
  6748. let _lchild = document.createElement('div')
  6749. let _limg = document.createElement('img')
  6750. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6751. _limg.style = "width: 26px;margin-right: 10px;"
  6752. _lchild.appendChild(_limg)
  6753. let _lspan = document.createElement('span')
  6754. _lspan.innerHTML = "上传中..."
  6755. _lchild.appendChild(_lspan)
  6756. _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%);"
  6757. _loading.appendChild(_lchild)
  6758. var _box = $$('div', {
  6759. "style": {
  6760. "position": "relative",
  6761. "width": "100%",
  6762. "height": "100%",
  6763. },
  6764. })
  6765. _box.appendChild(_loading)
  6766. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6767. switch (str) {
  6768. case "whiteboard":
  6769. aTool = 1;
  6770. _iframe = $$("iframe", {
  6771. "frameborder": "no",
  6772. "border": "0",
  6773. "scrolling ": "no",
  6774. "style": {
  6775. "cssText": "border:0;width:100%;height:100%"
  6776. },
  6777. "src": "https://iwb.cocorobo.cn/"
  6778. })
  6779. _box.appendChild(_iframe);
  6780. _box.appendChild(_jie);
  6781. _formdiv = new U.UF.UI.form(
  6782. "电子白板",
  6783. _box, {
  6784. "id": "whiteboards" + cid + stage + task + tool,
  6785. "style": {
  6786. "width": "90%",
  6787. "height": "90%",
  6788. "overflow": 'hidden'
  6789. },
  6790. "onresize": function () { }
  6791. }, {
  6792. closecallback: function () { }
  6793. }, {
  6794. "style": {
  6795. "height": "36px"
  6796. }
  6797. }).form; //创建窗体
  6798. _taskbar = {
  6799. "id": str + _formdiv.id,
  6800. "style": {
  6801. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6802. },
  6803. "name": "电子白板",
  6804. "forms": _formdiv,
  6805. "click": function () {
  6806. U.MD.D.I.openApplication(str, obj, info);
  6807. }
  6808. }
  6809. break;
  6810. case "mind":
  6811. aTool = 3;
  6812. _iframe = $$("iframe", {
  6813. "frameborder": "no",
  6814. "border": "0",
  6815. "scrolling ": "no",
  6816. "style": {
  6817. "cssText": "border:0;width:100%;height:100%"
  6818. },
  6819. "src": "/kityminder-editor/dist/index.html"
  6820. });
  6821. _box.appendChild(_iframe);
  6822. _box.appendChild(_jie);
  6823. _formdiv = new U.UF.UI.form(
  6824. "思维导图",
  6825. _box, { //"/jsmind/example/demo.html"
  6826. "id": "minds" + cid + stage + task + tool,
  6827. "style": {
  6828. "width": "90%",
  6829. "height": "90%",
  6830. "overflow": 'hidden'
  6831. },
  6832. "onresize": function () { }
  6833. }, {
  6834. closecallback: function () { }
  6835. }, {
  6836. "style": {
  6837. "height": "36px"
  6838. }
  6839. }).form; //创建窗体
  6840. _taskbar = {
  6841. "id": str + _formdiv.id,
  6842. "style": {
  6843. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6844. },
  6845. "name": "思维导图",
  6846. "forms": _formdiv,
  6847. "click": function () {
  6848. U.MD.D.I.openApplication(str, obj, info);
  6849. }
  6850. }
  6851. break;
  6852. case "doc":
  6853. aTool = 6;
  6854. _iframe = $$("iframe", {
  6855. "frameborder": "no",
  6856. "border": "0",
  6857. "scrolling ": "no",
  6858. "style": {
  6859. "cssText": "border:0;width:100%;height:100%"
  6860. },
  6861. "src": "/Office/Word/WordEditArea.htm"
  6862. })
  6863. _box.appendChild(_iframe);
  6864. _box.appendChild(_jie);
  6865. _formdiv = new U.UF.UI.form(
  6866. "协同文档",
  6867. _box, {
  6868. "id": "docs" + cid + stage + task + tool,
  6869. "style": {
  6870. "width": "90%",
  6871. "height": "90%",
  6872. "overflow": 'hidden'
  6873. },
  6874. "onresize": function () { }
  6875. }, {
  6876. closecallback: function () { }
  6877. }, {
  6878. "style": {
  6879. "height": "36px"
  6880. }
  6881. }).form; //创建窗体
  6882. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6883. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6884. })
  6885. _taskbar = {
  6886. "id": str + _formdiv.id,
  6887. "style": {
  6888. "backgroundImage": "url(/img/icon/doc.png)"
  6889. },
  6890. "name": "协同文档",
  6891. "forms": _formdiv,
  6892. "click": function () {
  6893. U.MD.D.I.openApplication(str, obj, info);
  6894. }
  6895. }
  6896. break;
  6897. }
  6898. const script1 = document.createElement("script");
  6899. script1.type = "text/javascript";
  6900. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6901. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6902. const script2 = document.createElement("script");
  6903. script2.type = "text/javascript";
  6904. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6905. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6906. const script3 = document.createElement("script");
  6907. script3.type = "text/javascript";
  6908. script3.charset = "UTF-8";
  6909. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6910. const script4 = document.createElement("script");
  6911. script4.type = "text/javascript";
  6912. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6913. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6914. if (_iframe) {
  6915. if (str == 'doc') {
  6916. _iframe = _formdiv.querySelector('iframe')
  6917. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6918. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6919. _iframe.contentWindow.document.body.appendChild(script1);
  6920. _iframe.contentWindow.document.body.appendChild(script2);
  6921. // _iframe.contentWindow.document.body.appendChild(script3);
  6922. _iframe.contentWindow.document.body.appendChild(script4);
  6923. })
  6924. if (onloadListener) {
  6925. _iframe.contentDocument.location.reload()
  6926. } else {
  6927. _iframe.contentDocument.location.reload()
  6928. }
  6929. } else if (str == 'mind') {
  6930. _iframe = _formdiv.querySelector('iframe')
  6931. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6932. _iframe.contentWindow.document.body.appendChild(script1);
  6933. _iframe.contentWindow.document.body.appendChild(script2);
  6934. _iframe.contentWindow.document.body.appendChild(script4);
  6935. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6936. })
  6937. if (onloadListener) {
  6938. _iframe.contentDocument.location.reload()
  6939. } else {
  6940. _iframe.contentDocument.location.reload()
  6941. }
  6942. } else {
  6943. _iframe.onload = () => {
  6944. _iframe.contentWindow.document.body.appendChild(script1);
  6945. _iframe.contentWindow.document.body.appendChild(script2);
  6946. // _iframe.contentWindow.document.body.appendChild(script3);
  6947. _iframe.contentWindow.document.body.appendChild(script4);
  6948. };
  6949. }
  6950. _jie.onclick = async () => {
  6951. let text = ''
  6952. if (aTool == 6) {
  6953. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6954. } else if (aTool == 3) {
  6955. text = await U.MD.D.I.getEditorContent(_iframe);
  6956. }
  6957. _loading.style.display = 'flex'
  6958. console.log(_loading);
  6959. var _ajs = _iframe.contentWindow.document.createElement("script");
  6960. _ajs.type = "text/javascript";
  6961. _ajs.innerHTML =
  6962. // 'console.log(' + _loading + ');\n' +
  6963. 'var _js = document.createElement("script");\n' +
  6964. '_js.type="text/javascript";\n' +
  6965. '_js.charset="UTF-8";\n' +
  6966. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6967. "_js.onload = function(){\n" +
  6968. ' var a = document.getElementsByTagName("img")\n' +
  6969. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6970. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6971. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6972. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6973. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6974. "beforeUpload_shishi(file," +
  6975. "'" +
  6976. _userid +
  6977. "'" +
  6978. ", " +
  6979. "'" +
  6980. _cid +
  6981. "'" +
  6982. ", " +
  6983. "'" +
  6984. _stage +
  6985. "'" +
  6986. ", " +
  6987. "'" +
  6988. _task +
  6989. "'" +
  6990. ", " +
  6991. "'" +
  6992. _tool +
  6993. "'" +
  6994. ", " +
  6995. "'" +
  6996. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6997. "'" +
  6998. ", " +
  6999. "'" +
  7000. aTool +
  7001. "'" +
  7002. ", " +
  7003. "`" +
  7004. text +
  7005. "`" +
  7006. ")\n" +
  7007. " });\n" +
  7008. "}\n" +
  7009. "document.head.appendChild(_js);\n";
  7010. _iframe.contentWindow.document.head.appendChild(_ajs);
  7011. }
  7012. }
  7013. //U.MD.D.I.openClick(str);
  7014. //如果有任务栏信息
  7015. // if (_taskbar) {
  7016. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7017. // }
  7018. }
  7019. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7020. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7021. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7022. _userinfo = US.userInfo, //登录用户信息
  7023. _userid = US.userInfo.userid //登录用户id
  7024. let _iframe;
  7025. let _cid = cid,
  7026. _stage = stage,
  7027. _task = task,
  7028. _tool = tool;
  7029. var _jie = $$("div", {
  7030. "style": {
  7031. "position": "absolute",
  7032. "bottom": "50px",
  7033. "right": "50px",
  7034. "zIndex": "9999",
  7035. "backgroundColor": "#2268bc",
  7036. "color": "#fff",
  7037. "padding": "12px 20px",
  7038. "cursor": "pointer",
  7039. "borderRadius": "4px",
  7040. },
  7041. "innerHTML": "上传模板"
  7042. })
  7043. let aTool = ''
  7044. let _loading = document.createElement('div')
  7045. _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;"
  7046. // _loading.id = "";
  7047. let _lchild = document.createElement('div')
  7048. let _limg = document.createElement('img')
  7049. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7050. _limg.style = "width: 26px;margin-right: 10px;"
  7051. _lchild.appendChild(_limg)
  7052. let _lspan = document.createElement('span')
  7053. _lspan.innerHTML = "上传中..."
  7054. _lchild.appendChild(_lspan)
  7055. _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%);"
  7056. _loading.appendChild(_lchild)
  7057. var _box = $$('div', {
  7058. "style": {
  7059. "position": "relative",
  7060. "width": "100%",
  7061. "height": "100%",
  7062. },
  7063. })
  7064. _box.appendChild(_loading)
  7065. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7066. switch (str) {
  7067. case "whiteboard":
  7068. aTool = 1;
  7069. _iframe = $$("iframe", {
  7070. "frameborder": "no",
  7071. "border": "0",
  7072. "scrolling ": "no",
  7073. "style": {
  7074. "cssText": "border:0;width:100%;height:100%"
  7075. },
  7076. "src": "https://iwb.cocorobo.cn/"
  7077. })
  7078. _box.appendChild(_iframe);
  7079. _box.appendChild(_jie);
  7080. _formdiv = new U.UF.UI.form(
  7081. "电子白板",
  7082. _box, {
  7083. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7084. "style": {
  7085. "width": "90%",
  7086. "height": "90%",
  7087. "overflow": 'hidden'
  7088. },
  7089. "onresize": function () { }
  7090. }, {
  7091. closecallback: function () { }
  7092. }, {
  7093. "style": {
  7094. "height": "36px"
  7095. }
  7096. }).form; //创建窗体
  7097. _taskbar = {
  7098. "id": str + _formdiv.id,
  7099. "style": {
  7100. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7101. },
  7102. "name": "电子白板",
  7103. "forms": _formdiv,
  7104. "click": function () {
  7105. U.MD.D.I.openApplication(str, obj, info);
  7106. }
  7107. }
  7108. break;
  7109. case "mind":
  7110. aTool = 3;
  7111. _iframe = $$("iframe", {
  7112. "frameborder": "no",
  7113. "border": "0",
  7114. "scrolling ": "no",
  7115. "style": {
  7116. "cssText": "border:0;width:100%;height:100%"
  7117. },
  7118. "src": "/kityminder-editor/dist/index.html"
  7119. });
  7120. _box.appendChild(_iframe);
  7121. _box.appendChild(_jie);
  7122. _formdiv = new U.UF.UI.form(
  7123. "思维导图",
  7124. _box, { //"/jsmind/example/demo.html"
  7125. "id": "minds_Yu" + cid + stage + task + tool,
  7126. "style": {
  7127. "width": "90%",
  7128. "height": "90%",
  7129. "overflow": 'hidden'
  7130. },
  7131. "onresize": function () { }
  7132. }, {
  7133. closecallback: function () { }
  7134. }, {
  7135. "style": {
  7136. "height": "36px"
  7137. }
  7138. }).form; //创建窗体
  7139. _taskbar = {
  7140. "id": str + _formdiv.id,
  7141. "style": {
  7142. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7143. },
  7144. "name": "思维导图",
  7145. "forms": _formdiv,
  7146. "click": function () {
  7147. U.MD.D.I.openApplication(str, obj, info);
  7148. }
  7149. }
  7150. break;
  7151. case "doc":
  7152. aTool = 6;
  7153. _iframe = $$("iframe", {
  7154. "frameborder": "no",
  7155. "border": "0",
  7156. "scrolling ": "no",
  7157. "style": {
  7158. "cssText": "border:0;width:100%;height:100%"
  7159. },
  7160. "src": "/Office/Word/WordEditArea.htm"
  7161. })
  7162. _box.appendChild(_iframe);
  7163. _box.appendChild(_jie);
  7164. _formdiv = new U.UF.UI.form(
  7165. "协同文档",
  7166. _box, {
  7167. "id": "docs_Yu" + cid + stage + task + tool,
  7168. "style": {
  7169. "width": "90%",
  7170. "height": "90%",
  7171. "overflow": 'hidden'
  7172. },
  7173. "onresize": function () { }
  7174. }, {
  7175. closecallback: function () { }
  7176. }, {
  7177. "style": {
  7178. "height": "36px"
  7179. }
  7180. }).form; //创建窗体
  7181. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7182. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7183. })
  7184. _taskbar = {
  7185. "id": str + _formdiv.id,
  7186. "style": {
  7187. "backgroundImage": "url(/img/icon/doc.png)"
  7188. },
  7189. "name": "协同文档",
  7190. "forms": _formdiv,
  7191. "click": function () {
  7192. U.MD.D.I.openApplication(str, obj, info);
  7193. }
  7194. }
  7195. break;
  7196. case "CocoPi":
  7197. aTool = 57;
  7198. _iframe = $$("iframe", {
  7199. "allowpaymentrequest": "allowpaymentrequest",
  7200. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7201. "webkitallowfullscreen": "",
  7202. "mozallowfullscreen": "",
  7203. "frameborder": "no",
  7204. "border": "0",
  7205. "scrolling ": "no",
  7206. "style": {
  7207. "cssText": "border:0;width:100%;height:100%"
  7208. },
  7209. "src": "https://pi.cocorobo.cn/"
  7210. })
  7211. _box.appendChild(_iframe);
  7212. _box.appendChild(_jie);
  7213. _formdiv = new U.UF.UI.form(
  7214. "CocoPi",
  7215. _box, {
  7216. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7217. "style": {
  7218. "width": "90%",
  7219. "height": "90%",
  7220. "overflow": 'hidden'
  7221. },
  7222. "onresize": function () { }
  7223. }, {
  7224. closecallback: function () { }
  7225. }, {
  7226. "style": {
  7227. "height": "36px"
  7228. }
  7229. }).form; //创建窗体
  7230. _taskbar = {
  7231. "id": str + _formdiv.id,
  7232. "style": {
  7233. "backgroundImage": "url(/img/icon/cocopi.png)"
  7234. },
  7235. "name": "CocoPi",
  7236. "forms": _formdiv,
  7237. "click": function () {
  7238. U.MD.D.I.openApplication(str, obj, info);
  7239. }
  7240. }
  7241. break;
  7242. }
  7243. if (_iframe) {
  7244. if (str == 'doc') {
  7245. _iframe = _formdiv.querySelector('iframe')
  7246. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7247. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7248. })
  7249. if (onloadListener) {
  7250. _iframe.contentDocument.location.reload()
  7251. } else {
  7252. _iframe.contentDocument.location.reload()
  7253. }
  7254. } else if (str == 'mind') {
  7255. _iframe = _formdiv.querySelector('iframe')
  7256. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7257. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7258. })
  7259. if (onloadListener) {
  7260. _iframe.contentDocument.location.reload()
  7261. } else {
  7262. _iframe.contentDocument.location.reload()
  7263. }
  7264. } else if (str == 'whiteboard') {
  7265. _iframe = _formdiv.querySelector('iframe')
  7266. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7267. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7268. })
  7269. if (onloadListener) {
  7270. _iframe.contentDocument.location.reload()
  7271. } else {
  7272. _iframe.contentDocument.location.reload()
  7273. }
  7274. } else if (str == 'CocoPi') {
  7275. _iframe = _formdiv.querySelector('iframe')
  7276. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7277. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7278. })
  7279. if (onloadListener) {
  7280. _iframe.contentDocument.location.reload()
  7281. } else {
  7282. _iframe.contentDocument.location.reload()
  7283. }
  7284. } else {
  7285. _iframe.onload = () => { };
  7286. }
  7287. _jie.onclick = async () => {
  7288. let text = ''
  7289. let type = '2'
  7290. if (aTool == 1) {
  7291. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7292. type = '3'
  7293. } else if (aTool == 6) {
  7294. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7295. type = '1'
  7296. } else if (aTool == 3) {
  7297. text = await U.MD.D.I.getEditorContent(_iframe);
  7298. type = '2'
  7299. } else if (aTool == 57) {
  7300. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7301. type = '4'
  7302. }
  7303. _loading.style.display = 'flex'
  7304. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7305. }
  7306. }
  7307. //U.MD.D.I.openClick(str);
  7308. //如果有任务栏信息
  7309. // if (_taskbar) {
  7310. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7311. // }
  7312. }
  7313. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7314. var xmlhttp;
  7315. var Mac, Sn, DeviceId
  7316. if (window.XMLHttpRequest) {
  7317. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7318. xmlhttp = new XMLHttpRequest();
  7319. } else {
  7320. // IE6, IE5 浏览器执行代码
  7321. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7322. }
  7323. xmlhttp.onreadystatechange = function () {
  7324. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7325. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7326. // resolve(res.value[0][0].text);
  7327. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7328. }
  7329. }
  7330. }
  7331. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7332. xmlhttp.send();
  7333. }
  7334. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7335. var xmlhttp;
  7336. var Mac, Sn, DeviceId
  7337. if (window.XMLHttpRequest) {
  7338. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7339. xmlhttp = new XMLHttpRequest();
  7340. } else {
  7341. // IE6, IE5 浏览器执行代码
  7342. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7343. }
  7344. xmlhttp.onreadystatechange = function () {
  7345. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7346. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7347. // resolve(res.value[0][0].text);
  7348. if (type == '2') {
  7349. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7350. } else if (type == '3') {
  7351. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7352. } else if (type == '4') {
  7353. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7354. }
  7355. } else {
  7356. if (type == '2') {
  7357. iframe.contentWindow.editor.minder.importData('json', '')
  7358. } else if (type == '3') {
  7359. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7360. } else if (type == '4') {
  7361. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7362. }
  7363. }
  7364. }
  7365. }
  7366. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7367. xmlhttp.send();
  7368. }
  7369. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7370. var xmlhttp;
  7371. var Mac, Sn, DeviceId
  7372. if (window.XMLHttpRequest) {
  7373. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7374. xmlhttp = new XMLHttpRequest();
  7375. } else {
  7376. // IE6, IE5 浏览器执行代码
  7377. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7378. }
  7379. xmlhttp.onreadystatechange = function () {
  7380. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7381. if (xmlhttp.response) {
  7382. // resolve(res.value[0][0].text);
  7383. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7384. // $(fileInput).val('');
  7385. // });
  7386. span.innerHTML = '上传成功'
  7387. setTimeout(() => {
  7388. loading.style.display = 'none'
  7389. }, 1000);
  7390. }
  7391. }
  7392. }
  7393. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7394. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7395. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7396. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7397. // 设置请求头,表示请求体的编码格式
  7398. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7399. // 设置请求体,使用url-encoded格式的数据
  7400. }
  7401. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7402. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7403. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7404. _userinfo = US.userInfo, //登录用户信息
  7405. _userid = US.userInfo.userid //登录用户id
  7406. let _iframe;
  7407. let _cid = cid,
  7408. _stage = stage,
  7409. _task = task,
  7410. _tool = tool;
  7411. var _jie = $$("div", {
  7412. "style": {
  7413. "position": "absolute",
  7414. "bottom": "50px",
  7415. "right": "50px",
  7416. "zIndex": "9999",
  7417. "backgroundColor": "#2268bc",
  7418. "color": "#fff",
  7419. "padding": "12px 20px",
  7420. "cursor": "pointer",
  7421. "borderRadius": "4px",
  7422. },
  7423. "innerHTML": "提交作业"
  7424. })
  7425. let aTool = ''
  7426. let _loading = document.createElement('div')
  7427. _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;"
  7428. // _loading.id = "";
  7429. let _lchild = document.createElement('div')
  7430. let _limg = document.createElement('img')
  7431. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7432. _limg.style = "width: 26px;margin-right: 10px;"
  7433. _lchild.appendChild(_limg)
  7434. let _lspan = document.createElement('span')
  7435. _lspan.innerHTML = "上传中..."
  7436. _lchild.appendChild(_lspan)
  7437. _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%);"
  7438. _loading.appendChild(_lchild)
  7439. var _box = $$('div', {
  7440. "style": {
  7441. "position": "relative",
  7442. "width": "100%",
  7443. "height": "100%",
  7444. },
  7445. })
  7446. _box.appendChild(_loading)
  7447. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7448. switch (str) {
  7449. case "CocoPi":
  7450. aTool = 57;
  7451. _iframe = $$("iframe", {
  7452. "allowpaymentrequest": "allowpaymentrequest",
  7453. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7454. "webkitallowfullscreen": "",
  7455. "mozallowfullscreen": "",
  7456. "frameborder": "no",
  7457. "border": "0",
  7458. "scrolling ": "no",
  7459. "style": {
  7460. "cssText": "border:0;width:100%;height:100%"
  7461. },
  7462. "src": "https://pi.cocorobo.cn/"
  7463. })
  7464. _box.appendChild(_iframe);
  7465. _box.appendChild(_jie);
  7466. _formdiv = new U.UF.UI.form(
  7467. "CocoPi",
  7468. _box, {
  7469. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7470. "style": {
  7471. "width": "90%",
  7472. "height": "90%",
  7473. "overflow": 'hidden'
  7474. },
  7475. "onresize": function () { }
  7476. }, {
  7477. closecallback: function () { }
  7478. }, {
  7479. "style": {
  7480. "height": "36px"
  7481. }
  7482. }).form; //创建窗体
  7483. _taskbar = {
  7484. "id": str + _formdiv.id,
  7485. "style": {
  7486. "backgroundImage": "url(/img/icon/cocopi.png)"
  7487. },
  7488. "name": "CocoPi",
  7489. "forms": _formdiv,
  7490. "click": function () {
  7491. U.MD.D.I.openApplication(str, obj, info);
  7492. }
  7493. }
  7494. break;
  7495. }
  7496. if (_iframe) {
  7497. if (str == 'CocoPi') {
  7498. _iframe = _formdiv.querySelector('iframe')
  7499. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7500. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7501. })
  7502. if (onloadListener) {
  7503. _iframe.contentDocument.location.reload()
  7504. } else {
  7505. _iframe.contentDocument.location.reload()
  7506. }
  7507. }
  7508. _jie.onclick = async () => {
  7509. let text = ''
  7510. if (aTool == 57) {
  7511. text = _iframe.contentWindow.getLoadXmlStr()
  7512. }
  7513. _loading.style.display = 'flex'
  7514. console.log(_loading);
  7515. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7516. _loading.style.display = 'none'
  7517. let _div = document.createElement('div')
  7518. _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;"
  7519. let _inner = document.createElement('div')
  7520. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7521. _inner.innerHTML = "上传成功"
  7522. _div.appendChild(_inner)
  7523. _iframe.contentWindow.window.document.body.appendChild(_div)
  7524. _div.onclick = () => {
  7525. _iframe.contentWindow.window.document.body.removeChild(_div)
  7526. }
  7527. setTimeout(() => {
  7528. _iframe.contentWindow.window.document.body.removeChild(_div)
  7529. }, 1000);
  7530. }, [], { "type": "POST", "withCredentials": true });
  7531. }
  7532. }
  7533. }
  7534. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7535. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7536. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7537. _userid = student.userid, //登录用户id
  7538. _username = student.student //用户名字
  7539. let _iframe;
  7540. let _cid = cid,
  7541. _stage = stage,
  7542. _task = task,
  7543. _tool = tool;
  7544. var _jie = $$("div", {
  7545. "style": {
  7546. "position": "absolute",
  7547. "bottom": "50px",
  7548. "right": "50px",
  7549. "zIndex": "9999",
  7550. "backgroundColor": "#2268bc",
  7551. "color": "#fff",
  7552. "padding": "12px 20px",
  7553. "cursor": "pointer",
  7554. "borderRadius": "4px",
  7555. },
  7556. "innerHTML": "提交作业"
  7557. })
  7558. let aTool = ''
  7559. let _loading = document.createElement('div')
  7560. _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;"
  7561. // _loading.id = "";
  7562. let _lchild = document.createElement('div')
  7563. let _limg = document.createElement('img')
  7564. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7565. _limg.style = "width: 26px;margin-right: 10px;"
  7566. _lchild.appendChild(_limg)
  7567. let _lspan = document.createElement('span')
  7568. _lspan.innerHTML = "上传中..."
  7569. _lchild.appendChild(_lspan)
  7570. _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%);"
  7571. _loading.appendChild(_lchild)
  7572. var _box = $$('div', {
  7573. "style": {
  7574. "position": "relative",
  7575. "width": "100%",
  7576. "height": "100%",
  7577. },
  7578. })
  7579. _box.appendChild(_loading)
  7580. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7581. switch (str) {
  7582. case "CocoPi":
  7583. aTool = 57;
  7584. _iframe = $$("iframe", {
  7585. "allowpaymentrequest": "allowpaymentrequest",
  7586. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7587. "webkitallowfullscreen": "",
  7588. "mozallowfullscreen": "",
  7589. "frameborder": "no",
  7590. "border": "0",
  7591. "scrolling ": "no",
  7592. "style": {
  7593. "cssText": "border:0;width:100%;height:100%"
  7594. },
  7595. "src": "https://pi.cocorobo.cn/"
  7596. })
  7597. _box.appendChild(_iframe);
  7598. _box.appendChild(_jie);
  7599. _formdiv = new U.UF.UI.form(
  7600. "CocoPi-" + _username,
  7601. _box, {
  7602. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7603. "style": {
  7604. "width": "90%",
  7605. "height": "90%",
  7606. "overflow": 'hidden'
  7607. },
  7608. "onresize": function () { }
  7609. }, {
  7610. closecallback: function () { }
  7611. }, {
  7612. "style": {
  7613. "height": "36px"
  7614. }
  7615. }).form; //创建窗体
  7616. _taskbar = {
  7617. "id": str + _formdiv.id,
  7618. "style": {
  7619. "backgroundImage": "url(/img/icon/cocopi.png)"
  7620. },
  7621. "name": "CocoPi",
  7622. "forms": _formdiv,
  7623. "click": function () {
  7624. U.MD.D.I.openApplication(str, obj, info);
  7625. }
  7626. }
  7627. break;
  7628. }
  7629. if (_iframe) {
  7630. if (str == 'CocoPi') {
  7631. _iframe = _formdiv.querySelector('iframe')
  7632. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7633. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7634. })
  7635. if (onloadListener) {
  7636. _iframe.contentDocument.location.reload()
  7637. } else {
  7638. _iframe.contentDocument.location.reload()
  7639. }
  7640. }
  7641. _jie.onclick = async () => {
  7642. let text = ''
  7643. if (aTool == 57) {
  7644. text = _iframe.contentWindow.getLoadXmlStr()
  7645. }
  7646. _loading.style.display = 'flex'
  7647. console.log(_loading);
  7648. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7649. _loading.style.display = 'none'
  7650. let _div = document.createElement('div')
  7651. _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;"
  7652. let _inner = document.createElement('div')
  7653. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7654. _inner.innerHTML = "上传成功"
  7655. _div.appendChild(_inner)
  7656. _iframe.contentWindow.window.document.body.appendChild(_div)
  7657. _div.onclick = () => {
  7658. _iframe.contentWindow.window.document.body.removeChild(_div)
  7659. }
  7660. setTimeout(() => {
  7661. _iframe.contentWindow.window.document.body.removeChild(_div)
  7662. }, 1000);
  7663. }, [], { "type": "POST", "withCredentials": true });
  7664. }
  7665. }
  7666. }
  7667. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7668. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7669. if (res.value[0].length > 0) {
  7670. if (atool == 57) {
  7671. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7672. }
  7673. } else {
  7674. if (atool == 57) {
  7675. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7676. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7677. }
  7678. }
  7679. }, [], { "type": "POST", "withCredentials": true });
  7680. }