DeskTop.js 450 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777
  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. ];
  101. U.MD.D.I.studentDeskIcon = [
  102. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  103. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  104. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  105. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  106. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  107. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  108. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  109. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  110. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  111. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  112. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  113. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  114. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  115. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  116. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  117. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  118. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  119. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  120. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  121. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  122. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  123. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  124. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  125. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  126. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  127. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  128. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  129. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  130. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  131. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  132. ];
  133. U.MD.D.I.studentDeskIcon2 = [
  134. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  135. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  136. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  137. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  138. ]
  139. U.MD.D.I.studentDeskIcon3 = [
  140. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  141. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  142. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  143. ]
  144. U.MD.D.I.schoolDeskIcon = [
  145. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  146. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  147. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  148. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  149. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  150. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  151. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  152. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  153. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  154. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  155. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  156. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  157. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  158. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  159. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  160. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  161. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  162. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  163. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  164. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  165. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  166. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  167. ];
  168. U.MD.D.I.orgDeskIcon = [
  169. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  170. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  171. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  172. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  173. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  174. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  175. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  176. ];
  177. U.MD.D.I.orgStemDeskIcon = [
  178. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  179. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  180. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  181. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  182. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  183. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  184. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  185. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  186. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  187. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  188. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  189. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  190. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  191. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  192. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  193. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  194. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  195. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  196. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  197. ];
  198. U.MD.D.I.szulsDeskIcon = [
  199. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  200. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  201. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  202. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  203. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  204. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  205. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  206. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  207. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  208. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  209. ];
  210. U.MD.D.I.hanDeskIcon = [
  211. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  212. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  213. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  214. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  215. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  216. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  217. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  218. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  219. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  220. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  221. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  222. ];
  223. U.MD.D.I.GMteacherDeskIcon = [
  224. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  225. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  226. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  227. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  228. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  229. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  230. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  231. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  232. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  233. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  234. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  235. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  236. ];
  237. U.MD.D.I.GMstudentDeskIcon = [
  238. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  239. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  240. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  241. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  242. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  243. ];
  244. //北师大
  245. U.MD.D.I.BSDNSteacherDeskIcon = [
  246. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  247. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  248. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  249. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  250. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  251. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  252. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  253. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  254. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  255. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  256. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  257. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  258. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  259. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  260. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  261. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  262. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  263. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  264. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  265. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  266. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  267. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  268. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  269. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  270. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  271. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  272. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  273. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  274. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  275. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  276. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  277. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  278. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  279. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  280. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  281. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  282. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  283. ];
  284. //松山湖
  285. U.MD.D.I.SONGteacherDeskIcon = [
  286. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  287. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  288. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  289. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  290. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  291. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  292. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  293. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  294. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  295. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  296. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  297. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  298. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  299. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  300. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  301. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  302. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  303. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  304. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  305. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  306. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  307. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  308. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  309. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  310. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  311. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  312. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  313. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  314. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  315. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  316. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  317. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  318. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  319. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  320. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  321. ];
  322. U.MD.D.I.tcStudentDeskIcon = [
  323. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  324. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  325. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  326. ];
  327. U.MD.D.I.tcTeacherDeskIcon = [
  328. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  329. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  330. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  331. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  332. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  333. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  334. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  335. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  336. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  337. ];
  338. U.MD.D.I.tcOrganizerDeskIcon = [
  339. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  340. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  341. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  342. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  343. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  344. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  345. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  346. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  347. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  348. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  349. ];
  350. U.MD.D.I.szscStudentDeskIcon = [
  351. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  352. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  353. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  354. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  355. ];
  356. U.MD.D.I.szscTeacherDeskIcon = [
  357. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  358. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  359. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  360. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  361. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  362. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  363. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  364. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  365. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  366. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  367. ];
  368. U.MD.D.I.szscOrganizerDeskIcon = [
  369. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  370. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  371. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  372. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  373. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  374. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  375. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  376. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  377. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  378. ];
  379. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  380. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  381. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  382. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  383. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  384. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  385. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  386. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  387. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  388. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  389. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  390. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  391. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  392. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  393. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  394. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  395. ];
  396. U.MD.D.I.wankeAdminDeskIcon = [
  397. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  398. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  399. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  400. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  401. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  402. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  403. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  404. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  405. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  406. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  407. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  408. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  409. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  410. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  411. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  412. ];
  413. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  414. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  415. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  416. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  417. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  418. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  419. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  420. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  421. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  422. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  423. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  424. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  425. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  426. ];
  427. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  428. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  429. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  430. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  431. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  432. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  433. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  434. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  435. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  436. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  437. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  438. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  439. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  440. ];
  441. //明德教师桌面图标的全局变量
  442. U.MD.D.I.MingdeTeacherDeskIcon = [
  443. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  444. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  445. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  446. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  447. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  448. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  449. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  450. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  451. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  452. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  453. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  454. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  455. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  456. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  457. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  458. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  459. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  460. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  461. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  462. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  463. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  464. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  465. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  466. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  467. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  468. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  469. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  470. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  471. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  472. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  473. ];
  474. //97c4ee8b-d010-4042-986d-e9d3c217264f
  475. //教师桌面图标的全局变量
  476. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  477. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  478. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  479. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  480. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  481. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  482. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  483. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  484. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  485. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  486. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  487. ];
  488. //福田
  489. U.MD.D.I.futianTeacherDeskIcon = [
  490. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  491. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  492. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  493. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  494. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  495. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  496. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  497. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  498. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  499. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  500. ];
  501. //福田
  502. U.MD.D.I.futianAdminDeskIcon = [
  503. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  504. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  505. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  506. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  507. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  508. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  509. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  510. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  511. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  512. ];
  513. //lotech
  514. U.MD.D.I.lotechTeacherDeskIcon = [
  515. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  516. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  517. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  518. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  519. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  520. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  521. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  522. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  523. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  524. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  525. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  526. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  527. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  528. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  529. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  530. ];
  531. //龙华中心小学教师桌面图标的全局变量
  532. U.MD.D.I.longhuateacherDeskIcon = [
  533. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  534. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  535. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  536. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  537. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  538. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  539. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  540. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  541. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  542. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  543. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  544. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  545. ];
  546. //教科院实小教师桌面图标的全局变量
  547. U.MD.D.I.siesteacherDeskIcon = [
  548. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  549. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  550. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  551. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  552. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  553. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  554. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  555. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  556. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  557. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  558. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  559. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  560. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  561. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  562. ];
  563. //教科院实小教师桌面图标的全局变量
  564. U.MD.D.I.siesStudentDeskIcon = [
  565. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  566. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  567. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  568. ];
  569. //福田
  570. U.MD.D.I.gdjgTeacherDeskIcon = [
  571. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  572. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  573. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  574. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  575. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  576. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  577. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  578. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  579. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  580. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  581. ];
  582. //gdjg
  583. U.MD.D.I.gdjgAdminDeskIcon = [
  584. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  585. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  586. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  587. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  588. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  589. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  590. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  591. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  592. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  593. ];
  594. //hk
  595. U.MD.D.I.hkteacherDeskIcon = [
  596. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  597. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  598. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  599. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  600. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  601. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  602. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  603. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  604. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  605. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  606. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  607. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  608. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  609. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  610. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  611. ];
  612. //hk
  613. U.MD.D.I.hkStudentDeskIcon = [
  614. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  615. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  616. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  617. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  618. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  619. ];
  620. //香海正覺蓮社佛教正覺中學
  621. U.MD.D.I.hkZJLSteacherDeskIcon = [
  622. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  623. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  624. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  625. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  626. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  627. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  628. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  629. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  630. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  631. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  632. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  633. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  634. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  635. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  636. ];
  637. //香海正覺蓮社佛教正覺中學
  638. U.MD.D.I.hkZJLSStudentDeskIcon = [
  639. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  640. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  641. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  642. ];
  643. //云海
  644. U.MD.D.I.yunhaiTeacherDeskIcon = [
  645. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  646. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  647. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  648. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  649. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  650. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  651. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  652. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  653. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  654. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  655. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  656. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  657. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  658. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  659. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  660. ];
  661. //福田
  662. U.MD.D.I.heyuanTeacherDeskIcon = [
  663. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  664. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  665. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  666. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  667. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  668. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  669. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  670. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  671. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  672. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  673. ];
  674. //福田
  675. U.MD.D.I.heyuanAdminDeskIcon = [
  676. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  677. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  678. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  679. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  680. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  681. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  682. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  683. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  684. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  685. ];
  686. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  687. U.MD.D.I.szherTeacherDeskIcon = [
  688. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  689. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  690. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  691. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  692. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  693. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  694. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  695. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  696. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  697. ];
  698. //dsei
  699. U.MD.D.I.dseiTeacherDeskIcon = [
  700. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  701. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  702. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  703. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  704. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  705. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  706. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  707. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  708. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  709. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  710. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  711. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  712. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  713. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  714. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  715. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  716. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  717. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  718. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  719. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  720. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  721. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  722. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  723. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  724. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  725. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  726. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  727. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  728. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  729. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  730. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  731. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  732. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  733. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  734. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  735. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  736. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  737. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  738. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  739. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  740. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  741. ];
  742. //dsei
  743. U.MD.D.I.dseiAdminDeskIcon = [
  744. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  745. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  746. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  747. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  748. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  749. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  750. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  751. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  752. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  753. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  754. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  755. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  756. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  757. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  758. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  759. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  760. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  761. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  762. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  763. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  764. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  765. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  766. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  767. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  768. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  769. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  770. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  771. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  772. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  773. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  774. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  775. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  776. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  777. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  778. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  779. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  780. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  781. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  782. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  783. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  784. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  785. ];
  786. //dsei
  787. U.MD.D.I.dseiStudentDeskIcon = [
  788. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  789. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  790. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  791. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  792. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  793. ];
  794. //未来教育基地
  795. U.MD.D.I.szjkyTeacherDeskIcon = [
  796. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  797. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  798. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  799. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  800. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  801. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  802. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  803. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  804. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  805. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  806. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  807. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  808. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  809. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  810. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  811. ];
  812. //未来教育基地
  813. U.MD.D.I.szjkyAdminDeskIcon = [
  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.szjkyStudentDeskIcon = [
  832. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  833. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  834. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  835. ];
  836. //成华教育局
  837. U.MD.D.I.chjyjTeacherDeskIcon = [
  838. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  839. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  840. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  841. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  842. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  843. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  844. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  845. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  846. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  847. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  848. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  849. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  850. ];
  851. //成华教育局chjyj
  852. U.MD.D.I.chjyjAdminDeskIcon = [
  853. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  854. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  855. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  856. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  857. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  858. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  859. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  860. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  861. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  862. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  863. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  864. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  865. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  866. ];
  867. //成华教育局chjyj
  868. U.MD.D.I.chjyjStudentDeskIcon = [
  869. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  870. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  871. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  872. ];
  873. //tpc
  874. U.MD.D.I.tpcStudentDeskIcon = [
  875. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  876. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  877. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  878. ];
  879. //tpc
  880. U.MD.D.I.tpcTeacherDeskIcon = [
  881. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  882. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  883. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  884. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  885. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  886. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  887. ];
  888. //tpc
  889. U.MD.D.I.tpcAdminDeskIcon = [
  890. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  891. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  892. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  893. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  894. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  895. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  896. ];
  897. //#region 桌面初始化a
  898. /**
  899. * 初始化桌面的起始函数
  900. *
  901. */
  902. U.MD.D.I.init = function () {
  903. if ($("#U_MD_D_K")[0]) {
  904. //初始化桌面图标
  905. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  906. // var clickUrl = ':12588/requestIp.php';
  907. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  908. // U.MD.D.I.Ip = data;
  909. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  910. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  911. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  912. // })
  913. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  914. // })
  915. }
  916. }
  917. /**
  918. * 模式切换
  919. *
  920. */
  921. U.MD.D.I.ModeCheck = function (type) {
  922. if (US.Config.type == type) {
  923. return
  924. }
  925. US.Config.type = type
  926. $('.U_PBL_Check .active')[0].className = ''
  927. if (type == 1) {
  928. $('.U_PBL_Check div')[0].className = 'active'
  929. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  930. } else {
  931. $('.U_PBL_Check div')[1].className = 'active'
  932. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  933. }
  934. //初始化桌面图标
  935. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  936. if (type == 2) {
  937. U.MD.D.I.openApplication("project")
  938. }
  939. }
  940. /**
  941. * 隐藏任务栏
  942. *
  943. * @param {element} 桌面元素
  944. */
  945. U.MD.D.I.hiddenTaskbar = function (el) {
  946. //任务栏位置变小
  947. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  948. //桌面的位置变大
  949. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  950. }
  951. /**
  952. * 隐藏任务栏
  953. *
  954. * @param {element} 桌面元素
  955. */
  956. U.MD.D.I.hiddenTaskbarout = function (el) {
  957. //任务栏位置变小
  958. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  959. //任务栏位置变化
  960. U.selectEl(el).css({ "bottom": "-60px" });
  961. //桌面的位置变大
  962. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  963. }
  964. }
  965. /**
  966. * 初始化打印桌面图标
  967. *
  968. * @param {element} 桌面元素
  969. */
  970. U.MD.D.I.initDesktopIcons = function (el, type) {
  971. var i, //用于循环
  972. _content, //桌面图标元素
  973. _iconcontent, //桌面图标元素
  974. _frag = $$("frag"), //定义一个碎片元素
  975. _type = US.userInfo.type,
  976. _org = US.userInfo.org,
  977. _oid = US.userInfo.organizeid,
  978. _role = US.userInfo.role,
  979. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  980. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  981. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  982. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  983. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  984. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  985. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  986. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  987. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  988. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  989. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  990. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  991. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  992. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  993. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  994. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  995. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  996. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  997. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  998. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  999. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1000. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1001. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1002. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1003. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1004. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1005. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1006. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1007. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1008. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1009. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1010. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1011. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1012. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1013. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1014. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1015. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1016. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1017. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1018. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1019. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1020. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1021. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1022. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1023. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1024. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1025. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1026. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1027. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1028. _tpcStudentDeskIconInfo= U.MD.D.I.tpcStudentDeskIcon,
  1029. _tpcTeacherDeskIconInfo= U.MD.D.I.tpcTeacherDeskIcon,
  1030. _tpcOrganizerDeskIconInfo= U.MD.D.I.tpcAdminDeskIcon,
  1031. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1032. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1033. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1034. 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'];
  1035. 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'];
  1036. //清楚桌面图标
  1037. el.innerHTML = "";
  1038. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1039. _teacherDesktopIconInfo.push(
  1040. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1041. { "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)" } },
  1042. )
  1043. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1044. }
  1045. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1046. _teacherDesktopIconInfo.push(
  1047. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1048. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1049. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1050. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1051. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1052. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1053. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1054. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1055. )
  1056. }
  1057. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1058. _teacherDesktopIconInfo.push(
  1059. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1060. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1061. )
  1062. _studentDesktopIconInfo.push(
  1063. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1064. )
  1065. }
  1066. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1067. _teacherDesktopIconInfo.push(
  1068. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1069. )
  1070. }
  1071. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1072. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1073. if (el.Name == '项目管理') {
  1074. el.Name = 'PBL项目'
  1075. }
  1076. return el
  1077. })
  1078. }
  1079. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1080. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1081. return el.Name != '魔盒识字' && el.Name != '24点'
  1082. })
  1083. }
  1084. 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) {
  1085. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },)
  1086. }
  1087. //循环创建桌面图标
  1088. if (type == 1) {
  1089. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1090. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1091. _content = $$("div", {
  1092. className: "U_MD_D_KO",
  1093. "onmousedown": U.UF.C.closure(function (obj) {
  1094. //防止拖动图标即打开了桌面应用
  1095. U.MD.D.click(this, obj);
  1096. }, [_studentDesktopIconInfo[i]]),
  1097. "onclick": U.UF.C.closure(function (obj) {
  1098. //防止拖动图标即打开了桌面应用
  1099. U.MD.D.click(this, obj);
  1100. }, [_studentDesktopIconInfo[i]])
  1101. }, _frag); //
  1102. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1103. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1104. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1105. }
  1106. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1107. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1108. _content = $$("div", {
  1109. className: "U_MD_D_KO",
  1110. "onmousedown": U.UF.C.closure(function (obj) {
  1111. //防止拖动图标即打开了桌面应用
  1112. U.MD.D.click(this, obj);
  1113. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1114. "onclick": U.UF.C.closure(function (obj) {
  1115. //防止拖动图标即打开了桌面应用
  1116. U.MD.D.click(this, obj);
  1117. }, [_hkZJLSStudentDeskIconInfo[i]])
  1118. }, _frag); //
  1119. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1120. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1121. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1122. } //
  1123. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1124. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1125. _content = $$("div", {
  1126. className: "U_MD_D_KO",
  1127. "onmousedown": U.UF.C.closure(function (obj) {
  1128. //防止拖动图标即打开了桌面应用
  1129. U.MD.D.click(this, obj);
  1130. }, [_tpcStudentDeskIconInfo[i]]),
  1131. "onclick": U.UF.C.closure(function (obj) {
  1132. //防止拖动图标即打开了桌面应用
  1133. U.MD.D.click(this, obj);
  1134. }, [_tpcStudentDeskIconInfo[i]])
  1135. }, _frag); //
  1136. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1137. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1138. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1139. } //
  1140. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1141. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1142. _content = $$("div", {
  1143. className: "U_MD_D_KO",
  1144. "onmousedown": U.UF.C.closure(function (obj) {
  1145. //防止拖动图标即打开了桌面应用
  1146. U.MD.D.click(this, obj);
  1147. }, [_chjyjStudentDeskIconInfo[i]]),
  1148. "onclick": U.UF.C.closure(function (obj) {
  1149. //防止拖动图标即打开了桌面应用
  1150. U.MD.D.click(this, obj);
  1151. }, [_chjyjStudentDeskIconInfo[i]])
  1152. }, _frag); //
  1153. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1154. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1155. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1156. }
  1157. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1158. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1159. _content = $$("div", {
  1160. className: "U_MD_D_KO",
  1161. "onmousedown": U.UF.C.closure(function (obj) {
  1162. //防止拖动图标即打开了桌面应用
  1163. U.MD.D.click(this, obj);
  1164. }, [_szjkyStudentDeskIconInfo[i]]),
  1165. "onclick": U.UF.C.closure(function (obj) {
  1166. //防止拖动图标即打开了桌面应用
  1167. U.MD.D.click(this, obj);
  1168. }, [_szjkyStudentDeskIconInfo[i]])
  1169. }, _frag); //
  1170. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1171. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1172. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1173. }
  1174. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1175. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1176. _content = $$("div", {
  1177. className: "U_MD_D_KO",
  1178. "onmousedown": U.UF.C.closure(function (obj) {
  1179. //防止拖动图标即打开了桌面应用
  1180. U.MD.D.click(this, obj);
  1181. }, [_dseiStudentDeskIconInfo[i]]),
  1182. "onclick": U.UF.C.closure(function (obj) {
  1183. //防止拖动图标即打开了桌面应用
  1184. U.MD.D.click(this, obj);
  1185. }, [_dseiStudentDeskIconInfo[i]])
  1186. }, _frag); //
  1187. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1188. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1189. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1190. }
  1191. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1192. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1193. _content = $$("div", {
  1194. className: "U_MD_D_KO",
  1195. "onmousedown": U.UF.C.closure(function (obj) {
  1196. //防止拖动图标即打开了桌面应用
  1197. U.MD.D.click(this, obj);
  1198. }, [_siesStudentDeskIconInfo[i]]),
  1199. "onclick": U.UF.C.closure(function (obj) {
  1200. //防止拖动图标即打开了桌面应用
  1201. U.MD.D.click(this, obj);
  1202. }, [_siesStudentDeskIconInfo[i]])
  1203. }, _frag); //
  1204. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1205. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1206. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1207. }
  1208. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1209. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1210. _content = $$("div", {
  1211. className: "U_MD_D_KO",
  1212. "onmousedown": U.UF.C.closure(function (obj) {
  1213. //防止拖动图标即打开了桌面应用
  1214. U.MD.D.click(this, obj);
  1215. }, [_hkStudentDeskIconInfo[i]]),
  1216. "onclick": U.UF.C.closure(function (obj) {
  1217. //防止拖动图标即打开了桌面应用
  1218. U.MD.D.click(this, obj);
  1219. }, [_hkStudentDeskIconInfo[i]])
  1220. }, _frag); //
  1221. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1222. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1223. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1224. }
  1225. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1226. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1227. _content = $$("div", {
  1228. className: "U_MD_D_KO",
  1229. "onmousedown": U.UF.C.closure(function (obj) {
  1230. //防止拖动图标即打开了桌面应用
  1231. U.MD.D.click(this, obj);
  1232. }, [_studentDesktopIconInfo[i]]),
  1233. "onclick": U.UF.C.closure(function (obj) {
  1234. //防止拖动图标即打开了桌面应用
  1235. U.MD.D.click(this, obj);
  1236. }, [_studentDesktopIconInfo[i]])
  1237. }, _frag); //
  1238. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1239. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1240. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1241. }
  1242. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1243. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1244. _content = $$("div", {
  1245. className: "U_MD_D_KO",
  1246. "onmousedown": U.UF.C.closure(function (obj) {
  1247. //防止拖动图标即打开了桌面应用
  1248. U.MD.D.click(this, obj);
  1249. }, [_tcStudentDeskIconInfo[i]]),
  1250. "onclick": U.UF.C.closure(function (obj) {
  1251. //防止拖动图标即打开了桌面应用
  1252. U.MD.D.click(this, obj);
  1253. }, [_tcStudentDeskIconInfo[i]])
  1254. }, _frag); //
  1255. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1256. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1257. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1258. }
  1259. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1260. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1261. _content = $$("div", {
  1262. className: "U_MD_D_KO",
  1263. "onmousedown": U.UF.C.closure(function (obj) {
  1264. //防止拖动图标即打开了桌面应用
  1265. U.MD.D.click(this, obj);
  1266. }, [_szscStudentDeskIconInfo[i]]),
  1267. "onclick": U.UF.C.closure(function (obj) {
  1268. //防止拖动图标即打开了桌面应用
  1269. U.MD.D.click(this, obj);
  1270. }, [_szscStudentDeskIconInfo[i]])
  1271. }, _frag); //
  1272. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1273. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1274. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1275. }
  1276. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1277. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1278. _content = $$("div", {
  1279. className: "U_MD_D_KO",
  1280. "onmousedown": U.UF.C.closure(function (obj) {
  1281. //防止拖动图标即打开了桌面应用
  1282. U.MD.D.click(this, obj);
  1283. }, [_studentDesktopIconInfo3[i]]),
  1284. "onclick": U.UF.C.closure(function (obj) {
  1285. //防止拖动图标即打开了桌面应用
  1286. U.MD.D.click(this, obj);
  1287. }, [_studentDesktopIconInfo3[i]])
  1288. }, _frag); //
  1289. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1290. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1291. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1292. }
  1293. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1294. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1295. _content = $$("div", {
  1296. className: "U_MD_D_KO",
  1297. "onmousedown": U.UF.C.closure(function (obj) {
  1298. //防止拖动图标即打开了桌面应用
  1299. U.MD.D.click(this, obj);
  1300. }, [_studentDesktopIconInfo2[i]]),
  1301. "onclick": U.UF.C.closure(function (obj) {
  1302. //防止拖动图标即打开了桌面应用
  1303. U.MD.D.click(this, obj);
  1304. }, [_studentDesktopIconInfo2[i]])
  1305. }, _frag); //
  1306. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1307. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1308. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1309. }
  1310. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1311. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1312. _content = $$("div", {
  1313. className: "U_MD_D_KO",
  1314. "onmousedown": U.UF.C.closure(function (obj) {
  1315. //防止拖动图标即打开了桌面应用
  1316. U.MD.D.click(this, obj);
  1317. }, [_wanketeacherDesktopIconInfo[i]]),
  1318. "onclick": U.UF.C.closure(function (obj) {
  1319. //防止拖动图标即打开了桌面应用
  1320. U.MD.D.click(this, obj);
  1321. }, [_wanketeacherDesktopIconInfo[i]])
  1322. }, _frag); //
  1323. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1324. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1325. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1326. }
  1327. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1328. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1329. _content = $$("div", {
  1330. className: "U_MD_D_KO",
  1331. "onmousedown": U.UF.C.closure(function (obj) {
  1332. //防止拖动图标即打开了桌面应用
  1333. U.MD.D.click(this, obj);
  1334. }, [_wankeAdminDesktopIconInfo[i]]),
  1335. "onclick": U.UF.C.closure(function (obj) {
  1336. //防止拖动图标即打开了桌面应用
  1337. U.MD.D.click(this, obj);
  1338. }, [_wankeAdminDesktopIconInfo[i]])
  1339. }, _frag); //
  1340. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1341. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1342. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1343. }
  1344. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1345. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1346. _content = $$("div", {
  1347. className: "U_MD_D_KO",
  1348. "onmousedown": U.UF.C.closure(function (obj) {
  1349. //防止拖动图标即打开了桌面应用
  1350. U.MD.D.click(this, obj);
  1351. }, [_tpcOrganizerDeskIconInfo[i]]),
  1352. "onclick": U.UF.C.closure(function (obj) {
  1353. //防止拖动图标即打开了桌面应用
  1354. U.MD.D.click(this, obj);
  1355. }, [_tpcOrganizerDeskIconInfo[i]])
  1356. }, _frag); //
  1357. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1358. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1359. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1360. }
  1361. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1362. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1363. _content = $$("div", {
  1364. className: "U_MD_D_KO",
  1365. "onmousedown": U.UF.C.closure(function (obj) {
  1366. //防止拖动图标即打开了桌面应用
  1367. U.MD.D.click(this, obj);
  1368. }, [_tpcTeacherDeskIconInfo[i]]),
  1369. "onclick": U.UF.C.closure(function (obj) {
  1370. //防止拖动图标即打开了桌面应用
  1371. U.MD.D.click(this, obj);
  1372. }, [_tpcTeacherDeskIconInfo[i]])
  1373. }, _frag); //
  1374. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1375. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1376. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1377. }
  1378. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1379. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1380. _content = $$("div", {
  1381. className: "U_MD_D_KO",
  1382. "onmousedown": U.UF.C.closure(function (obj) {
  1383. //防止拖动图标即打开了桌面应用
  1384. U.MD.D.click(this, obj);
  1385. }, [_teacherDesktopIconInfo2[i]]),
  1386. "onclick": U.UF.C.closure(function (obj) {
  1387. //防止拖动图标即打开了桌面应用
  1388. U.MD.D.click(this, obj);
  1389. }, [_teacherDesktopIconInfo2[i]])
  1390. }, _frag); //
  1391. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1392. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1393. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1394. }
  1395. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1396. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1397. _content = $$("div", {
  1398. className: "U_MD_D_KO",
  1399. "onmousedown": U.UF.C.closure(function (obj) {
  1400. //防止拖动图标即打开了桌面应用
  1401. U.MD.D.click(this, obj);
  1402. }, [_lotechTeacherDeskIconInfo[i]]),
  1403. "onclick": U.UF.C.closure(function (obj) {
  1404. //防止拖动图标即打开了桌面应用
  1405. U.MD.D.click(this, obj);
  1406. }, [_lotechTeacherDeskIconInfo[i]])
  1407. }, _frag); //
  1408. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1409. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1410. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1411. }//
  1412. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1413. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1414. _content = $$("div", {
  1415. className: "U_MD_D_KO",
  1416. "onmousedown": U.UF.C.closure(function (obj) {
  1417. //防止拖动图标即打开了桌面应用
  1418. U.MD.D.click(this, obj);
  1419. }, [_siesTeacherDeskIconInfo[i]]),
  1420. "onclick": U.UF.C.closure(function (obj) {
  1421. //防止拖动图标即打开了桌面应用
  1422. U.MD.D.click(this, obj);
  1423. }, [_siesTeacherDeskIconInfo[i]])
  1424. }, _frag); //
  1425. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1426. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1427. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1428. }
  1429. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1430. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1431. _content = $$("div", {
  1432. className: "U_MD_D_KO",
  1433. "onmousedown": U.UF.C.closure(function (obj) {
  1434. //防止拖动图标即打开了桌面应用
  1435. U.MD.D.click(this, obj);
  1436. }, [_longhuaTeacherDeskIconInfo[i]]),
  1437. "onclick": U.UF.C.closure(function (obj) {
  1438. //防止拖动图标即打开了桌面应用
  1439. U.MD.D.click(this, obj);
  1440. }, [_longhuaTeacherDeskIconInfo[i]])
  1441. }, _frag); //
  1442. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1443. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1444. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1445. }
  1446. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1447. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1448. _content = $$("div", {
  1449. className: "U_MD_D_KO",
  1450. "onmousedown": U.UF.C.closure(function (obj) {
  1451. //防止拖动图标即打开了桌面应用
  1452. U.MD.D.click(this, obj);
  1453. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1454. "onclick": U.UF.C.closure(function (obj) {
  1455. //防止拖动图标即打开了桌面应用
  1456. U.MD.D.click(this, obj);
  1457. }, [_yunhaiTeacherDeskIconInfo[i]])
  1458. }, _frag); //
  1459. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1460. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1461. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1462. } //_hkStudentDeskIconInfo
  1463. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1464. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1465. _content = $$("div", {
  1466. className: "U_MD_D_KO",
  1467. "onmousedown": U.UF.C.closure(function (obj) {
  1468. //防止拖动图标即打开了桌面应用
  1469. U.MD.D.click(this, obj);
  1470. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1471. "onclick": U.UF.C.closure(function (obj) {
  1472. //防止拖动图标即打开了桌面应用
  1473. U.MD.D.click(this, obj);
  1474. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1475. }, _frag); //
  1476. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1477. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1478. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1479. }
  1480. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1481. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1482. _content = $$("div", {
  1483. className: "U_MD_D_KO",
  1484. "onmousedown": U.UF.C.closure(function (obj) {
  1485. //防止拖动图标即打开了桌面应用
  1486. U.MD.D.click(this, obj);
  1487. }, [_hkTeacherDeskIconInfo[i]]),
  1488. "onclick": U.UF.C.closure(function (obj) {
  1489. //防止拖动图标即打开了桌面应用
  1490. U.MD.D.click(this, obj);
  1491. }, [_hkTeacherDeskIconInfo[i]])
  1492. }, _frag); //
  1493. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1494. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1495. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1496. }
  1497. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1498. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1499. _content = $$("div", {
  1500. className: "U_MD_D_KO",
  1501. "onmousedown": U.UF.C.closure(function (obj) {
  1502. //防止拖动图标即打开了桌面应用
  1503. U.MD.D.click(this, obj);
  1504. }, [_gdjgAdminDeskIconInfo[i]]),
  1505. "onclick": U.UF.C.closure(function (obj) {
  1506. //防止拖动图标即打开了桌面应用
  1507. U.MD.D.click(this, obj);
  1508. }, [_gdjgAdminDeskIconInfo[i]])
  1509. }, _frag); //
  1510. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1511. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1512. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1513. }
  1514. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1515. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1516. _content = $$("div", {
  1517. className: "U_MD_D_KO",
  1518. "onmousedown": U.UF.C.closure(function (obj) {
  1519. //防止拖动图标即打开了桌面应用
  1520. U.MD.D.click(this, obj);
  1521. }, [_gdjgTeacherDeskIconInfo[i]]),
  1522. "onclick": U.UF.C.closure(function (obj) {
  1523. //防止拖动图标即打开了桌面应用
  1524. U.MD.D.click(this, obj);
  1525. }, [_gdjgTeacherDeskIconInfo[i]])
  1526. }, _frag); //
  1527. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1528. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1529. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1530. }
  1531. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1532. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1533. _content = $$("div", {
  1534. className: "U_MD_D_KO",
  1535. "onmousedown": U.UF.C.closure(function (obj) {
  1536. //防止拖动图标即打开了桌面应用
  1537. U.MD.D.click(this, obj);
  1538. }, [_szherTeacherDeskIconInfo[i]]),
  1539. "onclick": U.UF.C.closure(function (obj) {
  1540. //防止拖动图标即打开了桌面应用
  1541. U.MD.D.click(this, obj);
  1542. }, [_szherTeacherDeskIconInfo[i]])
  1543. }, _frag); //
  1544. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1545. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1546. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1547. }
  1548. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1549. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1550. _content = $$("div", {
  1551. className: "U_MD_D_KO",
  1552. "onmousedown": U.UF.C.closure(function (obj) {
  1553. //防止拖动图标即打开了桌面应用
  1554. U.MD.D.click(this, obj);
  1555. }, [_heyuannAdminDeskIconInfo[i]]),
  1556. "onclick": U.UF.C.closure(function (obj) {
  1557. //防止拖动图标即打开了桌面应用
  1558. U.MD.D.click(this, obj);
  1559. }, [_heyuannAdminDeskIconInfo[i]])
  1560. }, _frag); //
  1561. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1562. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1563. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1564. }
  1565. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1566. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1567. _content = $$("div", {
  1568. className: "U_MD_D_KO",
  1569. "onmousedown": U.UF.C.closure(function (obj) {
  1570. //防止拖动图标即打开了桌面应用
  1571. U.MD.D.click(this, obj);
  1572. }, [_heyuanTeacherDeskIconInfo[i]]),
  1573. "onclick": U.UF.C.closure(function (obj) {
  1574. //防止拖动图标即打开了桌面应用
  1575. U.MD.D.click(this, obj);
  1576. }, [_heyuanTeacherDeskIconInfo[i]])
  1577. }, _frag); //
  1578. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1579. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1580. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1581. } //
  1582. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1583. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1584. _content = $$("div", {
  1585. className: "U_MD_D_KO",
  1586. "onmousedown": U.UF.C.closure(function (obj) {
  1587. //防止拖动图标即打开了桌面应用
  1588. U.MD.D.click(this, obj);
  1589. }, [_dseiAdminDeskIconInfo[i]]),
  1590. "onclick": U.UF.C.closure(function (obj) {
  1591. //防止拖动图标即打开了桌面应用
  1592. U.MD.D.click(this, obj);
  1593. }, [_dseiAdminDeskIconInfo[i]])
  1594. }, _frag); //
  1595. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1596. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1597. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1598. }
  1599. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1600. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1601. _content = $$("div", {
  1602. className: "U_MD_D_KO",
  1603. "onmousedown": U.UF.C.closure(function (obj) {
  1604. //防止拖动图标即打开了桌面应用
  1605. U.MD.D.click(this, obj);
  1606. }, [_dseiTeacherDeskIconInfo[i]]),
  1607. "onclick": U.UF.C.closure(function (obj) {
  1608. //防止拖动图标即打开了桌面应用
  1609. U.MD.D.click(this, obj);
  1610. }, [_dseiTeacherDeskIconInfo[i]])
  1611. }, _frag); //
  1612. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1613. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1614. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1615. } //
  1616. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1617. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1618. _content = $$("div", {
  1619. className: "U_MD_D_KO",
  1620. "onmousedown": U.UF.C.closure(function (obj) {
  1621. //防止拖动图标即打开了桌面应用
  1622. U.MD.D.click(this, obj);
  1623. }, [_chjyjAdminDeskIconInfo[i]]),
  1624. "onclick": U.UF.C.closure(function (obj) {
  1625. //防止拖动图标即打开了桌面应用
  1626. U.MD.D.click(this, obj);
  1627. }, [_chjyjAdminDeskIconInfo[i]])
  1628. }, _frag); //
  1629. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1630. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1631. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1632. }//
  1633. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1634. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1635. _content = $$("div", {
  1636. className: "U_MD_D_KO",
  1637. "onmousedown": U.UF.C.closure(function (obj) {
  1638. //防止拖动图标即打开了桌面应用
  1639. U.MD.D.click(this, obj);
  1640. }, [_chjyjTeacherDeskIconInfo[i]]),
  1641. "onclick": U.UF.C.closure(function (obj) {
  1642. //防止拖动图标即打开了桌面应用
  1643. U.MD.D.click(this, obj);
  1644. }, [_chjyjTeacherDeskIconInfo[i]])
  1645. }, _frag); //
  1646. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1647. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1648. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1649. }
  1650. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1651. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1652. _content = $$("div", {
  1653. className: "U_MD_D_KO",
  1654. "onmousedown": U.UF.C.closure(function (obj) {
  1655. //防止拖动图标即打开了桌面应用
  1656. U.MD.D.click(this, obj);
  1657. }, [_szjkyAdminDeskIconInfo[i]]),
  1658. "onclick": U.UF.C.closure(function (obj) {
  1659. //防止拖动图标即打开了桌面应用
  1660. U.MD.D.click(this, obj);
  1661. }, [_szjkyAdminDeskIconInfo[i]])
  1662. }, _frag); //
  1663. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1664. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1665. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1666. }//
  1667. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1668. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1669. _content = $$("div", {
  1670. className: "U_MD_D_KO",
  1671. "onmousedown": U.UF.C.closure(function (obj) {
  1672. //防止拖动图标即打开了桌面应用
  1673. U.MD.D.click(this, obj);
  1674. }, [_szjkyTeacherDeskIconInfo[i]]),
  1675. "onclick": U.UF.C.closure(function (obj) {
  1676. //防止拖动图标即打开了桌面应用
  1677. U.MD.D.click(this, obj);
  1678. }, [_szjkyTeacherDeskIconInfo[i]])
  1679. }, _frag); //
  1680. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1681. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1682. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1683. }
  1684. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1685. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1686. _content = $$("div", {
  1687. className: "U_MD_D_KO",
  1688. "onmousedown": U.UF.C.closure(function (obj) {
  1689. //防止拖动图标即打开了桌面应用
  1690. U.MD.D.click(this, obj);
  1691. }, [_futianAdminDeskIconInfo[i]]),
  1692. "onclick": U.UF.C.closure(function (obj) {
  1693. //防止拖动图标即打开了桌面应用
  1694. U.MD.D.click(this, obj);
  1695. }, [_futianAdminDeskIconInfo[i]])
  1696. }, _frag); //
  1697. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1698. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1699. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1700. }
  1701. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1702. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1703. _content = $$("div", {
  1704. className: "U_MD_D_KO",
  1705. "onmousedown": U.UF.C.closure(function (obj) {
  1706. //防止拖动图标即打开了桌面应用
  1707. U.MD.D.click(this, obj);
  1708. }, [_futianTeacherDeskIconInfo[i]]),
  1709. "onclick": U.UF.C.closure(function (obj) {
  1710. //防止拖动图标即打开了桌面应用
  1711. U.MD.D.click(this, obj);
  1712. }, [_futianTeacherDeskIconInfo[i]])
  1713. }, _frag); //
  1714. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1715. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1716. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1717. }
  1718. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1719. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1720. _content = $$("div", {
  1721. className: "U_MD_D_KO",
  1722. "onmousedown": U.UF.C.closure(function (obj) {
  1723. //防止拖动图标即打开了桌面应用
  1724. U.MD.D.click(this, obj);
  1725. }, [_MingdeTeacherDeskIcon[i]]),
  1726. "onclick": U.UF.C.closure(function (obj) {
  1727. //防止拖动图标即打开了桌面应用
  1728. U.MD.D.click(this, obj);
  1729. }, [_MingdeTeacherDeskIcon[i]])
  1730. }, _frag); //
  1731. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1732. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1733. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1734. }
  1735. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1736. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1737. _content = $$("div", {
  1738. className: "U_MD_D_KO",
  1739. "onmousedown": U.UF.C.closure(function (obj) {
  1740. //防止拖动图标即打开了桌面应用
  1741. U.MD.D.click(this, obj);
  1742. }, [_lhsAdminDesktopIconInfo[i]]),
  1743. "onclick": U.UF.C.closure(function (obj) {
  1744. //防止拖动图标即打开了桌面应用
  1745. U.MD.D.click(this, obj);
  1746. }, [_lhsAdminDesktopIconInfo[i]])
  1747. }, _frag); //
  1748. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1749. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1750. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1751. }
  1752. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1753. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1754. _content = $$("div", {
  1755. className: "U_MD_D_KO",
  1756. "onmousedown": U.UF.C.closure(function (obj) {
  1757. //防止拖动图标即打开了桌面应用
  1758. U.MD.D.click(this, obj);
  1759. }, [_lhsteacherDesktopIconInfo[i]]),
  1760. "onclick": U.UF.C.closure(function (obj) {
  1761. //防止拖动图标即打开了桌面应用
  1762. U.MD.D.click(this, obj);
  1763. }, [_lhsteacherDesktopIconInfo[i]])
  1764. }, _frag); //
  1765. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1766. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1767. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1768. }
  1769. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1770. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1771. _content = $$("div", {
  1772. className: "U_MD_D_KO",
  1773. "onmousedown": U.UF.C.closure(function (obj) {
  1774. //防止拖动图标即打开了桌面应用
  1775. U.MD.D.click(this, obj);
  1776. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1777. "onclick": U.UF.C.closure(function (obj) {
  1778. //防止拖动图标即打开了桌面应用
  1779. U.MD.D.click(this, obj);
  1780. }, [_zhoujiateacherDesktopIconInfo[i]])
  1781. }, _frag); //
  1782. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1783. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1784. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1785. }
  1786. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1787. for (i = 0; i < _hanDeskIcon.length; i++) {
  1788. _content = $$("div", {
  1789. className: "U_MD_D_KO",
  1790. "onmousedown": U.UF.C.closure(function (obj) {
  1791. //防止拖动图标即打开了桌面应用
  1792. U.MD.D.click(this, obj);
  1793. }, [_hanDeskIcon[i]]),
  1794. "onclick": U.UF.C.closure(function (obj) {
  1795. //防止拖动图标即打开了桌面应用
  1796. U.MD.D.click(this, obj);
  1797. }, [_hanDeskIcon[i]])
  1798. }, _frag); //
  1799. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1800. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1801. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1802. }
  1803. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1804. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1805. _content = $$("div", {
  1806. className: "U_MD_D_KO",
  1807. "onmousedown": U.UF.C.closure(function (obj) {
  1808. //防止拖动图标即打开了桌面应用
  1809. U.MD.D.click(this, obj);
  1810. }, [_orgStemDeskIcon[i]]),
  1811. "onclick": U.UF.C.closure(function (obj) {
  1812. //防止拖动图标即打开了桌面应用
  1813. U.MD.D.click(this, obj);
  1814. }, [_orgStemDeskIcon[i]])
  1815. }, _frag); //
  1816. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1817. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1818. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1819. }
  1820. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1821. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1822. _content = $$("div", {
  1823. className: "U_MD_D_KO",
  1824. "onmousedown": U.UF.C.closure(function (obj) {
  1825. //防止拖动图标即打开了桌面应用
  1826. U.MD.D.click(this, obj);
  1827. }, [_szulsDeskIcon[i]]),
  1828. "onclick": U.UF.C.closure(function (obj) {
  1829. //防止拖动图标即打开了桌面应用
  1830. U.MD.D.click(this, obj);
  1831. }, [_szulsDeskIcon[i]])
  1832. }, _frag); //
  1833. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1834. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1835. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1836. }
  1837. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1838. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1839. _content = $$("div", {
  1840. className: "U_MD_D_KO",
  1841. "onmousedown": U.UF.C.closure(function (obj) {
  1842. //防止拖动图标即打开了桌面应用
  1843. U.MD.D.click(this, obj);
  1844. }, [_orgDesktopIconInfo[i]]),
  1845. "onclick": U.UF.C.closure(function (obj) {
  1846. //防止拖动图标即打开了桌面应用
  1847. U.MD.D.click(this, obj);
  1848. }, [_orgDesktopIconInfo[i]])
  1849. }, _frag); //
  1850. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1851. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1852. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1853. }
  1854. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1855. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1856. _content = $$("div", {
  1857. className: "U_MD_D_KO",
  1858. "onmousedown": U.UF.C.closure(function (obj) {
  1859. //防止拖动图标即打开了桌面应用
  1860. U.MD.D.click(this, obj);
  1861. }, [_schoolDesktopIconInfo[i]]),
  1862. "onclick": U.UF.C.closure(function (obj) {
  1863. //防止拖动图标即打开了桌面应用
  1864. U.MD.D.click(this, obj);
  1865. }, [_schoolDesktopIconInfo[i]])
  1866. }, _frag); //
  1867. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1868. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1869. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1870. }
  1871. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1872. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1873. _content = $$("div", {
  1874. className: "U_MD_D_KO",
  1875. "onmousedown": U.UF.C.closure(function (obj) {
  1876. //防止拖动图标即打开了桌面应用
  1877. U.MD.D.click(this, obj);
  1878. }, [_GMteacherDesktopIconInfo[i]]),
  1879. "onclick": U.UF.C.closure(function (obj) {
  1880. //防止拖动图标即打开了桌面应用
  1881. U.MD.D.click(this, obj);
  1882. }, [_GMteacherDesktopIconInfo[i]])
  1883. }, _frag); //
  1884. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1885. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1886. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1887. }
  1888. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1889. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1890. _content = $$("div", {
  1891. className: "U_MD_D_KO",
  1892. "onmousedown": U.UF.C.closure(function (obj) {
  1893. //防止拖动图标即打开了桌面应用
  1894. U.MD.D.click(this, obj);
  1895. }, [_SONGteacherDesktopIconInfo[i]]),
  1896. "onclick": U.UF.C.closure(function (obj) {
  1897. //防止拖动图标即打开了桌面应用
  1898. U.MD.D.click(this, obj);
  1899. }, [_SONGteacherDesktopIconInfo[i]])
  1900. }, _frag); //
  1901. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1902. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1903. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1904. }
  1905. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1906. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1907. _content = $$("div", {
  1908. className: "U_MD_D_KO",
  1909. "onmousedown": U.UF.C.closure(function (obj) {
  1910. //防止拖动图标即打开了桌面应用
  1911. U.MD.D.click(this, obj);
  1912. }, [_GMstudentDesktopIconInfo[i]]),
  1913. "onclick": U.UF.C.closure(function (obj) {
  1914. //防止拖动图标即打开了桌面应用
  1915. U.MD.D.click(this, obj);
  1916. }, [_GMstudentDesktopIconInfo[i]])
  1917. }, _frag); //
  1918. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1919. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1920. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1921. }
  1922. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1923. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1924. _content = $$("div", {
  1925. className: "U_MD_D_KO",
  1926. "onmousedown": U.UF.C.closure(function (obj) {
  1927. //防止拖动图标即打开了桌面应用
  1928. U.MD.D.click(this, obj);
  1929. }, [_tcTeacherDeskIconInfo[i]]),
  1930. "onclick": U.UF.C.closure(function (obj) {
  1931. //防止拖动图标即打开了桌面应用
  1932. U.MD.D.click(this, obj);
  1933. }, [_tcTeacherDeskIconInfo[i]])
  1934. }, _frag); //
  1935. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1936. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1937. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1938. }
  1939. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1940. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1941. _content = $$("div", {
  1942. className: "U_MD_D_KO",
  1943. "onmousedown": U.UF.C.closure(function (obj) {
  1944. //防止拖动图标即打开了桌面应用
  1945. U.MD.D.click(this, obj);
  1946. }, [_tcOrganizerDeskIconInfo[i]]),
  1947. "onclick": U.UF.C.closure(function (obj) {
  1948. //防止拖动图标即打开了桌面应用
  1949. U.MD.D.click(this, obj);
  1950. }, [_tcOrganizerDeskIconInfo[i]])
  1951. }, _frag); //
  1952. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1953. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1954. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1955. }
  1956. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  1957. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  1958. _content = $$("div", {
  1959. className: "U_MD_D_KO",
  1960. "onmousedown": U.UF.C.closure(function (obj) {
  1961. //防止拖动图标即打开了桌面应用
  1962. U.MD.D.click(this, obj);
  1963. }, [_szscTeacherDeskIconInfo[i]]),
  1964. "onclick": U.UF.C.closure(function (obj) {
  1965. //防止拖动图标即打开了桌面应用
  1966. U.MD.D.click(this, obj);
  1967. }, [_szscTeacherDeskIconInfo[i]])
  1968. }, _frag); //
  1969. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1970. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  1971. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  1972. }
  1973. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  1974. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  1975. _content = $$("div", {
  1976. className: "U_MD_D_KO",
  1977. "onmousedown": U.UF.C.closure(function (obj) {
  1978. //防止拖动图标即打开了桌面应用
  1979. U.MD.D.click(this, obj);
  1980. }, [_szscOrganizerDeskIconInfo[i]]),
  1981. "onclick": U.UF.C.closure(function (obj) {
  1982. //防止拖动图标即打开了桌面应用
  1983. U.MD.D.click(this, obj);
  1984. }, [_szscOrganizerDeskIconInfo[i]])
  1985. }, _frag); //
  1986. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1987. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  1988. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1989. }
  1990. } else {
  1991. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  1992. _content = $$("div", {
  1993. className: "U_MD_D_KO",
  1994. "onmousedown": U.UF.C.closure(function (obj) {
  1995. //防止拖动图标即打开了桌面应用
  1996. U.MD.D.click(this, obj);
  1997. }, [_teacherDesktopIconInfo[i]]),
  1998. "onclick": U.UF.C.closure(function (obj) {
  1999. //防止拖动图标即打开了桌面应用
  2000. U.MD.D.click(this, obj);
  2001. }, [_teacherDesktopIconInfo[i]])
  2002. }, _frag); //
  2003. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2004. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2005. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2006. }
  2007. }
  2008. } else {
  2009. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2010. _content = $$("div", {
  2011. className: "U_MD_D_KO",
  2012. style: { 'width': '124px', 'height': '145px' },
  2013. "onmousedown": U.UF.C.closure(function (obj) {
  2014. //防止拖动图标即打开了桌面应用
  2015. U.MD.D.click(this, obj);
  2016. }, [_easyDesktopIconInfo[i]]),
  2017. "onclick": U.UF.C.closure(function (obj) {
  2018. //防止拖动图标即打开了桌面应用
  2019. U.MD.D.click(this, obj);
  2020. }, [_easyDesktopIconInfo[i]])
  2021. }, _frag); //
  2022. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2023. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2024. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2025. }
  2026. }
  2027. if (type == 1) {
  2028. //加载好后给图标定位
  2029. U.MD.D.iconPostion($(_frag).Child());
  2030. } else {
  2031. //加载好后给图标定位
  2032. U.MD.D.iconPostion2($(_frag).Child());
  2033. }
  2034. //把图标加载到页面
  2035. el.appendChild(_frag);
  2036. }
  2037. /**
  2038. * 显示任务栏
  2039. *
  2040. * @param {element} 桌面元素
  2041. */
  2042. U.MD.D.I.displayTaskbar = function (el) {
  2043. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2044. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2045. //任务栏位置变化
  2046. U.selectEl(el).css({ "bottom": "0px" });
  2047. //桌面位置变话
  2048. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2049. }
  2050. }
  2051. //#region 桌面图标拖动逻辑
  2052. /**
  2053. * 桌面排列图标
  2054. *
  2055. * @param {element} 桌面元素
  2056. * @param {object} 上下相距的距离
  2057. * @param {object} 左右相距的距离
  2058. * @return {object} 命名空间
  2059. */
  2060. U.MD.D.iconPostion = function (childs, top, left) {
  2061. var i; //用于循环处理
  2062. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2063. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2064. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2065. for (i = 0; i < childs.length; i++) {
  2066. //如果竖排top超过了范围处理
  2067. if (top + 95 > US.height - 10) {
  2068. //left超过了页面范围处理,则向上重叠打印处理
  2069. if ((left + 180) > US.width) {
  2070. top -= 110;
  2071. left -= 90;
  2072. }
  2073. //没有超过范围,那么left+90添加到下一个竖排打印
  2074. else {
  2075. left += 90;
  2076. top = 15;
  2077. };
  2078. }
  2079. //给图标的位置赋值
  2080. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2081. if (i < childs.length - 1) {
  2082. //页面图标每次向下加95
  2083. top += 95;
  2084. }
  2085. }
  2086. //返回最后调用的图标的位置
  2087. return [top, left];
  2088. }
  2089. /**
  2090. * 桌面排列图标
  2091. *
  2092. * @param {element} 桌面元素
  2093. * @param {object} 上下相距的距离
  2094. * @param {object} 左右相距的距离
  2095. * @return {object} 命名空间
  2096. */
  2097. U.MD.D.iconPostion2 = function (childs, top, left) {
  2098. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2099. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2100. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2101. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2102. for (i = 0; i < childs.length; i++) {
  2103. //如果竖排top超过了范围处理
  2104. if (left + 150 > US.width - 10) {
  2105. //left超过了页面范围处理,则向上重叠打印处理
  2106. if ((top + 180) > US.Height) {
  2107. top -= 150;
  2108. left -= 150;
  2109. }
  2110. //没有超过范围,那么left+90添加到下一个竖排打印
  2111. else {
  2112. top += 150;
  2113. left = ol;
  2114. };
  2115. }
  2116. //给图标的位置赋值
  2117. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2118. if (i < childs.length - 1) {
  2119. //页面图标每次向下加95
  2120. left += 150;
  2121. }
  2122. }
  2123. //返回最后调用的图标的位置
  2124. return [top, left];
  2125. }
  2126. /**
  2127. * 桌面点击事件逻辑
  2128. *
  2129. * @param {element} 桌面元素
  2130. * @param {object} 上下相距的距离
  2131. * @param {object} 左右相距的距离
  2132. * @return {object} 命名空间
  2133. */
  2134. U.MD.D.click = function (el, obj) {
  2135. var _buttonnumber = event.button; //点击的按钮的事件值
  2136. var _userinfo = US.userInfo;
  2137. U.UF.EV.stopBubble(); //阻止向上冒泡
  2138. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2139. if (_buttonnumber < 2) {
  2140. //如果是click事件的处理
  2141. if (event.type == "click") {
  2142. //如果元素在mousemove事件中没有移动则出发click事件
  2143. if (!U.MD.D.I.IsDrag) {
  2144. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2145. U.alert("请先登录您的账号!");
  2146. setTimeout(() => {
  2147. U.MD.U.L.login();
  2148. }, 2000);
  2149. } else {
  2150. //打开应用处理
  2151. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2152. }
  2153. }
  2154. }
  2155. //如果是mouse事件的处理
  2156. else {
  2157. if (US.Config.type == '1') {
  2158. //拖动处理,添加拖动和拖动结束事件
  2159. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2160. }
  2161. }
  2162. U.MD.D.I.IsDrag = false;
  2163. }
  2164. }
  2165. /**
  2166. * 拖动的处理
  2167. *
  2168. */
  2169. U.MD.D.iconMove = function () {
  2170. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2171. U.MD.D.I.IsDrag = true;
  2172. }
  2173. /**
  2174. * 拖动结束后,这里是定位处理,以网状的形式定位
  2175. *
  2176. * @param {element} 拖动的元素
  2177. * @return {object} 命名空间
  2178. */
  2179. U.MD.D.iconUp = function (el) {
  2180. var _top = 15,
  2181. _left = 20,
  2182. _margin,
  2183. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2184. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2185. if (_positioninfo["OT"] > 15) {
  2186. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2187. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2188. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2189. }
  2190. if (_positioninfo["OL"] > 20) {
  2191. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2192. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2193. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2194. }
  2195. //while循环判断么一个重叠的元素
  2196. do {
  2197. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2198. _top = _positioninfo[0] + 95; //得到定位后的top
  2199. _left = _positioninfo[1]; //得到定位后的left
  2200. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2201. }
  2202. /**
  2203. * 判断拖动后图标是否重叠
  2204. *
  2205. * @param {element} 拖动的元素
  2206. * @param {element} 桌面所有的元素
  2207. * @param {array} 拖动元素的位置
  2208. ----------[0] 上 top
  2209. ----------[1] 左 left
  2210. * @return {object} 命名空间
  2211. */
  2212. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2213. //循环所有的图标
  2214. for (var i = 0; i < childs.length; i++) {
  2215. //判断有没有和该图标诶子重叠的元素
  2216. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2217. return childs[i]; //如果有返回
  2218. }
  2219. }
  2220. }
  2221. //#endregion
  2222. //#endregion
  2223. //#region 桌面应用
  2224. /**
  2225. * 打开应用
  2226. *
  2227. * @param {string} 类型
  2228. -----------------Disk 网盘系统
  2229. -----------------PDisk 学习系统网盘
  2230. -----------------Poto 图片
  2231. -----------------Video 视频
  2232. -----------------Music 音乐
  2233. -----------------Word word
  2234. -----------------Excel excel
  2235. -----------------Txt 记事本
  2236. -----------------PB 学习系统
  2237. -----------------Blog 朋友圈系统
  2238. -----------------FTP ftp系统
  2239. -----------------Group 好友群
  2240. -----------------SY 首页系统
  2241. -----------------Set 个人设置
  2242. -----------------XSet 系统设置
  2243. -----------------App 我们所有的app
  2244. -----------------BC c.1473.cn 平台
  2245. -----------------CWeb d.1473.cn 变成平台
  2246. -----------------其他的外联系统 我们统一用iframe打开
  2247. * @param {array} 类型
  2248. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2249. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2250. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2251. 如果第一个参数为其他,则无第二个参数
  2252. * @returns {array}
  2253. */
  2254. window.addEventListener('message', function (e) { // 监听 message 事件
  2255. // alert(e.data.type);
  2256. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2257. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2258. //3是展示全部阶段 2学生 1老师 4专家
  2259. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2260. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2261. //3是展示全部阶段 2学生 1老师 4专家
  2262. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2263. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2264. //3是展示全部阶段 2学生 1老师 4专家
  2265. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2266. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2267. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2268. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2269. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2270. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2271. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2272. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2273. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2274. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2275. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2276. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2277. //3是展示全部阶段 2学生 1老师 4专家
  2278. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2279. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2280. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2281. U.MD.D.I.selectUser();
  2282. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2283. var _formel = document.getElementById("study");
  2284. U.UF.F.windowZooming(_formel);
  2285. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2286. var _formel = document.getElementById("studyDetail");
  2287. U.UF.F.windowZooming(_formel);
  2288. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2289. var _formel = document.getElementById("studyDetail");
  2290. U.UF.F.windowZooming(_formel);
  2291. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2292. var _formel = document.getElementById("studentStudy");
  2293. U.UF.F.windowZooming(_formel);
  2294. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2295. // var _formel = document.getElementById("study");
  2296. //如果最大化了,那么就把他缩小
  2297. // if (_formel.ismaximize) {
  2298. // return;
  2299. // }
  2300. // U.UF.F.windowZooming(_formel);
  2301. // U.UF.F.topWindow(_formel);
  2302. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2303. // var _formel = document.getElementById("studyDetail");
  2304. //如果最大化了,那么就把他缩小
  2305. // if (_formel.ismaximize) {
  2306. // return;
  2307. // }
  2308. // U.UF.F.windowZooming(_formel);
  2309. // U.UF.F.topWindow(_formel);
  2310. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2311. // var _formel = document.getElementById("studentStudy");
  2312. // if (_formel.ismaximize) {
  2313. // return;
  2314. // }
  2315. // U.UF.F.windowZooming(_formel);
  2316. // U.UF.F.topWindow(_formel);
  2317. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2318. var _formel = document.getElementById("study");
  2319. // if (_formel.ismaximize) {
  2320. // return;
  2321. // }
  2322. // U.UF.F.windowZooming(_formel);
  2323. U.UF.F.topWindow(_formel);
  2324. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2325. var _formel = document.getElementById("studentIndex");
  2326. U.UF.F.windowZooming(_formel);
  2327. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2328. var _formel = document.getElementById("studyDetailS");
  2329. U.UF.F.windowZooming(_formel);
  2330. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2331. var _formel = document.getElementById("studioIndex");
  2332. U.UF.F.windowZooming(_formel);
  2333. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2334. var _formel = document.getElementById("studyDetailStudio");
  2335. U.UF.F.windowZooming(_formel);
  2336. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2337. var _formel = document.getElementById("studyDetailStudio");
  2338. U.UF.F.windowZooming(_formel);
  2339. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2340. var _formel = document.getElementById("studyDetailNT");
  2341. U.UF.F.windowZooming(_formel);
  2342. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2343. var _formel = document.getElementById("studyDetailS");
  2344. U.UF.F.windowZooming(_formel);
  2345. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2346. var _formel = document.getElementById("studyDetailS");
  2347. U.UF.F.topWindow(_formel);
  2348. } else if (e.data.tools && e.data.tools == "1") {
  2349. // U.MD.D.I.openApplication("whiteboard")
  2350. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2351. } else if (e.data.tools && e.data.tools == "2") {
  2352. U.MD.D.I.openApplication("note")
  2353. } else if (e.data.tools && e.data.tools == "3") {
  2354. // U.MD.D.I.openApplication("mind")
  2355. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2356. } else if (e.data.tools && e.data.tools == "4") {
  2357. U.MD.D.I.openApplication("investigation")
  2358. } else if (e.data.tools && e.data.tools == "6") {
  2359. // U.MD.D.I.openApplication("doc")
  2360. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2361. } else if (e.data.tools && e.data.tools == "7") {
  2362. // U.MD.D.I.openApplication("mindNetwork")
  2363. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2364. } else if (e.data.tools && e.data.tools == "8") {
  2365. U.MD.D.I.openApplication("library")
  2366. } else if (e.data.tools && e.data.tools == "17") {
  2367. U.MD.D.I.openApplication("stuLibrary")
  2368. } else if (e.data.tools && e.data.tools == "18") {
  2369. U.MD.D.I.openApplication("train")
  2370. } else if (e.data.tools && e.data.tools == "21") {
  2371. U.MD.D.I.openApplication("program")
  2372. } else if (e.data.tools && e.data.tools == "22") {
  2373. U.MD.D.I.openApplication("AIprogram2")
  2374. } else if (e.data.tools && e.data.tools == "23") {
  2375. U.MD.D.I.openApplication("Pythonprogram")
  2376. } else if (e.data.tools && e.data.tools == "24") {
  2377. U.MD.D.I.openApplication("AIprogram")
  2378. } else if (e.data.tools && e.data.tools == "25") {
  2379. U.MD.D.I.openApplication("sys")
  2380. } else if (e.data.tools && e.data.tools == "26") {
  2381. // U.MD.D.I.openApplication("courseDesign")
  2382. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2383. } else if (e.data.tools && e.data.tools == "31") {
  2384. U.MD.D.I.openApplication("netWorkPanel")
  2385. } else if (e.data.tools && e.data.tools == "32") {
  2386. U.MD.D.I.openApplication("codeEdit")
  2387. } else if (e.data.tools && e.data.tools == "57") {
  2388. U.MD.D.I.openApplication("CocoPi")
  2389. } else if (e.data.tools && e.data.tools == "63") {
  2390. U.MD.D.I.openApplication("Wood")
  2391. } else if (e.data.tools && e.data.tools == "58") {
  2392. U.MD.D.I.openApplication("car")
  2393. } else if (e.data.tools && e.data.tools == "59") {
  2394. U.MD.D.I.openApplication("lineSearch")
  2395. } else if (e.data.tools && e.data.tools == "60") {
  2396. U.MD.D.I.openApplication("deepLearning")
  2397. } else if (e.data.tools && e.data.tools == "61") {
  2398. U.MD.D.I.openApplication("allHistory")
  2399. } else if (e.data.tools && e.data.tools == "28") {
  2400. U.MD.D.I.openApplication("translation")
  2401. } else if (e.data.tools && e.data.tools == "37") {
  2402. U.MD.D.I.openApplication("mohe")
  2403. } else if (e.data.tools && e.data.tools == "38") {
  2404. U.MD.D.I.openApplication("24game")
  2405. } else if (e.data.tools && e.data.tools == "39") {
  2406. U.MD.D.I.openApplication("GeoGebra")
  2407. } else if (e.data.tools && e.data.tools == "43") {
  2408. U.MD.D.I.openApplication("studentEvaluate")
  2409. } else if (e.data.tools && e.data.tools == "44") {
  2410. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2411. } else if (e.data.tools && e.data.tools == "46") {
  2412. U.MD.D.I.openApplication("project")
  2413. } else if (e.data.tools && e.data.tools == "1s") {
  2414. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2415. } else if (e.data.tools && e.data.tools == "3s") {
  2416. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2417. } else if (e.data.tools && e.data.tools == "6s") {
  2418. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2419. } else if (e.data.tools && e.data.tools == "1studio") {
  2420. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2421. } else if (e.data.tools && e.data.tools == "3studio") {
  2422. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2423. } else if (e.data.tools && e.data.tools == "6studio") {
  2424. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2425. } else if (e.data.tools && e.data.tools == "3y") {
  2426. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2427. } else if (e.data.tools && e.data.tools == "1y") {
  2428. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2429. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2430. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2431. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2432. U.MD.D.I.openApplication("AIAnalyse")
  2433. } else if (e.data.tools && e.data.tools == "1teacher") {
  2434. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2435. } else if (e.data.tools && e.data.tools == "3teacher") {
  2436. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2437. } else if (e.data.tools && e.data.tools == "7teacher") {
  2438. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2439. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2440. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2441. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2442. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2443. } else if (e.data.tools && e.data.tools == "1E") {
  2444. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2445. } else if (e.data.tools && e.data.tools == "3E") {
  2446. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2447. } else if (e.data.tools && e.data.tools == "57y") {
  2448. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2449. } else if (e.data.tools && e.data.tools == "57u") {
  2450. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2451. } else if (e.data.tools && e.data.tools == "57teacher") {
  2452. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2453. } else if (e.data.tools && e.data.tools == "64") {
  2454. U.MD.D.I.openApplication("AIChat")
  2455. } else if (e.data.tools && e.data.tools == "66") {
  2456. U.MD.D.I.openApplication("formulaEdi")
  2457. } else if (e.data.tools && e.data.tools == "67") {
  2458. U.MD.D.I.openApplication("molStr")
  2459. } else if (e.data.tools && e.data.tools == "68") {
  2460. U.MD.D.I.openApplication("timeAxis")
  2461. } else if (e.data.tools && e.data.tools == "openCourse") {
  2462. let _data = {
  2463. typea: e.data.typea || '',
  2464. typeb: e.data.typeb || '',
  2465. typed: e.data.typed || '',
  2466. }
  2467. U.MD.D.I.openInApplication("index", _data)
  2468. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2469. let _data = {
  2470. classid: e.data.classid || '',
  2471. }
  2472. U.MD.D.I.openInApplication("dataClass", _data)
  2473. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2474. let _data = {
  2475. cid: e.data.cid || '',
  2476. gid: e.data.gid || '',
  2477. }
  2478. U.MD.D.I.openInApplication("opencCscl", _data)
  2479. }
  2480. });
  2481. U.MD.D.I.selectUser = function () {
  2482. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2483. if (res.value[0].length > 0) {
  2484. US.userInfo = res.value[0][0];
  2485. $(".userName")[0].innerHTML = US.userInfo.username;
  2486. }
  2487. }, [], { "type": "GET", "withCredentials": true });
  2488. }
  2489. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2490. var _userinfo = US.userInfo, //登录用户信息
  2491. _userid = US.userInfo.userid, //登录用户id
  2492. _oid = _userinfo.organizeid,
  2493. _type = US.userInfo.type,
  2494. _org = US.userInfo.org,
  2495. _role = US.userInfo.role,
  2496. _classId = US.userInfo.classid;
  2497. if (_type == 4) {
  2498. tType = 4
  2499. }
  2500. switch (str) {
  2501. case "studyDetailNT": //无终端模式
  2502. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2503. setTimeout(() => {
  2504. U.MD.U.L.login();
  2505. }, 2000);
  2506. } else {
  2507. _formdiv = new U.UF.UI.form(
  2508. "课程详情",
  2509. $$("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 }), {
  2510. "id": "studyDetailNT",
  2511. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2512. "onresize": function () { }
  2513. }, {
  2514. closecallback: function () { }
  2515. }, { "style": { "height": "36px" } }).form; //创建窗体
  2516. _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); } }
  2517. break;
  2518. }
  2519. case "studyDetail":
  2520. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2521. setTimeout(() => {
  2522. U.MD.U.L.login();
  2523. }, 2000);
  2524. } else {
  2525. _formdiv = new U.UF.UI.form(
  2526. "课程详情",
  2527. $$("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 }), {
  2528. "id": "studyDetail",
  2529. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2530. "onresize": function () { }
  2531. }, {
  2532. closecallback: function () { }
  2533. }, { "style": { "height": "36px" } }).form; //创建窗体
  2534. _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); } }
  2535. break;
  2536. }
  2537. case "studyDetailS":
  2538. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2539. setTimeout(() => {
  2540. U.MD.U.L.login();
  2541. }, 2000);
  2542. } else {
  2543. _formdiv = new U.UF.UI.form(
  2544. "项目详情",
  2545. $$("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 }), {
  2546. "id": "studyDetailS",
  2547. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2548. "onresize": function () { }
  2549. }, {
  2550. closecallback: function () { }
  2551. }, { "style": { "height": "36px" } }).form; //创建窗体
  2552. _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); } }
  2553. break;
  2554. }
  2555. case "studyDetailStudio":
  2556. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2557. setTimeout(() => {
  2558. U.MD.U.L.login();
  2559. }, 2000);
  2560. } else {
  2561. _formdiv = new U.UF.UI.form(
  2562. "工作详情",
  2563. $$("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 }), {
  2564. "id": "studyDetailStudio",
  2565. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2566. "onresize": function () { }
  2567. }, {
  2568. closecallback: function () { }
  2569. }, { "style": { "height": "36px" } }).form; //创建窗体
  2570. _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); } }
  2571. break;
  2572. }
  2573. case "studyDetailS5":
  2574. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2575. setTimeout(() => {
  2576. U.MD.U.L.login();
  2577. }, 2000);
  2578. } else {
  2579. _formdiv = new U.UF.UI.form(
  2580. "项目详情",
  2581. $$("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 }), {
  2582. "id": "studyDetailS",
  2583. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2584. "onresize": function () { }
  2585. }, {
  2586. closecallback: function () { }
  2587. }, { "style": { "height": "36px" } }).form; //创建窗体
  2588. _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); } }
  2589. break;
  2590. }
  2591. case "studyDetailGM":
  2592. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2593. setTimeout(() => {
  2594. U.MD.U.L.login();
  2595. }, 2000);
  2596. } else {
  2597. _formdiv = new U.UF.UI.form(
  2598. "课程详情",
  2599. $$("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 }), {
  2600. "id": "studyDetail",
  2601. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2602. "onresize": function () { }
  2603. }, {
  2604. closecallback: function () { }
  2605. }, { "style": { "height": "36px" } }).form; //创建窗体
  2606. _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); } }
  2607. break;
  2608. }
  2609. case "hanUrl":
  2610. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2611. setTimeout(() => {
  2612. U.MD.U.L.login();
  2613. }, 2000);
  2614. } else {
  2615. _formdiv = new U.UF.UI.form(
  2616. "汉字宫",
  2617. $$("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" }), {
  2618. "id": "hanUrl",
  2619. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2620. "onresize": function () { }
  2621. }, {
  2622. closecallback: function () { }
  2623. }, { "style": { "height": "36px" } }).form; //创建窗体
  2624. _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); } }
  2625. break;
  2626. }
  2627. case "index":
  2628. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2629. setTimeout(() => {
  2630. U.MD.U.L.login();
  2631. }, 2000);
  2632. } else {
  2633. _formdiv = new U.UF.UI.form(
  2634. "课程中心",
  2635. $$("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 }), {
  2636. "id": "study",
  2637. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2638. "onresize": function () { }
  2639. }, {
  2640. closecallback: function () { }
  2641. }, { "style": { "height": "36px" } }).form; //创建窗体
  2642. _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); } }
  2643. break;
  2644. }
  2645. case "dataClass":
  2646. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2647. setTimeout(() => {
  2648. U.MD.U.L.login();
  2649. }, 2000);
  2650. } else {
  2651. _formdiv = new U.UF.UI.form(
  2652. "数据报告",
  2653. $$("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 }), {
  2654. "id": "dataClass",
  2655. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2656. "onresize": function () { }
  2657. }, {
  2658. closecallback: function () { }
  2659. }, { "style": { "height": "36px" } }).form; //创建窗体
  2660. _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); } }
  2661. break;
  2662. }
  2663. case "opencCscl":
  2664. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2665. setTimeout(() => {
  2666. U.MD.U.L.login();
  2667. }, 2000);
  2668. } else {
  2669. _formdiv = new U.UF.UI.form(
  2670. "协同建构",
  2671. $$("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 }), {
  2672. "id": "futureClass",
  2673. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2674. "onresize": function () { }
  2675. }, {
  2676. closecallback: function () { }
  2677. }, { "style": { "height": "36px" } }).form; //创建窗体
  2678. _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); } }
  2679. break;
  2680. }
  2681. }
  2682. }
  2683. U.MD.D.I.openApplication = function (str, obj, info) {
  2684. obj = obj || {};
  2685. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2686. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2687. _userinfo = US.userInfo, //登录用户信息
  2688. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2689. _oid = obj.organizeid || _userinfo.organizeid,
  2690. _type = US.userInfo.type,
  2691. _org = US.userInfo.org,
  2692. _role = US.userInfo.role,
  2693. _classId = US.userInfo.classid,
  2694. _TscreenType = 1
  2695. _screenType = 2,
  2696. _SscreenType = 3;
  2697. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2698. return;
  2699. }
  2700. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2701. switch (str) {
  2702. case "studnetProject": //好友打开
  2703. _formdiv = new U.UF.UI.form(
  2704. "我的项目",
  2705. $$("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 }), {
  2706. "id": "studnetProject",
  2707. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2708. "onresize": function () { }
  2709. }, {
  2710. closecallback: function () { }
  2711. }, { "style": { "height": "36px" } }).form; //创建窗体
  2712. _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); } }
  2713. break;
  2714. case "studentEvaluate": //好友打开
  2715. _formdiv = new U.UF.UI.form(
  2716. "我的评价",
  2717. $$("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 }), {
  2718. "id": "studentEvaluate",
  2719. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2720. "onresize": function () { }
  2721. }, {
  2722. closecallback: function () { }
  2723. }, { "style": { "height": "36px" } }).form; //创建窗体
  2724. _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); } }
  2725. break;
  2726. case "my":
  2727. _formdiv = new U.UF.UI.form(
  2728. "我的资料",
  2729. $$("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 }), {
  2730. "id": "my",
  2731. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2732. "onresize": function () { }
  2733. }, {
  2734. closecallback: function () { }
  2735. }, { "style": { "height": "36px" } }).form; //创建窗体
  2736. _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); } }
  2737. break;
  2738. case "program":
  2739. _formdiv = new U.UF.UI.form(
  2740. "编程平台",
  2741. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2742. "id": "program",
  2743. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2744. "onresize": function () { }
  2745. }, {
  2746. closecallback: function () { }
  2747. }, { "style": { "height": "36px" } }).form; //创建窗体
  2748. _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); } }
  2749. break;
  2750. case "library":
  2751. _formdiv = new U.UF.UI.form(
  2752. "素材库",
  2753. $$("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 }), {
  2754. "id": "library",
  2755. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2756. "onresize": function () { }
  2757. }, {
  2758. closecallback: function () { }
  2759. }, { "style": { "height": "36px" } }).form; //创建窗体
  2760. _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); } }
  2761. break;
  2762. case "whiteboard":
  2763. _formdiv = new U.UF.UI.form(
  2764. "电子白板",
  2765. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2766. "id": "whiteboard",
  2767. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2768. "onresize": function () { }
  2769. }, {
  2770. closecallback: function () { }
  2771. }, { "style": { "height": "36px" } }).form; //创建窗体
  2772. _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); } }
  2773. break;
  2774. case "investigation":
  2775. _formdiv = new U.UF.UI.form(
  2776. "问卷调查",
  2777. $$("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 }), {
  2778. "id": "investigation",
  2779. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2780. "onresize": function () { }
  2781. }, {
  2782. closecallback: function () { }
  2783. }, { "style": { "height": "36px" } }).form; //创建窗体
  2784. _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); } }
  2785. break;
  2786. case "note":
  2787. _formdiv = new U.UF.UI.form(
  2788. "便签分类",
  2789. $$("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 }), {
  2790. "id": "note",
  2791. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2792. "onresize": function () { }
  2793. }, {
  2794. closecallback: function () { }
  2795. }, { "style": { "height": "36px" } }).form; //创建窗体
  2796. _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); } }
  2797. break;
  2798. // case "score":
  2799. // _formdiv = new U.UF.UI.form(
  2800. // "量规评分",
  2801. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2802. // "id": "score",
  2803. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2804. // "onresize": function() {}
  2805. // }, {
  2806. // closecallback: function() {}
  2807. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2808. // _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); } }
  2809. // break;
  2810. case "mind":
  2811. _formdiv = new U.UF.UI.form(
  2812. "思维导图",
  2813. $$("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"
  2814. "id": "mind",
  2815. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2816. "onresize": function () { }
  2817. }, {
  2818. closecallback: function () { }
  2819. }, { "style": { "height": "36px" } }).form; //创建窗体
  2820. _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); } }
  2821. break;
  2822. case "doc":
  2823. // U.MD.D.I.isRoom();
  2824. _formdiv = new U.UF.UI.form(
  2825. "协同文档",
  2826. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2827. "id": "doc",
  2828. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2829. "onresize": function () { }
  2830. }, {
  2831. closecallback: function () { }
  2832. }, { "style": { "height": "36px" } }).form; //创建窗体
  2833. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2834. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2835. // })
  2836. _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); } }
  2837. break;
  2838. case "studentStudy":
  2839. _formdiv = new U.UF.UI.form(
  2840. "课程中心",
  2841. $$("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
  2842. "id": "studentStudy",
  2843. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2844. "onresize": function () { }
  2845. }, {
  2846. closecallback: function () { }
  2847. }, { "style": { "height": "36px" } }).form; //创建窗体
  2848. _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); } }
  2849. break;
  2850. case "train": //好友打开
  2851. _formdiv = new U.UF.UI.form(
  2852. "训练平台",
  2853. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2854. "id": "train",
  2855. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2856. "onresize": function () { }
  2857. }, {
  2858. closecallback: function () { }
  2859. }, { "style": { "height": "36px" } }).form; //创建窗体
  2860. _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); } }
  2861. break;
  2862. case "mindNetwork": //好友打开
  2863. _formdiv = new U.UF.UI.form(
  2864. "思维网格",
  2865. $$("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 }), {
  2866. "id": "mindNetwork",
  2867. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2868. "onresize": function () { }
  2869. }, {
  2870. closecallback: function () { }
  2871. }, { "style": { "height": "36px" } }).form; //创建窗体
  2872. _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); } }
  2873. break;
  2874. case "studentClassRoom": //好友打开
  2875. _formdiv = new U.UF.UI.form(
  2876. "实时课堂",
  2877. $$("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 }), {
  2878. "id": "studentClassRoom",
  2879. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2880. "onresize": function () { }
  2881. }, {
  2882. closecallback: function () { }
  2883. }, { "style": { "height": "36px" } }).form; //创建窗体
  2884. _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); } }
  2885. setTimeout(() => {
  2886. U.UF.F.windowZooming(_formdiv)
  2887. }, 0);
  2888. break;
  2889. }
  2890. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2891. switch (str) {
  2892. case "studnetProject": //好友打开
  2893. _formdiv = new U.UF.UI.form(
  2894. "我的项目",
  2895. $$("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 }), {
  2896. "id": "studnetProject",
  2897. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2898. "onresize": function () { }
  2899. }, {
  2900. closecallback: function () { }
  2901. }, { "style": { "height": "36px" } }).form; //创建窗体
  2902. _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); } }
  2903. break;
  2904. case "studentEvaluate": //好友打开
  2905. _formdiv = new U.UF.UI.form(
  2906. "我的评价",
  2907. $$("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 }), {
  2908. "id": "studentEvaluate",
  2909. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2910. "onresize": function () { }
  2911. }, {
  2912. closecallback: function () { }
  2913. }, { "style": { "height": "36px" } }).form; //创建窗体
  2914. _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); } }
  2915. break;
  2916. case "my":
  2917. _formdiv = new U.UF.UI.form(
  2918. "我的资料",
  2919. $$("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 }), {
  2920. "id": "my",
  2921. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2922. "onresize": function () { }
  2923. }, {
  2924. closecallback: function () { }
  2925. }, { "style": { "height": "36px" } }).form; //创建窗体
  2926. _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); } }
  2927. break;
  2928. case "program":
  2929. _formdiv = new U.UF.UI.form(
  2930. "编程平台",
  2931. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2932. "id": "program",
  2933. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2934. "onresize": function () { }
  2935. }, {
  2936. closecallback: function () { }
  2937. }, { "style": { "height": "36px" } }).form; //创建窗体
  2938. _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); } }
  2939. break;
  2940. case "library":
  2941. _formdiv = new U.UF.UI.form(
  2942. "素材库",
  2943. $$("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 }), {
  2944. "id": "library",
  2945. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2946. "onresize": function () { }
  2947. }, {
  2948. closecallback: function () { }
  2949. }, { "style": { "height": "36px" } }).form; //创建窗体
  2950. _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); } }
  2951. break;
  2952. case "whiteboard":
  2953. _formdiv = new U.UF.UI.form(
  2954. "电子白板",
  2955. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2956. "id": "whiteboard",
  2957. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2958. "onresize": function () { }
  2959. }, {
  2960. closecallback: function () { }
  2961. }, { "style": { "height": "36px" } }).form; //创建窗体
  2962. _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); } }
  2963. break;
  2964. case "investigation":
  2965. _formdiv = new U.UF.UI.form(
  2966. "问卷调查",
  2967. $$("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 }), {
  2968. "id": "investigation",
  2969. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2970. "onresize": function () { }
  2971. }, {
  2972. closecallback: function () { }
  2973. }, { "style": { "height": "36px" } }).form; //创建窗体
  2974. _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); } }
  2975. break;
  2976. case "note":
  2977. _formdiv = new U.UF.UI.form(
  2978. "便签分类",
  2979. $$("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 }), {
  2980. "id": "note",
  2981. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2982. "onresize": function () { }
  2983. }, {
  2984. closecallback: function () { }
  2985. }, { "style": { "height": "36px" } }).form; //创建窗体
  2986. _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); } }
  2987. break;
  2988. // case "score":
  2989. // _formdiv = new U.UF.UI.form(
  2990. // "量规评分",
  2991. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2992. // "id": "score",
  2993. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2994. // "onresize": function() {}
  2995. // }, {
  2996. // closecallback: function() {}
  2997. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2998. // _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); } }
  2999. // break;
  3000. case "mind":
  3001. _formdiv = new U.UF.UI.form(
  3002. "思维导图",
  3003. $$("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"
  3004. "id": "mind",
  3005. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3006. "onresize": function () { }
  3007. }, {
  3008. closecallback: function () { }
  3009. }, { "style": { "height": "36px" } }).form; //创建窗体
  3010. _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); } }
  3011. break;
  3012. case "doc":
  3013. // U.MD.D.I.isRoom();
  3014. _formdiv = new U.UF.UI.form(
  3015. "协同文档",
  3016. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3017. "id": "doc",
  3018. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3019. "onresize": function () { }
  3020. }, {
  3021. closecallback: function () { }
  3022. }, { "style": { "height": "36px" } }).form; //创建窗体
  3023. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3024. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3025. })
  3026. _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); } }
  3027. break;
  3028. case "train": //好友打开
  3029. _formdiv = new U.UF.UI.form(
  3030. "训练平台",
  3031. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3032. "id": "train",
  3033. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3034. "onresize": function () { }
  3035. }, {
  3036. closecallback: function () { }
  3037. }, { "style": { "height": "36px" } }).form; //创建窗体
  3038. _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); } }
  3039. break;
  3040. case "studentStudy":
  3041. _formdiv = new U.UF.UI.form(
  3042. "课程中心",
  3043. $$("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
  3044. "id": "studentStudy",
  3045. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3046. "onresize": function () { }
  3047. }, {
  3048. closecallback: function () { }
  3049. }, { "style": { "height": "36px" } }).form; //创建窗体
  3050. _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); } }
  3051. break;
  3052. case "mindNetwork": //好友打开
  3053. _formdiv = new U.UF.UI.form(
  3054. "思维网格",
  3055. $$("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 }), {
  3056. "id": "mindNetwork",
  3057. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3058. "onresize": function () { }
  3059. }, {
  3060. closecallback: function () { }
  3061. }, { "style": { "height": "36px" } }).form; //创建窗体
  3062. _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); } }
  3063. break;
  3064. case "studentClassRoom": //好友打开
  3065. _formdiv = new U.UF.UI.form(
  3066. "实时课堂",
  3067. $$("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 }), {
  3068. "id": "studentClassRoom",
  3069. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3070. "onresize": function () { }
  3071. }, {
  3072. closecallback: function () { }
  3073. }, { "style": { "height": "36px" } }).form; //创建窗体
  3074. _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); } }
  3075. setTimeout(() => {
  3076. U.UF.F.windowZooming(_formdiv)
  3077. }, 0);
  3078. break;
  3079. }
  3080. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3081. //选择应用处理
  3082. switch (str) {
  3083. case "project": //好友打开
  3084. _formdiv = new U.UF.UI.form(
  3085. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3086. $$("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 }), {
  3087. "id": "project",
  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/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3094. break;
  3095. case "student":
  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/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org + "&role=" + _role }), {
  3099. "id": "student",
  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/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3106. break;
  3107. case "evaluate":
  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/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3111. "id": "evaluate",
  3112. "style": { "width": "90%", "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/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3118. break;
  3119. case "sys":
  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 + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3123. "id": "sys",
  3124. "style": { "width": "100%", "height": "100%", "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/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3130. break;
  3131. case "courseDesign":
  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": "/course-design-vue" }), {
  3135. "id": "courseDesign",
  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/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3142. break;
  3143. case "program":
  3144. _formdiv = new U.UF.UI.form(
  3145. "编程平台",
  3146. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3147. "id": "program",
  3148. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3149. "onresize": function () { }
  3150. }, {
  3151. closecallback: function () { }
  3152. }, { "style": { "height": "36px" } }).form; //创建窗体
  3153. _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); } }
  3154. break;
  3155. case "class":
  3156. _formdiv = new U.UF.UI.form(
  3157. "班级管理",
  3158. $$("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 }), {
  3159. "id": "class",
  3160. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3161. "onresize": function () { }
  3162. }, {
  3163. closecallback: function () { }
  3164. }, { "style": { "height": "36px" } }).form; //创建窗体
  3165. _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); } }
  3166. break;
  3167. case "Grade":
  3168. _formdiv = new U.UF.UI.form(
  3169. "年级管理",
  3170. $$("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 }), {
  3171. "id": "Grade",
  3172. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3173. "onresize": function () { }
  3174. }, {
  3175. closecallback: function () { }
  3176. }, { "style": { "height": "36px" } }).form; //创建窗体
  3177. _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); } }
  3178. break;
  3179. case "teacherOffice":
  3180. _formdiv = new U.UF.UI.form(
  3181. "教研室",
  3182. $$("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 }), {
  3183. "id": "teacherOffice",
  3184. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3185. "onresize": function () { }
  3186. }, {
  3187. closecallback: function () { }
  3188. }, { "style": { "height": "36px" } }).form; //创建窗体
  3189. _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); } }
  3190. break;
  3191. case "my":
  3192. _formdiv = new U.UF.UI.form(
  3193. "我的资料",
  3194. $$("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 }), {
  3195. "id": "my",
  3196. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3197. "onresize": function () { }
  3198. }, {
  3199. closecallback: function () { }
  3200. }, { "style": { "height": "36px" } }).form; //创建窗体
  3201. _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); } }
  3202. break;
  3203. case "notice":
  3204. _formdiv = new U.UF.UI.form(
  3205. "通知公告",
  3206. $$("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 }), {
  3207. "id": "notice",
  3208. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3209. "onresize": function () { }
  3210. }, {
  3211. closecallback: function () { }
  3212. }, { "style": { "height": "36px" } }).form; //创建窗体
  3213. _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); } }
  3214. break;
  3215. case "library":
  3216. _formdiv = new U.UF.UI.form(
  3217. "素材库",
  3218. $$("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 }), {
  3219. "id": "library",
  3220. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3221. "onresize": function () { }
  3222. }, {
  3223. closecallback: function () { }
  3224. }, { "style": { "height": "36px" } }).form; //创建窗体
  3225. _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); } }
  3226. break;
  3227. case "whiteboard":
  3228. _formdiv = new U.UF.UI.form(
  3229. "电子白板",
  3230. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3231. "id": "whiteboard",
  3232. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3233. "onresize": function () { }
  3234. }, {
  3235. closecallback: function () { }
  3236. }, { "style": { "height": "36px" } }).form; //创建窗体
  3237. _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); } }
  3238. break;
  3239. case "investigation":
  3240. _formdiv = new U.UF.UI.form(
  3241. "问卷调查",
  3242. $$("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 }), {
  3243. "id": "investigation",
  3244. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3245. "onresize": function () { }
  3246. }, {
  3247. closecallback: function () { }
  3248. }, { "style": { "height": "36px" } }).form; //创建窗体
  3249. _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); } }
  3250. break;
  3251. case "note":
  3252. _formdiv = new U.UF.UI.form(
  3253. "便签分类",
  3254. $$("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 }), {
  3255. "id": "note",
  3256. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3257. "onresize": function () { }
  3258. }, {
  3259. closecallback: function () { }
  3260. }, { "style": { "height": "36px" } }).form; //创建窗体
  3261. _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); } }
  3262. break;
  3263. // case "score":
  3264. // _formdiv = new U.UF.UI.form(
  3265. // "量规评分",
  3266. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3267. // "id": "score",
  3268. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3269. // "onresize": function() {}
  3270. // }, {
  3271. // closecallback: function() {}
  3272. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3273. // _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); } }
  3274. // break;
  3275. case "mind":
  3276. _formdiv = new U.UF.UI.form(
  3277. "思维导图",
  3278. $$("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"
  3279. "id": "mind",
  3280. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3281. "onresize": function () { }
  3282. }, {
  3283. closecallback: function () { }
  3284. }, { "style": { "height": "36px" } }).form; //创建窗体
  3285. _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); } }
  3286. break;
  3287. case "doc":
  3288. // U.MD.D.I.isRoom();
  3289. _formdiv = new U.UF.UI.form(
  3290. "协同文档",
  3291. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3292. "id": "doc",
  3293. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3294. "onresize": function () { }
  3295. }, {
  3296. closecallback: function () { }
  3297. }, { "style": { "height": "36px" } }).form; //创建窗体
  3298. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3299. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3300. })
  3301. _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); } }
  3302. break;
  3303. case "study":
  3304. _formdiv = new U.UF.UI.form(
  3305. "课程中心",
  3306. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-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
  3307. "id": "study",
  3308. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3309. "onresize": function () { }
  3310. }, {
  3311. closecallback: function () { }
  3312. }, { "style": { "height": "36px" } }).form; //创建窗体
  3313. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3314. break;
  3315. case "mindNetwork": //好友打开
  3316. _formdiv = new U.UF.UI.form(
  3317. "思维网格",
  3318. $$("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 }), {
  3319. "id": "mindNetwork",
  3320. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3321. "onresize": function () { }
  3322. }, {
  3323. closecallback: function () { }
  3324. }, { "style": { "height": "36px" } }).form; //创建窗体
  3325. _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); } }
  3326. break;
  3327. case "train": //好友打开
  3328. _formdiv = new U.UF.UI.form(
  3329. "训练平台",
  3330. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3331. "id": "mindNetwork",
  3332. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3333. "onresize": function () { }
  3334. }, {
  3335. closecallback: function () { }
  3336. }, { "style": { "height": "36px" } }).form; //创建窗体
  3337. _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); } }
  3338. break;
  3339. case "teacherClassRoom": //好友打开
  3340. _formdiv = new U.UF.UI.form(
  3341. "实时课堂",
  3342. $$("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 }), {
  3343. "id": "teacherClassRoom",
  3344. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3345. "onresize": function () { }
  3346. }, {
  3347. closecallback: function () { }
  3348. }, { "style": { "height": "36px" } }).form; //创建窗体
  3349. _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); } }
  3350. setTimeout(() => {
  3351. U.UF.F.windowZooming(_formdiv)
  3352. }, 0);
  3353. break;
  3354. }
  3355. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3356. switch (str) {
  3357. case "project": //好友打开
  3358. _formdiv = new U.UF.UI.form(
  3359. "课程管理",
  3360. $$("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 }), {
  3361. "id": "project",
  3362. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3363. "onresize": function () { }
  3364. }, {
  3365. closecallback: function () { }
  3366. }, { "style": { "height": "36px" } }).form; //创建窗体
  3367. _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); } }
  3368. break;
  3369. case "evaluate":
  3370. _formdiv = new U.UF.UI.form(
  3371. "学生评价",
  3372. $$("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 }), {
  3373. "id": "evaluate",
  3374. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3375. "onresize": function () { }
  3376. }, {
  3377. closecallback: function () { }
  3378. }, { "style": { "height": "36px" } }).form; //创建窗体
  3379. _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); } }
  3380. break;
  3381. case "notice":
  3382. _formdiv = new U.UF.UI.form(
  3383. "通知公告",
  3384. $$("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 }), {
  3385. "id": "notice",
  3386. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3387. "onresize": function () { }
  3388. }, {
  3389. closecallback: function () { }
  3390. }, { "style": { "height": "36px" } }).form; //创建窗体
  3391. _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); } }
  3392. break;
  3393. case "stuLibrary":
  3394. _formdiv = new U.UF.UI.form(
  3395. "学习资料",
  3396. $$("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 }), {
  3397. "id": "stuLibrary",
  3398. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3399. "onresize": function () { }
  3400. }, {
  3401. closecallback: function () { }
  3402. }, { "style": { "height": "36px" } }).form; //创建窗体
  3403. _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); } }
  3404. break;
  3405. case "program":
  3406. _formdiv = new U.UF.UI.form(
  3407. "编程平台",
  3408. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3409. "id": "program",
  3410. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3411. "onresize": function () { }
  3412. }, {
  3413. closecallback: function () { }
  3414. }, { "style": { "height": "36px" } }).form; //创建窗体
  3415. _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); } }
  3416. break;
  3417. case "whiteboard":
  3418. _formdiv = new U.UF.UI.form(
  3419. "电子白板",
  3420. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3421. "id": "whiteboard",
  3422. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3423. "onresize": function () { }
  3424. }, {
  3425. closecallback: function () { }
  3426. }, { "style": { "height": "36px" } }).form; //创建窗体
  3427. _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); } }
  3428. break;
  3429. case "investigation":
  3430. _formdiv = new U.UF.UI.form(
  3431. "问卷调查",
  3432. $$("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 }), {
  3433. "id": "investigation",
  3434. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3435. "onresize": function () { }
  3436. }, {
  3437. closecallback: function () { }
  3438. }, { "style": { "height": "36px" } }).form; //创建窗体
  3439. _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); } }
  3440. break;
  3441. case "mind":
  3442. _formdiv = new U.UF.UI.form(
  3443. "思维导图",
  3444. $$("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"
  3445. "id": "mind",
  3446. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3447. "onresize": function () { }
  3448. }, {
  3449. closecallback: function () { }
  3450. }, { "style": { "height": "36px" } }).form; //创建窗体
  3451. _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); } }
  3452. break;
  3453. case "doc":
  3454. // U.MD.D.I.isRoom();
  3455. _formdiv = new U.UF.UI.form(
  3456. "协同文档",
  3457. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3458. "id": "doc",
  3459. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3460. "onresize": function () { }
  3461. }, {
  3462. closecallback: function () { }
  3463. }, { "style": { "height": "36px" } }).form; //创建窗体
  3464. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3465. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3466. })
  3467. _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); } }
  3468. break;
  3469. case "study":
  3470. _formdiv = new U.UF.UI.form(
  3471. "课程中心",
  3472. $$("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
  3473. "id": "study",
  3474. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3475. "onresize": function () { }
  3476. }, {
  3477. closecallback: function () { }
  3478. }, { "style": { "height": "36px" } }).form; //创建窗体
  3479. _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); } }
  3480. break;
  3481. case "mindNetwork": //好友打开
  3482. _formdiv = new U.UF.UI.form(
  3483. "思维网格",
  3484. $$("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 }), {
  3485. "id": "mindNetwork",
  3486. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3487. "onresize": function () { }
  3488. }, {
  3489. closecallback: function () { }
  3490. }, { "style": { "height": "36px" } }).form; //创建窗体
  3491. _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); } }
  3492. break;
  3493. case "train": //好友打开
  3494. _formdiv = new U.UF.UI.form(
  3495. "训练平台",
  3496. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3497. "id": "train",
  3498. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3499. "onresize": function () { }
  3500. }, {
  3501. closecallback: function () { }
  3502. }, { "style": { "height": "36px" } }).form; //创建窗体
  3503. _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); } }
  3504. break;
  3505. case "sys":
  3506. _formdiv = new U.UF.UI.form(
  3507. "目标管理",
  3508. $$("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 }), {
  3509. "id": "sys",
  3510. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3511. "onresize": function () { }
  3512. }, {
  3513. closecallback: function () { }
  3514. }, { "style": { "height": "36px" } }).form; //创建窗体
  3515. _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); } }
  3516. break;
  3517. case "courseDesign":
  3518. _formdiv = new U.UF.UI.form(
  3519. "项目设计",
  3520. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3521. "id": "courseDesign",
  3522. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3523. "onresize": function () { }
  3524. }, {
  3525. closecallback: function () { }
  3526. }, { "style": { "height": "36px" } }).form; //创建窗体
  3527. _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); } }
  3528. break;
  3529. }
  3530. } else if (!_type) {
  3531. switch (str) {
  3532. case "my":
  3533. _formdiv = new U.UF.UI.form(
  3534. "我的资料",
  3535. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3536. "id": "my",
  3537. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3538. "onresize": function () { }
  3539. }, {
  3540. closecallback: function () { }
  3541. }, { "style": { "height": "36px" } }).form; //创建窗体
  3542. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3543. break;
  3544. }
  3545. }
  3546. switch (str) {
  3547. // AIprogram2 AI体验 aihub.cocorobo.cn
  3548. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3549. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3550. case "formulaEdi": //公式编辑
  3551. _formdiv = new U.UF.UI.form(
  3552. "公式编辑",
  3553. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3554. "id": "formulaEdi",
  3555. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3556. "onresize": function () { }
  3557. }, {
  3558. closecallback: function () { }
  3559. }, { "style": { "height": "36px" } }).form; //创建窗体
  3560. _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); } }
  3561. break;
  3562. case "molStr": //分子结构
  3563. _formdiv = new U.UF.UI.form(
  3564. "分子结构",
  3565. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3566. "id": "molStr",
  3567. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3568. "onresize": function () { }
  3569. }, {
  3570. closecallback: function () { }
  3571. }, { "style": { "height": "36px" } }).form; //创建窗体
  3572. _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); } }
  3573. break;
  3574. case "timeAxis": //时间轴
  3575. _formdiv = new U.UF.UI.form(
  3576. "时间轴",
  3577. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3578. "id": "timeAxis",
  3579. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3580. "onresize": function () { }
  3581. }, {
  3582. closecallback: function () { }
  3583. }, { "style": { "height": "36px" } }).form; //创建窗体
  3584. _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); } }
  3585. break;
  3586. case "AIprogram2": //AI体验
  3587. _formdiv = new U.UF.UI.form(
  3588. "AI体验",
  3589. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3590. "id": "AIprogram2",
  3591. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3592. "onresize": function () { }
  3593. }, {
  3594. closecallback: function () { }
  3595. }, { "style": { "height": "36px" } }).form; //创建窗体
  3596. _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); } }
  3597. break;
  3598. case "Pythonprogram": //python编程
  3599. _formdiv = new U.UF.UI.form(
  3600. "Python编程",
  3601. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3602. "id": "Pythonprogram",
  3603. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3604. "onresize": function () { }
  3605. }, {
  3606. closecallback: function () { }
  3607. }, { "style": { "height": "36px" } }).form; //创建窗体
  3608. _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); } }
  3609. break;
  3610. case "AIprogram": //ai编程
  3611. _formdiv = new U.UF.UI.form(
  3612. "AI编程平台",
  3613. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3614. "id": "AIprogram",
  3615. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3616. "onresize": function () { }
  3617. }, {
  3618. closecallback: function () { }
  3619. }, { "style": { "height": "36px" } }).form; //创建窗体
  3620. _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); } }
  3621. break;
  3622. case "CocoPi": //CocoPi
  3623. _formdiv = new U.UF.UI.form(
  3624. "CocoPi",
  3625. $$("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" }), {
  3626. "id": "CocoPi",
  3627. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3628. "onresize": function () { }
  3629. }, {
  3630. closecallback: function () { }
  3631. }, { "style": { "height": "36px" } }).form; //创建窗体
  3632. _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); } }
  3633. break;
  3634. case "Wood": //Wood
  3635. _formdiv = new U.UF.UI.form(
  3636. "海龟编程",
  3637. $$("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/" }), {
  3638. "id": "Wood",
  3639. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3640. "onresize": function () { }
  3641. }, {
  3642. closecallback: function () { }
  3643. }, { "style": { "height": "36px" } }).form; //创建窗体
  3644. _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); } }
  3645. break;
  3646. case "car": //模拟驾驶
  3647. _formdiv = new U.UF.UI.form(
  3648. "模拟驾驶",
  3649. $$("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/" }), {
  3650. "id": "car",
  3651. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3652. "onresize": function () { }
  3653. }, {
  3654. closecallback: function () { }
  3655. }, { "style": { "height": "36px" } }).form; //创建窗体
  3656. _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); } }
  3657. break;
  3658. case "lineSearch": //路径搜索
  3659. _formdiv = new U.UF.UI.form(
  3660. "路径搜索",
  3661. $$("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/" }), {
  3662. "id": "lineSearch",
  3663. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3664. "onresize": function () { }
  3665. }, {
  3666. closecallback: function () { }
  3667. }, { "style": { "height": "36px" } }).form; //创建窗体
  3668. _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); } }
  3669. break;
  3670. case "deepLearning": //深度学习
  3671. _formdiv = new U.UF.UI.form(
  3672. "深度学习",
  3673. $$("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/#" }), {
  3674. "id": "deepLearning",
  3675. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3676. "onresize": function () { }
  3677. }, {
  3678. closecallback: function () { }
  3679. }, { "style": { "height": "36px" } }).form; //创建窗体
  3680. _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); } }
  3681. break;
  3682. case "allHistory": //深度学习
  3683. _formdiv = new U.UF.UI.form(
  3684. "全历史",
  3685. $$("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/" }), {
  3686. "id": "allHistory",
  3687. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3688. "onresize": function () { }
  3689. }, {
  3690. closecallback: function () { }
  3691. }, { "style": { "height": "36px" } }).form; //创建窗体
  3692. _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); } }
  3693. break;
  3694. case "chatPDF": //ai编程
  3695. _formdiv = new U.UF.UI.form(
  3696. "chatPDF",
  3697. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3698. "id": "chatPDF",
  3699. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3700. "onresize": function () { }
  3701. }, {
  3702. closecallback: function () { }
  3703. }, { "style": { "height": "36px" } }).form; //创建窗体
  3704. _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); } }
  3705. break;
  3706. case "resources": //国家教育
  3707. _formdiv = new U.UF.UI.form(
  3708. "国家教育",
  3709. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3710. "id": "resources",
  3711. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3712. "onresize": function () { }
  3713. }, {
  3714. closecallback: function () { }
  3715. }, { "style": { "height": "36px" } }).form; //创建窗体
  3716. _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); } }
  3717. break;
  3718. case "codeEdit": //源码编辑
  3719. _formdiv = new U.UF.UI.form(
  3720. "源码编辑",
  3721. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3722. "id": "codeEdit",
  3723. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3724. "onresize": function () { }
  3725. }, {
  3726. closecallback: function () { }
  3727. }, { "style": { "height": "36px" } }).form; //创建窗体
  3728. _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); } }
  3729. break; //
  3730. case "MindMap": //MindMap
  3731. _formdiv = new U.UF.UI.form(
  3732. "MindMap",
  3733. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3734. "id": "MindMap",
  3735. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3736. "onresize": function () { }
  3737. }, {
  3738. closecallback: function () { }
  3739. }, { "style": { "height": "36px" } }).form; //创建窗体
  3740. _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); } }
  3741. break;
  3742. case "netWorkPanel": //netWorkPanel
  3743. _formdiv = new U.UF.UI.form(
  3744. "netWorkPanel",
  3745. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3746. "id": "netWorkPanel",
  3747. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3748. "onresize": function () { }
  3749. }, {
  3750. closecallback: function () { }
  3751. }, { "style": { "height": "36px" } }).form; //创建窗体
  3752. _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); } }
  3753. break;
  3754. case "GeoGebra": //GeoGebra
  3755. _formdiv = new U.UF.UI.form(
  3756. "GeoGebra",
  3757. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.geogebra.org/calculator" }), {
  3758. "id": "GeoGebra",
  3759. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3760. "onresize": function () { }
  3761. }, {
  3762. closecallback: function () { }
  3763. }, { "style": { "height": "36px" } }).form; //创建窗体
  3764. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3765. break;
  3766. case "translation": //翻译
  3767. _formdiv = new U.UF.UI.form(
  3768. "翻译",
  3769. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3770. "id": "translation",
  3771. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3772. "onresize": function () { }
  3773. }, {
  3774. closecallback: function () { }
  3775. }, { "style": { "height": "36px" } }).form; //创建窗体
  3776. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3777. break;
  3778. case "mohe": //魔盒
  3779. _formdiv = new U.UF.UI.form(
  3780. "魔盒识字",
  3781. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3782. "id": "mohe",
  3783. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3784. "onresize": function () { }
  3785. }, {
  3786. closecallback: function () { }
  3787. }, { "style": { "height": "36px" } }).form; //创建窗体
  3788. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3789. break;
  3790. case "24game": //24点
  3791. _formdiv = new U.UF.UI.form(
  3792. "24点",
  3793. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3794. "id": "24game",
  3795. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3796. "onresize": function () { }
  3797. }, {
  3798. closecallback: function () { }
  3799. }, { "style": { "height": "36px" } }).form; //创建窗体
  3800. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3801. break;
  3802. case "case":
  3803. _formdiv = new U.UF.UI.form(
  3804. "课程进展",
  3805. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesign?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3806. "id": "case",
  3807. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3808. "onresize": function () { }
  3809. }, {
  3810. closecallback: function () { }
  3811. }, { "style": { "height": "36px" } }).form; //创建窗体
  3812. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3813. break;
  3814. case "snf":
  3815. _formdiv = new U.UF.UI.form(
  3816. "赛诺梵",
  3817. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//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" }), {
  3818. "id": "snf",
  3819. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3820. "onresize": function () { }
  3821. }, {
  3822. closecallback: function () { }
  3823. }, { "style": { "height": "36px" } }).form; //创建窗体
  3824. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3825. break;
  3826. case "hanFamily":
  3827. _formdiv = new U.UF.UI.form(
  3828. "汉字家族",
  3829. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3830. "id": "hanFamily",
  3831. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3832. "onresize": function () { }
  3833. }, {
  3834. closecallback: function () { }
  3835. }, { "style": { "height": "36px" } }).form; //创建窗体
  3836. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3837. break;
  3838. case "hanClassics":
  3839. _formdiv = new U.UF.UI.form(
  3840. "国学经典",
  3841. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3842. "id": "hanClassics",
  3843. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3844. "onresize": function () { }
  3845. }, {
  3846. closecallback: function () { }
  3847. }, { "style": { "height": "36px" } }).form; //创建窗体
  3848. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3849. break;
  3850. case "hanTraining":
  3851. _formdiv = new U.UF.UI.form(
  3852. "笔画训练",
  3853. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3854. "id": "hanTraining",
  3855. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3856. "onresize": function () { }
  3857. }, {
  3858. closecallback: function () { }
  3859. }, { "style": { "height": "36px" } }).form; //创建窗体
  3860. _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); } }
  3861. break;
  3862. case "hanClass":
  3863. _formdiv = new U.UF.UI.form(
  3864. "书法课堂",
  3865. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3866. "id": "hanClass",
  3867. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3868. "onresize": function () { }
  3869. }, {
  3870. closecallback: function () { }
  3871. }, { "style": { "height": "36px" } }).form; //创建窗体
  3872. _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); } }
  3873. break;
  3874. case "han":
  3875. _formdiv = new U.UF.UI.form(
  3876. "汉字宫",
  3877. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3878. "id": "han",
  3879. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3880. "onresize": function () { }
  3881. }, {
  3882. closecallback: function () { }
  3883. }, { "style": { "height": "36px" } }).form; //创建窗体
  3884. _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); } }
  3885. break;
  3886. case "projectGM": //课程管理
  3887. _formdiv = new U.UF.UI.form(
  3888. "课程管理",
  3889. $$("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 }), {
  3890. "id": "projectGM",
  3891. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3892. "onresize": function () { }
  3893. }, {
  3894. closecallback: function () { }
  3895. }, { "style": { "height": "36px" } }).form; //创建窗体
  3896. _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); } }
  3897. break;
  3898. case "studyGM": //课程中心
  3899. _formdiv = new U.UF.UI.form(
  3900. "课程中心",
  3901. $$("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
  3902. "id": "study",
  3903. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3904. "onresize": function () { }
  3905. }, {
  3906. closecallback: function () { }
  3907. }, { "style": { "height": "36px" } }).form; //创建窗体
  3908. _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); } }
  3909. break;
  3910. // studentGM
  3911. case "studentGM": //学生管理
  3912. _formdiv = new U.UF.UI.form(
  3913. "学生管理",
  3914. $$("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 }), {
  3915. "id": "studentGM",
  3916. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3917. "onresize": function () { }
  3918. }, {
  3919. closecallback: function () { }
  3920. }, { "style": { "height": "36px" } }).form; //创建窗体
  3921. _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); } }
  3922. break;
  3923. case "evaluateGM": //学生评价
  3924. _formdiv = new U.UF.UI.form(
  3925. "学生评价",
  3926. $$("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 }), {
  3927. "id": "evaluateGM",
  3928. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3929. "onresize": function () { }
  3930. }, {
  3931. closecallback: function () { }
  3932. }, { "style": { "height": "36px" } }).form; //创建窗体
  3933. _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); } }
  3934. break;
  3935. // classGM
  3936. case "classGM": //班级管理
  3937. _formdiv = new U.UF.UI.form(
  3938. "班级管理",
  3939. $$("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 }), {
  3940. "id": "classGM",
  3941. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3942. "onresize": function () { }
  3943. }, {
  3944. closecallback: function () { }
  3945. }, { "style": { "height": "36px" } }).form; //创建窗体
  3946. _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); } }
  3947. break;
  3948. // dataGM
  3949. case "dataGM":
  3950. _formdiv = new U.UF.UI.form(
  3951. "我的资料",
  3952. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataGM?userid=" + _userid + "&org=" + _org }), {
  3953. "id": "dataGM",
  3954. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3955. "onresize": function () { }
  3956. }, {
  3957. closecallback: function () { }
  3958. }, { "style": { "height": "36px" } }).form; //创建窗体
  3959. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/data.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3960. break;
  3961. // caseGM
  3962. case "caseGM": //课程进展
  3963. _formdiv = new U.UF.UI.form(
  3964. "课程进展",
  3965. $$("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 }), {
  3966. "id": "caseGM",
  3967. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3968. "onresize": function () { }
  3969. }, {
  3970. closecallback: function () { }
  3971. }, { "style": { "height": "36px" } }).form; //创建窗体
  3972. _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); } }
  3973. break;
  3974. // meterialGM
  3975. case "meterialGM": //素材库
  3976. _formdiv = new U.UF.UI.form(
  3977. "素材库",
  3978. $$("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 }), {
  3979. "id": "meterialGM",
  3980. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3981. "onresize": function () { }
  3982. }, {
  3983. closecallback: function () { }
  3984. }, { "style": { "height": "36px" } }).form; //创建窗体
  3985. _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); } }
  3986. break;
  3987. // evaluateSGM
  3988. case "evaluateSGM": //我的评价
  3989. _formdiv = new U.UF.UI.form(
  3990. "我的评价",
  3991. $$("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 }), {
  3992. "id": "evaluateSGM",
  3993. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3994. "onresize": function () { }
  3995. }, {
  3996. closecallback: function () { }
  3997. }, { "style": { "height": "36px" } }).form; //创建窗体
  3998. _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); } }
  3999. break;
  4000. case "jupyter": //jupyter
  4001. _formdiv = new U.UF.UI.form(
  4002. "jupyter",
  4003. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4004. "id": "jupyter",
  4005. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4006. "onresize": function () { }
  4007. }, {
  4008. closecallback: function () { }
  4009. }, { "style": { "height": "36px" } }).form; //创建窗体
  4010. _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); } }
  4011. break;
  4012. case "number": //数字实验室
  4013. _formdiv = new U.UF.UI.form(
  4014. "数字实验室",
  4015. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4016. "id": "number",
  4017. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4018. "onresize": function () { }
  4019. }, {
  4020. closecallback: function () { }
  4021. }, { "style": { "height": "36px" } }).form; //创建窗体
  4022. _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); } }
  4023. break;
  4024. case "studentCourse": //项目管理 学生
  4025. _formdiv = new U.UF.UI.form(
  4026. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4027. $$("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 }), {
  4028. "id": "studentCourse",
  4029. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4030. "onresize": function () { }
  4031. }, {
  4032. closecallback: function () { }
  4033. }, { "style": { "height": "36px" } }).form; //创建窗体
  4034. _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); } }
  4035. break;
  4036. case "studentCourseS": //项目管理 老师
  4037. _formdiv = new U.UF.UI.form(
  4038. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4039. $$("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 }), {
  4040. "id": "studentCourseS",
  4041. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4042. "onresize": function () { }
  4043. }, {
  4044. closecallback: function () { }
  4045. }, { "style": { "height": "36px" } }).form; //创建窗体
  4046. _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); } }
  4047. break;
  4048. case "studentIndex": //项目中心
  4049. _formdiv = new U.UF.UI.form(
  4050. "项目中心",
  4051. $$("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 }), {
  4052. "id": "studentIndex",
  4053. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4054. "onresize": function () { }
  4055. }, {
  4056. closecallback: function () { }
  4057. }, { "style": { "height": "36px" } }).form; //创建窗体
  4058. _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); } }
  4059. break;
  4060. case "CaseDesignS":
  4061. _formdiv = new U.UF.UI.form(
  4062. "项目进展",
  4063. $$("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 }), {
  4064. "id": "case",
  4065. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4066. "onresize": function () { }
  4067. }, {
  4068. closecallback: function () { }
  4069. }, { "style": { "height": "36px" } }).form; //创建窗体
  4070. _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); } }
  4071. break;
  4072. case "tcStudent": //腾讯学生管理
  4073. _formdiv = new U.UF.UI.form(
  4074. "学生管理",
  4075. $$("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 }), {
  4076. "id": "tcStudent",
  4077. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4078. "onresize": function () { }
  4079. }, {
  4080. closecallback: function () { }
  4081. }, { "style": { "height": "36px" } }).form; //创建窗体
  4082. _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); } }
  4083. break;
  4084. case "tcSchool": //腾讯学校管理
  4085. _formdiv = new U.UF.UI.form(
  4086. "学校管理",
  4087. $$("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 }), {
  4088. "id": "tcSchool",
  4089. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4090. "onresize": function () { }
  4091. }, {
  4092. closecallback: function () { }
  4093. }, { "style": { "height": "36px" } }).form; //创建窗体
  4094. _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); } }
  4095. break;
  4096. case "tcTeacher": //腾讯学校管理
  4097. _formdiv = new U.UF.UI.form(
  4098. "教师管理",
  4099. $$("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 }), {
  4100. "id": "tcTeacher",
  4101. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4102. "onresize": function () { }
  4103. }, {
  4104. closecallback: function () { }
  4105. }, { "style": { "height": "36px" } }).form; //创建窗体
  4106. _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); } }
  4107. break;
  4108. case "tcData": //腾讯我的资料
  4109. _formdiv = new U.UF.UI.form(
  4110. "我的资料",
  4111. $$("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 }), {
  4112. "id": "tcData",
  4113. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4114. "onresize": function () { }
  4115. }, {
  4116. closecallback: function () { }
  4117. }, { "style": { "height": "36px" } }).form; //创建窗体
  4118. _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); } }
  4119. break;
  4120. case "tcNotice": //腾讯消息通知
  4121. _formdiv = new U.UF.UI.form(
  4122. "消息通知",
  4123. $$("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 }), {
  4124. "id": "tcNotice",
  4125. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4126. "onresize": function () { }
  4127. }, {
  4128. closecallback: function () { }
  4129. }, { "style": { "height": "36px" } }).form; //创建窗体
  4130. _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); } }
  4131. break;
  4132. case "myReport": //好友打开
  4133. _formdiv = new U.UF.UI.form(
  4134. "我的评价",
  4135. $$("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 }), {
  4136. "id": "myReport",
  4137. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4138. "onresize": function () { }
  4139. }, {
  4140. closecallback: function () { }
  4141. }, { "style": { "height": "36px" } }).form; //创建窗体
  4142. _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); } }
  4143. break;
  4144. case "learnAna": //好友打开
  4145. _formdiv = new U.UF.UI.form(
  4146. "学习分析",
  4147. $$("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 }), {
  4148. "id": "learnAna",
  4149. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4150. "onresize": function () { }
  4151. }, {
  4152. closecallback: function () { }
  4153. }, { "style": { "height": "36px" } }).form; //创建窗体
  4154. _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); } }
  4155. break;
  4156. case "AIChat": //AI共创
  4157. _formdiv = new U.UF.UI.form(
  4158. "AI共创",
  4159. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4160. "id": "AIChat",
  4161. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4162. "onresize": function () { }
  4163. }, {
  4164. istop: true,
  4165. closecallback: function () { $("#aichat_icon").remove(); },
  4166. narrowcallback: function () {
  4167. if (!$("#aichat_icon")[0]) {
  4168. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4169. }
  4170. },
  4171. }, { "style": { "height": "36px" } }).form; //创建窗体
  4172. _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); } }
  4173. break;
  4174. case "ainew": //AI共创
  4175. _formdiv = new U.UF.UI.form(
  4176. "AI协同",
  4177. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4178. "id": "ainew",
  4179. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4180. "onresize": function () { }
  4181. }, {
  4182. closecallback: function () { }
  4183. }, { "style": { "height": "36px" } }).form; //创建窗体
  4184. _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); } }
  4185. break;
  4186. case "futureClass": //AI共创
  4187. _formdiv = new U.UF.UI.form(
  4188. "协同建构",
  4189. $$("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
  4190. "id": "synergyCourse",
  4191. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4192. "onresize": function () { }
  4193. }, {
  4194. closecallback: function () { }
  4195. }, { "style": { "height": "36px" } }).form; //创建窗体
  4196. _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); } }
  4197. break;
  4198. case "dataBoard": //数据看板
  4199. _formdiv = new U.UF.UI.form(
  4200. "数据看板",
  4201. $$("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 }), {
  4202. "id": "dataBoard",
  4203. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4204. "onresize": function () { }
  4205. }, {
  4206. closecallback: function () { }
  4207. }, { "style": { "height": "36px" } }).form; //创建窗体
  4208. _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); } }
  4209. break;
  4210. case "AIAnalyse": //AI共创
  4211. _formdiv = new U.UF.UI.form(
  4212. "AI分析",
  4213. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4214. "id": "AIAnalyse",
  4215. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4216. "onresize": function () { }
  4217. }, {
  4218. closecallback: function () { }
  4219. }, { "style": { "height": "36px" } }).form; //创建窗体
  4220. _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); } }
  4221. break;
  4222. case "studioCourse": //AI共创
  4223. _formdiv = new U.UF.UI.form(
  4224. "工作管理",
  4225. $$("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 }), {
  4226. "id": "studioCourse",
  4227. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4228. "onresize": function () { }
  4229. }, {
  4230. closecallback: function () { }
  4231. }, { "style": { "height": "36px" } }).form; //创建窗体
  4232. _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); } }
  4233. break;
  4234. case "studioIndex": //AI共创
  4235. _formdiv = new U.UF.UI.form(
  4236. "工作中心",
  4237. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studioIndex?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType + "&role=" + _role }), {
  4238. "id": "studioIndex",
  4239. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4240. "onresize": function () { }
  4241. }, {
  4242. closecallback: function () { }
  4243. }, { "style": { "height": "36px" } }).form; //创建窗体
  4244. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioIndex.png)" }, "name": "工作中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4245. break;
  4246. case "source":
  4247. _formdiv = new U.UF.UI.form(
  4248. "教学资源",
  4249. $$("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 }), {
  4250. "id": "source",
  4251. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4252. "onresize": function () { }
  4253. }, {
  4254. closecallback: function () { }
  4255. }, { "style": { "height": "36px" } }).form; //创建窗体
  4256. _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); } }
  4257. break;
  4258. }
  4259. //U.MD.D.I.openClick(str);
  4260. //如果有任务栏信息
  4261. if (_taskbar) {
  4262. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4263. }
  4264. }
  4265. // U.MD.D.I.openClick = function(str){
  4266. // var click = '';
  4267. // switch(str){
  4268. // case 'friend':
  4269. // click = '我的好友';
  4270. // break;
  4271. // case 'domain':
  4272. // click = '域名管理';
  4273. // break;
  4274. // case 'disk':
  4275. // click = '我的云盘';
  4276. // break;
  4277. // case 'word':
  4278. // click = 'Word';
  4279. // break;
  4280. // case 'excel':
  4281. // click = 'Execl';
  4282. // break;
  4283. // case 'txt':
  4284. // click = '文本文件';
  4285. // break;
  4286. // case 'lookupFriend':
  4287. // click = '查找好友';
  4288. // break;
  4289. // case 'ftp':
  4290. // click = 'FTP';
  4291. // break;
  4292. // case 'group':
  4293. // click = '群组';
  4294. // break;
  4295. // case 'set':
  4296. // click = '我的设置';
  4297. // break;
  4298. // case 'systemSet':
  4299. // click = '系统设置';
  4300. // break;
  4301. // case 'boomYun':
  4302. // click = '互联办公';
  4303. // break;
  4304. // case 'xz':
  4305. // click = '云端下载';
  4306. // break;
  4307. // case 'client':
  4308. // click = '有思浏览器';
  4309. // break;
  4310. // case 'backEndProgramming':
  4311. // click = '在线后台编程';
  4312. // break;
  4313. // case 'frontEndProgramming':
  4314. // click = '在线前端编程';
  4315. // break;
  4316. // default: break;
  4317. // }
  4318. // if(U.MD.D.I.Ip && click){
  4319. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4320. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4321. // })
  4322. // }
  4323. // }
  4324. /**
  4325. *函数作用:ajax简易函数,使用post格式
  4326. *@param url {data} 后台地址
  4327. *@param data {data} 参数json
  4328. *@param fn {data} 回调函数
  4329. *
  4330. */
  4331. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4332. // var xhr = new XMLHttpRequest();
  4333. // xhr.open("GET",url,true);
  4334. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4335. // xhr.onreadystatechange = function(){
  4336. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4337. // fn.call(this,xhr.responseText);
  4338. // }
  4339. // };
  4340. // xhr.send();
  4341. // }
  4342. /*判断是否是内网IP*/
  4343. // U.MD.D.I.isInnerIPFn = function(str){
  4344. // var curPageUrl = str;
  4345. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4346. // curPageUrl =curPageUrl.replace(reg1,'');
  4347. // // console.log('curPageUrl-1 '+curPageUrl);
  4348. // var reg2 = /\:+/g;//替换冒号为一点
  4349. // curPageUrl =curPageUrl.replace(reg2,'.');
  4350. // // console.log('curPageUrl-2 '+curPageUrl);
  4351. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4352. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4353. // if(curPageUrl[2] != '16'){
  4354. // return ipAddress;
  4355. // }else{
  4356. // return false;
  4357. // }
  4358. // }
  4359. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4360. // //compatibility for firefox and chrome
  4361. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4362. // var pc = new myPeerConnection({
  4363. // iceServers: []
  4364. // }),
  4365. // noop = function() {},
  4366. // localIPs = {},
  4367. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4368. // key;
  4369. // function iterateIP(ip) {
  4370. // if (!localIPs[ip]) onNewIP(ip);
  4371. // localIPs[ip] = true;
  4372. // }
  4373. // //create a bogus data channel
  4374. // pc.createDataChannel("");
  4375. // // create offer and set local description
  4376. // pc.createOffer().then(function(sdp) {
  4377. // sdp.sdp.split('\n').forEach(function(line) {
  4378. // if (line.indexOf('candidate') < 0) return;
  4379. // line.match(ipRegex).forEach(iterateIP);
  4380. // });
  4381. // pc.setLocalDescription(sdp, noop, noop);
  4382. // }).catch(function(reason) {
  4383. // // An error occurred, so handle the failure to connect
  4384. // });
  4385. // //sten for candidate events
  4386. // pc.onicecandidate = function(ice) {
  4387. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4388. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4389. // };
  4390. // }
  4391. // U.MD.D.I.getUserIpBool = function(callback){
  4392. // U.MD.D.I.getUserIP(function(ip){
  4393. // alert("Got IP! :" + ip);
  4394. // });
  4395. //}
  4396. //#endregion
  4397. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4398. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4399. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4400. _userinfo = US.userInfo, //登录用户信息
  4401. _userid = US.userInfo.userid //登录用户id
  4402. let _iframe;
  4403. let _cid = cid,
  4404. _stage = stage,
  4405. _task = task,
  4406. _tool = tool;
  4407. var _jie = $$("div", {
  4408. "style": {
  4409. "position": "absolute",
  4410. "bottom": "50px",
  4411. "right": "50px",
  4412. "zIndex": "9999",
  4413. "backgroundColor": "#2268bc",
  4414. "color": "#fff",
  4415. "padding": "12px 20px",
  4416. "cursor": "pointer",
  4417. "borderRadius": "4px",
  4418. },
  4419. "innerHTML": "提交作业"
  4420. })
  4421. let aTool = ''
  4422. let _loading = document.createElement('div')
  4423. _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;"
  4424. // _loading.id = "";
  4425. let _lchild = document.createElement('div')
  4426. let _limg = document.createElement('img')
  4427. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4428. _limg.style = "width: 26px;margin-right: 10px;"
  4429. _lchild.appendChild(_limg)
  4430. let _lspan = document.createElement('span')
  4431. _lspan.innerHTML = "上传中..."
  4432. _lchild.appendChild(_lspan)
  4433. _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%);"
  4434. _loading.appendChild(_lchild)
  4435. var _box = $$('div', {
  4436. "style": {
  4437. "position": "relative",
  4438. "width": "100%",
  4439. "height": "100%",
  4440. },
  4441. })
  4442. _box.appendChild(_loading)
  4443. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4444. switch (str) {
  4445. case "whiteboard":
  4446. aTool = 1;
  4447. _iframe = $$("iframe", {
  4448. "frameborder": "no",
  4449. "border": "0",
  4450. "scrolling ": "no",
  4451. "style": {
  4452. "cssText": "border:0;width:100%;height:100%"
  4453. },
  4454. "src": "https://iwb.cocorobo.cn/"
  4455. })
  4456. _box.appendChild(_iframe);
  4457. _box.appendChild(_jie);
  4458. _formdiv = new U.UF.UI.form(
  4459. "电子白板",
  4460. _box, {
  4461. "id": "whiteboard" + cid + stage + task + tool,
  4462. "style": {
  4463. "width": "90%",
  4464. "height": "90%",
  4465. "overflow": 'hidden'
  4466. },
  4467. "onresize": function () { }
  4468. }, {
  4469. closecallback: function () { }
  4470. }, {
  4471. "style": {
  4472. "height": "36px"
  4473. }
  4474. }).form; //创建窗体
  4475. _taskbar = {
  4476. "id": str + _formdiv.id,
  4477. "style": {
  4478. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4479. },
  4480. "name": "电子白板",
  4481. "forms": _formdiv,
  4482. "click": function () {
  4483. U.MD.D.I.openApplication(str, obj, info);
  4484. }
  4485. }
  4486. break;
  4487. case "mind":
  4488. aTool = 3;
  4489. _iframe = $$("iframe", {
  4490. "frameborder": "no",
  4491. "border": "0",
  4492. "scrolling ": "no",
  4493. "style": {
  4494. "cssText": "border:0;width:100%;height:100%"
  4495. },
  4496. "src": "/kityminder-editor/dist/index.html"
  4497. })
  4498. _box.appendChild(_iframe);
  4499. _box.appendChild(_jie);
  4500. _formdiv = new U.UF.UI.form(
  4501. "思维导图",
  4502. _box, { //"/jsmind/example/demo.html"
  4503. "id": "mind" + cid + stage + task + tool,
  4504. "style": {
  4505. "width": "90%",
  4506. "height": "90%",
  4507. "overflow": 'hidden'
  4508. },
  4509. "onresize": function () { }
  4510. }, {
  4511. closecallback: function () { }
  4512. }, {
  4513. "style": {
  4514. "height": "36px"
  4515. }
  4516. }).form; //创建窗体
  4517. _taskbar = {
  4518. "id": str + _formdiv.id,
  4519. "style": {
  4520. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4521. },
  4522. "name": "思维导图",
  4523. "forms": _formdiv,
  4524. "click": function () {
  4525. U.MD.D.I.openApplication(str, obj, info);
  4526. }
  4527. }
  4528. break;
  4529. case "MindMap":
  4530. aTool = 3;
  4531. _iframe = $$("iframe", {
  4532. "frameborder": "no",
  4533. "border": "0",
  4534. "scrolling ": "no",
  4535. "style": {
  4536. "cssText": "border:0;width:100%;height:100%"
  4537. },
  4538. "src": "//cloud.cocorobo.cn/mind/"
  4539. })
  4540. _box.appendChild(_iframe);
  4541. _box.appendChild(_jie);
  4542. _formdiv = new U.UF.UI.form(
  4543. "思维导图",
  4544. _box, { //"/jsmind/example/demo.html"
  4545. "id": "mind" + cid + stage + task + tool,
  4546. "style": {
  4547. "width": "90%",
  4548. "height": "90%",
  4549. "overflow": 'hidden'
  4550. },
  4551. "onresize": function () { }
  4552. }, {
  4553. closecallback: function () { }
  4554. }, {
  4555. "style": {
  4556. "height": "36px"
  4557. }
  4558. }).form; //创建窗体
  4559. _taskbar = {
  4560. "id": str + _formdiv.id,
  4561. "style": {
  4562. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4563. },
  4564. "name": "思维导图",
  4565. "forms": _formdiv,
  4566. "click": function () {
  4567. U.MD.D.I.openApplication(str, obj, info);
  4568. }
  4569. }
  4570. break;
  4571. case "doc":
  4572. aTool = 6;
  4573. _iframe = $$("iframe", {
  4574. "frameborder": "no",
  4575. "border": "0",
  4576. "scrolling ": "no",
  4577. "style": {
  4578. "cssText": "border:0;width:100%;height:100%"
  4579. },
  4580. "src": "/Office/Word/WordEditArea.htm"
  4581. })
  4582. _box.appendChild(_iframe);
  4583. _box.appendChild(_jie);
  4584. _formdiv = new U.UF.UI.form(
  4585. "协同文档",
  4586. _box, {
  4587. "id": "doc" + cid + stage + task + tool,
  4588. "style": {
  4589. "width": "90%",
  4590. "height": "90%",
  4591. "overflow": 'hidden'
  4592. },
  4593. "onresize": function () { }
  4594. }, {
  4595. closecallback: function () { }
  4596. }, {
  4597. "style": {
  4598. "height": "36px"
  4599. }
  4600. }).form; //创建窗体
  4601. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4602. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4603. })
  4604. _taskbar = {
  4605. "id": str + _formdiv.id,
  4606. "style": {
  4607. "backgroundImage": "url(/img/icon/doc.png)"
  4608. },
  4609. "name": "协同文档",
  4610. "forms": _formdiv,
  4611. "click": function () {
  4612. U.MD.D.I.openApplication(str, obj, info);
  4613. }
  4614. }
  4615. break;
  4616. case "mindNetwork": //好友打开
  4617. aTool = 7;
  4618. _iframe = $$("iframe", {
  4619. "webkitallowfullscreen": "",
  4620. "mozallowfullscreen": "",
  4621. "allowfullscreen": "",
  4622. "frameborder": "no",
  4623. "border": "0",
  4624. "scrolling ": "no",
  4625. "style": {
  4626. "cssText": "border:0; width:100%; height:100%;"
  4627. },
  4628. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4629. })
  4630. _box.appendChild(_iframe);
  4631. _box.appendChild(_jie);
  4632. _formdiv = new U.UF.UI.form(
  4633. "思维网格",
  4634. _box, {
  4635. "id": "mindNetwork" + cid + stage + task + tool,
  4636. "style": {
  4637. "width": "90%",
  4638. "height": "90%",
  4639. "overflow": 'hidden'
  4640. },
  4641. "onresize": function () { }
  4642. }, {
  4643. closecallback: function () { }
  4644. }, {
  4645. "style": {
  4646. "height": "36px"
  4647. }
  4648. }).form; //创建窗体
  4649. _taskbar = {
  4650. "id": str + _formdiv.id,
  4651. "style": {
  4652. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4653. },
  4654. "name": "思维网格",
  4655. "forms": _formdiv,
  4656. "click": function () {
  4657. U.MD.D.I.openApplication(str, obj, info);
  4658. }
  4659. }
  4660. break;
  4661. case "courseDesign":
  4662. _iframe = $$("iframe", {
  4663. "webkitallowfullscreen": "",
  4664. "mozallowfullscreen": "",
  4665. "allowfullscreen": "",
  4666. "frameborder": "no",
  4667. "border": "0",
  4668. "scrolling ": "no",
  4669. "style": {
  4670. "cssText": "border:0; width:100%; height:100%;"
  4671. },
  4672. "src": "/course-design-vue"
  4673. })
  4674. _box.appendChild(_iframe);
  4675. _box.appendChild(_jie);
  4676. _formdiv = new U.UF.UI.form(
  4677. "项目设计",
  4678. _box, {
  4679. "id": "courseDesign" + cid + stage + task + tool,
  4680. "style": {
  4681. "width": "90%",
  4682. "height": "90%",
  4683. "overflow": 'hidden'
  4684. },
  4685. "onresize": function () { }
  4686. }, {
  4687. closecallback: function () { }
  4688. }, {
  4689. "style": {
  4690. "height": "36px"
  4691. }
  4692. }).form; //创建窗体
  4693. _taskbar = {
  4694. "id": str + _formdiv.id,
  4695. "style": {
  4696. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4697. },
  4698. "name": "项目设计",
  4699. "forms": _formdiv,
  4700. "click": function () {
  4701. U.MD.D.I.openApplication(str, obj, info);
  4702. }
  4703. }
  4704. break;
  4705. }
  4706. const script1 = document.createElement("script");
  4707. script1.type = "text/javascript";
  4708. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4709. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4710. const script2 = document.createElement("script");
  4711. script2.type = "text/javascript";
  4712. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4713. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4714. const script3 = document.createElement("script");
  4715. script3.type = "text/javascript";
  4716. script3.charset = "UTF-8";
  4717. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4718. const script4 = document.createElement("script");
  4719. script4.type = "text/javascript";
  4720. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4721. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4722. if (_iframe) {
  4723. if (str == 'doc') {
  4724. _iframe = _formdiv.querySelector('iframe')
  4725. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4726. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4727. _iframe.contentWindow.document.body.appendChild(script1);
  4728. _iframe.contentWindow.document.body.appendChild(script2);
  4729. // _iframe.contentWindow.document.body.appendChild(script3);
  4730. _iframe.contentWindow.document.body.appendChild(script4);
  4731. })
  4732. if (onloadListener) {
  4733. _iframe.contentDocument.location.reload()
  4734. } else {
  4735. _iframe.contentDocument.location.reload()
  4736. }
  4737. } else if (str == 'courseDesign') {
  4738. U.UF.DL.iframeLoad(_iframe, function () {
  4739. // _iframe.contentWindow.U.MD.O.W.load();
  4740. // _iframe.contentWindow.document.body.appendChild(script1);
  4741. _iframe.contentWindow.document.body.appendChild(script2);
  4742. _iframe.contentWindow.document.body.appendChild(script4);
  4743. })
  4744. } else if (str == 'mind') {
  4745. _iframe = _formdiv.querySelector('iframe')
  4746. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4747. //
  4748. _iframe.contentWindow.document.body.appendChild(script1);
  4749. _iframe.contentWindow.document.body.appendChild(script2);
  4750. _iframe.contentWindow.document.body.appendChild(script4);
  4751. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4752. })
  4753. if (onloadListener) {
  4754. _iframe.contentDocument.location.reload()
  4755. } else {
  4756. _iframe.contentDocument.location.reload()
  4757. }
  4758. } else if (str == 'whiteboard') {
  4759. _iframe = _formdiv.querySelector('iframe')
  4760. let onloadListener = _iframe.onload = () => {
  4761. _iframe.contentWindow.document.body.appendChild(script1);
  4762. _iframe.contentWindow.document.body.appendChild(script2);
  4763. _iframe.contentWindow.document.body.appendChild(script4);
  4764. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4765. };
  4766. if (onloadListener) {
  4767. _iframe.contentDocument.location.reload()
  4768. } else {
  4769. _iframe.contentDocument.location.reload()
  4770. }
  4771. } else {
  4772. _iframe.onload = () => {
  4773. _iframe.contentWindow.document.body.appendChild(script1);
  4774. _iframe.contentWindow.document.body.appendChild(script2);
  4775. // _iframe.contentWindow.document.body.appendChild(script3);
  4776. _iframe.contentWindow.document.body.appendChild(script4);
  4777. };
  4778. }
  4779. _jie.onclick = async () => {
  4780. let text = ''
  4781. if (aTool == 1) {
  4782. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4783. } else if (aTool == 6) {
  4784. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4785. } else if (aTool == 3) {
  4786. text = await U.MD.D.I.getEditorContent(_iframe);
  4787. }
  4788. _loading.style.display = 'flex'
  4789. console.log(_loading);
  4790. var _ajs = _iframe.contentWindow.document.createElement("script");
  4791. _ajs.type = "text/javascript";
  4792. _ajs.innerHTML =
  4793. // 'console.log(' + _loading + ');\n' +
  4794. 'var _js = document.createElement("script");\n' +
  4795. '_js.type="text/javascript";\n' +
  4796. '_js.charset="UTF-8";\n' +
  4797. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4798. "_js.onload = function(){\n" +
  4799. ' var a = document.getElementsByTagName("img")\n' +
  4800. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4801. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4802. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4803. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4804. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4805. "beforeUpload_shishi(file," +
  4806. "'" +
  4807. _userid +
  4808. "'" +
  4809. ", " +
  4810. "'" +
  4811. _cid +
  4812. "'" +
  4813. ", " +
  4814. "'" +
  4815. _stage +
  4816. "'" +
  4817. ", " +
  4818. "'" +
  4819. _task +
  4820. "'" +
  4821. ", " +
  4822. "'" +
  4823. _tool +
  4824. "'" +
  4825. ", " +
  4826. "'" +
  4827. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  4828. "'" +
  4829. ", " +
  4830. "'" +
  4831. aTool +
  4832. "'" +
  4833. ", " +
  4834. "`" +
  4835. text +
  4836. "`" +
  4837. ")\n" +
  4838. " });\n" +
  4839. "}\n" +
  4840. "document.head.appendChild(_js);\n";
  4841. _iframe.contentWindow.document.head.appendChild(_ajs);
  4842. }
  4843. }
  4844. //U.MD.D.I.openClick(str);
  4845. //如果有任务栏信息
  4846. // if (_taskbar) {
  4847. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4848. // }
  4849. }
  4850. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  4851. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4852. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4853. _userinfo = US.userInfo, //登录用户信息
  4854. _userid = US.userInfo.userid //登录用户id
  4855. let _iframe;
  4856. let _cid = cid,
  4857. _stage = stage,
  4858. _task = task,
  4859. _tool = tool;
  4860. var _jie = $$("div", {
  4861. "style": {
  4862. "position": "absolute",
  4863. "bottom": "50px",
  4864. "right": "50px",
  4865. "zIndex": "9999",
  4866. "backgroundColor": "#2268bc",
  4867. "color": "#fff",
  4868. "padding": "12px 20px",
  4869. "cursor": "pointer",
  4870. "borderRadius": "4px",
  4871. },
  4872. "innerHTML": "提交作业"
  4873. })
  4874. let aTool = ''
  4875. let _loading = document.createElement('div')
  4876. _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;"
  4877. // _loading.id = "";
  4878. let _lchild = document.createElement('div')
  4879. let _limg = document.createElement('img')
  4880. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4881. _limg.style = "width: 26px;margin-right: 10px;"
  4882. _lchild.appendChild(_limg)
  4883. let _lspan = document.createElement('span')
  4884. _lspan.innerHTML = "上传中..."
  4885. _lchild.appendChild(_lspan)
  4886. _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%);"
  4887. _loading.appendChild(_lchild)
  4888. var _box = $$('div', {
  4889. "style": {
  4890. "position": "relative",
  4891. "width": "100%",
  4892. "height": "100%",
  4893. },
  4894. })
  4895. _box.appendChild(_loading)
  4896. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  4897. switch (str) {
  4898. case "whiteboard":
  4899. aTool = 1;
  4900. _iframe = $$("iframe", {
  4901. "frameborder": "no",
  4902. "border": "0",
  4903. "scrolling ": "no",
  4904. "style": {
  4905. "cssText": "border:0;width:100%;height:100%"
  4906. },
  4907. "src": "https://iwb.cocorobo.cn/"
  4908. })
  4909. _box.appendChild(_iframe);
  4910. _box.appendChild(_jie);
  4911. _formdiv = new U.UF.UI.form(
  4912. "电子白板",
  4913. _box, {
  4914. "id": "whiteboard" + cid + stage + task + tool,
  4915. "style": {
  4916. "width": "90%",
  4917. "height": "90%",
  4918. "overflow": 'hidden'
  4919. },
  4920. "onresize": function () { }
  4921. }, {
  4922. closecallback: function () { }
  4923. }, {
  4924. "style": {
  4925. "height": "36px"
  4926. }
  4927. }).form; //创建窗体
  4928. _taskbar = {
  4929. "id": str + _formdiv.id,
  4930. "style": {
  4931. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4932. },
  4933. "name": "电子白板",
  4934. "forms": _formdiv,
  4935. "click": function () {
  4936. U.MD.D.I.openApplication(str, obj, info);
  4937. }
  4938. }
  4939. break;
  4940. case "mind":
  4941. aTool = 3;
  4942. _iframe = $$("iframe", {
  4943. "frameborder": "no",
  4944. "border": "0",
  4945. "scrolling ": "no",
  4946. "style": {
  4947. "cssText": "border:0;width:100%;height:100%"
  4948. },
  4949. "src": "/kityminder-editor/dist/index.html"
  4950. })
  4951. _box.appendChild(_iframe);
  4952. _box.appendChild(_jie);
  4953. _formdiv = new U.UF.UI.form(
  4954. "思维导图",
  4955. _box, { //"/jsmind/example/demo.html"
  4956. "id": "mind" + cid + stage + task + tool,
  4957. "style": {
  4958. "width": "90%",
  4959. "height": "90%",
  4960. "overflow": 'hidden'
  4961. },
  4962. "onresize": function () { }
  4963. }, {
  4964. closecallback: function () { }
  4965. }, {
  4966. "style": {
  4967. "height": "36px"
  4968. }
  4969. }).form; //创建窗体
  4970. _taskbar = {
  4971. "id": str + _formdiv.id,
  4972. "style": {
  4973. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4974. },
  4975. "name": "思维导图",
  4976. "forms": _formdiv,
  4977. "click": function () {
  4978. U.MD.D.I.openApplication(str, obj, info);
  4979. }
  4980. }
  4981. break;
  4982. case "MindMap":
  4983. aTool = 3;
  4984. _iframe = $$("iframe", {
  4985. "frameborder": "no",
  4986. "border": "0",
  4987. "scrolling ": "no",
  4988. "style": {
  4989. "cssText": "border:0;width:100%;height:100%"
  4990. },
  4991. "src": "//cloud.cocorobo.cn/mind/"
  4992. })
  4993. _box.appendChild(_iframe);
  4994. _box.appendChild(_jie);
  4995. _formdiv = new U.UF.UI.form(
  4996. "思维导图",
  4997. _box, { //"/jsmind/example/demo.html"
  4998. "id": "mind" + cid + stage + task + tool,
  4999. "style": {
  5000. "width": "90%",
  5001. "height": "90%",
  5002. "overflow": 'hidden'
  5003. },
  5004. "onresize": function () { }
  5005. }, {
  5006. closecallback: function () { }
  5007. }, {
  5008. "style": {
  5009. "height": "36px"
  5010. }
  5011. }).form; //创建窗体
  5012. _taskbar = {
  5013. "id": str + _formdiv.id,
  5014. "style": {
  5015. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5016. },
  5017. "name": "思维导图",
  5018. "forms": _formdiv,
  5019. "click": function () {
  5020. U.MD.D.I.openApplication(str, obj, info);
  5021. }
  5022. }
  5023. break;
  5024. case "doc":
  5025. aTool = 6;
  5026. _iframe = $$("iframe", {
  5027. "frameborder": "no",
  5028. "border": "0",
  5029. "scrolling ": "no",
  5030. "style": {
  5031. "cssText": "border:0;width:100%;height:100%"
  5032. },
  5033. "src": "/Office/Word/WordEditArea.htm"
  5034. })
  5035. _box.appendChild(_iframe);
  5036. _box.appendChild(_jie);
  5037. _formdiv = new U.UF.UI.form(
  5038. "协同文档",
  5039. _box, {
  5040. "id": "doc" + cid + stage + task + tool,
  5041. "style": {
  5042. "width": "90%",
  5043. "height": "90%",
  5044. "overflow": 'hidden'
  5045. },
  5046. "onresize": function () { }
  5047. }, {
  5048. closecallback: function () { }
  5049. }, {
  5050. "style": {
  5051. "height": "36px"
  5052. }
  5053. }).form; //创建窗体
  5054. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5055. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5056. })
  5057. _taskbar = {
  5058. "id": str + _formdiv.id,
  5059. "style": {
  5060. "backgroundImage": "url(/img/icon/doc.png)"
  5061. },
  5062. "name": "协同文档",
  5063. "forms": _formdiv,
  5064. "click": function () {
  5065. U.MD.D.I.openApplication(str, obj, info);
  5066. }
  5067. }
  5068. break;
  5069. case "mindNetwork": //好友打开
  5070. aTool = 7;
  5071. _iframe = $$("iframe", {
  5072. "webkitallowfullscreen": "",
  5073. "mozallowfullscreen": "",
  5074. "allowfullscreen": "",
  5075. "frameborder": "no",
  5076. "border": "0",
  5077. "scrolling ": "no",
  5078. "style": {
  5079. "cssText": "border:0; width:100%; height:100%;"
  5080. },
  5081. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5082. })
  5083. _box.appendChild(_iframe);
  5084. _box.appendChild(_jie);
  5085. _formdiv = new U.UF.UI.form(
  5086. "思维网格",
  5087. _box, {
  5088. "id": "mindNetwork" + cid + stage + task + tool,
  5089. "style": {
  5090. "width": "90%",
  5091. "height": "90%",
  5092. "overflow": 'hidden'
  5093. },
  5094. "onresize": function () { }
  5095. }, {
  5096. closecallback: function () { }
  5097. }, {
  5098. "style": {
  5099. "height": "36px"
  5100. }
  5101. }).form; //创建窗体
  5102. _taskbar = {
  5103. "id": str + _formdiv.id,
  5104. "style": {
  5105. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5106. },
  5107. "name": "思维网格",
  5108. "forms": _formdiv,
  5109. "click": function () {
  5110. U.MD.D.I.openApplication(str, obj, info);
  5111. }
  5112. }
  5113. break;
  5114. case "courseDesign":
  5115. _iframe = $$("iframe", {
  5116. "webkitallowfullscreen": "",
  5117. "mozallowfullscreen": "",
  5118. "allowfullscreen": "",
  5119. "frameborder": "no",
  5120. "border": "0",
  5121. "scrolling ": "no",
  5122. "style": {
  5123. "cssText": "border:0; width:100%; height:100%;"
  5124. },
  5125. "src": "/course-design-vue"
  5126. })
  5127. _box.appendChild(_iframe);
  5128. _box.appendChild(_jie);
  5129. _formdiv = new U.UF.UI.form(
  5130. "项目设计",
  5131. _box, {
  5132. "id": "courseDesign" + cid + stage + task + tool,
  5133. "style": {
  5134. "width": "90%",
  5135. "height": "90%",
  5136. "overflow": 'hidden'
  5137. },
  5138. "onresize": function () { }
  5139. }, {
  5140. closecallback: function () { }
  5141. }, {
  5142. "style": {
  5143. "height": "36px"
  5144. }
  5145. }).form; //创建窗体
  5146. _taskbar = {
  5147. "id": str + _formdiv.id,
  5148. "style": {
  5149. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5150. },
  5151. "name": "项目设计",
  5152. "forms": _formdiv,
  5153. "click": function () {
  5154. U.MD.D.I.openApplication(str, obj, info);
  5155. }
  5156. }
  5157. break;
  5158. }
  5159. const script1 = document.createElement("script");
  5160. script1.type = "text/javascript";
  5161. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5162. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5163. const script2 = document.createElement("script");
  5164. script2.type = "text/javascript";
  5165. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5166. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5167. const script3 = document.createElement("script");
  5168. script3.type = "text/javascript";
  5169. script3.charset = "UTF-8";
  5170. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5171. const script4 = document.createElement("script");
  5172. script4.type = "text/javascript";
  5173. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5174. script4.src = window.origin + "/js/Common/jietu2E.js";
  5175. if (_iframe) {
  5176. if (str == 'doc') {
  5177. _iframe = _formdiv.querySelector('iframe')
  5178. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5179. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5180. _iframe.contentWindow.document.body.appendChild(script1);
  5181. _iframe.contentWindow.document.body.appendChild(script2);
  5182. // _iframe.contentWindow.document.body.appendChild(script3);
  5183. _iframe.contentWindow.document.body.appendChild(script4);
  5184. })
  5185. if (onloadListener) {
  5186. _iframe.contentDocument.location.reload()
  5187. } else {
  5188. _iframe.contentDocument.location.reload()
  5189. }
  5190. } else if (str == 'courseDesign') {
  5191. U.UF.DL.iframeLoad(_iframe, function () {
  5192. // _iframe.contentWindow.U.MD.O.W.load();
  5193. // _iframe.contentWindow.document.body.appendChild(script1);
  5194. _iframe.contentWindow.document.body.appendChild(script2);
  5195. _iframe.contentWindow.document.body.appendChild(script4);
  5196. })
  5197. } else if (str == 'mind') {
  5198. _iframe = _formdiv.querySelector('iframe')
  5199. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5200. //
  5201. _iframe.contentWindow.document.body.appendChild(script1);
  5202. _iframe.contentWindow.document.body.appendChild(script2);
  5203. _iframe.contentWindow.document.body.appendChild(script4);
  5204. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5205. })
  5206. if (onloadListener) {
  5207. _iframe.contentDocument.location.reload()
  5208. } else {
  5209. _iframe.contentDocument.location.reload()
  5210. }
  5211. } else if (str == 'whiteboard') {
  5212. _iframe = _formdiv.querySelector('iframe')
  5213. let onloadListener = _iframe.onload = () => {
  5214. _iframe.contentWindow.document.body.appendChild(script1);
  5215. _iframe.contentWindow.document.body.appendChild(script2);
  5216. _iframe.contentWindow.document.body.appendChild(script4);
  5217. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5218. };
  5219. if (onloadListener) {
  5220. _iframe.contentDocument.location.reload()
  5221. } else {
  5222. _iframe.contentDocument.location.reload()
  5223. }
  5224. } else {
  5225. _iframe.onload = () => {
  5226. _iframe.contentWindow.document.body.appendChild(script1);
  5227. _iframe.contentWindow.document.body.appendChild(script2);
  5228. // _iframe.contentWindow.document.body.appendChild(script3);
  5229. _iframe.contentWindow.document.body.appendChild(script4);
  5230. };
  5231. }
  5232. _jie.onclick = async () => {
  5233. let text = ''
  5234. if (aTool == 1) {
  5235. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5236. } else if (aTool == 6) {
  5237. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5238. } else if (aTool == 3) {
  5239. text = await U.MD.D.I.getEditorContent(_iframe);
  5240. }
  5241. _loading.style.display = 'flex'
  5242. console.log(_loading);
  5243. var _ajs = _iframe.contentWindow.document.createElement("script");
  5244. _ajs.type = "text/javascript";
  5245. _ajs.innerHTML =
  5246. // 'console.log(' + _loading + ');\n' +
  5247. 'var _js = document.createElement("script");\n' +
  5248. '_js.type="text/javascript";\n' +
  5249. '_js.charset="UTF-8";\n' +
  5250. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5251. "_js.onload = function(){\n" +
  5252. ' var a = document.getElementsByTagName("img")\n' +
  5253. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5254. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5255. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5256. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5257. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5258. "beforeUpload_shishi(file," +
  5259. "'" +
  5260. _userid +
  5261. "'" +
  5262. ", " +
  5263. "'" +
  5264. _cid +
  5265. "'" +
  5266. ", " +
  5267. "'" +
  5268. _stage +
  5269. "'" +
  5270. ", " +
  5271. "'" +
  5272. _task +
  5273. "'" +
  5274. ", " +
  5275. "'" +
  5276. _tool +
  5277. "'" +
  5278. ", " +
  5279. "'" +
  5280. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5281. "'" +
  5282. ", " +
  5283. "'" +
  5284. aTool +
  5285. "'" +
  5286. ", " +
  5287. "`" +
  5288. text +
  5289. "`" +
  5290. ")\n" +
  5291. " });\n" +
  5292. "}\n" +
  5293. "document.head.appendChild(_js);\n";
  5294. _iframe.contentWindow.document.head.appendChild(_ajs);
  5295. }
  5296. }
  5297. //U.MD.D.I.openClick(str);
  5298. //如果有任务栏信息
  5299. // if (_taskbar) {
  5300. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5301. // }
  5302. }
  5303. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5304. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5305. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5306. _userid = student.userid, //登录用户id
  5307. _username = student.student //用户名字
  5308. let _iframe;
  5309. let _cid = cid,
  5310. _stage = stage,
  5311. _task = task,
  5312. _tool = tool;
  5313. var _jie = $$("div", {
  5314. "style": {
  5315. "position": "absolute",
  5316. "bottom": "50px",
  5317. "right": "50px",
  5318. "zIndex": "9999",
  5319. "backgroundColor": "#2268bc",
  5320. "color": "#fff",
  5321. "padding": "12px 20px",
  5322. "cursor": "pointer",
  5323. "borderRadius": "4px",
  5324. },
  5325. "innerHTML": "提交作业"
  5326. })
  5327. let aTool = ''
  5328. let _loading = document.createElement('div')
  5329. _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;"
  5330. // _loading.id = "";
  5331. let _lchild = document.createElement('div')
  5332. let _limg = document.createElement('img')
  5333. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5334. _limg.style = "width: 26px;margin-right: 10px;"
  5335. _lchild.appendChild(_limg)
  5336. let _lspan = document.createElement('span')
  5337. _lspan.innerHTML = "上传中..."
  5338. _lchild.appendChild(_lspan)
  5339. _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%);"
  5340. _loading.appendChild(_lchild)
  5341. var _box = $$('div', {
  5342. "style": {
  5343. "position": "relative",
  5344. "width": "100%",
  5345. "height": "100%",
  5346. },
  5347. })
  5348. _box.appendChild(_loading)
  5349. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5350. switch (str) {
  5351. case "whiteboard":
  5352. aTool = 1;
  5353. _iframe = $$("iframe", {
  5354. "frameborder": "no",
  5355. "border": "0",
  5356. "scrolling ": "no",
  5357. "style": {
  5358. "cssText": "border:0;width:100%;height:100%"
  5359. },
  5360. "src": "https://iwb.cocorobo.cn/"
  5361. })
  5362. _box.appendChild(_iframe);
  5363. _box.appendChild(_jie);
  5364. _formdiv = new U.UF.UI.form(
  5365. "电子白板-" + _username,
  5366. _box, {
  5367. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5368. "style": {
  5369. "width": "90%",
  5370. "height": "90%",
  5371. "overflow": 'hidden'
  5372. },
  5373. "onresize": function () { }
  5374. }, {
  5375. closecallback: function () { }
  5376. }, {
  5377. "style": {
  5378. "height": "36px"
  5379. }
  5380. }).form; //创建窗体
  5381. _taskbar = {
  5382. "id": str + _formdiv.id,
  5383. "style": {
  5384. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5385. },
  5386. "name": "电子白板",
  5387. "forms": _formdiv,
  5388. "click": function () {
  5389. U.MD.D.I.openApplication(str, obj, info);
  5390. }
  5391. }
  5392. break;
  5393. case "mind":
  5394. aTool = 3;
  5395. _iframe = $$("iframe", {
  5396. "frameborder": "no",
  5397. "border": "0",
  5398. "scrolling ": "no",
  5399. "style": {
  5400. "cssText": "border:0;width:100%;height:100%"
  5401. },
  5402. "src": "/kityminder-editor/dist/index.html"
  5403. })
  5404. _box.appendChild(_iframe);
  5405. _box.appendChild(_jie);
  5406. _formdiv = new U.UF.UI.form(
  5407. "思维导图-" + _username,
  5408. _box, { //"/jsmind/example/demo.html"
  5409. "id": "mind" + cid + stage + task + tool + _userid,
  5410. "style": {
  5411. "width": "90%",
  5412. "height": "90%",
  5413. "overflow": 'hidden'
  5414. },
  5415. "onresize": function () { }
  5416. }, {
  5417. closecallback: function () { }
  5418. }, {
  5419. "style": {
  5420. "height": "36px"
  5421. }
  5422. }).form; //创建窗体
  5423. _taskbar = {
  5424. "id": str + _formdiv.id,
  5425. "style": {
  5426. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5427. },
  5428. "name": "思维导图",
  5429. "forms": _formdiv,
  5430. "click": function () {
  5431. U.MD.D.I.openApplication(str, obj, info);
  5432. }
  5433. }
  5434. break;
  5435. case "MindMap":
  5436. aTool = 3;
  5437. _iframe = $$("iframe", {
  5438. "frameborder": "no",
  5439. "border": "0",
  5440. "scrolling ": "no",
  5441. "style": {
  5442. "cssText": "border:0;width:100%;height:100%"
  5443. },
  5444. "src": "//cloud.cocorobo.cn/mind/"
  5445. })
  5446. _box.appendChild(_iframe);
  5447. _box.appendChild(_jie);
  5448. _formdiv = new U.UF.UI.form(
  5449. "思维导图-" + _username,
  5450. _box, { //"/jsmind/example/demo.html"
  5451. "id": "mind" + cid + stage + task + tool + _userid,
  5452. "style": {
  5453. "width": "90%",
  5454. "height": "90%",
  5455. "overflow": 'hidden'
  5456. },
  5457. "onresize": function () { }
  5458. }, {
  5459. closecallback: function () { }
  5460. }, {
  5461. "style": {
  5462. "height": "36px"
  5463. }
  5464. }).form; //创建窗体
  5465. _taskbar = {
  5466. "id": str + _formdiv.id,
  5467. "style": {
  5468. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5469. },
  5470. "name": "思维导图",
  5471. "forms": _formdiv,
  5472. "click": function () {
  5473. U.MD.D.I.openApplication(str, obj, info);
  5474. }
  5475. }
  5476. break;
  5477. case "doc":
  5478. aTool = 6;
  5479. _iframe = $$("iframe", {
  5480. "frameborder": "no",
  5481. "border": "0",
  5482. "scrolling ": "no",
  5483. "style": {
  5484. "cssText": "border:0;width:100%;height:100%"
  5485. },
  5486. "src": "/Office/Word/WordEditArea.htm"
  5487. })
  5488. _box.appendChild(_iframe);
  5489. _box.appendChild(_jie);
  5490. _formdiv = new U.UF.UI.form(
  5491. "协同文档-" + _username,
  5492. _box, {
  5493. "id": "doc" + cid + stage + task + tool + _userid,
  5494. "style": {
  5495. "width": "90%",
  5496. "height": "90%",
  5497. "overflow": 'hidden'
  5498. },
  5499. "onresize": function () { }
  5500. }, {
  5501. closecallback: function () { }
  5502. }, {
  5503. "style": {
  5504. "height": "36px"
  5505. }
  5506. }).form; //创建窗体
  5507. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5508. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5509. })
  5510. _taskbar = {
  5511. "id": str + _formdiv.id,
  5512. "style": {
  5513. "backgroundImage": "url(/img/icon/doc.png)"
  5514. },
  5515. "name": "协同文档",
  5516. "forms": _formdiv,
  5517. "click": function () {
  5518. U.MD.D.I.openApplication(str, obj, info);
  5519. }
  5520. }
  5521. break;
  5522. case "mindNetwork": //好友打开
  5523. aTool = 7;
  5524. _iframe = $$("iframe", {
  5525. "webkitallowfullscreen": "",
  5526. "mozallowfullscreen": "",
  5527. "allowfullscreen": "",
  5528. "frameborder": "no",
  5529. "border": "0",
  5530. "scrolling ": "no",
  5531. "style": {
  5532. "cssText": "border:0; width:100%; height:100%;"
  5533. },
  5534. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5535. })
  5536. _box.appendChild(_iframe);
  5537. _box.appendChild(_jie);
  5538. _formdiv = new U.UF.UI.form(
  5539. "思维网格-" + _username,
  5540. _box, {
  5541. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5542. "style": {
  5543. "width": "90%",
  5544. "height": "90%",
  5545. "overflow": 'hidden'
  5546. },
  5547. "onresize": function () { }
  5548. }, {
  5549. closecallback: function () { }
  5550. }, {
  5551. "style": {
  5552. "height": "36px"
  5553. }
  5554. }).form; //创建窗体
  5555. _taskbar = {
  5556. "id": str + _formdiv.id,
  5557. "style": {
  5558. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5559. },
  5560. "name": "思维网格",
  5561. "forms": _formdiv,
  5562. "click": function () {
  5563. U.MD.D.I.openApplication(str, obj, info);
  5564. }
  5565. }
  5566. break;
  5567. case "courseDesign":
  5568. _iframe = $$("iframe", {
  5569. "webkitallowfullscreen": "",
  5570. "mozallowfullscreen": "",
  5571. "allowfullscreen": "",
  5572. "frameborder": "no",
  5573. "border": "0",
  5574. "scrolling ": "no",
  5575. "style": {
  5576. "cssText": "border:0; width:100%; height:100%;"
  5577. },
  5578. "src": "/course-design-vue"
  5579. })
  5580. _box.appendChild(_iframe);
  5581. _box.appendChild(_jie);
  5582. _formdiv = new U.UF.UI.form(
  5583. "项目设计-" + _username,
  5584. _box, {
  5585. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5586. "style": {
  5587. "width": "90%",
  5588. "height": "90%",
  5589. "overflow": 'hidden'
  5590. },
  5591. "onresize": function () { }
  5592. }, {
  5593. closecallback: function () { }
  5594. }, {
  5595. "style": {
  5596. "height": "36px"
  5597. }
  5598. }).form; //创建窗体
  5599. _taskbar = {
  5600. "id": str + _formdiv.id,
  5601. "style": {
  5602. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5603. },
  5604. "name": "项目设计",
  5605. "forms": _formdiv,
  5606. "click": function () {
  5607. U.MD.D.I.openApplication(str, obj, info);
  5608. }
  5609. }
  5610. break;
  5611. }
  5612. const script1 = document.createElement("script");
  5613. script1.type = "text/javascript";
  5614. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5615. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5616. const script2 = document.createElement("script");
  5617. script2.type = "text/javascript";
  5618. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5619. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5620. const script3 = document.createElement("script");
  5621. script3.type = "text/javascript";
  5622. script3.charset = "UTF-8";
  5623. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5624. const script4 = document.createElement("script");
  5625. script4.type = "text/javascript";
  5626. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5627. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5628. if (_iframe) {
  5629. if (str == 'doc') {
  5630. _iframe = _formdiv.querySelector('iframe')
  5631. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5632. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5633. _iframe.contentWindow.document.body.appendChild(script1);
  5634. _iframe.contentWindow.document.body.appendChild(script2);
  5635. // _iframe.contentWindow.document.body.appendChild(script3);
  5636. _iframe.contentWindow.document.body.appendChild(script4);
  5637. })
  5638. if (onloadListener) {
  5639. _iframe.contentDocument.location.reload()
  5640. } else {
  5641. _iframe.contentDocument.location.reload()
  5642. }
  5643. } else if (str == 'courseDesign') {
  5644. U.UF.DL.iframeLoad(_iframe, function () {
  5645. // _iframe.contentWindow.U.MD.O.W.load();
  5646. // _iframe.contentWindow.document.body.appendChild(script1);
  5647. _iframe.contentWindow.document.body.appendChild(script2);
  5648. _iframe.contentWindow.document.body.appendChild(script4);
  5649. })
  5650. } else if (str == 'mind') {
  5651. _iframe = _formdiv.querySelector('iframe')
  5652. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5653. //
  5654. _iframe.contentWindow.document.body.appendChild(script1);
  5655. _iframe.contentWindow.document.body.appendChild(script2);
  5656. _iframe.contentWindow.document.body.appendChild(script4);
  5657. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5658. })
  5659. if (onloadListener) {
  5660. _iframe.contentDocument.location.reload()
  5661. } else {
  5662. _iframe.contentDocument.location.reload()
  5663. }
  5664. } else if (str == 'whiteboard') {
  5665. _iframe = _formdiv.querySelector('iframe')
  5666. let onloadListener = _iframe.onload = () => {
  5667. _iframe.contentWindow.document.body.appendChild(script1);
  5668. _iframe.contentWindow.document.body.appendChild(script2);
  5669. _iframe.contentWindow.document.body.appendChild(script4);
  5670. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5671. };
  5672. if (onloadListener) {
  5673. _iframe.contentDocument.location.reload()
  5674. } else {
  5675. _iframe.contentDocument.location.reload()
  5676. }
  5677. } else {
  5678. _iframe.onload = () => {
  5679. _iframe.contentWindow.document.body.appendChild(script1);
  5680. _iframe.contentWindow.document.body.appendChild(script2);
  5681. // _iframe.contentWindow.document.body.appendChild(script3);
  5682. _iframe.contentWindow.document.body.appendChild(script4);
  5683. };
  5684. }
  5685. _jie.onclick = async () => {
  5686. let text = ''
  5687. if (aTool == 1) {
  5688. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5689. } else if (aTool == 6) {
  5690. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5691. } else if (aTool == 3) {
  5692. text = await U.MD.D.I.getEditorContent(_iframe);
  5693. }
  5694. _loading.style.display = 'flex'
  5695. console.log(_loading);
  5696. var _ajs = _iframe.contentWindow.document.createElement("script");
  5697. _ajs.type = "text/javascript";
  5698. _ajs.innerHTML =
  5699. // 'console.log(' + _loading + ');\n' +
  5700. 'var _js = document.createElement("script");\n' +
  5701. '_js.type="text/javascript";\n' +
  5702. '_js.charset="UTF-8";\n' +
  5703. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5704. "_js.onload = function(){\n" +
  5705. ' var a = document.getElementsByTagName("img")\n' +
  5706. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5707. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5708. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5709. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5710. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5711. "beforeUpload_shishi(file," +
  5712. "'" +
  5713. _userid +
  5714. "'" +
  5715. ", " +
  5716. "'" +
  5717. _cid +
  5718. "'" +
  5719. ", " +
  5720. "'" +
  5721. _stage +
  5722. "'" +
  5723. ", " +
  5724. "'" +
  5725. _task +
  5726. "'" +
  5727. ", " +
  5728. "'" +
  5729. _tool +
  5730. "'" +
  5731. ", " +
  5732. "'" +
  5733. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5734. "'" +
  5735. ", " +
  5736. "'" +
  5737. aTool +
  5738. "'" +
  5739. ", " +
  5740. "`" +
  5741. text +
  5742. "`" +
  5743. ")\n" +
  5744. " });\n" +
  5745. "}\n" +
  5746. "document.head.appendChild(_js);\n";
  5747. _iframe.contentWindow.document.head.appendChild(_ajs);
  5748. }
  5749. }
  5750. }
  5751. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  5752. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5753. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5754. _userid = student.userid, //登录用户id
  5755. _username = student.student //用户名字
  5756. let _iframe;
  5757. let _cid = cid,
  5758. _stage = stage,
  5759. _task = task,
  5760. _tool = tool;
  5761. var _jie = $$("div", {
  5762. "style": {
  5763. "position": "absolute",
  5764. "bottom": "50px",
  5765. "right": "50px",
  5766. "zIndex": "9999",
  5767. "backgroundColor": "#2268bc",
  5768. "color": "#fff",
  5769. "padding": "12px 20px",
  5770. "cursor": "pointer",
  5771. "borderRadius": "4px",
  5772. },
  5773. "innerHTML": "提交作业"
  5774. })
  5775. let aTool = ''
  5776. let _loading = document.createElement('div')
  5777. _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;"
  5778. // _loading.id = "";
  5779. let _lchild = document.createElement('div')
  5780. let _limg = document.createElement('img')
  5781. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5782. _limg.style = "width: 26px;margin-right: 10px;"
  5783. _lchild.appendChild(_limg)
  5784. let _lspan = document.createElement('span')
  5785. _lspan.innerHTML = "上传中..."
  5786. _lchild.appendChild(_lspan)
  5787. _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%);"
  5788. _loading.appendChild(_lchild)
  5789. var _box = $$('div', {
  5790. "style": {
  5791. "position": "relative",
  5792. "width": "100%",
  5793. "height": "100%",
  5794. },
  5795. })
  5796. _box.appendChild(_loading)
  5797. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5798. switch (str) {
  5799. case "whiteboard":
  5800. aTool = 1;
  5801. _iframe = $$("iframe", {
  5802. "frameborder": "no",
  5803. "border": "0",
  5804. "scrolling ": "no",
  5805. "style": {
  5806. "cssText": "border:0;width:100%;height:100%"
  5807. },
  5808. "src": "https://iwb.cocorobo.cn/"
  5809. })
  5810. _box.appendChild(_iframe);
  5811. _box.appendChild(_jie);
  5812. _formdiv = new U.UF.UI.form(
  5813. "电子白板-" + _username,
  5814. _box, {
  5815. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5816. "style": {
  5817. "width": "90%",
  5818. "height": "90%",
  5819. "overflow": 'hidden'
  5820. },
  5821. "onresize": function () { }
  5822. }, {
  5823. closecallback: function () { }
  5824. }, {
  5825. "style": {
  5826. "height": "36px"
  5827. }
  5828. }).form; //创建窗体
  5829. _taskbar = {
  5830. "id": str + _formdiv.id,
  5831. "style": {
  5832. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5833. },
  5834. "name": "电子白板",
  5835. "forms": _formdiv,
  5836. "click": function () {
  5837. U.MD.D.I.openApplication(str, obj, info);
  5838. }
  5839. }
  5840. break;
  5841. case "mind":
  5842. aTool = 3;
  5843. _iframe = $$("iframe", {
  5844. "frameborder": "no",
  5845. "border": "0",
  5846. "scrolling ": "no",
  5847. "style": {
  5848. "cssText": "border:0;width:100%;height:100%"
  5849. },
  5850. "src": "/kityminder-editor/dist/index.html"
  5851. })
  5852. _box.appendChild(_iframe);
  5853. _box.appendChild(_jie);
  5854. _formdiv = new U.UF.UI.form(
  5855. "思维导图-" + _username,
  5856. _box, { //"/jsmind/example/demo.html"
  5857. "id": "mind" + cid + stage + task + tool + _userid,
  5858. "style": {
  5859. "width": "90%",
  5860. "height": "90%",
  5861. "overflow": 'hidden'
  5862. },
  5863. "onresize": function () { }
  5864. }, {
  5865. closecallback: function () { }
  5866. }, {
  5867. "style": {
  5868. "height": "36px"
  5869. }
  5870. }).form; //创建窗体
  5871. _taskbar = {
  5872. "id": str + _formdiv.id,
  5873. "style": {
  5874. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5875. },
  5876. "name": "思维导图",
  5877. "forms": _formdiv,
  5878. "click": function () {
  5879. U.MD.D.I.openApplication(str, obj, info);
  5880. }
  5881. }
  5882. break;
  5883. case "MindMap":
  5884. aTool = 3;
  5885. _iframe = $$("iframe", {
  5886. "frameborder": "no",
  5887. "border": "0",
  5888. "scrolling ": "no",
  5889. "style": {
  5890. "cssText": "border:0;width:100%;height:100%"
  5891. },
  5892. "src": "//cloud.cocorobo.cn/mind/"
  5893. })
  5894. _box.appendChild(_iframe);
  5895. _box.appendChild(_jie);
  5896. _formdiv = new U.UF.UI.form(
  5897. "思维导图-" + _username,
  5898. _box, { //"/jsmind/example/demo.html"
  5899. "id": "mind" + cid + stage + task + tool + _userid,
  5900. "style": {
  5901. "width": "90%",
  5902. "height": "90%",
  5903. "overflow": 'hidden'
  5904. },
  5905. "onresize": function () { }
  5906. }, {
  5907. closecallback: function () { }
  5908. }, {
  5909. "style": {
  5910. "height": "36px"
  5911. }
  5912. }).form; //创建窗体
  5913. _taskbar = {
  5914. "id": str + _formdiv.id,
  5915. "style": {
  5916. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5917. },
  5918. "name": "思维导图",
  5919. "forms": _formdiv,
  5920. "click": function () {
  5921. U.MD.D.I.openApplication(str, obj, info);
  5922. }
  5923. }
  5924. break;
  5925. case "doc":
  5926. aTool = 6;
  5927. _iframe = $$("iframe", {
  5928. "frameborder": "no",
  5929. "border": "0",
  5930. "scrolling ": "no",
  5931. "style": {
  5932. "cssText": "border:0;width:100%;height:100%"
  5933. },
  5934. "src": "/Office/Word/WordEditArea.htm"
  5935. })
  5936. _box.appendChild(_iframe);
  5937. _box.appendChild(_jie);
  5938. _formdiv = new U.UF.UI.form(
  5939. "协同文档-" + _username,
  5940. _box, {
  5941. "id": "doc" + cid + stage + task + tool + _userid,
  5942. "style": {
  5943. "width": "90%",
  5944. "height": "90%",
  5945. "overflow": 'hidden'
  5946. },
  5947. "onresize": function () { }
  5948. }, {
  5949. closecallback: function () { }
  5950. }, {
  5951. "style": {
  5952. "height": "36px"
  5953. }
  5954. }).form; //创建窗体
  5955. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5956. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5957. })
  5958. _taskbar = {
  5959. "id": str + _formdiv.id,
  5960. "style": {
  5961. "backgroundImage": "url(/img/icon/doc.png)"
  5962. },
  5963. "name": "协同文档",
  5964. "forms": _formdiv,
  5965. "click": function () {
  5966. U.MD.D.I.openApplication(str, obj, info);
  5967. }
  5968. }
  5969. break;
  5970. case "mindNetwork": //好友打开
  5971. aTool = 7;
  5972. _iframe = $$("iframe", {
  5973. "webkitallowfullscreen": "",
  5974. "mozallowfullscreen": "",
  5975. "allowfullscreen": "",
  5976. "frameborder": "no",
  5977. "border": "0",
  5978. "scrolling ": "no",
  5979. "style": {
  5980. "cssText": "border:0; width:100%; height:100%;"
  5981. },
  5982. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5983. })
  5984. _box.appendChild(_iframe);
  5985. _box.appendChild(_jie);
  5986. _formdiv = new U.UF.UI.form(
  5987. "思维网格-" + _username,
  5988. _box, {
  5989. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5990. "style": {
  5991. "width": "90%",
  5992. "height": "90%",
  5993. "overflow": 'hidden'
  5994. },
  5995. "onresize": function () { }
  5996. }, {
  5997. closecallback: function () { }
  5998. }, {
  5999. "style": {
  6000. "height": "36px"
  6001. }
  6002. }).form; //创建窗体
  6003. _taskbar = {
  6004. "id": str + _formdiv.id,
  6005. "style": {
  6006. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6007. },
  6008. "name": "思维网格",
  6009. "forms": _formdiv,
  6010. "click": function () {
  6011. U.MD.D.I.openApplication(str, obj, info);
  6012. }
  6013. }
  6014. break;
  6015. case "courseDesign":
  6016. _iframe = $$("iframe", {
  6017. "webkitallowfullscreen": "",
  6018. "mozallowfullscreen": "",
  6019. "allowfullscreen": "",
  6020. "frameborder": "no",
  6021. "border": "0",
  6022. "scrolling ": "no",
  6023. "style": {
  6024. "cssText": "border:0; width:100%; height:100%;"
  6025. },
  6026. "src": "/course-design-vue"
  6027. })
  6028. _box.appendChild(_iframe);
  6029. _box.appendChild(_jie);
  6030. _formdiv = new U.UF.UI.form(
  6031. "项目设计-" + _username,
  6032. _box, {
  6033. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6034. "style": {
  6035. "width": "90%",
  6036. "height": "90%",
  6037. "overflow": 'hidden'
  6038. },
  6039. "onresize": function () { }
  6040. }, {
  6041. closecallback: function () { }
  6042. }, {
  6043. "style": {
  6044. "height": "36px"
  6045. }
  6046. }).form; //创建窗体
  6047. _taskbar = {
  6048. "id": str + _formdiv.id,
  6049. "style": {
  6050. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6051. },
  6052. "name": "项目设计",
  6053. "forms": _formdiv,
  6054. "click": function () {
  6055. U.MD.D.I.openApplication(str, obj, info);
  6056. }
  6057. }
  6058. break;
  6059. }
  6060. const script1 = document.createElement("script");
  6061. script1.type = "text/javascript";
  6062. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6063. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6064. const script2 = document.createElement("script");
  6065. script2.type = "text/javascript";
  6066. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6067. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6068. const script3 = document.createElement("script");
  6069. script3.type = "text/javascript";
  6070. script3.charset = "UTF-8";
  6071. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6072. const script4 = document.createElement("script");
  6073. script4.type = "text/javascript";
  6074. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6075. script4.src = window.origin + "/js/Common/jietu2E.js";
  6076. if (_iframe) {
  6077. if (str == 'doc') {
  6078. _iframe = _formdiv.querySelector('iframe')
  6079. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6080. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6081. _iframe.contentWindow.document.body.appendChild(script1);
  6082. _iframe.contentWindow.document.body.appendChild(script2);
  6083. // _iframe.contentWindow.document.body.appendChild(script3);
  6084. _iframe.contentWindow.document.body.appendChild(script4);
  6085. })
  6086. if (onloadListener) {
  6087. _iframe.contentDocument.location.reload()
  6088. } else {
  6089. _iframe.contentDocument.location.reload()
  6090. }
  6091. } else if (str == 'courseDesign') {
  6092. U.UF.DL.iframeLoad(_iframe, function () {
  6093. // _iframe.contentWindow.U.MD.O.W.load();
  6094. // _iframe.contentWindow.document.body.appendChild(script1);
  6095. _iframe.contentWindow.document.body.appendChild(script2);
  6096. _iframe.contentWindow.document.body.appendChild(script4);
  6097. })
  6098. } else if (str == 'mind') {
  6099. _iframe = _formdiv.querySelector('iframe')
  6100. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6101. //
  6102. _iframe.contentWindow.document.body.appendChild(script1);
  6103. _iframe.contentWindow.document.body.appendChild(script2);
  6104. _iframe.contentWindow.document.body.appendChild(script4);
  6105. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6106. })
  6107. if (onloadListener) {
  6108. _iframe.contentDocument.location.reload()
  6109. } else {
  6110. _iframe.contentDocument.location.reload()
  6111. }
  6112. } else if (str == 'whiteboard') {
  6113. _iframe = _formdiv.querySelector('iframe')
  6114. let onloadListener = _iframe.onload = () => {
  6115. _iframe.contentWindow.document.body.appendChild(script1);
  6116. _iframe.contentWindow.document.body.appendChild(script2);
  6117. _iframe.contentWindow.document.body.appendChild(script4);
  6118. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6119. };
  6120. if (onloadListener) {
  6121. _iframe.contentDocument.location.reload()
  6122. } else {
  6123. _iframe.contentDocument.location.reload()
  6124. }
  6125. } else {
  6126. _iframe.onload = () => {
  6127. _iframe.contentWindow.document.body.appendChild(script1);
  6128. _iframe.contentWindow.document.body.appendChild(script2);
  6129. // _iframe.contentWindow.document.body.appendChild(script3);
  6130. _iframe.contentWindow.document.body.appendChild(script4);
  6131. };
  6132. }
  6133. _jie.onclick = async () => {
  6134. let text = ''
  6135. if (aTool == 1) {
  6136. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6137. } else if (aTool == 6) {
  6138. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6139. } else if (aTool == 3) {
  6140. text = await U.MD.D.I.getEditorContent(_iframe);
  6141. }
  6142. _loading.style.display = 'flex'
  6143. console.log(_loading);
  6144. var _ajs = _iframe.contentWindow.document.createElement("script");
  6145. _ajs.type = "text/javascript";
  6146. _ajs.innerHTML =
  6147. // 'console.log(' + _loading + ');\n' +
  6148. 'var _js = document.createElement("script");\n' +
  6149. '_js.type="text/javascript";\n' +
  6150. '_js.charset="UTF-8";\n' +
  6151. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6152. "_js.onload = function(){\n" +
  6153. ' var a = document.getElementsByTagName("img")\n' +
  6154. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6155. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6156. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6157. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6158. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6159. "beforeUpload_shishi(file," +
  6160. "'" +
  6161. _userid +
  6162. "'" +
  6163. ", " +
  6164. "'" +
  6165. _cid +
  6166. "'" +
  6167. ", " +
  6168. "'" +
  6169. _stage +
  6170. "'" +
  6171. ", " +
  6172. "'" +
  6173. _task +
  6174. "'" +
  6175. ", " +
  6176. "'" +
  6177. _tool +
  6178. "'" +
  6179. ", " +
  6180. "'" +
  6181. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6182. "'" +
  6183. ", " +
  6184. "'" +
  6185. aTool +
  6186. "'" +
  6187. ", " +
  6188. "`" +
  6189. text +
  6190. "`" +
  6191. ")\n" +
  6192. " });\n" +
  6193. "}\n" +
  6194. "document.head.appendChild(_js);\n";
  6195. _iframe.contentWindow.document.head.appendChild(_ajs);
  6196. }
  6197. }
  6198. }
  6199. U.MD.D.I.getEditorContent = function (iframe) {
  6200. return new Promise((resolve, reject) => {
  6201. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6202. console.log(content);
  6203. resolve(content)
  6204. });
  6205. });
  6206. }
  6207. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6208. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6209. // if (res.value[0].length > 0) {
  6210. // // resolve(res.value[0][0].text);
  6211. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6212. // $(fileInput).val('');
  6213. // });
  6214. // }
  6215. // }, [], { "type": "GET", "withCredentials": true });
  6216. var xmlhttp;
  6217. var Mac, Sn, DeviceId
  6218. if (window.XMLHttpRequest) {
  6219. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6220. xmlhttp = new XMLHttpRequest();
  6221. } else {
  6222. // IE6, IE5 浏览器执行代码
  6223. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6224. }
  6225. xmlhttp.onreadystatechange = function () {
  6226. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6227. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6228. // resolve(res.value[0][0].text);
  6229. if (type == '2') {
  6230. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6231. } else if (type == '3') {
  6232. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6233. }
  6234. } else {
  6235. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6236. }
  6237. }
  6238. }
  6239. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6240. xmlhttp.send();
  6241. }
  6242. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6243. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6244. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6245. _userinfo = US.userInfo, //登录用户信息
  6246. _userid = US.userInfo.userid //登录用户id
  6247. let _iframe;
  6248. let _cid = cid,
  6249. _stage = stage,
  6250. _task = task,
  6251. _tool = tool;
  6252. var _jie = $$("div", {
  6253. "style": {
  6254. "position": "absolute",
  6255. "bottom": "50px",
  6256. "right": "50px",
  6257. "zIndex": "9999",
  6258. "backgroundColor": "#2268bc",
  6259. "color": "#fff",
  6260. "padding": "12px 20px",
  6261. "cursor": "pointer",
  6262. "borderRadius": "4px",
  6263. },
  6264. "innerHTML": "确认并提交"
  6265. })
  6266. let aTool = ''
  6267. let _loading = document.createElement('div')
  6268. _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;"
  6269. // _loading.id = "";
  6270. let _lchild = document.createElement('div')
  6271. let _limg = document.createElement('img')
  6272. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6273. _limg.style = "width: 26px;margin-right: 10px;"
  6274. _lchild.appendChild(_limg)
  6275. let _lspan = document.createElement('span')
  6276. _lspan.innerHTML = "上传中..."
  6277. _lchild.appendChild(_lspan)
  6278. _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%);"
  6279. _loading.appendChild(_lchild)
  6280. var _box = $$('div', {
  6281. "style": {
  6282. "position": "relative",
  6283. "width": "100%",
  6284. "height": "100%",
  6285. },
  6286. })
  6287. _box.appendChild(_loading)
  6288. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6289. switch (str) {
  6290. case "whiteboard":
  6291. aTool = 1;
  6292. _iframe = $$("iframe", {
  6293. "frameborder": "no",
  6294. "border": "0",
  6295. "scrolling ": "no",
  6296. "style": {
  6297. "cssText": "border:0;width:100%;height:100%"
  6298. },
  6299. "src": "https://iwb.cocorobo.cn/"
  6300. })
  6301. _box.appendChild(_iframe);
  6302. _box.appendChild(_jie);
  6303. _formdiv = new U.UF.UI.form(
  6304. "电子白板",
  6305. _box, {
  6306. "id": "whiteboards" + cid + stage + task + tool,
  6307. "style": {
  6308. "width": "90%",
  6309. "height": "90%",
  6310. "overflow": 'hidden'
  6311. },
  6312. "onresize": function () { }
  6313. }, {
  6314. closecallback: function () { }
  6315. }, {
  6316. "style": {
  6317. "height": "36px"
  6318. }
  6319. }).form; //创建窗体
  6320. _taskbar = {
  6321. "id": str + _formdiv.id,
  6322. "style": {
  6323. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6324. },
  6325. "name": "电子白板",
  6326. "forms": _formdiv,
  6327. "click": function () {
  6328. U.MD.D.I.openApplication(str, obj, info);
  6329. }
  6330. }
  6331. break;
  6332. case "mind":
  6333. aTool = 3;
  6334. _iframe = $$("iframe", {
  6335. "frameborder": "no",
  6336. "border": "0",
  6337. "scrolling ": "no",
  6338. "style": {
  6339. "cssText": "border:0;width:100%;height:100%"
  6340. },
  6341. "src": "/kityminder-editor/dist/index.html"
  6342. });
  6343. _box.appendChild(_iframe);
  6344. _box.appendChild(_jie);
  6345. _formdiv = new U.UF.UI.form(
  6346. "思维导图",
  6347. _box, { //"/jsmind/example/demo.html"
  6348. "id": "minds" + cid + stage + task + tool,
  6349. "style": {
  6350. "width": "90%",
  6351. "height": "90%",
  6352. "overflow": 'hidden'
  6353. },
  6354. "onresize": function () { }
  6355. }, {
  6356. closecallback: function () { }
  6357. }, {
  6358. "style": {
  6359. "height": "36px"
  6360. }
  6361. }).form; //创建窗体
  6362. _taskbar = {
  6363. "id": str + _formdiv.id,
  6364. "style": {
  6365. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6366. },
  6367. "name": "思维导图",
  6368. "forms": _formdiv,
  6369. "click": function () {
  6370. U.MD.D.I.openApplication(str, obj, info);
  6371. }
  6372. }
  6373. break;
  6374. case "doc":
  6375. aTool = 6;
  6376. _iframe = $$("iframe", {
  6377. "frameborder": "no",
  6378. "border": "0",
  6379. "scrolling ": "no",
  6380. "style": {
  6381. "cssText": "border:0;width:100%;height:100%"
  6382. },
  6383. "src": "/Office/Word/WordEditArea.htm"
  6384. })
  6385. _box.appendChild(_iframe);
  6386. _box.appendChild(_jie);
  6387. _formdiv = new U.UF.UI.form(
  6388. "协同文档",
  6389. _box, {
  6390. "id": "docs" + cid + stage + task + tool,
  6391. "style": {
  6392. "width": "90%",
  6393. "height": "90%",
  6394. "overflow": 'hidden'
  6395. },
  6396. "onresize": function () { }
  6397. }, {
  6398. closecallback: function () { }
  6399. }, {
  6400. "style": {
  6401. "height": "36px"
  6402. }
  6403. }).form; //创建窗体
  6404. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6405. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6406. })
  6407. _taskbar = {
  6408. "id": str + _formdiv.id,
  6409. "style": {
  6410. "backgroundImage": "url(/img/icon/doc.png)"
  6411. },
  6412. "name": "协同文档",
  6413. "forms": _formdiv,
  6414. "click": function () {
  6415. U.MD.D.I.openApplication(str, obj, info);
  6416. }
  6417. }
  6418. break;
  6419. }
  6420. const script1 = document.createElement("script");
  6421. script1.type = "text/javascript";
  6422. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6423. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6424. const script2 = document.createElement("script");
  6425. script2.type = "text/javascript";
  6426. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6427. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6428. const script3 = document.createElement("script");
  6429. script3.type = "text/javascript";
  6430. script3.charset = "UTF-8";
  6431. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6432. const script4 = document.createElement("script");
  6433. script4.type = "text/javascript";
  6434. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6435. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6436. if (_iframe) {
  6437. if (str == 'doc') {
  6438. _iframe = _formdiv.querySelector('iframe')
  6439. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6440. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6441. _iframe.contentWindow.document.body.appendChild(script1);
  6442. _iframe.contentWindow.document.body.appendChild(script2);
  6443. // _iframe.contentWindow.document.body.appendChild(script3);
  6444. _iframe.contentWindow.document.body.appendChild(script4);
  6445. })
  6446. if (onloadListener) {
  6447. _iframe.contentDocument.location.reload()
  6448. } else {
  6449. _iframe.contentDocument.location.reload()
  6450. }
  6451. } else if (str == 'mind') {
  6452. _iframe = _formdiv.querySelector('iframe')
  6453. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6454. _iframe.contentWindow.document.body.appendChild(script1);
  6455. _iframe.contentWindow.document.body.appendChild(script2);
  6456. _iframe.contentWindow.document.body.appendChild(script4);
  6457. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6458. })
  6459. if (onloadListener) {
  6460. _iframe.contentDocument.location.reload()
  6461. } else {
  6462. _iframe.contentDocument.location.reload()
  6463. }
  6464. } else {
  6465. _iframe.onload = () => {
  6466. _iframe.contentWindow.document.body.appendChild(script1);
  6467. _iframe.contentWindow.document.body.appendChild(script2);
  6468. // _iframe.contentWindow.document.body.appendChild(script3);
  6469. _iframe.contentWindow.document.body.appendChild(script4);
  6470. };
  6471. }
  6472. _jie.onclick = async () => {
  6473. let text = ''
  6474. if (aTool == 6) {
  6475. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6476. } else if (aTool == 3) {
  6477. text = await U.MD.D.I.getEditorContent(_iframe);
  6478. }
  6479. _loading.style.display = 'flex'
  6480. console.log(_loading);
  6481. var _ajs = _iframe.contentWindow.document.createElement("script");
  6482. _ajs.type = "text/javascript";
  6483. _ajs.innerHTML =
  6484. // 'console.log(' + _loading + ');\n' +
  6485. 'var _js = document.createElement("script");\n' +
  6486. '_js.type="text/javascript";\n' +
  6487. '_js.charset="UTF-8";\n' +
  6488. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6489. "_js.onload = function(){\n" +
  6490. ' var a = document.getElementsByTagName("img")\n' +
  6491. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6492. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6493. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6494. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6495. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6496. "beforeUpload_shishi(file," +
  6497. "'" +
  6498. _userid +
  6499. "'" +
  6500. ", " +
  6501. "'" +
  6502. _cid +
  6503. "'" +
  6504. ", " +
  6505. "'" +
  6506. _stage +
  6507. "'" +
  6508. ", " +
  6509. "'" +
  6510. _task +
  6511. "'" +
  6512. ", " +
  6513. "'" +
  6514. _tool +
  6515. "'" +
  6516. ", " +
  6517. "'" +
  6518. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6519. "'" +
  6520. ", " +
  6521. "'" +
  6522. aTool +
  6523. "'" +
  6524. ", " +
  6525. "`" +
  6526. text +
  6527. "`" +
  6528. ")\n" +
  6529. " });\n" +
  6530. "}\n" +
  6531. "document.head.appendChild(_js);\n";
  6532. _iframe.contentWindow.document.head.appendChild(_ajs);
  6533. }
  6534. }
  6535. //U.MD.D.I.openClick(str);
  6536. //如果有任务栏信息
  6537. // if (_taskbar) {
  6538. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6539. // }
  6540. }
  6541. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6542. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6543. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6544. _userinfo = US.userInfo, //登录用户信息
  6545. _userid = US.userInfo.userid //登录用户id
  6546. let _iframe;
  6547. let _cid = cid,
  6548. _stage = stage,
  6549. _task = task,
  6550. _tool = tool;
  6551. var _jie = $$("div", {
  6552. "style": {
  6553. "position": "absolute",
  6554. "bottom": "50px",
  6555. "right": "50px",
  6556. "zIndex": "9999",
  6557. "backgroundColor": "#2268bc",
  6558. "color": "#fff",
  6559. "padding": "12px 20px",
  6560. "cursor": "pointer",
  6561. "borderRadius": "4px",
  6562. },
  6563. "innerHTML": "确认并提交"
  6564. })
  6565. let aTool = ''
  6566. let _loading = document.createElement('div')
  6567. _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;"
  6568. // _loading.id = "";
  6569. let _lchild = document.createElement('div')
  6570. let _limg = document.createElement('img')
  6571. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6572. _limg.style = "width: 26px;margin-right: 10px;"
  6573. _lchild.appendChild(_limg)
  6574. let _lspan = document.createElement('span')
  6575. _lspan.innerHTML = "上传中..."
  6576. _lchild.appendChild(_lspan)
  6577. _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%);"
  6578. _loading.appendChild(_lchild)
  6579. var _box = $$('div', {
  6580. "style": {
  6581. "position": "relative",
  6582. "width": "100%",
  6583. "height": "100%",
  6584. },
  6585. })
  6586. _box.appendChild(_loading)
  6587. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6588. switch (str) {
  6589. case "whiteboard":
  6590. aTool = 1;
  6591. _iframe = $$("iframe", {
  6592. "frameborder": "no",
  6593. "border": "0",
  6594. "scrolling ": "no",
  6595. "style": {
  6596. "cssText": "border:0;width:100%;height:100%"
  6597. },
  6598. "src": "https://iwb.cocorobo.cn/"
  6599. })
  6600. _box.appendChild(_iframe);
  6601. _box.appendChild(_jie);
  6602. _formdiv = new U.UF.UI.form(
  6603. "电子白板",
  6604. _box, {
  6605. "id": "whiteboards" + cid + stage + task + tool,
  6606. "style": {
  6607. "width": "90%",
  6608. "height": "90%",
  6609. "overflow": 'hidden'
  6610. },
  6611. "onresize": function () { }
  6612. }, {
  6613. closecallback: function () { }
  6614. }, {
  6615. "style": {
  6616. "height": "36px"
  6617. }
  6618. }).form; //创建窗体
  6619. _taskbar = {
  6620. "id": str + _formdiv.id,
  6621. "style": {
  6622. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6623. },
  6624. "name": "电子白板",
  6625. "forms": _formdiv,
  6626. "click": function () {
  6627. U.MD.D.I.openApplication(str, obj, info);
  6628. }
  6629. }
  6630. break;
  6631. case "mind":
  6632. aTool = 3;
  6633. _iframe = $$("iframe", {
  6634. "frameborder": "no",
  6635. "border": "0",
  6636. "scrolling ": "no",
  6637. "style": {
  6638. "cssText": "border:0;width:100%;height:100%"
  6639. },
  6640. "src": "/kityminder-editor/dist/index.html"
  6641. });
  6642. _box.appendChild(_iframe);
  6643. _box.appendChild(_jie);
  6644. _formdiv = new U.UF.UI.form(
  6645. "思维导图",
  6646. _box, { //"/jsmind/example/demo.html"
  6647. "id": "minds" + cid + stage + task + tool,
  6648. "style": {
  6649. "width": "90%",
  6650. "height": "90%",
  6651. "overflow": 'hidden'
  6652. },
  6653. "onresize": function () { }
  6654. }, {
  6655. closecallback: function () { }
  6656. }, {
  6657. "style": {
  6658. "height": "36px"
  6659. }
  6660. }).form; //创建窗体
  6661. _taskbar = {
  6662. "id": str + _formdiv.id,
  6663. "style": {
  6664. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6665. },
  6666. "name": "思维导图",
  6667. "forms": _formdiv,
  6668. "click": function () {
  6669. U.MD.D.I.openApplication(str, obj, info);
  6670. }
  6671. }
  6672. break;
  6673. case "doc":
  6674. aTool = 6;
  6675. _iframe = $$("iframe", {
  6676. "frameborder": "no",
  6677. "border": "0",
  6678. "scrolling ": "no",
  6679. "style": {
  6680. "cssText": "border:0;width:100%;height:100%"
  6681. },
  6682. "src": "/Office/Word/WordEditArea.htm"
  6683. })
  6684. _box.appendChild(_iframe);
  6685. _box.appendChild(_jie);
  6686. _formdiv = new U.UF.UI.form(
  6687. "协同文档",
  6688. _box, {
  6689. "id": "docs" + cid + stage + task + tool,
  6690. "style": {
  6691. "width": "90%",
  6692. "height": "90%",
  6693. "overflow": 'hidden'
  6694. },
  6695. "onresize": function () { }
  6696. }, {
  6697. closecallback: function () { }
  6698. }, {
  6699. "style": {
  6700. "height": "36px"
  6701. }
  6702. }).form; //创建窗体
  6703. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6704. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6705. })
  6706. _taskbar = {
  6707. "id": str + _formdiv.id,
  6708. "style": {
  6709. "backgroundImage": "url(/img/icon/doc.png)"
  6710. },
  6711. "name": "协同文档",
  6712. "forms": _formdiv,
  6713. "click": function () {
  6714. U.MD.D.I.openApplication(str, obj, info);
  6715. }
  6716. }
  6717. break;
  6718. }
  6719. const script1 = document.createElement("script");
  6720. script1.type = "text/javascript";
  6721. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6722. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6723. const script2 = document.createElement("script");
  6724. script2.type = "text/javascript";
  6725. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6726. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6727. const script3 = document.createElement("script");
  6728. script3.type = "text/javascript";
  6729. script3.charset = "UTF-8";
  6730. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6731. const script4 = document.createElement("script");
  6732. script4.type = "text/javascript";
  6733. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6734. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6735. if (_iframe) {
  6736. if (str == 'doc') {
  6737. _iframe = _formdiv.querySelector('iframe')
  6738. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6739. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6740. _iframe.contentWindow.document.body.appendChild(script1);
  6741. _iframe.contentWindow.document.body.appendChild(script2);
  6742. // _iframe.contentWindow.document.body.appendChild(script3);
  6743. _iframe.contentWindow.document.body.appendChild(script4);
  6744. })
  6745. if (onloadListener) {
  6746. _iframe.contentDocument.location.reload()
  6747. } else {
  6748. _iframe.contentDocument.location.reload()
  6749. }
  6750. } else if (str == 'mind') {
  6751. _iframe = _formdiv.querySelector('iframe')
  6752. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6753. _iframe.contentWindow.document.body.appendChild(script1);
  6754. _iframe.contentWindow.document.body.appendChild(script2);
  6755. _iframe.contentWindow.document.body.appendChild(script4);
  6756. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6757. })
  6758. if (onloadListener) {
  6759. _iframe.contentDocument.location.reload()
  6760. } else {
  6761. _iframe.contentDocument.location.reload()
  6762. }
  6763. } else {
  6764. _iframe.onload = () => {
  6765. _iframe.contentWindow.document.body.appendChild(script1);
  6766. _iframe.contentWindow.document.body.appendChild(script2);
  6767. // _iframe.contentWindow.document.body.appendChild(script3);
  6768. _iframe.contentWindow.document.body.appendChild(script4);
  6769. };
  6770. }
  6771. _jie.onclick = async () => {
  6772. let text = ''
  6773. if (aTool == 6) {
  6774. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6775. } else if (aTool == 3) {
  6776. text = await U.MD.D.I.getEditorContent(_iframe);
  6777. }
  6778. _loading.style.display = 'flex'
  6779. console.log(_loading);
  6780. var _ajs = _iframe.contentWindow.document.createElement("script");
  6781. _ajs.type = "text/javascript";
  6782. _ajs.innerHTML =
  6783. // 'console.log(' + _loading + ');\n' +
  6784. 'var _js = document.createElement("script");\n' +
  6785. '_js.type="text/javascript";\n' +
  6786. '_js.charset="UTF-8";\n' +
  6787. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6788. "_js.onload = function(){\n" +
  6789. ' var a = document.getElementsByTagName("img")\n' +
  6790. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6791. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6792. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6793. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6794. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6795. "beforeUpload_shishi(file," +
  6796. "'" +
  6797. _userid +
  6798. "'" +
  6799. ", " +
  6800. "'" +
  6801. _cid +
  6802. "'" +
  6803. ", " +
  6804. "'" +
  6805. _stage +
  6806. "'" +
  6807. ", " +
  6808. "'" +
  6809. _task +
  6810. "'" +
  6811. ", " +
  6812. "'" +
  6813. _tool +
  6814. "'" +
  6815. ", " +
  6816. "'" +
  6817. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6818. "'" +
  6819. ", " +
  6820. "'" +
  6821. aTool +
  6822. "'" +
  6823. ", " +
  6824. "`" +
  6825. text +
  6826. "`" +
  6827. ")\n" +
  6828. " });\n" +
  6829. "}\n" +
  6830. "document.head.appendChild(_js);\n";
  6831. _iframe.contentWindow.document.head.appendChild(_ajs);
  6832. }
  6833. }
  6834. //U.MD.D.I.openClick(str);
  6835. //如果有任务栏信息
  6836. // if (_taskbar) {
  6837. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6838. // }
  6839. }
  6840. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  6841. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6842. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6843. _userinfo = US.userInfo, //登录用户信息
  6844. _userid = US.userInfo.userid //登录用户id
  6845. let _iframe;
  6846. let _cid = cid,
  6847. _stage = stage,
  6848. _task = task,
  6849. _tool = tool;
  6850. var _jie = $$("div", {
  6851. "style": {
  6852. "position": "absolute",
  6853. "bottom": "50px",
  6854. "right": "50px",
  6855. "zIndex": "9999",
  6856. "backgroundColor": "#2268bc",
  6857. "color": "#fff",
  6858. "padding": "12px 20px",
  6859. "cursor": "pointer",
  6860. "borderRadius": "4px",
  6861. },
  6862. "innerHTML": "上传模板"
  6863. })
  6864. let aTool = ''
  6865. let _loading = document.createElement('div')
  6866. _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;"
  6867. // _loading.id = "";
  6868. let _lchild = document.createElement('div')
  6869. let _limg = document.createElement('img')
  6870. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6871. _limg.style = "width: 26px;margin-right: 10px;"
  6872. _lchild.appendChild(_limg)
  6873. let _lspan = document.createElement('span')
  6874. _lspan.innerHTML = "上传中..."
  6875. _lchild.appendChild(_lspan)
  6876. _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%);"
  6877. _loading.appendChild(_lchild)
  6878. var _box = $$('div', {
  6879. "style": {
  6880. "position": "relative",
  6881. "width": "100%",
  6882. "height": "100%",
  6883. },
  6884. })
  6885. _box.appendChild(_loading)
  6886. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  6887. switch (str) {
  6888. case "whiteboard":
  6889. aTool = 1;
  6890. _iframe = $$("iframe", {
  6891. "frameborder": "no",
  6892. "border": "0",
  6893. "scrolling ": "no",
  6894. "style": {
  6895. "cssText": "border:0;width:100%;height:100%"
  6896. },
  6897. "src": "https://iwb.cocorobo.cn/"
  6898. })
  6899. _box.appendChild(_iframe);
  6900. _box.appendChild(_jie);
  6901. _formdiv = new U.UF.UI.form(
  6902. "电子白板",
  6903. _box, {
  6904. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6905. "style": {
  6906. "width": "90%",
  6907. "height": "90%",
  6908. "overflow": 'hidden'
  6909. },
  6910. "onresize": function () { }
  6911. }, {
  6912. closecallback: function () { }
  6913. }, {
  6914. "style": {
  6915. "height": "36px"
  6916. }
  6917. }).form; //创建窗体
  6918. _taskbar = {
  6919. "id": str + _formdiv.id,
  6920. "style": {
  6921. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6922. },
  6923. "name": "电子白板",
  6924. "forms": _formdiv,
  6925. "click": function () {
  6926. U.MD.D.I.openApplication(str, obj, info);
  6927. }
  6928. }
  6929. break;
  6930. case "mind":
  6931. aTool = 3;
  6932. _iframe = $$("iframe", {
  6933. "frameborder": "no",
  6934. "border": "0",
  6935. "scrolling ": "no",
  6936. "style": {
  6937. "cssText": "border:0;width:100%;height:100%"
  6938. },
  6939. "src": "/kityminder-editor/dist/index.html"
  6940. });
  6941. _box.appendChild(_iframe);
  6942. _box.appendChild(_jie);
  6943. _formdiv = new U.UF.UI.form(
  6944. "思维导图",
  6945. _box, { //"/jsmind/example/demo.html"
  6946. "id": "minds_Yu" + cid + stage + task + tool,
  6947. "style": {
  6948. "width": "90%",
  6949. "height": "90%",
  6950. "overflow": 'hidden'
  6951. },
  6952. "onresize": function () { }
  6953. }, {
  6954. closecallback: function () { }
  6955. }, {
  6956. "style": {
  6957. "height": "36px"
  6958. }
  6959. }).form; //创建窗体
  6960. _taskbar = {
  6961. "id": str + _formdiv.id,
  6962. "style": {
  6963. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6964. },
  6965. "name": "思维导图",
  6966. "forms": _formdiv,
  6967. "click": function () {
  6968. U.MD.D.I.openApplication(str, obj, info);
  6969. }
  6970. }
  6971. break;
  6972. case "doc":
  6973. aTool = 6;
  6974. _iframe = $$("iframe", {
  6975. "frameborder": "no",
  6976. "border": "0",
  6977. "scrolling ": "no",
  6978. "style": {
  6979. "cssText": "border:0;width:100%;height:100%"
  6980. },
  6981. "src": "/Office/Word/WordEditArea.htm"
  6982. })
  6983. _box.appendChild(_iframe);
  6984. _box.appendChild(_jie);
  6985. _formdiv = new U.UF.UI.form(
  6986. "协同文档",
  6987. _box, {
  6988. "id": "docs_Yu" + cid + stage + task + tool,
  6989. "style": {
  6990. "width": "90%",
  6991. "height": "90%",
  6992. "overflow": 'hidden'
  6993. },
  6994. "onresize": function () { }
  6995. }, {
  6996. closecallback: function () { }
  6997. }, {
  6998. "style": {
  6999. "height": "36px"
  7000. }
  7001. }).form; //创建窗体
  7002. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7003. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7004. })
  7005. _taskbar = {
  7006. "id": str + _formdiv.id,
  7007. "style": {
  7008. "backgroundImage": "url(/img/icon/doc.png)"
  7009. },
  7010. "name": "协同文档",
  7011. "forms": _formdiv,
  7012. "click": function () {
  7013. U.MD.D.I.openApplication(str, obj, info);
  7014. }
  7015. }
  7016. break;
  7017. case "CocoPi":
  7018. aTool = 57;
  7019. _iframe = $$("iframe", {
  7020. "allowpaymentrequest": "allowpaymentrequest",
  7021. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7022. "webkitallowfullscreen": "",
  7023. "mozallowfullscreen": "",
  7024. "frameborder": "no",
  7025. "border": "0",
  7026. "scrolling ": "no",
  7027. "style": {
  7028. "cssText": "border:0;width:100%;height:100%"
  7029. },
  7030. "src": "https://pi.cocorobo.cn/"
  7031. })
  7032. _box.appendChild(_iframe);
  7033. _box.appendChild(_jie);
  7034. _formdiv = new U.UF.UI.form(
  7035. "CocoPi",
  7036. _box, {
  7037. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7038. "style": {
  7039. "width": "90%",
  7040. "height": "90%",
  7041. "overflow": 'hidden'
  7042. },
  7043. "onresize": function () { }
  7044. }, {
  7045. closecallback: function () { }
  7046. }, {
  7047. "style": {
  7048. "height": "36px"
  7049. }
  7050. }).form; //创建窗体
  7051. _taskbar = {
  7052. "id": str + _formdiv.id,
  7053. "style": {
  7054. "backgroundImage": "url(/img/icon/cocopi.png)"
  7055. },
  7056. "name": "CocoPi",
  7057. "forms": _formdiv,
  7058. "click": function () {
  7059. U.MD.D.I.openApplication(str, obj, info);
  7060. }
  7061. }
  7062. break;
  7063. }
  7064. if (_iframe) {
  7065. if (str == 'doc') {
  7066. _iframe = _formdiv.querySelector('iframe')
  7067. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7068. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7069. })
  7070. if (onloadListener) {
  7071. _iframe.contentDocument.location.reload()
  7072. } else {
  7073. _iframe.contentDocument.location.reload()
  7074. }
  7075. } else if (str == 'mind') {
  7076. _iframe = _formdiv.querySelector('iframe')
  7077. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7078. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7079. })
  7080. if (onloadListener) {
  7081. _iframe.contentDocument.location.reload()
  7082. } else {
  7083. _iframe.contentDocument.location.reload()
  7084. }
  7085. } else if (str == 'whiteboard') {
  7086. _iframe = _formdiv.querySelector('iframe')
  7087. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7088. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7089. })
  7090. if (onloadListener) {
  7091. _iframe.contentDocument.location.reload()
  7092. } else {
  7093. _iframe.contentDocument.location.reload()
  7094. }
  7095. } else if (str == 'CocoPi') {
  7096. _iframe = _formdiv.querySelector('iframe')
  7097. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7098. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7099. })
  7100. if (onloadListener) {
  7101. _iframe.contentDocument.location.reload()
  7102. } else {
  7103. _iframe.contentDocument.location.reload()
  7104. }
  7105. } else {
  7106. _iframe.onload = () => { };
  7107. }
  7108. _jie.onclick = async () => {
  7109. let text = ''
  7110. let type = '2'
  7111. if (aTool == 1) {
  7112. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7113. type = '3'
  7114. } else if (aTool == 6) {
  7115. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7116. type = '1'
  7117. } else if (aTool == 3) {
  7118. text = await U.MD.D.I.getEditorContent(_iframe);
  7119. type = '2'
  7120. } else if (aTool == 57) {
  7121. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7122. type = '4'
  7123. }
  7124. _loading.style.display = 'flex'
  7125. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7126. }
  7127. }
  7128. //U.MD.D.I.openClick(str);
  7129. //如果有任务栏信息
  7130. // if (_taskbar) {
  7131. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7132. // }
  7133. }
  7134. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7135. var xmlhttp;
  7136. var Mac, Sn, DeviceId
  7137. if (window.XMLHttpRequest) {
  7138. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7139. xmlhttp = new XMLHttpRequest();
  7140. } else {
  7141. // IE6, IE5 浏览器执行代码
  7142. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7143. }
  7144. xmlhttp.onreadystatechange = function () {
  7145. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7146. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7147. // resolve(res.value[0][0].text);
  7148. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7149. }
  7150. }
  7151. }
  7152. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7153. xmlhttp.send();
  7154. }
  7155. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7156. var xmlhttp;
  7157. var Mac, Sn, DeviceId
  7158. if (window.XMLHttpRequest) {
  7159. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7160. xmlhttp = new XMLHttpRequest();
  7161. } else {
  7162. // IE6, IE5 浏览器执行代码
  7163. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7164. }
  7165. xmlhttp.onreadystatechange = function () {
  7166. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7167. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7168. // resolve(res.value[0][0].text);
  7169. if (type == '2') {
  7170. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7171. } else if (type == '3') {
  7172. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7173. } else if (type == '4') {
  7174. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7175. }
  7176. } else {
  7177. if (type == '2') {
  7178. iframe.contentWindow.editor.minder.importData('json', '')
  7179. } else if (type == '3') {
  7180. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7181. } else if (type == '4') {
  7182. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7183. }
  7184. }
  7185. }
  7186. }
  7187. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7188. xmlhttp.send();
  7189. }
  7190. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7191. var xmlhttp;
  7192. var Mac, Sn, DeviceId
  7193. if (window.XMLHttpRequest) {
  7194. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7195. xmlhttp = new XMLHttpRequest();
  7196. } else {
  7197. // IE6, IE5 浏览器执行代码
  7198. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7199. }
  7200. xmlhttp.onreadystatechange = function () {
  7201. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7202. if (xmlhttp.response) {
  7203. // resolve(res.value[0][0].text);
  7204. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7205. // $(fileInput).val('');
  7206. // });
  7207. span.innerHTML = '上传成功'
  7208. setTimeout(() => {
  7209. loading.style.display = 'none'
  7210. }, 1000);
  7211. }
  7212. }
  7213. }
  7214. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7215. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7216. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7217. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7218. // 设置请求头,表示请求体的编码格式
  7219. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7220. // 设置请求体,使用url-encoded格式的数据
  7221. }
  7222. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7223. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7224. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7225. _userinfo = US.userInfo, //登录用户信息
  7226. _userid = US.userInfo.userid //登录用户id
  7227. let _iframe;
  7228. let _cid = cid,
  7229. _stage = stage,
  7230. _task = task,
  7231. _tool = tool;
  7232. var _jie = $$("div", {
  7233. "style": {
  7234. "position": "absolute",
  7235. "bottom": "50px",
  7236. "right": "50px",
  7237. "zIndex": "9999",
  7238. "backgroundColor": "#2268bc",
  7239. "color": "#fff",
  7240. "padding": "12px 20px",
  7241. "cursor": "pointer",
  7242. "borderRadius": "4px",
  7243. },
  7244. "innerHTML": "提交作业"
  7245. })
  7246. let aTool = ''
  7247. let _loading = document.createElement('div')
  7248. _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;"
  7249. // _loading.id = "";
  7250. let _lchild = document.createElement('div')
  7251. let _limg = document.createElement('img')
  7252. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7253. _limg.style = "width: 26px;margin-right: 10px;"
  7254. _lchild.appendChild(_limg)
  7255. let _lspan = document.createElement('span')
  7256. _lspan.innerHTML = "上传中..."
  7257. _lchild.appendChild(_lspan)
  7258. _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%);"
  7259. _loading.appendChild(_lchild)
  7260. var _box = $$('div', {
  7261. "style": {
  7262. "position": "relative",
  7263. "width": "100%",
  7264. "height": "100%",
  7265. },
  7266. })
  7267. _box.appendChild(_loading)
  7268. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7269. switch (str) {
  7270. case "CocoPi":
  7271. aTool = 57;
  7272. _iframe = $$("iframe", {
  7273. "allowpaymentrequest": "allowpaymentrequest",
  7274. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7275. "webkitallowfullscreen": "",
  7276. "mozallowfullscreen": "",
  7277. "frameborder": "no",
  7278. "border": "0",
  7279. "scrolling ": "no",
  7280. "style": {
  7281. "cssText": "border:0;width:100%;height:100%"
  7282. },
  7283. "src": "https://pi.cocorobo.cn/"
  7284. })
  7285. _box.appendChild(_iframe);
  7286. _box.appendChild(_jie);
  7287. _formdiv = new U.UF.UI.form(
  7288. "CocoPi",
  7289. _box, {
  7290. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7291. "style": {
  7292. "width": "90%",
  7293. "height": "90%",
  7294. "overflow": 'hidden'
  7295. },
  7296. "onresize": function () { }
  7297. }, {
  7298. closecallback: function () { }
  7299. }, {
  7300. "style": {
  7301. "height": "36px"
  7302. }
  7303. }).form; //创建窗体
  7304. _taskbar = {
  7305. "id": str + _formdiv.id,
  7306. "style": {
  7307. "backgroundImage": "url(/img/icon/cocopi.png)"
  7308. },
  7309. "name": "CocoPi",
  7310. "forms": _formdiv,
  7311. "click": function () {
  7312. U.MD.D.I.openApplication(str, obj, info);
  7313. }
  7314. }
  7315. break;
  7316. }
  7317. if (_iframe) {
  7318. if (str == 'CocoPi') {
  7319. _iframe = _formdiv.querySelector('iframe')
  7320. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7321. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7322. })
  7323. if (onloadListener) {
  7324. _iframe.contentDocument.location.reload()
  7325. } else {
  7326. _iframe.contentDocument.location.reload()
  7327. }
  7328. }
  7329. _jie.onclick = async () => {
  7330. let text = ''
  7331. if (aTool == 57) {
  7332. text = _iframe.contentWindow.getLoadXmlStr()
  7333. }
  7334. _loading.style.display = 'flex'
  7335. console.log(_loading);
  7336. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7337. _loading.style.display = 'none'
  7338. let _div = document.createElement('div')
  7339. _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;"
  7340. let _inner = document.createElement('div')
  7341. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7342. _inner.innerHTML = "上传成功"
  7343. _div.appendChild(_inner)
  7344. _iframe.contentWindow.window.document.body.appendChild(_div)
  7345. _div.onclick = () => {
  7346. _iframe.contentWindow.window.document.body.removeChild(_div)
  7347. }
  7348. setTimeout(() => {
  7349. _iframe.contentWindow.window.document.body.removeChild(_div)
  7350. }, 1000);
  7351. }, [], { "type": "POST", "withCredentials": true });
  7352. }
  7353. }
  7354. }
  7355. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7356. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7357. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7358. _userid = student.userid, //登录用户id
  7359. _username = student.student //用户名字
  7360. let _iframe;
  7361. let _cid = cid,
  7362. _stage = stage,
  7363. _task = task,
  7364. _tool = tool;
  7365. var _jie = $$("div", {
  7366. "style": {
  7367. "position": "absolute",
  7368. "bottom": "50px",
  7369. "right": "50px",
  7370. "zIndex": "9999",
  7371. "backgroundColor": "#2268bc",
  7372. "color": "#fff",
  7373. "padding": "12px 20px",
  7374. "cursor": "pointer",
  7375. "borderRadius": "4px",
  7376. },
  7377. "innerHTML": "提交作业"
  7378. })
  7379. let aTool = ''
  7380. let _loading = document.createElement('div')
  7381. _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;"
  7382. // _loading.id = "";
  7383. let _lchild = document.createElement('div')
  7384. let _limg = document.createElement('img')
  7385. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7386. _limg.style = "width: 26px;margin-right: 10px;"
  7387. _lchild.appendChild(_limg)
  7388. let _lspan = document.createElement('span')
  7389. _lspan.innerHTML = "上传中..."
  7390. _lchild.appendChild(_lspan)
  7391. _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%);"
  7392. _loading.appendChild(_lchild)
  7393. var _box = $$('div', {
  7394. "style": {
  7395. "position": "relative",
  7396. "width": "100%",
  7397. "height": "100%",
  7398. },
  7399. })
  7400. _box.appendChild(_loading)
  7401. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7402. switch (str) {
  7403. case "CocoPi":
  7404. aTool = 57;
  7405. _iframe = $$("iframe", {
  7406. "allowpaymentrequest": "allowpaymentrequest",
  7407. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7408. "webkitallowfullscreen": "",
  7409. "mozallowfullscreen": "",
  7410. "frameborder": "no",
  7411. "border": "0",
  7412. "scrolling ": "no",
  7413. "style": {
  7414. "cssText": "border:0;width:100%;height:100%"
  7415. },
  7416. "src": "https://pi.cocorobo.cn/"
  7417. })
  7418. _box.appendChild(_iframe);
  7419. _box.appendChild(_jie);
  7420. _formdiv = new U.UF.UI.form(
  7421. "CocoPi-" + _username,
  7422. _box, {
  7423. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7424. "style": {
  7425. "width": "90%",
  7426. "height": "90%",
  7427. "overflow": 'hidden'
  7428. },
  7429. "onresize": function () { }
  7430. }, {
  7431. closecallback: function () { }
  7432. }, {
  7433. "style": {
  7434. "height": "36px"
  7435. }
  7436. }).form; //创建窗体
  7437. _taskbar = {
  7438. "id": str + _formdiv.id,
  7439. "style": {
  7440. "backgroundImage": "url(/img/icon/cocopi.png)"
  7441. },
  7442. "name": "CocoPi",
  7443. "forms": _formdiv,
  7444. "click": function () {
  7445. U.MD.D.I.openApplication(str, obj, info);
  7446. }
  7447. }
  7448. break;
  7449. }
  7450. if (_iframe) {
  7451. if (str == 'CocoPi') {
  7452. _iframe = _formdiv.querySelector('iframe')
  7453. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7454. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7455. })
  7456. if (onloadListener) {
  7457. _iframe.contentDocument.location.reload()
  7458. } else {
  7459. _iframe.contentDocument.location.reload()
  7460. }
  7461. }
  7462. _jie.onclick = async () => {
  7463. let text = ''
  7464. if (aTool == 57) {
  7465. text = _iframe.contentWindow.getLoadXmlStr()
  7466. }
  7467. _loading.style.display = 'flex'
  7468. console.log(_loading);
  7469. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7470. _loading.style.display = 'none'
  7471. let _div = document.createElement('div')
  7472. _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;"
  7473. let _inner = document.createElement('div')
  7474. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7475. _inner.innerHTML = "上传成功"
  7476. _div.appendChild(_inner)
  7477. _iframe.contentWindow.window.document.body.appendChild(_div)
  7478. _div.onclick = () => {
  7479. _iframe.contentWindow.window.document.body.removeChild(_div)
  7480. }
  7481. setTimeout(() => {
  7482. _iframe.contentWindow.window.document.body.removeChild(_div)
  7483. }, 1000);
  7484. }, [], { "type": "POST", "withCredentials": true });
  7485. }
  7486. }
  7487. }
  7488. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7489. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7490. if (res.value[0].length > 0) {
  7491. if (atool == 57) {
  7492. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7493. }
  7494. } else {
  7495. if (atool == 57) {
  7496. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7497. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7498. }
  7499. }
  7500. }, [], { "type": "POST", "withCredentials": true });
  7501. }