DeskTop.js 476 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. ];
  52. //极简模式
  53. U.MD.D.I.easyDeskIcon = [
  54. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  55. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  58. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  59. ];
  60. //教师桌面图标的全局变量
  61. U.MD.D.I.teacherDeskIcon2 = [
  62. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  63. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  64. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  65. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  66. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  67. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  68. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  69. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  70. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  71. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  72. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  73. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  74. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  75. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  76. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  77. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  78. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  79. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  80. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  81. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  82. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  83. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  84. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  85. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  86. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  87. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  88. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  89. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  90. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  91. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  92. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  93. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  94. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  95. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  96. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  97. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  98. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  99. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  100. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  101. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  102. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  103. ];
  104. U.MD.D.I.studentDeskIcon = [
  105. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  106. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  107. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  108. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  109. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  110. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  111. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  112. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  113. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  114. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  115. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  116. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  117. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  118. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  119. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  120. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  121. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  122. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  123. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  124. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  125. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  126. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  127. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  128. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  129. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  130. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  131. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  132. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  133. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  134. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  135. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  136. ];
  137. U.MD.D.I.studentDeskIcon2 = [
  138. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  139. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  140. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  141. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  142. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  143. ]
  144. U.MD.D.I.studentDeskIcon3 = [
  145. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  146. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  147. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  148. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  149. ]
  150. U.MD.D.I.schoolDeskIcon = [
  151. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  152. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  153. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  154. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  155. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  156. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  157. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  158. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  159. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  160. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  161. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  162. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  163. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  164. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  165. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  166. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  167. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  168. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  169. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  170. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  171. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  172. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  173. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  174. ];
  175. U.MD.D.I.orgDeskIcon = [
  176. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  177. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  178. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  179. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  180. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  181. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  182. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  183. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  184. ];
  185. U.MD.D.I.orgStemDeskIcon = [
  186. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  187. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  188. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  189. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  190. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  191. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  192. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  193. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  194. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  195. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  196. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  197. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  198. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  199. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  200. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  201. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  202. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  203. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  204. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  205. ];
  206. U.MD.D.I.szulsDeskIcon = [
  207. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  208. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  209. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  210. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  211. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  212. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  213. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  214. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  215. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  216. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  217. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  218. ];
  219. U.MD.D.I.hanDeskIcon = [
  220. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  221. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  222. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  223. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  224. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  225. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  226. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  227. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  228. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  229. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  230. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  231. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  232. ];
  233. U.MD.D.I.GMteacherDeskIcon = [
  234. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  235. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  236. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  237. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  238. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  239. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  240. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  241. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  242. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  243. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  244. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  245. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  246. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  247. ];
  248. U.MD.D.I.GMstudentDeskIcon = [
  249. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  250. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  251. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  252. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  253. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  254. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  255. ];
  256. //北师大
  257. U.MD.D.I.BSDNSteacherDeskIcon = [
  258. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  259. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  260. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  261. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  262. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  263. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  264. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  265. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  266. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  267. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  268. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  269. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  270. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  271. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  272. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  273. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  274. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  275. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  276. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  277. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  278. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  279. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  280. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  281. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  282. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  283. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  284. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  285. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  286. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  287. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  288. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  289. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  290. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  291. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  292. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  293. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  294. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  295. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  296. ];
  297. //松山湖
  298. U.MD.D.I.SONGteacherDeskIcon = [
  299. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  300. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  301. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  302. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  303. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  304. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  305. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  306. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  307. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  308. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  309. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  310. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  311. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  312. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  313. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  314. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  315. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  316. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  317. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  318. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  319. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  320. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  321. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  322. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  323. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  324. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  325. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  326. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  327. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  328. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  329. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  330. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  331. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  332. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  333. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  334. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  335. ];
  336. U.MD.D.I.tcStudentDeskIcon = [
  337. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  338. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  339. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  340. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  341. ];
  342. U.MD.D.I.tcTeacherDeskIcon = [
  343. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  344. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  345. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  346. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  347. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  348. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  349. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  350. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  351. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  352. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  353. ];
  354. U.MD.D.I.tcOrganizerDeskIcon = [
  355. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  356. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  357. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  358. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  359. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  360. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  361. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  362. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  363. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  364. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  365. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  366. ];
  367. U.MD.D.I.szscStudentDeskIcon = [
  368. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  369. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  370. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  371. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  372. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  373. ];
  374. U.MD.D.I.szscTeacherDeskIcon = [
  375. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  376. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  377. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  378. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  379. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  380. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  381. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  382. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  383. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  384. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  385. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  386. ];
  387. U.MD.D.I.szscOrganizerDeskIcon = [
  388. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  389. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  390. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  391. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  392. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  393. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  394. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  395. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  396. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  397. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  398. ];
  399. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  400. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  401. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  402. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  403. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  404. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  405. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  406. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  407. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  408. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  409. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  410. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  411. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  412. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  413. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  414. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  415. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  416. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  417. ];
  418. U.MD.D.I.wankeAdminDeskIcon = [
  419. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  420. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  421. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  422. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  423. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  424. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  425. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  426. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  427. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  428. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  429. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  430. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  431. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  432. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  433. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  434. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  435. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  436. ];
  437. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  438. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  439. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  440. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  441. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  442. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  443. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  444. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  445. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  446. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  447. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  448. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  449. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  450. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  451. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  452. ];
  453. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  454. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  455. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  456. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  457. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  458. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  459. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  460. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  461. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  462. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  463. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  464. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  465. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  466. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  467. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  468. ];
  469. //明德教师桌面图标的全局变量
  470. U.MD.D.I.MingdeTeacherDeskIcon = [
  471. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  472. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  473. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  474. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  475. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  476. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  477. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  478. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  479. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  480. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  481. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  482. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  483. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  484. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  485. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  486. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  487. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  488. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  489. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  490. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  491. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  492. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  493. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  494. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  495. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  496. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  497. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  498. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  499. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  500. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  501. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  502. ];
  503. //97c4ee8b-d010-4042-986d-e9d3c217264f
  504. //教师桌面图标的全局变量
  505. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  506. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  507. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  508. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  509. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  510. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  511. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  512. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  513. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  514. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  515. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  516. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  517. ];
  518. //福田
  519. U.MD.D.I.futianTeacherDeskIcon = [
  520. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  521. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  522. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  523. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  524. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  525. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  526. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  527. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  528. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  529. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  530. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  531. ];
  532. //福田
  533. U.MD.D.I.futianAdminDeskIcon = [
  534. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  535. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  536. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  537. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  538. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  539. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  540. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  541. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  542. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  543. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  544. ];
  545. //lotech
  546. U.MD.D.I.lotechTeacherDeskIcon = [
  547. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  548. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  549. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  550. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  551. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  552. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  553. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  554. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  555. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  556. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  557. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  558. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  559. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  560. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  561. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  562. ];
  563. //龙华中心小学教师桌面图标的全局变量
  564. U.MD.D.I.longhuateacherDeskIcon = [
  565. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  566. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  567. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  568. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  569. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  570. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  571. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  572. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  573. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  574. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  575. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  576. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  577. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  578. ];
  579. //教科院实小教师桌面图标的全局变量
  580. U.MD.D.I.siesteacherDeskIcon = [
  581. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  582. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  583. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  584. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  585. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  586. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  587. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  588. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  589. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  590. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  591. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  592. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  593. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  594. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  595. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  596. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  597. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  598. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  599. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  600. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  601. ];
  602. //教科院实小教师桌面图标的全局变量
  603. U.MD.D.I.siesStudentDeskIcon = [
  604. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  605. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  606. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  607. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  608. ];
  609. //福田
  610. U.MD.D.I.gdjgTeacherDeskIcon = [
  611. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  612. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  613. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  614. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  615. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  616. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  617. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  618. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  619. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  620. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  621. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  622. ];
  623. //gdjg
  624. U.MD.D.I.gdjgAdminDeskIcon = [
  625. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  626. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  627. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  628. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  629. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  630. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  631. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  632. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  633. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  634. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  635. ];
  636. //hk
  637. U.MD.D.I.hkteacherDeskIcon = [
  638. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  639. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  640. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  641. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  642. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  643. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  644. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  645. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  646. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  647. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  648. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  649. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  650. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  651. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  652. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  653. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  654. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  655. ];
  656. //hk
  657. U.MD.D.I.hkStudentDeskIcon = [
  658. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  659. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  660. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  661. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  662. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  663. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  664. ];
  665. //香海正覺蓮社佛教正覺中學
  666. U.MD.D.I.hkZJLSteacherDeskIcon = [
  667. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  668. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  669. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  670. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  671. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  672. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  673. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  674. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  675. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  676. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  677. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  678. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  679. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  680. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  681. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  682. ];
  683. //香海正覺蓮社佛教正覺中學
  684. U.MD.D.I.hkZJLSStudentDeskIcon = [
  685. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  686. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  687. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  688. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  689. ];
  690. //云海
  691. U.MD.D.I.yunhaiTeacherDeskIcon = [
  692. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  693. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  694. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  695. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  696. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  697. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  698. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  699. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  700. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  701. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  702. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  703. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  704. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  705. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  706. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  707. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  708. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  709. ];
  710. //福田
  711. U.MD.D.I.heyuanTeacherDeskIcon = [
  712. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  713. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  714. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  715. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  716. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  717. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  718. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  719. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  720. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  721. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  722. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  723. ];
  724. //福田
  725. U.MD.D.I.heyuanAdminDeskIcon = [
  726. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  727. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  728. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  729. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  730. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  731. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  732. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  733. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  734. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  735. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  736. ];
  737. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  738. U.MD.D.I.szherTeacherDeskIcon = [
  739. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  740. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  741. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  742. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  743. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  744. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  745. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  746. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  747. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  748. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  749. ];
  750. //dsei
  751. U.MD.D.I.dseiTeacherDeskIcon = [
  752. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  753. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  754. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  755. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  756. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  757. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  758. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  759. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  760. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  761. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  762. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  763. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  764. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  765. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  766. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  767. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  768. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  769. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  770. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  771. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  772. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  773. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  774. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  775. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  776. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  777. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  778. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  779. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  780. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  781. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  782. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  783. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  784. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  785. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  786. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  787. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  788. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  789. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  790. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  791. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  792. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  793. ];
  794. //dsei
  795. U.MD.D.I.dseiAdminDeskIcon = [
  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": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  799. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  800. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  801. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  802. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  803. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  804. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  805. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  806. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  807. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  808. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  809. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  810. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  811. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  812. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  813. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  814. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  815. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  816. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  817. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  818. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  819. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  820. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  821. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  822. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  823. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  824. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  825. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  826. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  827. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  828. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  829. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  830. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  831. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  832. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  833. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  834. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  835. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  836. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  837. ];
  838. //dsei
  839. U.MD.D.I.dseiStudentDeskIcon = [
  840. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  841. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  842. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  843. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  844. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  845. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  846. ];
  847. //未来教育基地
  848. U.MD.D.I.szjkyTeacherDeskIcon = [
  849. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  850. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  851. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  852. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  853. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  854. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  855. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  856. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  857. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  858. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  859. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  860. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  861. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  862. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  863. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  864. ];
  865. //未来教育基地
  866. U.MD.D.I.szjkyAdminDeskIcon = [
  867. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  868. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  869. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  870. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  871. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  872. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  873. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  874. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  875. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  876. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  877. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  878. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  879. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  880. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  881. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  882. ];
  883. //未来教育基地
  884. U.MD.D.I.szjkyStudentDeskIcon = [
  885. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  886. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  887. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  888. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  889. ];
  890. //成华教育局
  891. U.MD.D.I.chjyjTeacherDeskIcon = [
  892. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  893. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  894. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  895. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  896. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  897. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  898. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  899. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  900. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  901. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  902. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  903. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  904. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  905. ];
  906. //成华教育局chjyj
  907. U.MD.D.I.chjyjAdminDeskIcon = [
  908. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  909. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  910. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  911. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  912. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  913. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  914. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  915. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  916. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  917. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  918. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  919. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  920. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  921. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  922. ];
  923. //成华教育局chjyj
  924. U.MD.D.I.chjyjStudentDeskIcon = [
  925. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  926. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  927. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  928. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  929. ];
  930. //tpc
  931. U.MD.D.I.tpcStudentDeskIcon = [
  932. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  933. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  934. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  935. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  936. ];
  937. //tpc
  938. U.MD.D.I.tpcTeacherDeskIcon = [
  939. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  940. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  941. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  942. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  943. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  944. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  945. ];
  946. //tpc
  947. U.MD.D.I.tpcAdminDeskIcon = [
  948. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  949. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  950. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  951. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  952. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  953. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  954. ];
  955. //THU-IOE
  956. U.MD.D.I.thuioeTeacherDeskIcon = [
  957. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  958. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  959. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  960. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  961. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  962. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  963. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  964. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  965. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  966. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  967. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  968. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  969. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  970. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  971. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  972. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  973. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  974. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  975. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  976. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  977. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  978. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  979. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  980. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  981. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  982. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  983. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  984. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  985. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  986. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  987. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  988. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  989. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  990. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  991. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  992. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  993. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  994. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  995. ];
  996. //THU-IOE
  997. U.MD.D.I.thuioeStudentDeskIcon = [
  998. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  999. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1000. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1001. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1002. ];
  1003. //jccssyl
  1004. U.MD.D.I.jccssylTeacherDeskIcon = [
  1005. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1006. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1007. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1008. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1009. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1010. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1011. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1012. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1013. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1014. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1015. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1016. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1017. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1018. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1019. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1020. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1021. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1022. ];
  1023. //jccssyl
  1024. U.MD.D.I.jccssylStudentDeskIcon = [
  1025. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1026. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1027. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1028. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1029. ];
  1030. //#region 桌面初始化a
  1031. /**
  1032. * 初始化桌面的起始函数
  1033. *
  1034. */
  1035. U.MD.D.I.init = function () {
  1036. if ($("#U_MD_D_K")[0]) {
  1037. //初始化桌面图标
  1038. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1039. // var clickUrl = ':12588/requestIp.php';
  1040. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1041. // U.MD.D.I.Ip = data;
  1042. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1043. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1044. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1045. // })
  1046. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1047. // })
  1048. }
  1049. }
  1050. /**
  1051. * 模式切换
  1052. *
  1053. */
  1054. U.MD.D.I.ModeCheck = function (type) {
  1055. if (US.Config.type == type) {
  1056. return
  1057. }
  1058. US.Config.type = type
  1059. $('.U_PBL_Check .active')[0].className = ''
  1060. if (type == 1) {
  1061. $('.U_PBL_Check div')[0].className = 'active'
  1062. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1063. } else {
  1064. $('.U_PBL_Check div')[1].className = 'active'
  1065. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1066. }
  1067. //初始化桌面图标
  1068. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1069. if (type == 2) {
  1070. U.MD.D.I.openApplication("project")
  1071. }
  1072. }
  1073. /**
  1074. * 隐藏任务栏
  1075. *
  1076. * @param {element} 桌面元素
  1077. */
  1078. U.MD.D.I.hiddenTaskbar = function (el) {
  1079. //任务栏位置变小
  1080. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1081. //桌面的位置变大
  1082. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1083. }
  1084. /**
  1085. * 隐藏任务栏
  1086. *
  1087. * @param {element} 桌面元素
  1088. */
  1089. U.MD.D.I.hiddenTaskbarout = function (el) {
  1090. //任务栏位置变小
  1091. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1092. //任务栏位置变化
  1093. U.selectEl(el).css({ "bottom": "-60px" });
  1094. //桌面的位置变大
  1095. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1096. }
  1097. }
  1098. /**
  1099. * 初始化打印桌面图标
  1100. *
  1101. * @param {element} 桌面元素
  1102. */
  1103. U.MD.D.I.initDesktopIcons = function (el, type) {
  1104. var i, //用于循环
  1105. _content, //桌面图标元素
  1106. _iconcontent, //桌面图标元素
  1107. _frag = $$("frag"), //定义一个碎片元素
  1108. _type = US.userInfo.type,
  1109. _org = US.userInfo.org,
  1110. _oid = US.userInfo.organizeid,
  1111. _role = US.userInfo.role,
  1112. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1113. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1114. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1115. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1116. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1117. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1118. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1119. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1120. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1121. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1122. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1123. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1124. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1125. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1126. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1127. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1128. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1129. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1130. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1131. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1132. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1133. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1134. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1135. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1136. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1137. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1138. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1139. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1140. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1141. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1142. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1143. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1144. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1145. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1146. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1147. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1148. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1149. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1150. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1151. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1152. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1153. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1154. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1155. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1156. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1157. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1158. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1159. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1160. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1161. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1162. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1163. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1164. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1165. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1166. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1167. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1168. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1169. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1170. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1171. 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'];
  1172. var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5', '2fa75e51-189a-11ee-91d8-005056b86db5', 'a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956','fbb00cc1-380b-4173-add4-59b3cf7682b5','63060b4a-89dc-4f0c-bf04-a1de22d479ff'];
  1173. //清楚桌面图标
  1174. el.innerHTML = "";
  1175. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1176. _teacherDesktopIconInfo.push(
  1177. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1178. { "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)" } },
  1179. )
  1180. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1181. }
  1182. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1183. _teacherDesktopIconInfo.push(
  1184. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1185. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1186. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1187. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1188. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1189. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1190. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1191. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1192. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1193. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1194. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1195. )
  1196. }
  1197. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1198. _teacherDesktopIconInfo.push(
  1199. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1200. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1201. )
  1202. }
  1203. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1204. _teacherDesktopIconInfo.push(
  1205. )
  1206. }
  1207. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1208. _teacherDesktopIconInfo.push(
  1209. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1210. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1211. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1212. )
  1213. _studentDesktopIconInfo.push(
  1214. )
  1215. }
  1216. //麒麟二中 和 民新小学
  1217. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1218. _teacherDesktopIconInfo.push(
  1219. )
  1220. }
  1221. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1222. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1223. _teacherDesktopIconInfo.push(
  1224. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1225. )
  1226. }
  1227. //麒麟二中
  1228. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1229. _studentDesktopIconInfo.push(
  1230. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1231. )
  1232. }
  1233. //万科双语
  1234. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1235. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1236. if (el.Name == '项目管理') {
  1237. el.Name = 'PBL项目'
  1238. }
  1239. return el
  1240. })
  1241. _studentDesktopIconInfo3.push(
  1242. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1243. )
  1244. }
  1245. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1246. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1247. return el.Name != '魔盒识字' && el.Name != '24点'
  1248. })
  1249. }
  1250. 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) {
  1251. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },)
  1252. }
  1253. //循环创建桌面图标
  1254. if (type == 1) {
  1255. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1256. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1257. _content = $$("div", {
  1258. className: "U_MD_D_KO",
  1259. "onmousedown": U.UF.C.closure(function (obj) {
  1260. //防止拖动图标即打开了桌面应用
  1261. U.MD.D.click(this, obj);
  1262. }, [_studentDesktopIconInfo[i]]),
  1263. "onclick": U.UF.C.closure(function (obj) {
  1264. //防止拖动图标即打开了桌面应用
  1265. U.MD.D.click(this, obj);
  1266. }, [_studentDesktopIconInfo[i]])
  1267. }, _frag); //
  1268. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1269. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1270. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1271. }
  1272. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1273. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1274. _content = $$("div", {
  1275. className: "U_MD_D_KO",
  1276. "onmousedown": U.UF.C.closure(function (obj) {
  1277. //防止拖动图标即打开了桌面应用
  1278. U.MD.D.click(this, obj);
  1279. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1280. "onclick": U.UF.C.closure(function (obj) {
  1281. //防止拖动图标即打开了桌面应用
  1282. U.MD.D.click(this, obj);
  1283. }, [_hkZJLSStudentDeskIconInfo[i]])
  1284. }, _frag); //
  1285. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1286. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1287. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1288. } //
  1289. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1290. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1291. _content = $$("div", {
  1292. className: "U_MD_D_KO",
  1293. "onmousedown": U.UF.C.closure(function (obj) {
  1294. //防止拖动图标即打开了桌面应用
  1295. U.MD.D.click(this, obj);
  1296. }, [_jccssylStudentDeskIconInfo[i]]),
  1297. "onclick": U.UF.C.closure(function (obj) {
  1298. //防止拖动图标即打开了桌面应用
  1299. U.MD.D.click(this, obj);
  1300. }, [_jccssylStudentDeskIconInfo[i]])
  1301. }, _frag); //
  1302. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1303. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1304. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1305. }
  1306. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1307. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1308. _content = $$("div", {
  1309. className: "U_MD_D_KO",
  1310. "onmousedown": U.UF.C.closure(function (obj) {
  1311. //防止拖动图标即打开了桌面应用
  1312. U.MD.D.click(this, obj);
  1313. }, [_thuioeStudentDeskIconInfo[i]]),
  1314. "onclick": U.UF.C.closure(function (obj) {
  1315. //防止拖动图标即打开了桌面应用
  1316. U.MD.D.click(this, obj);
  1317. }, [_thuioeStudentDeskIconInfo[i]])
  1318. }, _frag); //
  1319. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1320. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1321. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1322. }
  1323. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1324. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1325. _content = $$("div", {
  1326. className: "U_MD_D_KO",
  1327. "onmousedown": U.UF.C.closure(function (obj) {
  1328. //防止拖动图标即打开了桌面应用
  1329. U.MD.D.click(this, obj);
  1330. }, [_tpcStudentDeskIconInfo[i]]),
  1331. "onclick": U.UF.C.closure(function (obj) {
  1332. //防止拖动图标即打开了桌面应用
  1333. U.MD.D.click(this, obj);
  1334. }, [_tpcStudentDeskIconInfo[i]])
  1335. }, _frag); //
  1336. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1337. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1338. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1339. } //
  1340. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1341. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1342. _content = $$("div", {
  1343. className: "U_MD_D_KO",
  1344. "onmousedown": U.UF.C.closure(function (obj) {
  1345. //防止拖动图标即打开了桌面应用
  1346. U.MD.D.click(this, obj);
  1347. }, [_chjyjStudentDeskIconInfo[i]]),
  1348. "onclick": U.UF.C.closure(function (obj) {
  1349. //防止拖动图标即打开了桌面应用
  1350. U.MD.D.click(this, obj);
  1351. }, [_chjyjStudentDeskIconInfo[i]])
  1352. }, _frag); //
  1353. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1354. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1355. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1356. }
  1357. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1358. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1359. _content = $$("div", {
  1360. className: "U_MD_D_KO",
  1361. "onmousedown": U.UF.C.closure(function (obj) {
  1362. //防止拖动图标即打开了桌面应用
  1363. U.MD.D.click(this, obj);
  1364. }, [_szjkyStudentDeskIconInfo[i]]),
  1365. "onclick": U.UF.C.closure(function (obj) {
  1366. //防止拖动图标即打开了桌面应用
  1367. U.MD.D.click(this, obj);
  1368. }, [_szjkyStudentDeskIconInfo[i]])
  1369. }, _frag); //
  1370. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1371. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1372. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1373. }
  1374. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1375. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1376. _content = $$("div", {
  1377. className: "U_MD_D_KO",
  1378. "onmousedown": U.UF.C.closure(function (obj) {
  1379. //防止拖动图标即打开了桌面应用
  1380. U.MD.D.click(this, obj);
  1381. }, [_dseiStudentDeskIconInfo[i]]),
  1382. "onclick": U.UF.C.closure(function (obj) {
  1383. //防止拖动图标即打开了桌面应用
  1384. U.MD.D.click(this, obj);
  1385. }, [_dseiStudentDeskIconInfo[i]])
  1386. }, _frag); //
  1387. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1388. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1389. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1390. }
  1391. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1392. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1393. _content = $$("div", {
  1394. className: "U_MD_D_KO",
  1395. "onmousedown": U.UF.C.closure(function (obj) {
  1396. //防止拖动图标即打开了桌面应用
  1397. U.MD.D.click(this, obj);
  1398. }, [_siesStudentDeskIconInfo[i]]),
  1399. "onclick": U.UF.C.closure(function (obj) {
  1400. //防止拖动图标即打开了桌面应用
  1401. U.MD.D.click(this, obj);
  1402. }, [_siesStudentDeskIconInfo[i]])
  1403. }, _frag); //
  1404. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1405. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1406. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1407. }
  1408. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1409. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1410. _content = $$("div", {
  1411. className: "U_MD_D_KO",
  1412. "onmousedown": U.UF.C.closure(function (obj) {
  1413. //防止拖动图标即打开了桌面应用
  1414. U.MD.D.click(this, obj);
  1415. }, [_hkStudentDeskIconInfo[i]]),
  1416. "onclick": U.UF.C.closure(function (obj) {
  1417. //防止拖动图标即打开了桌面应用
  1418. U.MD.D.click(this, obj);
  1419. }, [_hkStudentDeskIconInfo[i]])
  1420. }, _frag); //
  1421. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1422. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1423. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1424. }
  1425. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1426. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1427. _content = $$("div", {
  1428. className: "U_MD_D_KO",
  1429. "onmousedown": U.UF.C.closure(function (obj) {
  1430. //防止拖动图标即打开了桌面应用
  1431. U.MD.D.click(this, obj);
  1432. }, [_studentDesktopIconInfo[i]]),
  1433. "onclick": U.UF.C.closure(function (obj) {
  1434. //防止拖动图标即打开了桌面应用
  1435. U.MD.D.click(this, obj);
  1436. }, [_studentDesktopIconInfo[i]])
  1437. }, _frag); //
  1438. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1439. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1440. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1441. }
  1442. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1443. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1444. _content = $$("div", {
  1445. className: "U_MD_D_KO",
  1446. "onmousedown": U.UF.C.closure(function (obj) {
  1447. //防止拖动图标即打开了桌面应用
  1448. U.MD.D.click(this, obj);
  1449. }, [_tcStudentDeskIconInfo[i]]),
  1450. "onclick": U.UF.C.closure(function (obj) {
  1451. //防止拖动图标即打开了桌面应用
  1452. U.MD.D.click(this, obj);
  1453. }, [_tcStudentDeskIconInfo[i]])
  1454. }, _frag); //
  1455. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1456. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1457. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1458. }
  1459. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1460. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1461. _content = $$("div", {
  1462. className: "U_MD_D_KO",
  1463. "onmousedown": U.UF.C.closure(function (obj) {
  1464. //防止拖动图标即打开了桌面应用
  1465. U.MD.D.click(this, obj);
  1466. }, [_szscStudentDeskIconInfo[i]]),
  1467. "onclick": U.UF.C.closure(function (obj) {
  1468. //防止拖动图标即打开了桌面应用
  1469. U.MD.D.click(this, obj);
  1470. }, [_szscStudentDeskIconInfo[i]])
  1471. }, _frag); //
  1472. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1473. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1474. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1475. }
  1476. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1477. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1478. _content = $$("div", {
  1479. className: "U_MD_D_KO",
  1480. "onmousedown": U.UF.C.closure(function (obj) {
  1481. //防止拖动图标即打开了桌面应用
  1482. U.MD.D.click(this, obj);
  1483. }, [_studentDesktopIconInfo3[i]]),
  1484. "onclick": U.UF.C.closure(function (obj) {
  1485. //防止拖动图标即打开了桌面应用
  1486. U.MD.D.click(this, obj);
  1487. }, [_studentDesktopIconInfo3[i]])
  1488. }, _frag); //
  1489. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1490. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1491. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1492. }
  1493. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1494. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1495. _content = $$("div", {
  1496. className: "U_MD_D_KO",
  1497. "onmousedown": U.UF.C.closure(function (obj) {
  1498. //防止拖动图标即打开了桌面应用
  1499. U.MD.D.click(this, obj);
  1500. }, [_studentDesktopIconInfo2[i]]),
  1501. "onclick": U.UF.C.closure(function (obj) {
  1502. //防止拖动图标即打开了桌面应用
  1503. U.MD.D.click(this, obj);
  1504. }, [_studentDesktopIconInfo2[i]])
  1505. }, _frag); //
  1506. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1507. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1508. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1509. }
  1510. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1511. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1512. _content = $$("div", {
  1513. className: "U_MD_D_KO",
  1514. "onmousedown": U.UF.C.closure(function (obj) {
  1515. //防止拖动图标即打开了桌面应用
  1516. U.MD.D.click(this, obj);
  1517. }, [_wanketeacherDesktopIconInfo[i]]),
  1518. "onclick": U.UF.C.closure(function (obj) {
  1519. //防止拖动图标即打开了桌面应用
  1520. U.MD.D.click(this, obj);
  1521. }, [_wanketeacherDesktopIconInfo[i]])
  1522. }, _frag); //
  1523. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1524. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1525. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1526. }
  1527. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1528. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1529. _content = $$("div", {
  1530. className: "U_MD_D_KO",
  1531. "onmousedown": U.UF.C.closure(function (obj) {
  1532. //防止拖动图标即打开了桌面应用
  1533. U.MD.D.click(this, obj);
  1534. }, [_wankeAdminDesktopIconInfo[i]]),
  1535. "onclick": U.UF.C.closure(function (obj) {
  1536. //防止拖动图标即打开了桌面应用
  1537. U.MD.D.click(this, obj);
  1538. }, [_wankeAdminDesktopIconInfo[i]])
  1539. }, _frag); //
  1540. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1541. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1542. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1543. }
  1544. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1545. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1546. _content = $$("div", {
  1547. className: "U_MD_D_KO",
  1548. "onmousedown": U.UF.C.closure(function (obj) {
  1549. //防止拖动图标即打开了桌面应用
  1550. U.MD.D.click(this, obj);
  1551. }, [_jccssylTeacherDeskIconInfo[i]]),
  1552. "onclick": U.UF.C.closure(function (obj) {
  1553. //防止拖动图标即打开了桌面应用
  1554. U.MD.D.click(this, obj);
  1555. }, [_jccssylTeacherDeskIconInfo[i]])
  1556. }, _frag); //
  1557. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1558. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1559. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1560. }
  1561. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1562. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1563. _content = $$("div", {
  1564. className: "U_MD_D_KO",
  1565. "onmousedown": U.UF.C.closure(function (obj) {
  1566. //防止拖动图标即打开了桌面应用
  1567. U.MD.D.click(this, obj);
  1568. }, [_tpcOrganizerDeskIconInfo[i]]),
  1569. "onclick": U.UF.C.closure(function (obj) {
  1570. //防止拖动图标即打开了桌面应用
  1571. U.MD.D.click(this, obj);
  1572. }, [_tpcOrganizerDeskIconInfo[i]])
  1573. }, _frag); //
  1574. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1575. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1576. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1577. }
  1578. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1579. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1580. _content = $$("div", {
  1581. className: "U_MD_D_KO",
  1582. "onmousedown": U.UF.C.closure(function (obj) {
  1583. //防止拖动图标即打开了桌面应用
  1584. U.MD.D.click(this, obj);
  1585. }, [_tpcTeacherDeskIconInfo[i]]),
  1586. "onclick": U.UF.C.closure(function (obj) {
  1587. //防止拖动图标即打开了桌面应用
  1588. U.MD.D.click(this, obj);
  1589. }, [_tpcTeacherDeskIconInfo[i]])
  1590. }, _frag); //
  1591. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1592. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1593. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1594. }
  1595. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1596. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1597. _content = $$("div", {
  1598. className: "U_MD_D_KO",
  1599. "onmousedown": U.UF.C.closure(function (obj) {
  1600. //防止拖动图标即打开了桌面应用
  1601. U.MD.D.click(this, obj);
  1602. }, [_teacherDesktopIconInfo2[i]]),
  1603. "onclick": U.UF.C.closure(function (obj) {
  1604. //防止拖动图标即打开了桌面应用
  1605. U.MD.D.click(this, obj);
  1606. }, [_teacherDesktopIconInfo2[i]])
  1607. }, _frag); //
  1608. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1609. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1610. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1611. }
  1612. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1613. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1614. _content = $$("div", {
  1615. className: "U_MD_D_KO",
  1616. "onmousedown": U.UF.C.closure(function (obj) {
  1617. //防止拖动图标即打开了桌面应用
  1618. U.MD.D.click(this, obj);
  1619. }, [_thuioeTeacherDeskIconInfo[i]]),
  1620. "onclick": U.UF.C.closure(function (obj) {
  1621. //防止拖动图标即打开了桌面应用
  1622. U.MD.D.click(this, obj);
  1623. }, [_thuioeTeacherDeskIconInfo[i]])
  1624. }, _frag); //
  1625. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1626. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1627. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1628. }
  1629. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1630. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1631. _content = $$("div", {
  1632. className: "U_MD_D_KO",
  1633. "onmousedown": U.UF.C.closure(function (obj) {
  1634. //防止拖动图标即打开了桌面应用
  1635. U.MD.D.click(this, obj);
  1636. }, [_lotechTeacherDeskIconInfo[i]]),
  1637. "onclick": U.UF.C.closure(function (obj) {
  1638. //防止拖动图标即打开了桌面应用
  1639. U.MD.D.click(this, obj);
  1640. }, [_lotechTeacherDeskIconInfo[i]])
  1641. }, _frag); //
  1642. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1643. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1644. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1645. }//
  1646. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1647. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1648. _content = $$("div", {
  1649. className: "U_MD_D_KO",
  1650. "onmousedown": U.UF.C.closure(function (obj) {
  1651. //防止拖动图标即打开了桌面应用
  1652. U.MD.D.click(this, obj);
  1653. }, [_siesTeacherDeskIconInfo[i]]),
  1654. "onclick": U.UF.C.closure(function (obj) {
  1655. //防止拖动图标即打开了桌面应用
  1656. U.MD.D.click(this, obj);
  1657. }, [_siesTeacherDeskIconInfo[i]])
  1658. }, _frag); //
  1659. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1660. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1661. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1662. }
  1663. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1664. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1665. _content = $$("div", {
  1666. className: "U_MD_D_KO",
  1667. "onmousedown": U.UF.C.closure(function (obj) {
  1668. //防止拖动图标即打开了桌面应用
  1669. U.MD.D.click(this, obj);
  1670. }, [_longhuaTeacherDeskIconInfo[i]]),
  1671. "onclick": U.UF.C.closure(function (obj) {
  1672. //防止拖动图标即打开了桌面应用
  1673. U.MD.D.click(this, obj);
  1674. }, [_longhuaTeacherDeskIconInfo[i]])
  1675. }, _frag); //
  1676. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1677. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1678. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1679. }
  1680. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1681. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1682. _content = $$("div", {
  1683. className: "U_MD_D_KO",
  1684. "onmousedown": U.UF.C.closure(function (obj) {
  1685. //防止拖动图标即打开了桌面应用
  1686. U.MD.D.click(this, obj);
  1687. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1688. "onclick": U.UF.C.closure(function (obj) {
  1689. //防止拖动图标即打开了桌面应用
  1690. U.MD.D.click(this, obj);
  1691. }, [_yunhaiTeacherDeskIconInfo[i]])
  1692. }, _frag); //
  1693. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1694. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1695. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1696. } //_hkStudentDeskIconInfo
  1697. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1698. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1699. _content = $$("div", {
  1700. className: "U_MD_D_KO",
  1701. "onmousedown": U.UF.C.closure(function (obj) {
  1702. //防止拖动图标即打开了桌面应用
  1703. U.MD.D.click(this, obj);
  1704. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1705. "onclick": U.UF.C.closure(function (obj) {
  1706. //防止拖动图标即打开了桌面应用
  1707. U.MD.D.click(this, obj);
  1708. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1709. }, _frag); //
  1710. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1711. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1712. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1713. }
  1714. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1715. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1716. _content = $$("div", {
  1717. className: "U_MD_D_KO",
  1718. "onmousedown": U.UF.C.closure(function (obj) {
  1719. //防止拖动图标即打开了桌面应用
  1720. U.MD.D.click(this, obj);
  1721. }, [_hkTeacherDeskIconInfo[i]]),
  1722. "onclick": U.UF.C.closure(function (obj) {
  1723. //防止拖动图标即打开了桌面应用
  1724. U.MD.D.click(this, obj);
  1725. }, [_hkTeacherDeskIconInfo[i]])
  1726. }, _frag); //
  1727. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1728. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1729. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1730. }
  1731. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1732. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1733. _content = $$("div", {
  1734. className: "U_MD_D_KO",
  1735. "onmousedown": U.UF.C.closure(function (obj) {
  1736. //防止拖动图标即打开了桌面应用
  1737. U.MD.D.click(this, obj);
  1738. }, [_gdjgAdminDeskIconInfo[i]]),
  1739. "onclick": U.UF.C.closure(function (obj) {
  1740. //防止拖动图标即打开了桌面应用
  1741. U.MD.D.click(this, obj);
  1742. }, [_gdjgAdminDeskIconInfo[i]])
  1743. }, _frag); //
  1744. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1745. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1746. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1747. }
  1748. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1749. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1750. _content = $$("div", {
  1751. className: "U_MD_D_KO",
  1752. "onmousedown": U.UF.C.closure(function (obj) {
  1753. //防止拖动图标即打开了桌面应用
  1754. U.MD.D.click(this, obj);
  1755. }, [_gdjgTeacherDeskIconInfo[i]]),
  1756. "onclick": U.UF.C.closure(function (obj) {
  1757. //防止拖动图标即打开了桌面应用
  1758. U.MD.D.click(this, obj);
  1759. }, [_gdjgTeacherDeskIconInfo[i]])
  1760. }, _frag); //
  1761. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1762. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1763. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1764. }
  1765. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1766. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1767. _content = $$("div", {
  1768. className: "U_MD_D_KO",
  1769. "onmousedown": U.UF.C.closure(function (obj) {
  1770. //防止拖动图标即打开了桌面应用
  1771. U.MD.D.click(this, obj);
  1772. }, [_szherTeacherDeskIconInfo[i]]),
  1773. "onclick": U.UF.C.closure(function (obj) {
  1774. //防止拖动图标即打开了桌面应用
  1775. U.MD.D.click(this, obj);
  1776. }, [_szherTeacherDeskIconInfo[i]])
  1777. }, _frag); //
  1778. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1779. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1780. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1781. }
  1782. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1783. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1784. _content = $$("div", {
  1785. className: "U_MD_D_KO",
  1786. "onmousedown": U.UF.C.closure(function (obj) {
  1787. //防止拖动图标即打开了桌面应用
  1788. U.MD.D.click(this, obj);
  1789. }, [_heyuannAdminDeskIconInfo[i]]),
  1790. "onclick": U.UF.C.closure(function (obj) {
  1791. //防止拖动图标即打开了桌面应用
  1792. U.MD.D.click(this, obj);
  1793. }, [_heyuannAdminDeskIconInfo[i]])
  1794. }, _frag); //
  1795. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1796. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1797. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1798. }
  1799. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1800. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1801. _content = $$("div", {
  1802. className: "U_MD_D_KO",
  1803. "onmousedown": U.UF.C.closure(function (obj) {
  1804. //防止拖动图标即打开了桌面应用
  1805. U.MD.D.click(this, obj);
  1806. }, [_heyuanTeacherDeskIconInfo[i]]),
  1807. "onclick": U.UF.C.closure(function (obj) {
  1808. //防止拖动图标即打开了桌面应用
  1809. U.MD.D.click(this, obj);
  1810. }, [_heyuanTeacherDeskIconInfo[i]])
  1811. }, _frag); //
  1812. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1813. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1814. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1815. } //
  1816. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1817. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1818. _content = $$("div", {
  1819. className: "U_MD_D_KO",
  1820. "onmousedown": U.UF.C.closure(function (obj) {
  1821. //防止拖动图标即打开了桌面应用
  1822. U.MD.D.click(this, obj);
  1823. }, [_dseiAdminDeskIconInfo[i]]),
  1824. "onclick": U.UF.C.closure(function (obj) {
  1825. //防止拖动图标即打开了桌面应用
  1826. U.MD.D.click(this, obj);
  1827. }, [_dseiAdminDeskIconInfo[i]])
  1828. }, _frag); //
  1829. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1830. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1831. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1832. }
  1833. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1834. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1835. _content = $$("div", {
  1836. className: "U_MD_D_KO",
  1837. "onmousedown": U.UF.C.closure(function (obj) {
  1838. //防止拖动图标即打开了桌面应用
  1839. U.MD.D.click(this, obj);
  1840. }, [_dseiTeacherDeskIconInfo[i]]),
  1841. "onclick": U.UF.C.closure(function (obj) {
  1842. //防止拖动图标即打开了桌面应用
  1843. U.MD.D.click(this, obj);
  1844. }, [_dseiTeacherDeskIconInfo[i]])
  1845. }, _frag); //
  1846. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1847. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1848. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1849. } //
  1850. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1851. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1852. _content = $$("div", {
  1853. className: "U_MD_D_KO",
  1854. "onmousedown": U.UF.C.closure(function (obj) {
  1855. //防止拖动图标即打开了桌面应用
  1856. U.MD.D.click(this, obj);
  1857. }, [_chjyjAdminDeskIconInfo[i]]),
  1858. "onclick": U.UF.C.closure(function (obj) {
  1859. //防止拖动图标即打开了桌面应用
  1860. U.MD.D.click(this, obj);
  1861. }, [_chjyjAdminDeskIconInfo[i]])
  1862. }, _frag); //
  1863. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1864. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1865. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1866. }//
  1867. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1868. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1869. _content = $$("div", {
  1870. className: "U_MD_D_KO",
  1871. "onmousedown": U.UF.C.closure(function (obj) {
  1872. //防止拖动图标即打开了桌面应用
  1873. U.MD.D.click(this, obj);
  1874. }, [_chjyjTeacherDeskIconInfo[i]]),
  1875. "onclick": U.UF.C.closure(function (obj) {
  1876. //防止拖动图标即打开了桌面应用
  1877. U.MD.D.click(this, obj);
  1878. }, [_chjyjTeacherDeskIconInfo[i]])
  1879. }, _frag); //
  1880. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1881. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1882. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1883. }
  1884. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1885. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1886. _content = $$("div", {
  1887. className: "U_MD_D_KO",
  1888. "onmousedown": U.UF.C.closure(function (obj) {
  1889. //防止拖动图标即打开了桌面应用
  1890. U.MD.D.click(this, obj);
  1891. }, [_szjkyAdminDeskIconInfo[i]]),
  1892. "onclick": U.UF.C.closure(function (obj) {
  1893. //防止拖动图标即打开了桌面应用
  1894. U.MD.D.click(this, obj);
  1895. }, [_szjkyAdminDeskIconInfo[i]])
  1896. }, _frag); //
  1897. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1898. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1899. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1900. }//
  1901. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1902. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1903. _content = $$("div", {
  1904. className: "U_MD_D_KO",
  1905. "onmousedown": U.UF.C.closure(function (obj) {
  1906. //防止拖动图标即打开了桌面应用
  1907. U.MD.D.click(this, obj);
  1908. }, [_szjkyTeacherDeskIconInfo[i]]),
  1909. "onclick": U.UF.C.closure(function (obj) {
  1910. //防止拖动图标即打开了桌面应用
  1911. U.MD.D.click(this, obj);
  1912. }, [_szjkyTeacherDeskIconInfo[i]])
  1913. }, _frag); //
  1914. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1915. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1916. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1917. }
  1918. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1919. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1920. _content = $$("div", {
  1921. className: "U_MD_D_KO",
  1922. "onmousedown": U.UF.C.closure(function (obj) {
  1923. //防止拖动图标即打开了桌面应用
  1924. U.MD.D.click(this, obj);
  1925. }, [_futianAdminDeskIconInfo[i]]),
  1926. "onclick": U.UF.C.closure(function (obj) {
  1927. //防止拖动图标即打开了桌面应用
  1928. U.MD.D.click(this, obj);
  1929. }, [_futianAdminDeskIconInfo[i]])
  1930. }, _frag); //
  1931. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1932. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1933. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1934. }
  1935. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1936. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1937. _content = $$("div", {
  1938. className: "U_MD_D_KO",
  1939. "onmousedown": U.UF.C.closure(function (obj) {
  1940. //防止拖动图标即打开了桌面应用
  1941. U.MD.D.click(this, obj);
  1942. }, [_futianTeacherDeskIconInfo[i]]),
  1943. "onclick": U.UF.C.closure(function (obj) {
  1944. //防止拖动图标即打开了桌面应用
  1945. U.MD.D.click(this, obj);
  1946. }, [_futianTeacherDeskIconInfo[i]])
  1947. }, _frag); //
  1948. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1949. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1950. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1951. }
  1952. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1953. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1954. _content = $$("div", {
  1955. className: "U_MD_D_KO",
  1956. "onmousedown": U.UF.C.closure(function (obj) {
  1957. //防止拖动图标即打开了桌面应用
  1958. U.MD.D.click(this, obj);
  1959. }, [_MingdeTeacherDeskIcon[i]]),
  1960. "onclick": U.UF.C.closure(function (obj) {
  1961. //防止拖动图标即打开了桌面应用
  1962. U.MD.D.click(this, obj);
  1963. }, [_MingdeTeacherDeskIcon[i]])
  1964. }, _frag); //
  1965. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1966. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1967. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1968. }
  1969. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1970. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1971. _content = $$("div", {
  1972. className: "U_MD_D_KO",
  1973. "onmousedown": U.UF.C.closure(function (obj) {
  1974. //防止拖动图标即打开了桌面应用
  1975. U.MD.D.click(this, obj);
  1976. }, [_lhsAdminDesktopIconInfo[i]]),
  1977. "onclick": U.UF.C.closure(function (obj) {
  1978. //防止拖动图标即打开了桌面应用
  1979. U.MD.D.click(this, obj);
  1980. }, [_lhsAdminDesktopIconInfo[i]])
  1981. }, _frag); //
  1982. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1983. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1984. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1985. }
  1986. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1987. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1988. _content = $$("div", {
  1989. className: "U_MD_D_KO",
  1990. "onmousedown": U.UF.C.closure(function (obj) {
  1991. //防止拖动图标即打开了桌面应用
  1992. U.MD.D.click(this, obj);
  1993. }, [_lhsteacherDesktopIconInfo[i]]),
  1994. "onclick": U.UF.C.closure(function (obj) {
  1995. //防止拖动图标即打开了桌面应用
  1996. U.MD.D.click(this, obj);
  1997. }, [_lhsteacherDesktopIconInfo[i]])
  1998. }, _frag); //
  1999. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2000. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2001. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2002. }
  2003. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2004. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2005. _content = $$("div", {
  2006. className: "U_MD_D_KO",
  2007. "onmousedown": U.UF.C.closure(function (obj) {
  2008. //防止拖动图标即打开了桌面应用
  2009. U.MD.D.click(this, obj);
  2010. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2011. "onclick": U.UF.C.closure(function (obj) {
  2012. //防止拖动图标即打开了桌面应用
  2013. U.MD.D.click(this, obj);
  2014. }, [_zhoujiateacherDesktopIconInfo[i]])
  2015. }, _frag); //
  2016. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2017. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2018. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2019. }
  2020. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2021. for (i = 0; i < _hanDeskIcon.length; i++) {
  2022. _content = $$("div", {
  2023. className: "U_MD_D_KO",
  2024. "onmousedown": U.UF.C.closure(function (obj) {
  2025. //防止拖动图标即打开了桌面应用
  2026. U.MD.D.click(this, obj);
  2027. }, [_hanDeskIcon[i]]),
  2028. "onclick": U.UF.C.closure(function (obj) {
  2029. //防止拖动图标即打开了桌面应用
  2030. U.MD.D.click(this, obj);
  2031. }, [_hanDeskIcon[i]])
  2032. }, _frag); //
  2033. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2034. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2035. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2036. }
  2037. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2038. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2039. _content = $$("div", {
  2040. className: "U_MD_D_KO",
  2041. "onmousedown": U.UF.C.closure(function (obj) {
  2042. //防止拖动图标即打开了桌面应用
  2043. U.MD.D.click(this, obj);
  2044. }, [_orgStemDeskIcon[i]]),
  2045. "onclick": U.UF.C.closure(function (obj) {
  2046. //防止拖动图标即打开了桌面应用
  2047. U.MD.D.click(this, obj);
  2048. }, [_orgStemDeskIcon[i]])
  2049. }, _frag); //
  2050. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2051. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2052. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2053. }
  2054. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2055. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2056. _content = $$("div", {
  2057. className: "U_MD_D_KO",
  2058. "onmousedown": U.UF.C.closure(function (obj) {
  2059. //防止拖动图标即打开了桌面应用
  2060. U.MD.D.click(this, obj);
  2061. }, [_szulsDeskIcon[i]]),
  2062. "onclick": U.UF.C.closure(function (obj) {
  2063. //防止拖动图标即打开了桌面应用
  2064. U.MD.D.click(this, obj);
  2065. }, [_szulsDeskIcon[i]])
  2066. }, _frag); //
  2067. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2068. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2069. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2070. }
  2071. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2072. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2073. _content = $$("div", {
  2074. className: "U_MD_D_KO",
  2075. "onmousedown": U.UF.C.closure(function (obj) {
  2076. //防止拖动图标即打开了桌面应用
  2077. U.MD.D.click(this, obj);
  2078. }, [_orgDesktopIconInfo[i]]),
  2079. "onclick": U.UF.C.closure(function (obj) {
  2080. //防止拖动图标即打开了桌面应用
  2081. U.MD.D.click(this, obj);
  2082. }, [_orgDesktopIconInfo[i]])
  2083. }, _frag); //
  2084. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2085. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2086. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2087. }
  2088. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2089. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2090. _content = $$("div", {
  2091. className: "U_MD_D_KO",
  2092. "onmousedown": U.UF.C.closure(function (obj) {
  2093. //防止拖动图标即打开了桌面应用
  2094. U.MD.D.click(this, obj);
  2095. }, [_schoolDesktopIconInfo[i]]),
  2096. "onclick": U.UF.C.closure(function (obj) {
  2097. //防止拖动图标即打开了桌面应用
  2098. U.MD.D.click(this, obj);
  2099. }, [_schoolDesktopIconInfo[i]])
  2100. }, _frag); //
  2101. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2102. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2103. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2104. }
  2105. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2106. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2107. _content = $$("div", {
  2108. className: "U_MD_D_KO",
  2109. "onmousedown": U.UF.C.closure(function (obj) {
  2110. //防止拖动图标即打开了桌面应用
  2111. U.MD.D.click(this, obj);
  2112. }, [_GMteacherDesktopIconInfo[i]]),
  2113. "onclick": U.UF.C.closure(function (obj) {
  2114. //防止拖动图标即打开了桌面应用
  2115. U.MD.D.click(this, obj);
  2116. }, [_GMteacherDesktopIconInfo[i]])
  2117. }, _frag); //
  2118. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2119. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2120. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2121. }
  2122. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2123. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2124. _content = $$("div", {
  2125. className: "U_MD_D_KO",
  2126. "onmousedown": U.UF.C.closure(function (obj) {
  2127. //防止拖动图标即打开了桌面应用
  2128. U.MD.D.click(this, obj);
  2129. }, [_SONGteacherDesktopIconInfo[i]]),
  2130. "onclick": U.UF.C.closure(function (obj) {
  2131. //防止拖动图标即打开了桌面应用
  2132. U.MD.D.click(this, obj);
  2133. }, [_SONGteacherDesktopIconInfo[i]])
  2134. }, _frag); //
  2135. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2136. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2137. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2138. }
  2139. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2140. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2141. _content = $$("div", {
  2142. className: "U_MD_D_KO",
  2143. "onmousedown": U.UF.C.closure(function (obj) {
  2144. //防止拖动图标即打开了桌面应用
  2145. U.MD.D.click(this, obj);
  2146. }, [_GMstudentDesktopIconInfo[i]]),
  2147. "onclick": U.UF.C.closure(function (obj) {
  2148. //防止拖动图标即打开了桌面应用
  2149. U.MD.D.click(this, obj);
  2150. }, [_GMstudentDesktopIconInfo[i]])
  2151. }, _frag); //
  2152. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2153. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2154. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2155. }
  2156. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2157. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2158. _content = $$("div", {
  2159. className: "U_MD_D_KO",
  2160. "onmousedown": U.UF.C.closure(function (obj) {
  2161. //防止拖动图标即打开了桌面应用
  2162. U.MD.D.click(this, obj);
  2163. }, [_tcTeacherDeskIconInfo[i]]),
  2164. "onclick": U.UF.C.closure(function (obj) {
  2165. //防止拖动图标即打开了桌面应用
  2166. U.MD.D.click(this, obj);
  2167. }, [_tcTeacherDeskIconInfo[i]])
  2168. }, _frag); //
  2169. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2170. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2171. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2172. }
  2173. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2174. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2175. _content = $$("div", {
  2176. className: "U_MD_D_KO",
  2177. "onmousedown": U.UF.C.closure(function (obj) {
  2178. //防止拖动图标即打开了桌面应用
  2179. U.MD.D.click(this, obj);
  2180. }, [_tcOrganizerDeskIconInfo[i]]),
  2181. "onclick": U.UF.C.closure(function (obj) {
  2182. //防止拖动图标即打开了桌面应用
  2183. U.MD.D.click(this, obj);
  2184. }, [_tcOrganizerDeskIconInfo[i]])
  2185. }, _frag); //
  2186. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2187. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2188. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2189. }
  2190. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2191. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2192. _content = $$("div", {
  2193. className: "U_MD_D_KO",
  2194. "onmousedown": U.UF.C.closure(function (obj) {
  2195. //防止拖动图标即打开了桌面应用
  2196. U.MD.D.click(this, obj);
  2197. }, [_szscTeacherDeskIconInfo[i]]),
  2198. "onclick": U.UF.C.closure(function (obj) {
  2199. //防止拖动图标即打开了桌面应用
  2200. U.MD.D.click(this, obj);
  2201. }, [_szscTeacherDeskIconInfo[i]])
  2202. }, _frag); //
  2203. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2204. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2205. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2206. }
  2207. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2208. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2209. _content = $$("div", {
  2210. className: "U_MD_D_KO",
  2211. "onmousedown": U.UF.C.closure(function (obj) {
  2212. //防止拖动图标即打开了桌面应用
  2213. U.MD.D.click(this, obj);
  2214. }, [_szscOrganizerDeskIconInfo[i]]),
  2215. "onclick": U.UF.C.closure(function (obj) {
  2216. //防止拖动图标即打开了桌面应用
  2217. U.MD.D.click(this, obj);
  2218. }, [_szscOrganizerDeskIconInfo[i]])
  2219. }, _frag); //
  2220. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2221. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2222. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2223. }
  2224. } else {
  2225. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2226. _content = $$("div", {
  2227. className: "U_MD_D_KO",
  2228. "onmousedown": U.UF.C.closure(function (obj) {
  2229. //防止拖动图标即打开了桌面应用
  2230. U.MD.D.click(this, obj);
  2231. }, [_teacherDesktopIconInfo[i]]),
  2232. "onclick": U.UF.C.closure(function (obj) {
  2233. //防止拖动图标即打开了桌面应用
  2234. U.MD.D.click(this, obj);
  2235. }, [_teacherDesktopIconInfo[i]])
  2236. }, _frag); //
  2237. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2238. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2239. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2240. }
  2241. }
  2242. } else {
  2243. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2244. _content = $$("div", {
  2245. className: "U_MD_D_KO",
  2246. style: { 'width': '124px', 'height': '145px' },
  2247. "onmousedown": U.UF.C.closure(function (obj) {
  2248. //防止拖动图标即打开了桌面应用
  2249. U.MD.D.click(this, obj);
  2250. }, [_easyDesktopIconInfo[i]]),
  2251. "onclick": U.UF.C.closure(function (obj) {
  2252. //防止拖动图标即打开了桌面应用
  2253. U.MD.D.click(this, obj);
  2254. }, [_easyDesktopIconInfo[i]])
  2255. }, _frag); //
  2256. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2257. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2258. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2259. }
  2260. }
  2261. if (type == 1) {
  2262. //加载好后给图标定位
  2263. U.MD.D.iconPostion($(_frag).Child());
  2264. } else {
  2265. //加载好后给图标定位
  2266. U.MD.D.iconPostion2($(_frag).Child());
  2267. }
  2268. //把图标加载到页面
  2269. el.appendChild(_frag);
  2270. }
  2271. /**
  2272. * 显示任务栏
  2273. *
  2274. * @param {element} 桌面元素
  2275. */
  2276. U.MD.D.I.displayTaskbar = function (el) {
  2277. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2278. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2279. //任务栏位置变化
  2280. U.selectEl(el).css({ "bottom": "0px" });
  2281. //桌面位置变话
  2282. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2283. }
  2284. }
  2285. //#region 桌面图标拖动逻辑
  2286. /**
  2287. * 桌面排列图标
  2288. *
  2289. * @param {element} 桌面元素
  2290. * @param {object} 上下相距的距离
  2291. * @param {object} 左右相距的距离
  2292. * @return {object} 命名空间
  2293. */
  2294. U.MD.D.iconPostion = function (childs, top, left) {
  2295. var i; //用于循环处理
  2296. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2297. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2298. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2299. for (i = 0; i < childs.length; i++) {
  2300. //如果竖排top超过了范围处理
  2301. if (top + 95 > US.height - 10) {
  2302. //left超过了页面范围处理,则向上重叠打印处理
  2303. if ((left + 180) > US.width) {
  2304. top -= 110;
  2305. left -= 90;
  2306. }
  2307. //没有超过范围,那么left+90添加到下一个竖排打印
  2308. else {
  2309. left += 90;
  2310. top = 15;
  2311. };
  2312. }
  2313. //给图标的位置赋值
  2314. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2315. if (i < childs.length - 1) {
  2316. //页面图标每次向下加95
  2317. top += 95;
  2318. }
  2319. }
  2320. //返回最后调用的图标的位置
  2321. return [top, left];
  2322. }
  2323. /**
  2324. * 桌面排列图标
  2325. *
  2326. * @param {element} 桌面元素
  2327. * @param {object} 上下相距的距离
  2328. * @param {object} 左右相距的距离
  2329. * @return {object} 命名空间
  2330. */
  2331. U.MD.D.iconPostion2 = function (childs, top, left) {
  2332. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2333. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2334. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2335. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2336. for (i = 0; i < childs.length; i++) {
  2337. //如果竖排top超过了范围处理
  2338. if (left + 150 > US.width - 10) {
  2339. //left超过了页面范围处理,则向上重叠打印处理
  2340. if ((top + 180) > US.Height) {
  2341. top -= 150;
  2342. left -= 150;
  2343. }
  2344. //没有超过范围,那么left+90添加到下一个竖排打印
  2345. else {
  2346. top += 150;
  2347. left = ol;
  2348. };
  2349. }
  2350. //给图标的位置赋值
  2351. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2352. if (i < childs.length - 1) {
  2353. //页面图标每次向下加95
  2354. left += 150;
  2355. }
  2356. }
  2357. //返回最后调用的图标的位置
  2358. return [top, left];
  2359. }
  2360. /**
  2361. * 桌面点击事件逻辑
  2362. *
  2363. * @param {element} 桌面元素
  2364. * @param {object} 上下相距的距离
  2365. * @param {object} 左右相距的距离
  2366. * @return {object} 命名空间
  2367. */
  2368. U.MD.D.click = function (el, obj) {
  2369. var _buttonnumber = event.button; //点击的按钮的事件值
  2370. var _userinfo = US.userInfo;
  2371. U.UF.EV.stopBubble(); //阻止向上冒泡
  2372. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2373. if (_buttonnumber < 2) {
  2374. //如果是click事件的处理
  2375. if (event.type == "click") {
  2376. //如果元素在mousemove事件中没有移动则出发click事件
  2377. if (!U.MD.D.I.IsDrag) {
  2378. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2379. U.alert("请先登录您的账号!");
  2380. setTimeout(() => {
  2381. U.MD.U.L.login();
  2382. }, 2000);
  2383. } else {
  2384. //打开应用处理
  2385. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2386. }
  2387. }
  2388. }
  2389. //如果是mouse事件的处理
  2390. else {
  2391. if (US.Config.type == '1') {
  2392. //拖动处理,添加拖动和拖动结束事件
  2393. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2394. }
  2395. }
  2396. U.MD.D.I.IsDrag = false;
  2397. }
  2398. }
  2399. /**
  2400. * 拖动的处理
  2401. *
  2402. */
  2403. U.MD.D.iconMove = function () {
  2404. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2405. U.MD.D.I.IsDrag = true;
  2406. }
  2407. /**
  2408. * 拖动结束后,这里是定位处理,以网状的形式定位
  2409. *
  2410. * @param {element} 拖动的元素
  2411. * @return {object} 命名空间
  2412. */
  2413. U.MD.D.iconUp = function (el) {
  2414. var _top = 15,
  2415. _left = 20,
  2416. _margin,
  2417. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2418. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2419. if (_positioninfo["OT"] > 15) {
  2420. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2421. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2422. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2423. }
  2424. if (_positioninfo["OL"] > 20) {
  2425. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2426. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2427. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2428. }
  2429. //while循环判断么一个重叠的元素
  2430. do {
  2431. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2432. _top = _positioninfo[0] + 95; //得到定位后的top
  2433. _left = _positioninfo[1]; //得到定位后的left
  2434. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2435. }
  2436. /**
  2437. * 判断拖动后图标是否重叠
  2438. *
  2439. * @param {element} 拖动的元素
  2440. * @param {element} 桌面所有的元素
  2441. * @param {array} 拖动元素的位置
  2442. ----------[0] 上 top
  2443. ----------[1] 左 left
  2444. * @return {object} 命名空间
  2445. */
  2446. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2447. //循环所有的图标
  2448. for (var i = 0; i < childs.length; i++) {
  2449. //判断有没有和该图标诶子重叠的元素
  2450. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2451. return childs[i]; //如果有返回
  2452. }
  2453. }
  2454. }
  2455. //#endregion
  2456. //#endregion
  2457. //#region 桌面应用
  2458. /**
  2459. * 打开应用
  2460. *
  2461. * @param {string} 类型
  2462. -----------------Disk 网盘系统
  2463. -----------------PDisk 学习系统网盘
  2464. -----------------Poto 图片
  2465. -----------------Video 视频
  2466. -----------------Music 音乐
  2467. -----------------Word word
  2468. -----------------Excel excel
  2469. -----------------Txt 记事本
  2470. -----------------PB 学习系统
  2471. -----------------Blog 朋友圈系统
  2472. -----------------FTP ftp系统
  2473. -----------------Group 好友群
  2474. -----------------SY 首页系统
  2475. -----------------Set 个人设置
  2476. -----------------XSet 系统设置
  2477. -----------------App 我们所有的app
  2478. -----------------BC c.1473.cn 平台
  2479. -----------------CWeb d.1473.cn 变成平台
  2480. -----------------其他的外联系统 我们统一用iframe打开
  2481. * @param {array} 类型
  2482. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2483. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2484. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2485. 如果第一个参数为其他,则无第二个参数
  2486. * @returns {array}
  2487. */
  2488. window.addEventListener('message', function (e) { // 监听 message 事件
  2489. // alert(e.data.type);
  2490. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2491. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2492. //3是展示全部阶段 2学生 1老师 4专家
  2493. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2494. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2495. //3是展示全部阶段 2学生 1老师 4专家
  2496. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2497. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2498. //3是展示全部阶段 2学生 1老师 4专家
  2499. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2500. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2501. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2502. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2503. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2504. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2505. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2506. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2507. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2508. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2509. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2510. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2511. //3是展示全部阶段 2学生 1老师 4专家
  2512. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2513. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2514. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2515. U.MD.D.I.selectUser();
  2516. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2517. var _formel = document.getElementById("study");
  2518. U.UF.F.windowZooming(_formel);
  2519. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2520. var _formel = document.getElementById("studyDetail");
  2521. U.UF.F.windowZooming(_formel);
  2522. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2523. var _formel = document.getElementById("studyDetail");
  2524. U.UF.F.windowZooming(_formel);
  2525. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2526. var _formel = document.getElementById("studentStudy");
  2527. U.UF.F.windowZooming(_formel);
  2528. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2529. // var _formel = document.getElementById("study");
  2530. //如果最大化了,那么就把他缩小
  2531. // if (_formel.ismaximize) {
  2532. // return;
  2533. // }
  2534. // U.UF.F.windowZooming(_formel);
  2535. // U.UF.F.topWindow(_formel);
  2536. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2537. // var _formel = document.getElementById("studyDetail");
  2538. //如果最大化了,那么就把他缩小
  2539. // if (_formel.ismaximize) {
  2540. // return;
  2541. // }
  2542. // U.UF.F.windowZooming(_formel);
  2543. // U.UF.F.topWindow(_formel);
  2544. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2545. // var _formel = document.getElementById("studentStudy");
  2546. // if (_formel.ismaximize) {
  2547. // return;
  2548. // }
  2549. // U.UF.F.windowZooming(_formel);
  2550. // U.UF.F.topWindow(_formel);
  2551. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2552. var _formel = document.getElementById("study");
  2553. // if (_formel.ismaximize) {
  2554. // return;
  2555. // }
  2556. // U.UF.F.windowZooming(_formel);
  2557. U.UF.F.topWindow(_formel);
  2558. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2559. var _formel = document.getElementById("studentIndex");
  2560. U.UF.F.windowZooming(_formel);
  2561. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2562. var _formel = document.getElementById("studyDetailS");
  2563. U.UF.F.windowZooming(_formel);
  2564. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2565. var _formel = document.getElementById("studioIndex");
  2566. U.UF.F.windowZooming(_formel);
  2567. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2568. var _formel = document.getElementById("studyDetailStudio");
  2569. U.UF.F.windowZooming(_formel);
  2570. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2571. var _formel = document.getElementById("studyDetailStudio");
  2572. U.UF.F.windowZooming(_formel);
  2573. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2574. var _formel = document.getElementById("studyDetailNT");
  2575. U.UF.F.windowZooming(_formel);
  2576. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2577. var _formel = document.getElementById("studyDetailS");
  2578. U.UF.F.windowZooming(_formel);
  2579. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2580. var _formel = document.getElementById("studyDetailS");
  2581. U.UF.F.topWindow(_formel);
  2582. } else if (e.data.tools && e.data.tools == "1") {
  2583. // U.MD.D.I.openApplication("whiteboard")
  2584. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2585. } else if (e.data.tools && e.data.tools == "2") {
  2586. U.MD.D.I.openApplication("note")
  2587. } else if (e.data.tools && e.data.tools == "3") {
  2588. // U.MD.D.I.openApplication("mind")
  2589. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2590. } else if (e.data.tools && e.data.tools == "4") {
  2591. U.MD.D.I.openApplication("investigation")
  2592. } else if (e.data.tools && e.data.tools == "6") {
  2593. // U.MD.D.I.openApplication("doc")
  2594. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2595. } else if (e.data.tools && e.data.tools == "7") {
  2596. // U.MD.D.I.openApplication("mindNetwork")
  2597. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2598. } else if (e.data.tools && e.data.tools == "8") {
  2599. U.MD.D.I.openApplication("library")
  2600. } else if (e.data.tools && e.data.tools == "17") {
  2601. U.MD.D.I.openApplication("stuLibrary")
  2602. } else if (e.data.tools && e.data.tools == "18") {
  2603. U.MD.D.I.openApplication("train")
  2604. } else if (e.data.tools && e.data.tools == "21") {
  2605. U.MD.D.I.openApplication("program")
  2606. } else if (e.data.tools && e.data.tools == "22") {
  2607. U.MD.D.I.openApplication("AIprogram2")
  2608. } else if (e.data.tools && e.data.tools == "23") {
  2609. U.MD.D.I.openApplication("Pythonprogram")
  2610. } else if (e.data.tools && e.data.tools == "24") {
  2611. U.MD.D.I.openApplication("AIprogram")
  2612. } else if (e.data.tools && e.data.tools == "25") {
  2613. U.MD.D.I.openApplication("sys")
  2614. } else if (e.data.tools && e.data.tools == "26") {
  2615. // U.MD.D.I.openApplication("courseDesign")
  2616. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2617. } else if (e.data.tools && e.data.tools == "31") {
  2618. U.MD.D.I.openApplication("netWorkPanel")
  2619. } else if (e.data.tools && e.data.tools == "32") {
  2620. U.MD.D.I.openApplication("codeEdit")
  2621. } else if (e.data.tools && e.data.tools == "57") {
  2622. U.MD.D.I.openApplication("CocoPi")
  2623. } else if (e.data.tools && e.data.tools == "63") {
  2624. U.MD.D.I.openApplication("Wood")
  2625. } else if (e.data.tools && e.data.tools == "58") {
  2626. U.MD.D.I.openApplication("car")
  2627. } else if (e.data.tools && e.data.tools == "59") {
  2628. U.MD.D.I.openApplication("lineSearch")
  2629. } else if (e.data.tools && e.data.tools == "60") {
  2630. U.MD.D.I.openApplication("deepLearning")
  2631. } else if (e.data.tools && e.data.tools == "61") {
  2632. U.MD.D.I.openApplication("allHistory")
  2633. } else if (e.data.tools && e.data.tools == "28") {
  2634. U.MD.D.I.openApplication("translation")
  2635. } else if (e.data.tools && e.data.tools == "37") {
  2636. U.MD.D.I.openApplication("mohe")
  2637. } else if (e.data.tools && e.data.tools == "38") {
  2638. U.MD.D.I.openApplication("24game")
  2639. } else if (e.data.tools && e.data.tools == "39") {
  2640. U.MD.D.I.openApplication("GeoGebra")
  2641. } else if (e.data.tools && e.data.tools == "43") {
  2642. U.MD.D.I.openApplication("studentEvaluate")
  2643. } else if (e.data.tools && e.data.tools == "44") {
  2644. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2645. } else if (e.data.tools && e.data.tools == "46") {
  2646. U.MD.D.I.openApplication("project")
  2647. } else if (e.data.tools && e.data.tools == "1s") {
  2648. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2649. } else if (e.data.tools && e.data.tools == "3s") {
  2650. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2651. } else if (e.data.tools && e.data.tools == "6s") {
  2652. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2653. } else if (e.data.tools && e.data.tools == "1studio") {
  2654. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2655. } else if (e.data.tools && e.data.tools == "3studio") {
  2656. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2657. } else if (e.data.tools && e.data.tools == "6studio") {
  2658. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2659. } else if (e.data.tools && e.data.tools == "3y") {
  2660. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2661. } else if (e.data.tools && e.data.tools == "1y") {
  2662. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2663. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2664. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2665. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2666. U.MD.D.I.openApplication("AIAnalyse")
  2667. } else if (e.data.tools && e.data.tools == "1teacher") {
  2668. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2669. } else if (e.data.tools && e.data.tools == "3teacher") {
  2670. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2671. } else if (e.data.tools && e.data.tools == "7teacher") {
  2672. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2673. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2674. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2675. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2676. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2677. } else if (e.data.tools && e.data.tools == "1E") {
  2678. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2679. } else if (e.data.tools && e.data.tools == "3E") {
  2680. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2681. } else if (e.data.tools && e.data.tools == "57y") {
  2682. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2683. } else if (e.data.tools && e.data.tools == "57u") {
  2684. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2685. } else if (e.data.tools && e.data.tools == "57teacher") {
  2686. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2687. } else if (e.data.tools && e.data.tools == "64") {
  2688. U.MD.D.I.openApplication("AIChat")
  2689. } else if (e.data.tools && e.data.tools == "66") {
  2690. U.MD.D.I.openApplication("formulaEdi")
  2691. } else if (e.data.tools && e.data.tools == "67") {
  2692. U.MD.D.I.openApplication("molStr")
  2693. } else if (e.data.tools && e.data.tools == "68") {
  2694. U.MD.D.I.openApplication("timeAxis")
  2695. } else if (e.data.tools && e.data.tools == "openCourse") {
  2696. let _data = {
  2697. typea: e.data.typea || '',
  2698. typeb: e.data.typeb || '',
  2699. typed: e.data.typed || '',
  2700. }
  2701. U.MD.D.I.openInApplication("index", _data)
  2702. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2703. let _data = {
  2704. classid: e.data.classid || '',
  2705. }
  2706. U.MD.D.I.openInApplication("dataClass", _data)
  2707. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2708. let _data = {
  2709. cid: e.data.cid || '',
  2710. gid: e.data.gid || '',
  2711. }
  2712. U.MD.D.I.openInApplication("opencCscl", _data)
  2713. }
  2714. });
  2715. U.MD.D.I.selectUser = function () {
  2716. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2717. if (res.value[0].length > 0) {
  2718. US.userInfo = res.value[0][0];
  2719. $(".userName")[0].innerHTML = US.userInfo.username;
  2720. }
  2721. }, [], { "type": "GET", "withCredentials": true });
  2722. }
  2723. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2724. var _userinfo = US.userInfo, //登录用户信息
  2725. _userid = US.userInfo.userid, //登录用户id
  2726. _oid = _userinfo.organizeid,
  2727. _type = US.userInfo.type,
  2728. _org = US.userInfo.org,
  2729. _role = US.userInfo.role,
  2730. _classId = US.userInfo.classid;
  2731. if (_type == 4) {
  2732. tType = 4
  2733. }
  2734. switch (str) {
  2735. case "studyDetailNT": //无终端模式
  2736. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2737. setTimeout(() => {
  2738. U.MD.U.L.login();
  2739. }, 2000);
  2740. } else {
  2741. _formdiv = new U.UF.UI.form(
  2742. "课程详情",
  2743. $$("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 }), {
  2744. "id": "studyDetailNT",
  2745. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2746. "onresize": function () { }
  2747. }, {
  2748. closecallback: function () { }
  2749. }, { "style": { "height": "36px" } }).form; //创建窗体
  2750. _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); } }
  2751. break;
  2752. }
  2753. case "studyDetail":
  2754. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2755. setTimeout(() => {
  2756. U.MD.U.L.login();
  2757. }, 2000);
  2758. } else {
  2759. _formdiv = new U.UF.UI.form(
  2760. "课程详情",
  2761. $$("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 }), {
  2762. "id": "studyDetail",
  2763. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2764. "onresize": function () { }
  2765. }, {
  2766. closecallback: function () { }
  2767. }, { "style": { "height": "36px" } }).form; //创建窗体
  2768. _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); } }
  2769. break;
  2770. }
  2771. case "studyDetailS":
  2772. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2773. setTimeout(() => {
  2774. U.MD.U.L.login();
  2775. }, 2000);
  2776. } else {
  2777. _formdiv = new U.UF.UI.form(
  2778. "项目详情",
  2779. $$("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 }), {
  2780. "id": "studyDetailS",
  2781. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2782. "onresize": function () { }
  2783. }, {
  2784. closecallback: function () { }
  2785. }, { "style": { "height": "36px" } }).form; //创建窗体
  2786. _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); } }
  2787. break;
  2788. }
  2789. case "studyDetailStudio":
  2790. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2791. setTimeout(() => {
  2792. U.MD.U.L.login();
  2793. }, 2000);
  2794. } else {
  2795. _formdiv = new U.UF.UI.form(
  2796. "工作详情",
  2797. $$("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 }), {
  2798. "id": "studyDetailStudio",
  2799. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2800. "onresize": function () { }
  2801. }, {
  2802. closecallback: function () { }
  2803. }, { "style": { "height": "36px" } }).form; //创建窗体
  2804. _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); } }
  2805. break;
  2806. }
  2807. case "studyDetailS5":
  2808. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2809. setTimeout(() => {
  2810. U.MD.U.L.login();
  2811. }, 2000);
  2812. } else {
  2813. _formdiv = new U.UF.UI.form(
  2814. "项目详情",
  2815. $$("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 }), {
  2816. "id": "studyDetailS",
  2817. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2818. "onresize": function () { }
  2819. }, {
  2820. closecallback: function () { }
  2821. }, { "style": { "height": "36px" } }).form; //创建窗体
  2822. _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); } }
  2823. break;
  2824. }
  2825. case "studyDetailGM":
  2826. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2827. setTimeout(() => {
  2828. U.MD.U.L.login();
  2829. }, 2000);
  2830. } else {
  2831. _formdiv = new U.UF.UI.form(
  2832. "课程详情",
  2833. $$("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 }), {
  2834. "id": "studyDetail",
  2835. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2836. "onresize": function () { }
  2837. }, {
  2838. closecallback: function () { }
  2839. }, { "style": { "height": "36px" } }).form; //创建窗体
  2840. _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); } }
  2841. break;
  2842. }
  2843. case "hanUrl":
  2844. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2845. setTimeout(() => {
  2846. U.MD.U.L.login();
  2847. }, 2000);
  2848. } else {
  2849. _formdiv = new U.UF.UI.form(
  2850. "汉字宫",
  2851. $$("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" }), {
  2852. "id": "hanUrl",
  2853. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2854. "onresize": function () { }
  2855. }, {
  2856. closecallback: function () { }
  2857. }, { "style": { "height": "36px" } }).form; //创建窗体
  2858. _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); } }
  2859. break;
  2860. }
  2861. case "index":
  2862. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2863. setTimeout(() => {
  2864. U.MD.U.L.login();
  2865. }, 2000);
  2866. } else {
  2867. _formdiv = new U.UF.UI.form(
  2868. "课程中心",
  2869. $$("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 }), {
  2870. "id": "study",
  2871. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2872. "onresize": function () { }
  2873. }, {
  2874. closecallback: function () { }
  2875. }, { "style": { "height": "36px" } }).form; //创建窗体
  2876. _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); } }
  2877. break;
  2878. }
  2879. case "dataClass":
  2880. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2881. setTimeout(() => {
  2882. U.MD.U.L.login();
  2883. }, 2000);
  2884. } else {
  2885. _formdiv = new U.UF.UI.form(
  2886. "数据报告",
  2887. $$("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 }), {
  2888. "id": "dataClass",
  2889. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2890. "onresize": function () { }
  2891. }, {
  2892. closecallback: function () { }
  2893. }, { "style": { "height": "36px" } }).form; //创建窗体
  2894. _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); } }
  2895. break;
  2896. }
  2897. case "opencCscl":
  2898. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2899. setTimeout(() => {
  2900. U.MD.U.L.login();
  2901. }, 2000);
  2902. } else {
  2903. _formdiv = new U.UF.UI.form(
  2904. "协同建构",
  2905. $$("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 }), {
  2906. "id": "futureClass",
  2907. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2908. "onresize": function () { }
  2909. }, {
  2910. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  2911. }, { "style": { "height": "36px" } }).form; //创建窗体
  2912. _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); } }
  2913. break;
  2914. }
  2915. }
  2916. }
  2917. U.MD.D.I.openApplication = function (str, obj, info) {
  2918. obj = obj || {};
  2919. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2920. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2921. _userinfo = US.userInfo, //登录用户信息
  2922. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2923. _oid = obj.organizeid || _userinfo.organizeid,
  2924. _type = US.userInfo.type,
  2925. _org = US.userInfo.org,
  2926. _role = US.userInfo.role,
  2927. _classId = US.userInfo.classid,
  2928. _TscreenType = 1
  2929. _screenType = 2,
  2930. _SscreenType = 3;
  2931. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2932. return;
  2933. }
  2934. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2935. switch (str) {
  2936. case "studnetProject": //好友打开
  2937. _formdiv = new U.UF.UI.form(
  2938. "我的项目",
  2939. $$("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 }), {
  2940. "id": "studnetProject",
  2941. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2942. "onresize": function () { }
  2943. }, {
  2944. closecallback: function () { }
  2945. }, { "style": { "height": "36px" } }).form; //创建窗体
  2946. _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); } }
  2947. break;
  2948. case "studentEvaluate": //好友打开
  2949. _formdiv = new U.UF.UI.form(
  2950. "我的评价",
  2951. $$("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 }), {
  2952. "id": "studentEvaluate",
  2953. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2954. "onresize": function () { }
  2955. }, {
  2956. closecallback: function () { }
  2957. }, { "style": { "height": "36px" } }).form; //创建窗体
  2958. _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); } }
  2959. break;
  2960. case "my":
  2961. _formdiv = new U.UF.UI.form(
  2962. "我的资料",
  2963. $$("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 }), {
  2964. "id": "my",
  2965. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2966. "onresize": function () { }
  2967. }, {
  2968. closecallback: function () { }
  2969. }, { "style": { "height": "36px" } }).form; //创建窗体
  2970. _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); } }
  2971. break;
  2972. case "program":
  2973. _formdiv = new U.UF.UI.form(
  2974. "编程平台",
  2975. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2976. "id": "program",
  2977. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2978. "onresize": function () { }
  2979. }, {
  2980. closecallback: function () { }
  2981. }, { "style": { "height": "36px" } }).form; //创建窗体
  2982. _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); } }
  2983. break;
  2984. case "library":
  2985. _formdiv = new U.UF.UI.form(
  2986. "素材库",
  2987. $$("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 }), {
  2988. "id": "library",
  2989. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2990. "onresize": function () { }
  2991. }, {
  2992. closecallback: function () { }
  2993. }, { "style": { "height": "36px" } }).form; //创建窗体
  2994. _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); } }
  2995. break;
  2996. case "whiteboard":
  2997. _formdiv = new U.UF.UI.form(
  2998. "电子白板",
  2999. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3000. "id": "whiteboard",
  3001. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3002. "onresize": function () { }
  3003. }, {
  3004. closecallback: function () { }
  3005. }, { "style": { "height": "36px" } }).form; //创建窗体
  3006. _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); } }
  3007. break;
  3008. case "investigation":
  3009. _formdiv = new U.UF.UI.form(
  3010. "问卷调查",
  3011. $$("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 }), {
  3012. "id": "investigation",
  3013. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3014. "onresize": function () { }
  3015. }, {
  3016. closecallback: function () { }
  3017. }, { "style": { "height": "36px" } }).form; //创建窗体
  3018. _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); } }
  3019. break;
  3020. case "note":
  3021. _formdiv = new U.UF.UI.form(
  3022. "便签分类",
  3023. $$("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 }), {
  3024. "id": "note",
  3025. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3026. "onresize": function () { }
  3027. }, {
  3028. closecallback: function () { }
  3029. }, { "style": { "height": "36px" } }).form; //创建窗体
  3030. _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); } }
  3031. break;
  3032. // case "score":
  3033. // _formdiv = new U.UF.UI.form(
  3034. // "量规评分",
  3035. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3036. // "id": "score",
  3037. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3038. // "onresize": function() {}
  3039. // }, {
  3040. // closecallback: function() {}
  3041. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3042. // _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); } }
  3043. // break;
  3044. case "mind":
  3045. _formdiv = new U.UF.UI.form(
  3046. "思维导图",
  3047. $$("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"
  3048. "id": "mind",
  3049. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3050. "onresize": function () { }
  3051. }, {
  3052. closecallback: function () { }
  3053. }, { "style": { "height": "36px" } }).form; //创建窗体
  3054. _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); } }
  3055. break;
  3056. case "doc":
  3057. // U.MD.D.I.isRoom();
  3058. _formdiv = new U.UF.UI.form(
  3059. "协同文档",
  3060. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3061. "id": "doc",
  3062. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3063. "onresize": function () { }
  3064. }, {
  3065. closecallback: function () { }
  3066. }, { "style": { "height": "36px" } }).form; //创建窗体
  3067. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3068. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3069. // })
  3070. _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); } }
  3071. break;
  3072. case "studentStudy":
  3073. _formdiv = new U.UF.UI.form(
  3074. "课程中心",
  3075. $$("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
  3076. "id": "studentStudy",
  3077. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3078. "onresize": function () { }
  3079. }, {
  3080. closecallback: function () { }
  3081. }, { "style": { "height": "36px" } }).form; //创建窗体
  3082. _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); } }
  3083. break;
  3084. case "train": //好友打开
  3085. _formdiv = new U.UF.UI.form(
  3086. "训练平台",
  3087. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3088. "id": "train",
  3089. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3090. "onresize": function () { }
  3091. }, {
  3092. closecallback: function () { }
  3093. }, { "style": { "height": "36px" } }).form; //创建窗体
  3094. _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); } }
  3095. break;
  3096. case "mindNetwork": //好友打开
  3097. _formdiv = new U.UF.UI.form(
  3098. "思维网格",
  3099. $$("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 }), {
  3100. "id": "mindNetwork",
  3101. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3102. "onresize": function () { }
  3103. }, {
  3104. closecallback: function () { }
  3105. }, { "style": { "height": "36px" } }).form; //创建窗体
  3106. _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); } }
  3107. break;
  3108. case "studentClassRoom": //好友打开
  3109. _formdiv = new U.UF.UI.form(
  3110. "实时课堂",
  3111. $$("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 }), {
  3112. "id": "studentClassRoom",
  3113. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3114. "onresize": function () { }
  3115. }, {
  3116. closecallback: function () { }
  3117. }, { "style": { "height": "36px" } }).form; //创建窗体
  3118. _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); } }
  3119. setTimeout(() => {
  3120. U.UF.F.windowZooming(_formdiv)
  3121. }, 0);
  3122. break;
  3123. }
  3124. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3125. switch (str) {
  3126. case "studnetProject": //好友打开
  3127. _formdiv = new U.UF.UI.form(
  3128. "我的项目",
  3129. $$("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 }), {
  3130. "id": "studnetProject",
  3131. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3132. "onresize": function () { }
  3133. }, {
  3134. closecallback: function () { }
  3135. }, { "style": { "height": "36px" } }).form; //创建窗体
  3136. _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); } }
  3137. break;
  3138. case "studentEvaluate": //好友打开
  3139. _formdiv = new U.UF.UI.form(
  3140. "我的评价",
  3141. $$("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 }), {
  3142. "id": "studentEvaluate",
  3143. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3144. "onresize": function () { }
  3145. }, {
  3146. closecallback: function () { }
  3147. }, { "style": { "height": "36px" } }).form; //创建窗体
  3148. _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); } }
  3149. break;
  3150. case "my":
  3151. _formdiv = new U.UF.UI.form(
  3152. "我的资料",
  3153. $$("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 }), {
  3154. "id": "my",
  3155. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3156. "onresize": function () { }
  3157. }, {
  3158. closecallback: function () { }
  3159. }, { "style": { "height": "36px" } }).form; //创建窗体
  3160. _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); } }
  3161. break;
  3162. case "program":
  3163. _formdiv = new U.UF.UI.form(
  3164. "编程平台",
  3165. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3166. "id": "program",
  3167. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3168. "onresize": function () { }
  3169. }, {
  3170. closecallback: function () { }
  3171. }, { "style": { "height": "36px" } }).form; //创建窗体
  3172. _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); } }
  3173. break;
  3174. case "library":
  3175. _formdiv = new U.UF.UI.form(
  3176. "素材库",
  3177. $$("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 }), {
  3178. "id": "library",
  3179. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3180. "onresize": function () { }
  3181. }, {
  3182. closecallback: function () { }
  3183. }, { "style": { "height": "36px" } }).form; //创建窗体
  3184. _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); } }
  3185. break;
  3186. case "whiteboard":
  3187. _formdiv = new U.UF.UI.form(
  3188. "电子白板",
  3189. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3190. "id": "whiteboard",
  3191. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3192. "onresize": function () { }
  3193. }, {
  3194. closecallback: function () { }
  3195. }, { "style": { "height": "36px" } }).form; //创建窗体
  3196. _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); } }
  3197. break;
  3198. case "investigation":
  3199. _formdiv = new U.UF.UI.form(
  3200. "问卷调查",
  3201. $$("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 }), {
  3202. "id": "investigation",
  3203. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3204. "onresize": function () { }
  3205. }, {
  3206. closecallback: function () { }
  3207. }, { "style": { "height": "36px" } }).form; //创建窗体
  3208. _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); } }
  3209. break;
  3210. case "note":
  3211. _formdiv = new U.UF.UI.form(
  3212. "便签分类",
  3213. $$("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 }), {
  3214. "id": "note",
  3215. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3216. "onresize": function () { }
  3217. }, {
  3218. closecallback: function () { }
  3219. }, { "style": { "height": "36px" } }).form; //创建窗体
  3220. _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); } }
  3221. break;
  3222. // case "score":
  3223. // _formdiv = new U.UF.UI.form(
  3224. // "量规评分",
  3225. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3226. // "id": "score",
  3227. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3228. // "onresize": function() {}
  3229. // }, {
  3230. // closecallback: function() {}
  3231. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3232. // _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); } }
  3233. // break;
  3234. case "mind":
  3235. _formdiv = new U.UF.UI.form(
  3236. "思维导图",
  3237. $$("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"
  3238. "id": "mind",
  3239. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3240. "onresize": function () { }
  3241. }, {
  3242. closecallback: function () { }
  3243. }, { "style": { "height": "36px" } }).form; //创建窗体
  3244. _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); } }
  3245. break;
  3246. case "doc":
  3247. // U.MD.D.I.isRoom();
  3248. _formdiv = new U.UF.UI.form(
  3249. "协同文档",
  3250. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3251. "id": "doc",
  3252. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3253. "onresize": function () { }
  3254. }, {
  3255. closecallback: function () { }
  3256. }, { "style": { "height": "36px" } }).form; //创建窗体
  3257. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3258. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3259. })
  3260. _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); } }
  3261. break;
  3262. case "train": //好友打开
  3263. _formdiv = new U.UF.UI.form(
  3264. "训练平台",
  3265. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3266. "id": "train",
  3267. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3268. "onresize": function () { }
  3269. }, {
  3270. closecallback: function () { }
  3271. }, { "style": { "height": "36px" } }).form; //创建窗体
  3272. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3273. break;
  3274. case "studentStudy":
  3275. _formdiv = new U.UF.UI.form(
  3276. "课程中心",
  3277. $$("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
  3278. "id": "studentStudy",
  3279. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3280. "onresize": function () { }
  3281. }, {
  3282. closecallback: function () { }
  3283. }, { "style": { "height": "36px" } }).form; //创建窗体
  3284. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3285. break;
  3286. case "mindNetwork": //好友打开
  3287. _formdiv = new U.UF.UI.form(
  3288. "思维网格",
  3289. $$("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 }), {
  3290. "id": "mindNetwork",
  3291. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3292. "onresize": function () { }
  3293. }, {
  3294. closecallback: function () { }
  3295. }, { "style": { "height": "36px" } }).form; //创建窗体
  3296. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3297. break;
  3298. case "studentClassRoom": //好友打开
  3299. _formdiv = new U.UF.UI.form(
  3300. "实时课堂",
  3301. $$("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 }), {
  3302. "id": "studentClassRoom",
  3303. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3304. "onresize": function () { }
  3305. }, {
  3306. closecallback: function () { }
  3307. }, { "style": { "height": "36px" } }).form; //创建窗体
  3308. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3309. setTimeout(() => {
  3310. U.UF.F.windowZooming(_formdiv)
  3311. }, 0);
  3312. break;
  3313. }
  3314. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3315. //选择应用处理
  3316. switch (str) {
  3317. case "project": //好友打开
  3318. _formdiv = new U.UF.UI.form(
  3319. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3320. $$("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 }), {
  3321. "id": "project",
  3322. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3323. "onresize": function () { }
  3324. }, {
  3325. closecallback: function () { }
  3326. }, { "style": { "height": "36px" } }).form; //创建窗体
  3327. _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); } }
  3328. break;
  3329. case "student":
  3330. _formdiv = new U.UF.UI.form(
  3331. "学生管理",
  3332. $$("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 }), {
  3333. "id": "student",
  3334. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3335. "onresize": function () { }
  3336. }, {
  3337. closecallback: function () { }
  3338. }, { "style": { "height": "36px" } }).form; //创建窗体
  3339. _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); } }
  3340. break;
  3341. case "evaluate":
  3342. _formdiv = new U.UF.UI.form(
  3343. "学生评价",
  3344. $$("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 }), {
  3345. "id": "evaluate",
  3346. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3347. "onresize": function () { }
  3348. }, {
  3349. closecallback: function () { }
  3350. }, { "style": { "height": "36px" } }).form; //创建窗体
  3351. _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); } }
  3352. break;
  3353. case "sys":
  3354. _formdiv = new U.UF.UI.form(
  3355. "目标管理",
  3356. $$("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 }), {
  3357. "id": "sys",
  3358. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3359. "onresize": function () { }
  3360. }, {
  3361. closecallback: function () { }
  3362. }, { "style": { "height": "36px" } }).form; //创建窗体
  3363. _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); } }
  3364. break;
  3365. case "courseDesign":
  3366. _formdiv = new U.UF.UI.form(
  3367. "项目设计",
  3368. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3369. "id": "courseDesign",
  3370. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3371. "onresize": function () { }
  3372. }, {
  3373. closecallback: function () { }
  3374. }, { "style": { "height": "36px" } }).form; //创建窗体
  3375. _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); } }
  3376. break;
  3377. case "program":
  3378. _formdiv = new U.UF.UI.form(
  3379. "编程平台",
  3380. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3381. "id": "program",
  3382. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3383. "onresize": function () { }
  3384. }, {
  3385. closecallback: function () { }
  3386. }, { "style": { "height": "36px" } }).form; //创建窗体
  3387. _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); } }
  3388. break;
  3389. case "class":
  3390. _formdiv = new U.UF.UI.form(
  3391. "班级管理",
  3392. $$("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 }), {
  3393. "id": "class",
  3394. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3395. "onresize": function () { }
  3396. }, {
  3397. closecallback: function () { }
  3398. }, { "style": { "height": "36px" } }).form; //创建窗体
  3399. _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); } }
  3400. break;
  3401. case "Grade":
  3402. _formdiv = new U.UF.UI.form(
  3403. "年级管理",
  3404. $$("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 }), {
  3405. "id": "Grade",
  3406. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3407. "onresize": function () { }
  3408. }, {
  3409. closecallback: function () { }
  3410. }, { "style": { "height": "36px" } }).form; //创建窗体
  3411. _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); } }
  3412. break;
  3413. case "teacherOffice":
  3414. _formdiv = new U.UF.UI.form(
  3415. "教研室",
  3416. $$("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 }), {
  3417. "id": "teacherOffice",
  3418. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3419. "onresize": function () { }
  3420. }, {
  3421. closecallback: function () { }
  3422. }, { "style": { "height": "36px" } }).form; //创建窗体
  3423. _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); } }
  3424. break;
  3425. case "my":
  3426. _formdiv = new U.UF.UI.form(
  3427. "我的资料",
  3428. $$("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 }), {
  3429. "id": "my",
  3430. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3431. "onresize": function () { }
  3432. }, {
  3433. closecallback: function () { }
  3434. }, { "style": { "height": "36px" } }).form; //创建窗体
  3435. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3436. break;
  3437. case "notice":
  3438. _formdiv = new U.UF.UI.form(
  3439. "通知公告",
  3440. $$("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 }), {
  3441. "id": "notice",
  3442. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3443. "onresize": function () { }
  3444. }, {
  3445. closecallback: function () { }
  3446. }, { "style": { "height": "36px" } }).form; //创建窗体
  3447. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3448. break;
  3449. case "library":
  3450. _formdiv = new U.UF.UI.form(
  3451. "素材库",
  3452. $$("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 }), {
  3453. "id": "library",
  3454. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3455. "onresize": function () { }
  3456. }, {
  3457. closecallback: function () { }
  3458. }, { "style": { "height": "36px" } }).form; //创建窗体
  3459. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3460. break;
  3461. case "whiteboard":
  3462. _formdiv = new U.UF.UI.form(
  3463. "电子白板",
  3464. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3465. "id": "whiteboard",
  3466. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3467. "onresize": function () { }
  3468. }, {
  3469. closecallback: function () { }
  3470. }, { "style": { "height": "36px" } }).form; //创建窗体
  3471. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3472. break;
  3473. case "investigation":
  3474. _formdiv = new U.UF.UI.form(
  3475. "问卷调查",
  3476. $$("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 }), {
  3477. "id": "investigation",
  3478. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3479. "onresize": function () { }
  3480. }, {
  3481. closecallback: function () { }
  3482. }, { "style": { "height": "36px" } }).form; //创建窗体
  3483. _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); } }
  3484. break;
  3485. case "note":
  3486. _formdiv = new U.UF.UI.form(
  3487. "便签分类",
  3488. $$("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 }), {
  3489. "id": "note",
  3490. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3491. "onresize": function () { }
  3492. }, {
  3493. closecallback: function () { }
  3494. }, { "style": { "height": "36px" } }).form; //创建窗体
  3495. _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); } }
  3496. break;
  3497. // case "score":
  3498. // _formdiv = new U.UF.UI.form(
  3499. // "量规评分",
  3500. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3501. // "id": "score",
  3502. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3503. // "onresize": function() {}
  3504. // }, {
  3505. // closecallback: function() {}
  3506. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3507. // _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); } }
  3508. // break;
  3509. case "mind":
  3510. _formdiv = new U.UF.UI.form(
  3511. "思维导图",
  3512. $$("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"
  3513. "id": "mind",
  3514. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3515. "onresize": function () { }
  3516. }, {
  3517. closecallback: function () { }
  3518. }, { "style": { "height": "36px" } }).form; //创建窗体
  3519. _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); } }
  3520. break;
  3521. case "doc":
  3522. // U.MD.D.I.isRoom();
  3523. _formdiv = new U.UF.UI.form(
  3524. "协同文档",
  3525. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3526. "id": "doc",
  3527. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3528. "onresize": function () { }
  3529. }, {
  3530. closecallback: function () { }
  3531. }, { "style": { "height": "36px" } }).form; //创建窗体
  3532. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3533. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3534. })
  3535. _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); } }
  3536. break;
  3537. case "study":
  3538. _formdiv = new U.UF.UI.form(
  3539. "课程中心",
  3540. $$("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
  3541. "id": "study",
  3542. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3543. "onresize": function () { }
  3544. }, {
  3545. closecallback: function () { }
  3546. }, { "style": { "height": "36px" } }).form; //创建窗体
  3547. _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); } }
  3548. break;
  3549. case "mindNetwork": //好友打开
  3550. _formdiv = new U.UF.UI.form(
  3551. "思维网格",
  3552. $$("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 }), {
  3553. "id": "mindNetwork",
  3554. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3555. "onresize": function () { }
  3556. }, {
  3557. closecallback: function () { }
  3558. }, { "style": { "height": "36px" } }).form; //创建窗体
  3559. _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); } }
  3560. break;
  3561. case "train": //好友打开
  3562. _formdiv = new U.UF.UI.form(
  3563. "训练平台",
  3564. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3565. "id": "mindNetwork",
  3566. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3567. "onresize": function () { }
  3568. }, {
  3569. closecallback: function () { }
  3570. }, { "style": { "height": "36px" } }).form; //创建窗体
  3571. _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); } }
  3572. break;
  3573. case "teacherClassRoom": //好友打开
  3574. _formdiv = new U.UF.UI.form(
  3575. "实时课堂",
  3576. $$("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 }), {
  3577. "id": "teacherClassRoom",
  3578. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3579. "onresize": function () { }
  3580. }, {
  3581. closecallback: function () { }
  3582. }, { "style": { "height": "36px" } }).form; //创建窗体
  3583. _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); } }
  3584. setTimeout(() => {
  3585. U.UF.F.windowZooming(_formdiv)
  3586. }, 0);
  3587. break;
  3588. }
  3589. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3590. switch (str) {
  3591. case "project": //好友打开
  3592. _formdiv = new U.UF.UI.form(
  3593. "课程管理",
  3594. $$("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 }), {
  3595. "id": "project",
  3596. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3597. "onresize": function () { }
  3598. }, {
  3599. closecallback: function () { }
  3600. }, { "style": { "height": "36px" } }).form; //创建窗体
  3601. _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); } }
  3602. break;
  3603. case "evaluate":
  3604. _formdiv = new U.UF.UI.form(
  3605. "学生评价",
  3606. $$("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 }), {
  3607. "id": "evaluate",
  3608. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3609. "onresize": function () { }
  3610. }, {
  3611. closecallback: function () { }
  3612. }, { "style": { "height": "36px" } }).form; //创建窗体
  3613. _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); } }
  3614. break;
  3615. case "notice":
  3616. _formdiv = new U.UF.UI.form(
  3617. "通知公告",
  3618. $$("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 }), {
  3619. "id": "notice",
  3620. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3621. "onresize": function () { }
  3622. }, {
  3623. closecallback: function () { }
  3624. }, { "style": { "height": "36px" } }).form; //创建窗体
  3625. _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); } }
  3626. break;
  3627. case "stuLibrary":
  3628. _formdiv = new U.UF.UI.form(
  3629. "学习资料",
  3630. $$("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 }), {
  3631. "id": "stuLibrary",
  3632. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3633. "onresize": function () { }
  3634. }, {
  3635. closecallback: function () { }
  3636. }, { "style": { "height": "36px" } }).form; //创建窗体
  3637. _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); } }
  3638. break;
  3639. case "program":
  3640. _formdiv = new U.UF.UI.form(
  3641. "编程平台",
  3642. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3643. "id": "program",
  3644. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3645. "onresize": function () { }
  3646. }, {
  3647. closecallback: function () { }
  3648. }, { "style": { "height": "36px" } }).form; //创建窗体
  3649. _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); } }
  3650. break;
  3651. case "whiteboard":
  3652. _formdiv = new U.UF.UI.form(
  3653. "电子白板",
  3654. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3655. "id": "whiteboard",
  3656. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3657. "onresize": function () { }
  3658. }, {
  3659. closecallback: function () { }
  3660. }, { "style": { "height": "36px" } }).form; //创建窗体
  3661. _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); } }
  3662. break;
  3663. case "investigation":
  3664. _formdiv = new U.UF.UI.form(
  3665. "问卷调查",
  3666. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3667. "id": "investigation",
  3668. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3669. "onresize": function () { }
  3670. }, {
  3671. closecallback: function () { }
  3672. }, { "style": { "height": "36px" } }).form; //创建窗体
  3673. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3674. break;
  3675. case "mind":
  3676. _formdiv = new U.UF.UI.form(
  3677. "思维导图",
  3678. $$("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"
  3679. "id": "mind",
  3680. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3681. "onresize": function () { }
  3682. }, {
  3683. closecallback: function () { }
  3684. }, { "style": { "height": "36px" } }).form; //创建窗体
  3685. _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); } }
  3686. break;
  3687. case "doc":
  3688. // U.MD.D.I.isRoom();
  3689. _formdiv = new U.UF.UI.form(
  3690. "协同文档",
  3691. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3692. "id": "doc",
  3693. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3694. "onresize": function () { }
  3695. }, {
  3696. closecallback: function () { }
  3697. }, { "style": { "height": "36px" } }).form; //创建窗体
  3698. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3699. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3700. })
  3701. _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); } }
  3702. break;
  3703. case "study":
  3704. _formdiv = new U.UF.UI.form(
  3705. "课程中心",
  3706. $$("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
  3707. "id": "study",
  3708. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3709. "onresize": function () { }
  3710. }, {
  3711. closecallback: function () { }
  3712. }, { "style": { "height": "36px" } }).form; //创建窗体
  3713. _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); } }
  3714. break;
  3715. case "mindNetwork": //好友打开
  3716. _formdiv = new U.UF.UI.form(
  3717. "思维网格",
  3718. $$("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 }), {
  3719. "id": "mindNetwork",
  3720. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3721. "onresize": function () { }
  3722. }, {
  3723. closecallback: function () { }
  3724. }, { "style": { "height": "36px" } }).form; //创建窗体
  3725. _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); } }
  3726. break;
  3727. case "train": //好友打开
  3728. _formdiv = new U.UF.UI.form(
  3729. "训练平台",
  3730. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3731. "id": "train",
  3732. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3733. "onresize": function () { }
  3734. }, {
  3735. closecallback: function () { }
  3736. }, { "style": { "height": "36px" } }).form; //创建窗体
  3737. _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); } }
  3738. break;
  3739. case "sys":
  3740. _formdiv = new U.UF.UI.form(
  3741. "目标管理",
  3742. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3743. "id": "sys",
  3744. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3745. "onresize": function () { }
  3746. }, {
  3747. closecallback: function () { }
  3748. }, { "style": { "height": "36px" } }).form; //创建窗体
  3749. _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); } }
  3750. break;
  3751. case "courseDesign":
  3752. _formdiv = new U.UF.UI.form(
  3753. "项目设计",
  3754. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3755. "id": "courseDesign",
  3756. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3757. "onresize": function () { }
  3758. }, {
  3759. closecallback: function () { }
  3760. }, { "style": { "height": "36px" } }).form; //创建窗体
  3761. _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); } }
  3762. break;
  3763. }
  3764. } else if (!_type) {
  3765. switch (str) {
  3766. case "my":
  3767. _formdiv = new U.UF.UI.form(
  3768. "我的资料",
  3769. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3770. "id": "my",
  3771. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3777. break;
  3778. }
  3779. }
  3780. switch (str) {
  3781. // AIprogram2 AI体验 aihub.cocorobo.cn
  3782. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3783. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3784. case "formulaEdi": //公式编辑
  3785. _formdiv = new U.UF.UI.form(
  3786. "公式编辑",
  3787. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3788. "id": "formulaEdi",
  3789. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3790. "onresize": function () { }
  3791. }, {
  3792. closecallback: function () { }
  3793. }, { "style": { "height": "36px" } }).form; //创建窗体
  3794. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3795. break;
  3796. case "molStr": //分子结构
  3797. _formdiv = new U.UF.UI.form(
  3798. "分子结构",
  3799. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3800. "id": "molStr",
  3801. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3802. "onresize": function () { }
  3803. }, {
  3804. closecallback: function () { }
  3805. }, { "style": { "height": "36px" } }).form; //创建窗体
  3806. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3807. break;
  3808. case "timeAxis": //时间轴
  3809. _formdiv = new U.UF.UI.form(
  3810. "时间轴",
  3811. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3812. "id": "timeAxis",
  3813. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3814. "onresize": function () { }
  3815. }, {
  3816. closecallback: function () { }
  3817. }, { "style": { "height": "36px" } }).form; //创建窗体
  3818. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3819. break;
  3820. case "AIprogram2": //AI体验
  3821. _formdiv = new U.UF.UI.form(
  3822. "AI体验",
  3823. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3824. "id": "AIprogram2",
  3825. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3826. "onresize": function () { }
  3827. }, {
  3828. closecallback: function () { }
  3829. }, { "style": { "height": "36px" } }).form; //创建窗体
  3830. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI体验", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3831. break;
  3832. case "Pythonprogram": //python编程
  3833. _formdiv = new U.UF.UI.form(
  3834. "Python编程",
  3835. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3836. "id": "Pythonprogram",
  3837. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3838. "onresize": function () { }
  3839. }, {
  3840. closecallback: function () { }
  3841. }, { "style": { "height": "36px" } }).form; //创建窗体
  3842. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Pythonprogram.png)" }, "name": "Python编程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3843. break;
  3844. case "AIprogram": //ai编程
  3845. _formdiv = new U.UF.UI.form(
  3846. "AI编程平台",
  3847. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3848. "id": "AIprogram",
  3849. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3850. "onresize": function () { }
  3851. }, {
  3852. closecallback: function () { }
  3853. }, { "style": { "height": "36px" } }).form; //创建窗体
  3854. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram.png)" }, "name": "AI编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3855. break;
  3856. case "CocoPi": //CocoPi
  3857. _formdiv = new U.UF.UI.form(
  3858. "CocoPi",
  3859. $$("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" }), {
  3860. "id": "CocoPi",
  3861. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3862. "onresize": function () { }
  3863. }, {
  3864. closecallback: function () { }
  3865. }, { "style": { "height": "36px" } }).form; //创建窗体
  3866. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3867. break;
  3868. case "Wood": //Wood
  3869. _formdiv = new U.UF.UI.form(
  3870. "海龟编程",
  3871. $$("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/" }), {
  3872. "id": "Wood",
  3873. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3874. "onresize": function () { }
  3875. }, {
  3876. closecallback: function () { }
  3877. }, { "style": { "height": "36px" } }).form; //创建窗体
  3878. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Wood.png)" }, "name": "海龟编程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3879. break;
  3880. case "car": //模拟驾驶
  3881. _formdiv = new U.UF.UI.form(
  3882. "模拟驾驶",
  3883. $$("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/" }), {
  3884. "id": "car",
  3885. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3886. "onresize": function () { }
  3887. }, {
  3888. closecallback: function () { }
  3889. }, { "style": { "height": "36px" } }).form; //创建窗体
  3890. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/car.png)" }, "name": "模拟驾驶", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3891. break;
  3892. case "lineSearch": //路径搜索
  3893. _formdiv = new U.UF.UI.form(
  3894. "路径搜索",
  3895. $$("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/" }), {
  3896. "id": "lineSearch",
  3897. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3898. "onresize": function () { }
  3899. }, {
  3900. closecallback: function () { }
  3901. }, { "style": { "height": "36px" } }).form; //创建窗体
  3902. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/lineSearch.png)" }, "name": "路径搜索", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3903. break;
  3904. case "deepLearning": //深度学习
  3905. _formdiv = new U.UF.UI.form(
  3906. "深度学习",
  3907. $$("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/#" }), {
  3908. "id": "deepLearning",
  3909. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3910. "onresize": function () { }
  3911. }, {
  3912. closecallback: function () { }
  3913. }, { "style": { "height": "36px" } }).form; //创建窗体
  3914. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/deepLearning.png)" }, "name": "深度学习", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3915. break;
  3916. case "allHistory": //深度学习
  3917. _formdiv = new U.UF.UI.form(
  3918. "全历史",
  3919. $$("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/" }), {
  3920. "id": "allHistory",
  3921. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3922. "onresize": function () { }
  3923. }, {
  3924. closecallback: function () { }
  3925. }, { "style": { "height": "36px" } }).form; //创建窗体
  3926. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/allHistory.png)" }, "name": "全历史", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3927. break;
  3928. case "chatPDF": //ai编程
  3929. _formdiv = new U.UF.UI.form(
  3930. "chatPDF",
  3931. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3932. "id": "chatPDF",
  3933. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3934. "onresize": function () { }
  3935. }, {
  3936. closecallback: function () { }
  3937. }, { "style": { "height": "36px" } }).form; //创建窗体
  3938. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3939. break;
  3940. case "resources": //国家教育
  3941. _formdiv = new U.UF.UI.form(
  3942. "国家教育",
  3943. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3944. "id": "resources",
  3945. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3946. "onresize": function () { }
  3947. }, {
  3948. closecallback: function () { }
  3949. }, { "style": { "height": "36px" } }).form; //创建窗体
  3950. _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); } }
  3951. break;
  3952. case "codeEdit": //源码编辑
  3953. _formdiv = new U.UF.UI.form(
  3954. "源码编辑",
  3955. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3956. "id": "codeEdit",
  3957. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3958. "onresize": function () { }
  3959. }, {
  3960. closecallback: function () { }
  3961. }, { "style": { "height": "36px" } }).form; //创建窗体
  3962. _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); } }
  3963. break; //
  3964. case "MindMap": //MindMap
  3965. _formdiv = new U.UF.UI.form(
  3966. "MindMap",
  3967. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3968. "id": "MindMap",
  3969. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3970. "onresize": function () { }
  3971. }, {
  3972. closecallback: function () { }
  3973. }, { "style": { "height": "36px" } }).form; //创建窗体
  3974. _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); } }
  3975. break;
  3976. case "netWorkPanel": //netWorkPanel
  3977. _formdiv = new U.UF.UI.form(
  3978. "netWorkPanel",
  3979. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3980. "id": "netWorkPanel",
  3981. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3982. "onresize": function () { }
  3983. }, {
  3984. closecallback: function () { }
  3985. }, { "style": { "height": "36px" } }).form; //创建窗体
  3986. _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); } }
  3987. break;
  3988. case "GeoGebra": //GeoGebra
  3989. _formdiv = new U.UF.UI.form(
  3990. "GeoGebra",
  3991. $$("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" }), {
  3992. "id": "GeoGebra",
  3993. "style": { "width": "80%", "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/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3999. break;
  4000. case "translation": //翻译
  4001. _formdiv = new U.UF.UI.form(
  4002. "翻译",
  4003. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4004. "id": "translation",
  4005. "style": { "width": "80%", "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/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4011. break;
  4012. case "mohe": //魔盒
  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": "//games.cocorobo.cn/view/index.html#/" }), {
  4016. "id": "mohe",
  4017. "style": { "width": "375px", "height": "667px", "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/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4023. break;
  4024. case "24game": //24点
  4025. _formdiv = new U.UF.UI.form(
  4026. "24点",
  4027. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4028. "id": "24game",
  4029. "style": { "width": "375px", "height": "667px", "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/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4035. break;
  4036. case "case":
  4037. _formdiv = new U.UF.UI.form(
  4038. "课程进展",
  4039. $$("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 }), {
  4040. "id": "case",
  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/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4047. break;
  4048. case "snf":
  4049. _formdiv = new U.UF.UI.form(
  4050. "赛诺梵",
  4051. $$("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" }), {
  4052. "id": "snf",
  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/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4059. break;
  4060. case "hanFamily":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4064. "id": "hanFamily",
  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/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4071. break;
  4072. case "hanClassics":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4076. "id": "hanClassics",
  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/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4083. break;
  4084. case "hanTraining":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4088. "id": "hanTraining",
  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/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4095. break;
  4096. case "hanClass":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4100. "id": "hanClass",
  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/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4107. break;
  4108. case "han":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4112. "id": "han",
  4113. "style": { "width": "90%", "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/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4119. break;
  4120. case "projectGM": //课程管理
  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/#/courseGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4124. "id": "projectGM",
  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/gm/courseMange.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4131. break;
  4132. case "studyGM": //课程中心
  4133. _formdiv = new U.UF.UI.form(
  4134. "课程中心",
  4135. $$("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
  4136. "id": "study",
  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/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4143. break;
  4144. // studentGM
  4145. case "studentGM": //学生管理
  4146. _formdiv = new U.UF.UI.form(
  4147. "学生管理",
  4148. $$("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 }), {
  4149. "id": "studentGM",
  4150. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4151. "onresize": function () { }
  4152. }, {
  4153. closecallback: function () { }
  4154. }, { "style": { "height": "36px" } }).form; //创建窗体
  4155. _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); } }
  4156. break;
  4157. case "evaluateGM": //学生评价
  4158. _formdiv = new U.UF.UI.form(
  4159. "学生评价",
  4160. $$("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 }), {
  4161. "id": "evaluateGM",
  4162. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4163. "onresize": function () { }
  4164. }, {
  4165. closecallback: function () { }
  4166. }, { "style": { "height": "36px" } }).form; //创建窗体
  4167. _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); } }
  4168. break;
  4169. // classGM
  4170. case "classGM": //班级管理
  4171. _formdiv = new U.UF.UI.form(
  4172. "班级管理",
  4173. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/classGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4174. "id": "classGM",
  4175. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4176. "onresize": function () { }
  4177. }, {
  4178. closecallback: function () { }
  4179. }, { "style": { "height": "36px" } }).form; //创建窗体
  4180. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4181. break;
  4182. // dataGM
  4183. case "dataGM":
  4184. _formdiv = new U.UF.UI.form(
  4185. "我的资料",
  4186. $$("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 }), {
  4187. "id": "dataGM",
  4188. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4189. "onresize": function () { }
  4190. }, {
  4191. closecallback: function () { }
  4192. }, { "style": { "height": "36px" } }).form; //创建窗体
  4193. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/data.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4194. break;
  4195. // caseGM
  4196. case "caseGM": //课程进展
  4197. _formdiv = new U.UF.UI.form(
  4198. "课程进展",
  4199. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4200. "id": "caseGM",
  4201. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4202. "onresize": function () { }
  4203. }, {
  4204. closecallback: function () { }
  4205. }, { "style": { "height": "36px" } }).form; //创建窗体
  4206. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4207. break;
  4208. // meterialGM
  4209. case "meterialGM": //素材库
  4210. _formdiv = new U.UF.UI.form(
  4211. "素材库",
  4212. $$("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 }), {
  4213. "id": "meterialGM",
  4214. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4215. "onresize": function () { }
  4216. }, {
  4217. closecallback: function () { }
  4218. }, { "style": { "height": "36px" } }).form; //创建窗体
  4219. _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); } }
  4220. break;
  4221. // evaluateSGM
  4222. case "evaluateSGM": //我的评价
  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-student-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4226. "id": "evaluateSGM",
  4227. "style": { "width": "70%", "height": "90%", "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/gm/evaluate.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4233. break;
  4234. case "jupyter": //jupyter
  4235. _formdiv = new U.UF.UI.form(
  4236. "jupyter",
  4237. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4238. "id": "jupyter",
  4239. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4240. "onresize": function () { }
  4241. }, {
  4242. closecallback: function () { }
  4243. }, { "style": { "height": "36px" } }).form; //创建窗体
  4244. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/jupyter.png)" }, "name": "jupyter", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4245. break;
  4246. case "number": //数字实验室
  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": "https://cocorobo.cn/cloud/iot/events" }), {
  4250. "id": "number",
  4251. "style": { "width": "90%", "height": "90%", "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/number.png)" }, "name": "数字实验室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4257. break;
  4258. case "studentCourse": //项目管理 学生
  4259. _formdiv = new U.UF.UI.form(
  4260. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4261. $$("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 }), {
  4262. "id": "studentCourse",
  4263. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4264. "onresize": function () { }
  4265. }, {
  4266. closecallback: function () { }
  4267. }, { "style": { "height": "36px" } }).form; //创建窗体
  4268. _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); } }
  4269. break;
  4270. case "studentCourseS": //项目管理 老师
  4271. _formdiv = new U.UF.UI.form(
  4272. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4273. $$("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 }), {
  4274. "id": "studentCourseS",
  4275. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4276. "onresize": function () { }
  4277. }, {
  4278. closecallback: function () { }
  4279. }, { "style": { "height": "36px" } }).form; //创建窗体
  4280. _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); } }
  4281. break;
  4282. case "studentIndex": //项目中心
  4283. _formdiv = new U.UF.UI.form(
  4284. "项目中心",
  4285. $$("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 }), {
  4286. "id": "studentIndex",
  4287. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4288. "onresize": function () { }
  4289. }, {
  4290. closecallback: function () { }
  4291. }, { "style": { "height": "36px" } }).form; //创建窗体
  4292. _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); } }
  4293. break;
  4294. case "CaseDesignS":
  4295. _formdiv = new U.UF.UI.form(
  4296. "项目进展",
  4297. $$("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 }), {
  4298. "id": "case",
  4299. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4300. "onresize": function () { }
  4301. }, {
  4302. closecallback: function () { }
  4303. }, { "style": { "height": "36px" } }).form; //创建窗体
  4304. _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); } }
  4305. break;
  4306. case "tcStudent": //腾讯学生管理
  4307. _formdiv = new U.UF.UI.form(
  4308. "学生管理",
  4309. $$("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 }), {
  4310. "id": "tcStudent",
  4311. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4312. "onresize": function () { }
  4313. }, {
  4314. closecallback: function () { }
  4315. }, { "style": { "height": "36px" } }).form; //创建窗体
  4316. _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); } }
  4317. break;
  4318. case "tcSchool": //腾讯学校管理
  4319. _formdiv = new U.UF.UI.form(
  4320. "学校管理",
  4321. $$("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 }), {
  4322. "id": "tcSchool",
  4323. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4324. "onresize": function () { }
  4325. }, {
  4326. closecallback: function () { }
  4327. }, { "style": { "height": "36px" } }).form; //创建窗体
  4328. _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); } }
  4329. break;
  4330. case "tcTeacher": //腾讯学校管理
  4331. _formdiv = new U.UF.UI.form(
  4332. "教师管理",
  4333. $$("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 }), {
  4334. "id": "tcTeacher",
  4335. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4336. "onresize": function () { }
  4337. }, {
  4338. closecallback: function () { }
  4339. }, { "style": { "height": "36px" } }).form; //创建窗体
  4340. _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); } }
  4341. break;
  4342. case "tcData": //腾讯我的资料
  4343. _formdiv = new U.UF.UI.form(
  4344. "我的资料",
  4345. $$("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 }), {
  4346. "id": "tcData",
  4347. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4348. "onresize": function () { }
  4349. }, {
  4350. closecallback: function () { }
  4351. }, { "style": { "height": "36px" } }).form; //创建窗体
  4352. _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); } }
  4353. break;
  4354. case "tcNotice": //腾讯消息通知
  4355. _formdiv = new U.UF.UI.form(
  4356. "消息通知",
  4357. $$("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 }), {
  4358. "id": "tcNotice",
  4359. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4360. "onresize": function () { }
  4361. }, {
  4362. closecallback: function () { }
  4363. }, { "style": { "height": "36px" } }).form; //创建窗体
  4364. _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); } }
  4365. break;
  4366. case "myReport": //好友打开
  4367. _formdiv = new U.UF.UI.form(
  4368. "我的评价",
  4369. $$("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 }), {
  4370. "id": "myReport",
  4371. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4372. "onresize": function () { }
  4373. }, {
  4374. closecallback: function () { }
  4375. }, { "style": { "height": "36px" } }).form; //创建窗体
  4376. _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); } }
  4377. break;
  4378. case "learnAna": //好友打开
  4379. _formdiv = new U.UF.UI.form(
  4380. "学习分析",
  4381. $$("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 }), {
  4382. "id": "learnAna",
  4383. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4384. "onresize": function () { }
  4385. }, {
  4386. closecallback: function () { }
  4387. }, { "style": { "height": "36px" } }).form; //创建窗体
  4388. _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); } }
  4389. break;
  4390. case "AIChat": //AI共创
  4391. _formdiv = new U.UF.UI.form(
  4392. "AI共创",
  4393. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4394. "id": "AIChat",
  4395. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4396. "onresize": function () { }
  4397. }, {
  4398. istop: true,
  4399. closecallback: function () { $("#aichat_icon").remove(); },
  4400. narrowcallback: function () {
  4401. if (!$("#aichat_icon")[0]) {
  4402. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4403. }
  4404. },
  4405. }, { "style": { "height": "36px" } }).form; //创建窗体
  4406. _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); } }
  4407. break;
  4408. case "ainew": //AI共创
  4409. _formdiv = new U.UF.UI.form(
  4410. "AI协同",
  4411. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4412. "id": "ainew",
  4413. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4414. "onresize": function () { }
  4415. }, {
  4416. closecallback: function () { }
  4417. }, { "style": { "height": "36px" } }).form; //创建窗体
  4418. _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); } }
  4419. break;
  4420. case "futureClass": //AI共创
  4421. _formdiv = new U.UF.UI.form(
  4422. "协同建构",
  4423. $$("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
  4424. "id": "synergyCourse",
  4425. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4426. "onresize": function () { }
  4427. }, {
  4428. closecallback: function () {
  4429. $("iframe", _formdiv)[0].contentWindow.loginout();
  4430. }
  4431. }, { "style": { "height": "36px" } }).form; //创建窗体
  4432. _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); } }
  4433. break;
  4434. case "aiagent": //ai agent
  4435. _formdiv = new U.UF.UI.form(
  4436. "AI Agent",
  4437. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://metagpt.cocorobo.cn/dist/index.html" }), {
  4438. "id": "AIAgent",
  4439. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4440. "onresize": function () { }
  4441. }, {
  4442. closecallback: function () { }
  4443. }, { "style": { "height": "36px" } }).form; //创建窗体
  4444. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Agent", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4445. break;
  4446. case "dataBoard": //数据看板
  4447. _formdiv = new U.UF.UI.form(
  4448. "数据看板",
  4449. $$("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 }), {
  4450. "id": "dataBoard",
  4451. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4452. "onresize": function () { }
  4453. }, {
  4454. closecallback: function () { }
  4455. }, { "style": { "height": "36px" } }).form; //创建窗体
  4456. _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); } }
  4457. break;
  4458. case "dataBoardSies": //数据融合
  4459. _formdiv = new U.UF.UI.form(
  4460. "数据融合",
  4461. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoardSies?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4462. "id": "dataBoardSies",
  4463. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4464. "onresize": function () { }
  4465. }, {
  4466. closecallback: function () { }
  4467. }, { "style": { "height": "36px" } }).form; //创建窗体
  4468. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardSies.png)" }, "name": "数据融合", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4469. break;
  4470. case "dataBoardNew": //数据看板
  4471. _formdiv = new U.UF.UI.form(
  4472. "综合看板",
  4473. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoardNew?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4474. "id": "dataBoardNew",
  4475. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4476. "onresize": function () { }
  4477. }, {
  4478. closecallback: function () { }
  4479. }, { "style": { "height": "36px" } }).form; //创建窗体
  4480. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardNew.png)" }, "name": "综合看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4481. break;
  4482. case "AIAnalyse": //AI共创
  4483. _formdiv = new U.UF.UI.form(
  4484. "AI分析",
  4485. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4486. "id": "AIAnalyse",
  4487. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4488. "onresize": function () { }
  4489. }, {
  4490. closecallback: function () { }
  4491. }, { "style": { "height": "36px" } }).form; //创建窗体
  4492. _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); } }
  4493. break;
  4494. case "studioCourse": //AI共创
  4495. _formdiv = new U.UF.UI.form(
  4496. "工作管理",
  4497. $$("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 }), {
  4498. "id": "studioCourse",
  4499. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4500. "onresize": function () { }
  4501. }, {
  4502. closecallback: function () { }
  4503. }, { "style": { "height": "36px" } }).form; //创建窗体
  4504. _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); } }
  4505. break;
  4506. case "studioIndex": //AI共创
  4507. _formdiv = new U.UF.UI.form(
  4508. "工作中心",
  4509. $$("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 }), {
  4510. "id": "studioIndex",
  4511. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4512. "onresize": function () { }
  4513. }, {
  4514. closecallback: function () { }
  4515. }, { "style": { "height": "36px" } }).form; //创建窗体
  4516. _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); } }
  4517. break;
  4518. case "source":
  4519. _formdiv = new U.UF.UI.form(
  4520. "教学资源",
  4521. $$("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 }), {
  4522. "id": "source",
  4523. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4524. "onresize": function () { }
  4525. }, {
  4526. closecallback: function () { }
  4527. }, { "style": { "height": "36px" } }).form; //创建窗体
  4528. _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); } }
  4529. break;
  4530. case "testTeacher":
  4531. _formdiv = new U.UF.UI.form(
  4532. "评测管理",
  4533. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/test?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4534. "id": "testTeacher",
  4535. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4536. "onresize": function () { }
  4537. }, {
  4538. closecallback: function () { }
  4539. }, { "style": { "height": "36px" } }).form; //创建窗体
  4540. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4541. break;
  4542. case "testStudent":
  4543. _formdiv = new U.UF.UI.form(
  4544. "评测中心",
  4545. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  4546. "id": "testStudent",
  4547. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4548. "onresize": function () { }
  4549. }, {
  4550. closecallback: function () { }
  4551. }, { "style": { "height": "36px" } }).form; //创建窗体
  4552. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4553. break;
  4554. }
  4555. //U.MD.D.I.openClick(str);
  4556. //如果有任务栏信息
  4557. if (_taskbar) {
  4558. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4559. }
  4560. }
  4561. // U.MD.D.I.openClick = function(str){
  4562. // var click = '';
  4563. // switch(str){
  4564. // case 'friend':
  4565. // click = '我的好友';
  4566. // break;
  4567. // case 'domain':
  4568. // click = '域名管理';
  4569. // break;
  4570. // case 'disk':
  4571. // click = '我的云盘';
  4572. // break;
  4573. // case 'word':
  4574. // click = 'Word';
  4575. // break;
  4576. // case 'excel':
  4577. // click = 'Execl';
  4578. // break;
  4579. // case 'txt':
  4580. // click = '文本文件';
  4581. // break;
  4582. // case 'lookupFriend':
  4583. // click = '查找好友';
  4584. // break;
  4585. // case 'ftp':
  4586. // click = 'FTP';
  4587. // break;
  4588. // case 'group':
  4589. // click = '群组';
  4590. // break;
  4591. // case 'set':
  4592. // click = '我的设置';
  4593. // break;
  4594. // case 'systemSet':
  4595. // click = '系统设置';
  4596. // break;
  4597. // case 'boomYun':
  4598. // click = '互联办公';
  4599. // break;
  4600. // case 'xz':
  4601. // click = '云端下载';
  4602. // break;
  4603. // case 'client':
  4604. // click = '有思浏览器';
  4605. // break;
  4606. // case 'backEndProgramming':
  4607. // click = '在线后台编程';
  4608. // break;
  4609. // case 'frontEndProgramming':
  4610. // click = '在线前端编程';
  4611. // break;
  4612. // default: break;
  4613. // }
  4614. // if(U.MD.D.I.Ip && click){
  4615. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4616. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4617. // })
  4618. // }
  4619. // }
  4620. /**
  4621. *函数作用:ajax简易函数,使用post格式
  4622. *@param url {data} 后台地址
  4623. *@param data {data} 参数json
  4624. *@param fn {data} 回调函数
  4625. *
  4626. */
  4627. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4628. // var xhr = new XMLHttpRequest();
  4629. // xhr.open("GET",url,true);
  4630. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4631. // xhr.onreadystatechange = function(){
  4632. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4633. // fn.call(this,xhr.responseText);
  4634. // }
  4635. // };
  4636. // xhr.send();
  4637. // }
  4638. /*判断是否是内网IP*/
  4639. // U.MD.D.I.isInnerIPFn = function(str){
  4640. // var curPageUrl = str;
  4641. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4642. // curPageUrl =curPageUrl.replace(reg1,'');
  4643. // // console.log('curPageUrl-1 '+curPageUrl);
  4644. // var reg2 = /\:+/g;//替换冒号为一点
  4645. // curPageUrl =curPageUrl.replace(reg2,'.');
  4646. // // console.log('curPageUrl-2 '+curPageUrl);
  4647. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4648. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4649. // if(curPageUrl[2] != '16'){
  4650. // return ipAddress;
  4651. // }else{
  4652. // return false;
  4653. // }
  4654. // }
  4655. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4656. // //compatibility for firefox and chrome
  4657. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4658. // var pc = new myPeerConnection({
  4659. // iceServers: []
  4660. // }),
  4661. // noop = function() {},
  4662. // localIPs = {},
  4663. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4664. // key;
  4665. // function iterateIP(ip) {
  4666. // if (!localIPs[ip]) onNewIP(ip);
  4667. // localIPs[ip] = true;
  4668. // }
  4669. // //create a bogus data channel
  4670. // pc.createDataChannel("");
  4671. // // create offer and set local description
  4672. // pc.createOffer().then(function(sdp) {
  4673. // sdp.sdp.split('\n').forEach(function(line) {
  4674. // if (line.indexOf('candidate') < 0) return;
  4675. // line.match(ipRegex).forEach(iterateIP);
  4676. // });
  4677. // pc.setLocalDescription(sdp, noop, noop);
  4678. // }).catch(function(reason) {
  4679. // // An error occurred, so handle the failure to connect
  4680. // });
  4681. // //sten for candidate events
  4682. // pc.onicecandidate = function(ice) {
  4683. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4684. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4685. // };
  4686. // }
  4687. // U.MD.D.I.getUserIpBool = function(callback){
  4688. // U.MD.D.I.getUserIP(function(ip){
  4689. // alert("Got IP! :" + ip);
  4690. // });
  4691. //}
  4692. //#endregion
  4693. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4694. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4695. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4696. _userinfo = US.userInfo, //登录用户信息
  4697. _userid = US.userInfo.userid //登录用户id
  4698. let _iframe;
  4699. let _cid = cid,
  4700. _stage = stage,
  4701. _task = task,
  4702. _tool = tool;
  4703. var _jie = $$("div", {
  4704. "style": {
  4705. "position": "absolute",
  4706. "bottom": "50px",
  4707. "right": "50px",
  4708. "zIndex": "9999",
  4709. "backgroundColor": "#2268bc",
  4710. "color": "#fff",
  4711. "padding": "12px 20px",
  4712. "cursor": "pointer",
  4713. "borderRadius": "4px",
  4714. },
  4715. "innerHTML": "提交作业"
  4716. })
  4717. let aTool = ''
  4718. let _loading = document.createElement('div')
  4719. _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;"
  4720. // _loading.id = "";
  4721. let _lchild = document.createElement('div')
  4722. let _limg = document.createElement('img')
  4723. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4724. _limg.style = "width: 26px;margin-right: 10px;"
  4725. _lchild.appendChild(_limg)
  4726. let _lspan = document.createElement('span')
  4727. _lspan.innerHTML = "上传中..."
  4728. _lchild.appendChild(_lspan)
  4729. _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%);"
  4730. _loading.appendChild(_lchild)
  4731. var _box = $$('div', {
  4732. "style": {
  4733. "position": "relative",
  4734. "width": "100%",
  4735. "height": "100%",
  4736. },
  4737. })
  4738. _box.appendChild(_loading)
  4739. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4740. switch (str) {
  4741. case "whiteboard":
  4742. aTool = 1;
  4743. _iframe = $$("iframe", {
  4744. "frameborder": "no",
  4745. "border": "0",
  4746. "scrolling ": "no",
  4747. "style": {
  4748. "cssText": "border:0;width:100%;height:100%"
  4749. },
  4750. "src": "https://iwb.cocorobo.cn/"
  4751. })
  4752. _box.appendChild(_iframe);
  4753. _box.appendChild(_jie);
  4754. _formdiv = new U.UF.UI.form(
  4755. "电子白板",
  4756. _box, {
  4757. "id": "whiteboard" + cid + stage + task + tool,
  4758. "style": {
  4759. "width": "90%",
  4760. "height": "90%",
  4761. "overflow": 'hidden'
  4762. },
  4763. "onresize": function () { }
  4764. }, {
  4765. closecallback: function () { }
  4766. }, {
  4767. "style": {
  4768. "height": "36px"
  4769. }
  4770. }).form; //创建窗体
  4771. _taskbar = {
  4772. "id": str + _formdiv.id,
  4773. "style": {
  4774. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4775. },
  4776. "name": "电子白板",
  4777. "forms": _formdiv,
  4778. "click": function () {
  4779. U.MD.D.I.openApplication(str, obj, info);
  4780. }
  4781. }
  4782. break;
  4783. case "mind":
  4784. aTool = 3;
  4785. _iframe = $$("iframe", {
  4786. "frameborder": "no",
  4787. "border": "0",
  4788. "scrolling ": "no",
  4789. "style": {
  4790. "cssText": "border:0;width:100%;height:100%"
  4791. },
  4792. "src": "/kityminder-editor/dist/index.html"
  4793. })
  4794. _box.appendChild(_iframe);
  4795. _box.appendChild(_jie);
  4796. _formdiv = new U.UF.UI.form(
  4797. "思维导图",
  4798. _box, { //"/jsmind/example/demo.html"
  4799. "id": "mind" + cid + stage + task + tool,
  4800. "style": {
  4801. "width": "90%",
  4802. "height": "90%",
  4803. "overflow": 'hidden'
  4804. },
  4805. "onresize": function () { }
  4806. }, {
  4807. closecallback: function () { }
  4808. }, {
  4809. "style": {
  4810. "height": "36px"
  4811. }
  4812. }).form; //创建窗体
  4813. _taskbar = {
  4814. "id": str + _formdiv.id,
  4815. "style": {
  4816. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4817. },
  4818. "name": "思维导图",
  4819. "forms": _formdiv,
  4820. "click": function () {
  4821. U.MD.D.I.openApplication(str, obj, info);
  4822. }
  4823. }
  4824. break;
  4825. case "MindMap":
  4826. aTool = 3;
  4827. _iframe = $$("iframe", {
  4828. "frameborder": "no",
  4829. "border": "0",
  4830. "scrolling ": "no",
  4831. "style": {
  4832. "cssText": "border:0;width:100%;height:100%"
  4833. },
  4834. "src": "//cloud.cocorobo.cn/mind/"
  4835. })
  4836. _box.appendChild(_iframe);
  4837. _box.appendChild(_jie);
  4838. _formdiv = new U.UF.UI.form(
  4839. "思维导图",
  4840. _box, { //"/jsmind/example/demo.html"
  4841. "id": "mind" + cid + stage + task + tool,
  4842. "style": {
  4843. "width": "90%",
  4844. "height": "90%",
  4845. "overflow": 'hidden'
  4846. },
  4847. "onresize": function () { }
  4848. }, {
  4849. closecallback: function () { }
  4850. }, {
  4851. "style": {
  4852. "height": "36px"
  4853. }
  4854. }).form; //创建窗体
  4855. _taskbar = {
  4856. "id": str + _formdiv.id,
  4857. "style": {
  4858. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4859. },
  4860. "name": "思维导图",
  4861. "forms": _formdiv,
  4862. "click": function () {
  4863. U.MD.D.I.openApplication(str, obj, info);
  4864. }
  4865. }
  4866. break;
  4867. case "doc":
  4868. aTool = 6;
  4869. _iframe = $$("iframe", {
  4870. "frameborder": "no",
  4871. "border": "0",
  4872. "scrolling ": "no",
  4873. "style": {
  4874. "cssText": "border:0;width:100%;height:100%"
  4875. },
  4876. "src": "/Office/Word/WordEditArea.htm"
  4877. })
  4878. _box.appendChild(_iframe);
  4879. _box.appendChild(_jie);
  4880. _formdiv = new U.UF.UI.form(
  4881. "协同文档",
  4882. _box, {
  4883. "id": "doc" + cid + stage + task + tool,
  4884. "style": {
  4885. "width": "90%",
  4886. "height": "90%",
  4887. "overflow": 'hidden'
  4888. },
  4889. "onresize": function () { }
  4890. }, {
  4891. closecallback: function () { }
  4892. }, {
  4893. "style": {
  4894. "height": "36px"
  4895. }
  4896. }).form; //创建窗体
  4897. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4898. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4899. })
  4900. _taskbar = {
  4901. "id": str + _formdiv.id,
  4902. "style": {
  4903. "backgroundImage": "url(/img/icon/doc.png)"
  4904. },
  4905. "name": "协同文档",
  4906. "forms": _formdiv,
  4907. "click": function () {
  4908. U.MD.D.I.openApplication(str, obj, info);
  4909. }
  4910. }
  4911. break;
  4912. case "mindNetwork": //好友打开
  4913. aTool = 7;
  4914. _iframe = $$("iframe", {
  4915. "webkitallowfullscreen": "",
  4916. "mozallowfullscreen": "",
  4917. "allowfullscreen": "",
  4918. "frameborder": "no",
  4919. "border": "0",
  4920. "scrolling ": "no",
  4921. "style": {
  4922. "cssText": "border:0; width:100%; height:100%;"
  4923. },
  4924. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4925. })
  4926. _box.appendChild(_iframe);
  4927. _box.appendChild(_jie);
  4928. _formdiv = new U.UF.UI.form(
  4929. "思维网格",
  4930. _box, {
  4931. "id": "mindNetwork" + cid + stage + task + tool,
  4932. "style": {
  4933. "width": "90%",
  4934. "height": "90%",
  4935. "overflow": 'hidden'
  4936. },
  4937. "onresize": function () { }
  4938. }, {
  4939. closecallback: function () { }
  4940. }, {
  4941. "style": {
  4942. "height": "36px"
  4943. }
  4944. }).form; //创建窗体
  4945. _taskbar = {
  4946. "id": str + _formdiv.id,
  4947. "style": {
  4948. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4949. },
  4950. "name": "思维网格",
  4951. "forms": _formdiv,
  4952. "click": function () {
  4953. U.MD.D.I.openApplication(str, obj, info);
  4954. }
  4955. }
  4956. break;
  4957. case "courseDesign":
  4958. _iframe = $$("iframe", {
  4959. "webkitallowfullscreen": "",
  4960. "mozallowfullscreen": "",
  4961. "allowfullscreen": "",
  4962. "frameborder": "no",
  4963. "border": "0",
  4964. "scrolling ": "no",
  4965. "style": {
  4966. "cssText": "border:0; width:100%; height:100%;"
  4967. },
  4968. "src": "/course-design-vue"
  4969. })
  4970. _box.appendChild(_iframe);
  4971. _box.appendChild(_jie);
  4972. _formdiv = new U.UF.UI.form(
  4973. "项目设计",
  4974. _box, {
  4975. "id": "courseDesign" + cid + stage + task + tool,
  4976. "style": {
  4977. "width": "90%",
  4978. "height": "90%",
  4979. "overflow": 'hidden'
  4980. },
  4981. "onresize": function () { }
  4982. }, {
  4983. closecallback: function () { }
  4984. }, {
  4985. "style": {
  4986. "height": "36px"
  4987. }
  4988. }).form; //创建窗体
  4989. _taskbar = {
  4990. "id": str + _formdiv.id,
  4991. "style": {
  4992. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4993. },
  4994. "name": "项目设计",
  4995. "forms": _formdiv,
  4996. "click": function () {
  4997. U.MD.D.I.openApplication(str, obj, info);
  4998. }
  4999. }
  5000. break;
  5001. }
  5002. const script1 = document.createElement("script");
  5003. script1.type = "text/javascript";
  5004. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5005. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5006. const script2 = document.createElement("script");
  5007. script2.type = "text/javascript";
  5008. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5009. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5010. const script3 = document.createElement("script");
  5011. script3.type = "text/javascript";
  5012. script3.charset = "UTF-8";
  5013. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5014. const script4 = document.createElement("script");
  5015. script4.type = "text/javascript";
  5016. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5017. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5018. if (_iframe) {
  5019. if (str == 'doc') {
  5020. _iframe = _formdiv.querySelector('iframe')
  5021. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5022. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5023. _iframe.contentWindow.document.body.appendChild(script1);
  5024. _iframe.contentWindow.document.body.appendChild(script2);
  5025. // _iframe.contentWindow.document.body.appendChild(script3);
  5026. _iframe.contentWindow.document.body.appendChild(script4);
  5027. })
  5028. if (onloadListener) {
  5029. _iframe.contentDocument.location.reload()
  5030. } else {
  5031. _iframe.contentDocument.location.reload()
  5032. }
  5033. } else if (str == 'courseDesign') {
  5034. U.UF.DL.iframeLoad(_iframe, function () {
  5035. // _iframe.contentWindow.U.MD.O.W.load();
  5036. // _iframe.contentWindow.document.body.appendChild(script1);
  5037. _iframe.contentWindow.document.body.appendChild(script2);
  5038. _iframe.contentWindow.document.body.appendChild(script4);
  5039. })
  5040. } else if (str == 'mind') {
  5041. _iframe = _formdiv.querySelector('iframe')
  5042. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5043. //
  5044. _iframe.contentWindow.document.body.appendChild(script1);
  5045. _iframe.contentWindow.document.body.appendChild(script2);
  5046. _iframe.contentWindow.document.body.appendChild(script4);
  5047. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5048. })
  5049. if (onloadListener) {
  5050. _iframe.contentDocument.location.reload()
  5051. } else {
  5052. _iframe.contentDocument.location.reload()
  5053. }
  5054. } else if (str == 'whiteboard') {
  5055. _iframe = _formdiv.querySelector('iframe')
  5056. let onloadListener = _iframe.onload = () => {
  5057. _iframe.contentWindow.document.body.appendChild(script1);
  5058. _iframe.contentWindow.document.body.appendChild(script2);
  5059. _iframe.contentWindow.document.body.appendChild(script4);
  5060. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5061. };
  5062. if (onloadListener) {
  5063. _iframe.contentDocument.location.reload()
  5064. } else {
  5065. _iframe.contentDocument.location.reload()
  5066. }
  5067. } else {
  5068. _iframe.onload = () => {
  5069. _iframe.contentWindow.document.body.appendChild(script1);
  5070. _iframe.contentWindow.document.body.appendChild(script2);
  5071. // _iframe.contentWindow.document.body.appendChild(script3);
  5072. _iframe.contentWindow.document.body.appendChild(script4);
  5073. };
  5074. }
  5075. _jie.onclick = async () => {
  5076. let text = ''
  5077. if (aTool == 1) {
  5078. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5079. } else if (aTool == 6) {
  5080. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5081. } else if (aTool == 3) {
  5082. text = await U.MD.D.I.getEditorContent(_iframe);
  5083. }
  5084. _loading.style.display = 'flex'
  5085. console.log(_loading);
  5086. var _ajs = _iframe.contentWindow.document.createElement("script");
  5087. _ajs.type = "text/javascript";
  5088. _ajs.innerHTML =
  5089. // 'console.log(' + _loading + ');\n' +
  5090. 'var _js = document.createElement("script");\n' +
  5091. '_js.type="text/javascript";\n' +
  5092. '_js.charset="UTF-8";\n' +
  5093. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5094. "_js.onload = function(){\n" +
  5095. ' var a = document.getElementsByTagName("img")\n' +
  5096. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5097. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5098. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5099. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5100. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5101. "beforeUpload_shishi(file," +
  5102. "'" +
  5103. _userid +
  5104. "'" +
  5105. ", " +
  5106. "'" +
  5107. _cid +
  5108. "'" +
  5109. ", " +
  5110. "'" +
  5111. _stage +
  5112. "'" +
  5113. ", " +
  5114. "'" +
  5115. _task +
  5116. "'" +
  5117. ", " +
  5118. "'" +
  5119. _tool +
  5120. "'" +
  5121. ", " +
  5122. "'" +
  5123. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5124. "'" +
  5125. ", " +
  5126. "'" +
  5127. aTool +
  5128. "'" +
  5129. ", " +
  5130. "`" +
  5131. text +
  5132. "`" +
  5133. ")\n" +
  5134. " });\n" +
  5135. "}\n" +
  5136. "document.head.appendChild(_js);\n";
  5137. _iframe.contentWindow.document.head.appendChild(_ajs);
  5138. }
  5139. }
  5140. //U.MD.D.I.openClick(str);
  5141. //如果有任务栏信息
  5142. // if (_taskbar) {
  5143. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5144. // }
  5145. }
  5146. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5147. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5148. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5149. _userinfo = US.userInfo, //登录用户信息
  5150. _userid = US.userInfo.userid //登录用户id
  5151. let _iframe;
  5152. let _cid = cid,
  5153. _stage = stage,
  5154. _task = task,
  5155. _tool = tool;
  5156. var _jie = $$("div", {
  5157. "style": {
  5158. "position": "absolute",
  5159. "bottom": "50px",
  5160. "right": "50px",
  5161. "zIndex": "9999",
  5162. "backgroundColor": "#2268bc",
  5163. "color": "#fff",
  5164. "padding": "12px 20px",
  5165. "cursor": "pointer",
  5166. "borderRadius": "4px",
  5167. },
  5168. "innerHTML": "提交作业"
  5169. })
  5170. let aTool = ''
  5171. let _loading = document.createElement('div')
  5172. _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;"
  5173. // _loading.id = "";
  5174. let _lchild = document.createElement('div')
  5175. let _limg = document.createElement('img')
  5176. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5177. _limg.style = "width: 26px;margin-right: 10px;"
  5178. _lchild.appendChild(_limg)
  5179. let _lspan = document.createElement('span')
  5180. _lspan.innerHTML = "上传中..."
  5181. _lchild.appendChild(_lspan)
  5182. _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%);"
  5183. _loading.appendChild(_lchild)
  5184. var _box = $$('div', {
  5185. "style": {
  5186. "position": "relative",
  5187. "width": "100%",
  5188. "height": "100%",
  5189. },
  5190. })
  5191. _box.appendChild(_loading)
  5192. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5193. switch (str) {
  5194. case "whiteboard":
  5195. aTool = 1;
  5196. _iframe = $$("iframe", {
  5197. "frameborder": "no",
  5198. "border": "0",
  5199. "scrolling ": "no",
  5200. "style": {
  5201. "cssText": "border:0;width:100%;height:100%"
  5202. },
  5203. "src": "https://iwb.cocorobo.cn/"
  5204. })
  5205. _box.appendChild(_iframe);
  5206. _box.appendChild(_jie);
  5207. _formdiv = new U.UF.UI.form(
  5208. "电子白板",
  5209. _box, {
  5210. "id": "whiteboard" + cid + stage + task + tool,
  5211. "style": {
  5212. "width": "90%",
  5213. "height": "90%",
  5214. "overflow": 'hidden'
  5215. },
  5216. "onresize": function () { }
  5217. }, {
  5218. closecallback: function () { }
  5219. }, {
  5220. "style": {
  5221. "height": "36px"
  5222. }
  5223. }).form; //创建窗体
  5224. _taskbar = {
  5225. "id": str + _formdiv.id,
  5226. "style": {
  5227. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5228. },
  5229. "name": "电子白板",
  5230. "forms": _formdiv,
  5231. "click": function () {
  5232. U.MD.D.I.openApplication(str, obj, info);
  5233. }
  5234. }
  5235. break;
  5236. case "mind":
  5237. aTool = 3;
  5238. _iframe = $$("iframe", {
  5239. "frameborder": "no",
  5240. "border": "0",
  5241. "scrolling ": "no",
  5242. "style": {
  5243. "cssText": "border:0;width:100%;height:100%"
  5244. },
  5245. "src": "/kityminder-editor/dist/index.html"
  5246. })
  5247. _box.appendChild(_iframe);
  5248. _box.appendChild(_jie);
  5249. _formdiv = new U.UF.UI.form(
  5250. "思维导图",
  5251. _box, { //"/jsmind/example/demo.html"
  5252. "id": "mind" + cid + stage + task + tool,
  5253. "style": {
  5254. "width": "90%",
  5255. "height": "90%",
  5256. "overflow": 'hidden'
  5257. },
  5258. "onresize": function () { }
  5259. }, {
  5260. closecallback: function () { }
  5261. }, {
  5262. "style": {
  5263. "height": "36px"
  5264. }
  5265. }).form; //创建窗体
  5266. _taskbar = {
  5267. "id": str + _formdiv.id,
  5268. "style": {
  5269. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5270. },
  5271. "name": "思维导图",
  5272. "forms": _formdiv,
  5273. "click": function () {
  5274. U.MD.D.I.openApplication(str, obj, info);
  5275. }
  5276. }
  5277. break;
  5278. case "MindMap":
  5279. aTool = 3;
  5280. _iframe = $$("iframe", {
  5281. "frameborder": "no",
  5282. "border": "0",
  5283. "scrolling ": "no",
  5284. "style": {
  5285. "cssText": "border:0;width:100%;height:100%"
  5286. },
  5287. "src": "//cloud.cocorobo.cn/mind/"
  5288. })
  5289. _box.appendChild(_iframe);
  5290. _box.appendChild(_jie);
  5291. _formdiv = new U.UF.UI.form(
  5292. "思维导图",
  5293. _box, { //"/jsmind/example/demo.html"
  5294. "id": "mind" + cid + stage + task + tool,
  5295. "style": {
  5296. "width": "90%",
  5297. "height": "90%",
  5298. "overflow": 'hidden'
  5299. },
  5300. "onresize": function () { }
  5301. }, {
  5302. closecallback: function () { }
  5303. }, {
  5304. "style": {
  5305. "height": "36px"
  5306. }
  5307. }).form; //创建窗体
  5308. _taskbar = {
  5309. "id": str + _formdiv.id,
  5310. "style": {
  5311. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5312. },
  5313. "name": "思维导图",
  5314. "forms": _formdiv,
  5315. "click": function () {
  5316. U.MD.D.I.openApplication(str, obj, info);
  5317. }
  5318. }
  5319. break;
  5320. case "doc":
  5321. aTool = 6;
  5322. _iframe = $$("iframe", {
  5323. "frameborder": "no",
  5324. "border": "0",
  5325. "scrolling ": "no",
  5326. "style": {
  5327. "cssText": "border:0;width:100%;height:100%"
  5328. },
  5329. "src": "/Office/Word/WordEditArea.htm"
  5330. })
  5331. _box.appendChild(_iframe);
  5332. _box.appendChild(_jie);
  5333. _formdiv = new U.UF.UI.form(
  5334. "协同文档",
  5335. _box, {
  5336. "id": "doc" + cid + stage + task + tool,
  5337. "style": {
  5338. "width": "90%",
  5339. "height": "90%",
  5340. "overflow": 'hidden'
  5341. },
  5342. "onresize": function () { }
  5343. }, {
  5344. closecallback: function () { }
  5345. }, {
  5346. "style": {
  5347. "height": "36px"
  5348. }
  5349. }).form; //创建窗体
  5350. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5351. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5352. })
  5353. _taskbar = {
  5354. "id": str + _formdiv.id,
  5355. "style": {
  5356. "backgroundImage": "url(/img/icon/doc.png)"
  5357. },
  5358. "name": "协同文档",
  5359. "forms": _formdiv,
  5360. "click": function () {
  5361. U.MD.D.I.openApplication(str, obj, info);
  5362. }
  5363. }
  5364. break;
  5365. case "mindNetwork": //好友打开
  5366. aTool = 7;
  5367. _iframe = $$("iframe", {
  5368. "webkitallowfullscreen": "",
  5369. "mozallowfullscreen": "",
  5370. "allowfullscreen": "",
  5371. "frameborder": "no",
  5372. "border": "0",
  5373. "scrolling ": "no",
  5374. "style": {
  5375. "cssText": "border:0; width:100%; height:100%;"
  5376. },
  5377. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5378. })
  5379. _box.appendChild(_iframe);
  5380. _box.appendChild(_jie);
  5381. _formdiv = new U.UF.UI.form(
  5382. "思维网格",
  5383. _box, {
  5384. "id": "mindNetwork" + cid + stage + task + tool,
  5385. "style": {
  5386. "width": "90%",
  5387. "height": "90%",
  5388. "overflow": 'hidden'
  5389. },
  5390. "onresize": function () { }
  5391. }, {
  5392. closecallback: function () { }
  5393. }, {
  5394. "style": {
  5395. "height": "36px"
  5396. }
  5397. }).form; //创建窗体
  5398. _taskbar = {
  5399. "id": str + _formdiv.id,
  5400. "style": {
  5401. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5402. },
  5403. "name": "思维网格",
  5404. "forms": _formdiv,
  5405. "click": function () {
  5406. U.MD.D.I.openApplication(str, obj, info);
  5407. }
  5408. }
  5409. break;
  5410. case "courseDesign":
  5411. _iframe = $$("iframe", {
  5412. "webkitallowfullscreen": "",
  5413. "mozallowfullscreen": "",
  5414. "allowfullscreen": "",
  5415. "frameborder": "no",
  5416. "border": "0",
  5417. "scrolling ": "no",
  5418. "style": {
  5419. "cssText": "border:0; width:100%; height:100%;"
  5420. },
  5421. "src": "/course-design-vue"
  5422. })
  5423. _box.appendChild(_iframe);
  5424. _box.appendChild(_jie);
  5425. _formdiv = new U.UF.UI.form(
  5426. "项目设计",
  5427. _box, {
  5428. "id": "courseDesign" + cid + stage + task + tool,
  5429. "style": {
  5430. "width": "90%",
  5431. "height": "90%",
  5432. "overflow": 'hidden'
  5433. },
  5434. "onresize": function () { }
  5435. }, {
  5436. closecallback: function () { }
  5437. }, {
  5438. "style": {
  5439. "height": "36px"
  5440. }
  5441. }).form; //创建窗体
  5442. _taskbar = {
  5443. "id": str + _formdiv.id,
  5444. "style": {
  5445. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5446. },
  5447. "name": "项目设计",
  5448. "forms": _formdiv,
  5449. "click": function () {
  5450. U.MD.D.I.openApplication(str, obj, info);
  5451. }
  5452. }
  5453. break;
  5454. }
  5455. const script1 = document.createElement("script");
  5456. script1.type = "text/javascript";
  5457. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5458. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5459. const script2 = document.createElement("script");
  5460. script2.type = "text/javascript";
  5461. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5462. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5463. const script3 = document.createElement("script");
  5464. script3.type = "text/javascript";
  5465. script3.charset = "UTF-8";
  5466. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5467. const script4 = document.createElement("script");
  5468. script4.type = "text/javascript";
  5469. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5470. script4.src = window.origin + "/js/Common/jietu2E.js";
  5471. if (_iframe) {
  5472. if (str == 'doc') {
  5473. _iframe = _formdiv.querySelector('iframe')
  5474. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5475. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5476. _iframe.contentWindow.document.body.appendChild(script1);
  5477. _iframe.contentWindow.document.body.appendChild(script2);
  5478. // _iframe.contentWindow.document.body.appendChild(script3);
  5479. _iframe.contentWindow.document.body.appendChild(script4);
  5480. })
  5481. if (onloadListener) {
  5482. _iframe.contentDocument.location.reload()
  5483. } else {
  5484. _iframe.contentDocument.location.reload()
  5485. }
  5486. } else if (str == 'courseDesign') {
  5487. U.UF.DL.iframeLoad(_iframe, function () {
  5488. // _iframe.contentWindow.U.MD.O.W.load();
  5489. // _iframe.contentWindow.document.body.appendChild(script1);
  5490. _iframe.contentWindow.document.body.appendChild(script2);
  5491. _iframe.contentWindow.document.body.appendChild(script4);
  5492. })
  5493. } else if (str == 'mind') {
  5494. _iframe = _formdiv.querySelector('iframe')
  5495. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5496. //
  5497. _iframe.contentWindow.document.body.appendChild(script1);
  5498. _iframe.contentWindow.document.body.appendChild(script2);
  5499. _iframe.contentWindow.document.body.appendChild(script4);
  5500. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5501. })
  5502. if (onloadListener) {
  5503. _iframe.contentDocument.location.reload()
  5504. } else {
  5505. _iframe.contentDocument.location.reload()
  5506. }
  5507. } else if (str == 'whiteboard') {
  5508. _iframe = _formdiv.querySelector('iframe')
  5509. let onloadListener = _iframe.onload = () => {
  5510. _iframe.contentWindow.document.body.appendChild(script1);
  5511. _iframe.contentWindow.document.body.appendChild(script2);
  5512. _iframe.contentWindow.document.body.appendChild(script4);
  5513. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5514. };
  5515. if (onloadListener) {
  5516. _iframe.contentDocument.location.reload()
  5517. } else {
  5518. _iframe.contentDocument.location.reload()
  5519. }
  5520. } else {
  5521. _iframe.onload = () => {
  5522. _iframe.contentWindow.document.body.appendChild(script1);
  5523. _iframe.contentWindow.document.body.appendChild(script2);
  5524. // _iframe.contentWindow.document.body.appendChild(script3);
  5525. _iframe.contentWindow.document.body.appendChild(script4);
  5526. };
  5527. }
  5528. _jie.onclick = async () => {
  5529. let text = ''
  5530. if (aTool == 1) {
  5531. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5532. } else if (aTool == 6) {
  5533. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5534. } else if (aTool == 3) {
  5535. text = await U.MD.D.I.getEditorContent(_iframe);
  5536. }
  5537. _loading.style.display = 'flex'
  5538. console.log(_loading);
  5539. var _ajs = _iframe.contentWindow.document.createElement("script");
  5540. _ajs.type = "text/javascript";
  5541. _ajs.innerHTML =
  5542. // 'console.log(' + _loading + ');\n' +
  5543. 'var _js = document.createElement("script");\n' +
  5544. '_js.type="text/javascript";\n' +
  5545. '_js.charset="UTF-8";\n' +
  5546. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5547. "_js.onload = function(){\n" +
  5548. ' var a = document.getElementsByTagName("img")\n' +
  5549. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5550. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5551. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5552. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5553. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5554. "beforeUpload_shishi(file," +
  5555. "'" +
  5556. _userid +
  5557. "'" +
  5558. ", " +
  5559. "'" +
  5560. _cid +
  5561. "'" +
  5562. ", " +
  5563. "'" +
  5564. _stage +
  5565. "'" +
  5566. ", " +
  5567. "'" +
  5568. _task +
  5569. "'" +
  5570. ", " +
  5571. "'" +
  5572. _tool +
  5573. "'" +
  5574. ", " +
  5575. "'" +
  5576. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5577. "'" +
  5578. ", " +
  5579. "'" +
  5580. aTool +
  5581. "'" +
  5582. ", " +
  5583. "`" +
  5584. text +
  5585. "`" +
  5586. ")\n" +
  5587. " });\n" +
  5588. "}\n" +
  5589. "document.head.appendChild(_js);\n";
  5590. _iframe.contentWindow.document.head.appendChild(_ajs);
  5591. }
  5592. }
  5593. //U.MD.D.I.openClick(str);
  5594. //如果有任务栏信息
  5595. // if (_taskbar) {
  5596. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5597. // }
  5598. }
  5599. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5600. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5601. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5602. _userid = student.userid, //登录用户id
  5603. _username = student.student //用户名字
  5604. let _iframe;
  5605. let _cid = cid,
  5606. _stage = stage,
  5607. _task = task,
  5608. _tool = tool;
  5609. var _jie = $$("div", {
  5610. "style": {
  5611. "position": "absolute",
  5612. "bottom": "50px",
  5613. "right": "50px",
  5614. "zIndex": "9999",
  5615. "backgroundColor": "#2268bc",
  5616. "color": "#fff",
  5617. "padding": "12px 20px",
  5618. "cursor": "pointer",
  5619. "borderRadius": "4px",
  5620. },
  5621. "innerHTML": "提交作业"
  5622. })
  5623. let aTool = ''
  5624. let _loading = document.createElement('div')
  5625. _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;"
  5626. // _loading.id = "";
  5627. let _lchild = document.createElement('div')
  5628. let _limg = document.createElement('img')
  5629. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5630. _limg.style = "width: 26px;margin-right: 10px;"
  5631. _lchild.appendChild(_limg)
  5632. let _lspan = document.createElement('span')
  5633. _lspan.innerHTML = "上传中..."
  5634. _lchild.appendChild(_lspan)
  5635. _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%);"
  5636. _loading.appendChild(_lchild)
  5637. var _box = $$('div', {
  5638. "style": {
  5639. "position": "relative",
  5640. "width": "100%",
  5641. "height": "100%",
  5642. },
  5643. })
  5644. _box.appendChild(_loading)
  5645. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5646. switch (str) {
  5647. case "whiteboard":
  5648. aTool = 1;
  5649. _iframe = $$("iframe", {
  5650. "frameborder": "no",
  5651. "border": "0",
  5652. "scrolling ": "no",
  5653. "style": {
  5654. "cssText": "border:0;width:100%;height:100%"
  5655. },
  5656. "src": "https://iwb.cocorobo.cn/"
  5657. })
  5658. _box.appendChild(_iframe);
  5659. _box.appendChild(_jie);
  5660. _formdiv = new U.UF.UI.form(
  5661. "电子白板-" + _username,
  5662. _box, {
  5663. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5664. "style": {
  5665. "width": "90%",
  5666. "height": "90%",
  5667. "overflow": 'hidden'
  5668. },
  5669. "onresize": function () { }
  5670. }, {
  5671. closecallback: function () { }
  5672. }, {
  5673. "style": {
  5674. "height": "36px"
  5675. }
  5676. }).form; //创建窗体
  5677. _taskbar = {
  5678. "id": str + _formdiv.id,
  5679. "style": {
  5680. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5681. },
  5682. "name": "电子白板",
  5683. "forms": _formdiv,
  5684. "click": function () {
  5685. U.MD.D.I.openApplication(str, obj, info);
  5686. }
  5687. }
  5688. break;
  5689. case "mind":
  5690. aTool = 3;
  5691. _iframe = $$("iframe", {
  5692. "frameborder": "no",
  5693. "border": "0",
  5694. "scrolling ": "no",
  5695. "style": {
  5696. "cssText": "border:0;width:100%;height:100%"
  5697. },
  5698. "src": "/kityminder-editor/dist/index.html"
  5699. })
  5700. _box.appendChild(_iframe);
  5701. _box.appendChild(_jie);
  5702. _formdiv = new U.UF.UI.form(
  5703. "思维导图-" + _username,
  5704. _box, { //"/jsmind/example/demo.html"
  5705. "id": "mind" + cid + stage + task + tool + _userid,
  5706. "style": {
  5707. "width": "90%",
  5708. "height": "90%",
  5709. "overflow": 'hidden'
  5710. },
  5711. "onresize": function () { }
  5712. }, {
  5713. closecallback: function () { }
  5714. }, {
  5715. "style": {
  5716. "height": "36px"
  5717. }
  5718. }).form; //创建窗体
  5719. _taskbar = {
  5720. "id": str + _formdiv.id,
  5721. "style": {
  5722. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5723. },
  5724. "name": "思维导图",
  5725. "forms": _formdiv,
  5726. "click": function () {
  5727. U.MD.D.I.openApplication(str, obj, info);
  5728. }
  5729. }
  5730. break;
  5731. case "MindMap":
  5732. aTool = 3;
  5733. _iframe = $$("iframe", {
  5734. "frameborder": "no",
  5735. "border": "0",
  5736. "scrolling ": "no",
  5737. "style": {
  5738. "cssText": "border:0;width:100%;height:100%"
  5739. },
  5740. "src": "//cloud.cocorobo.cn/mind/"
  5741. })
  5742. _box.appendChild(_iframe);
  5743. _box.appendChild(_jie);
  5744. _formdiv = new U.UF.UI.form(
  5745. "思维导图-" + _username,
  5746. _box, { //"/jsmind/example/demo.html"
  5747. "id": "mind" + cid + stage + task + tool + _userid,
  5748. "style": {
  5749. "width": "90%",
  5750. "height": "90%",
  5751. "overflow": 'hidden'
  5752. },
  5753. "onresize": function () { }
  5754. }, {
  5755. closecallback: function () { }
  5756. }, {
  5757. "style": {
  5758. "height": "36px"
  5759. }
  5760. }).form; //创建窗体
  5761. _taskbar = {
  5762. "id": str + _formdiv.id,
  5763. "style": {
  5764. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5765. },
  5766. "name": "思维导图",
  5767. "forms": _formdiv,
  5768. "click": function () {
  5769. U.MD.D.I.openApplication(str, obj, info);
  5770. }
  5771. }
  5772. break;
  5773. case "doc":
  5774. aTool = 6;
  5775. _iframe = $$("iframe", {
  5776. "frameborder": "no",
  5777. "border": "0",
  5778. "scrolling ": "no",
  5779. "style": {
  5780. "cssText": "border:0;width:100%;height:100%"
  5781. },
  5782. "src": "/Office/Word/WordEditArea.htm"
  5783. })
  5784. _box.appendChild(_iframe);
  5785. _box.appendChild(_jie);
  5786. _formdiv = new U.UF.UI.form(
  5787. "协同文档-" + _username,
  5788. _box, {
  5789. "id": "doc" + cid + stage + task + tool + _userid,
  5790. "style": {
  5791. "width": "90%",
  5792. "height": "90%",
  5793. "overflow": 'hidden'
  5794. },
  5795. "onresize": function () { }
  5796. }, {
  5797. closecallback: function () { }
  5798. }, {
  5799. "style": {
  5800. "height": "36px"
  5801. }
  5802. }).form; //创建窗体
  5803. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5804. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5805. })
  5806. _taskbar = {
  5807. "id": str + _formdiv.id,
  5808. "style": {
  5809. "backgroundImage": "url(/img/icon/doc.png)"
  5810. },
  5811. "name": "协同文档",
  5812. "forms": _formdiv,
  5813. "click": function () {
  5814. U.MD.D.I.openApplication(str, obj, info);
  5815. }
  5816. }
  5817. break;
  5818. case "mindNetwork": //好友打开
  5819. aTool = 7;
  5820. _iframe = $$("iframe", {
  5821. "webkitallowfullscreen": "",
  5822. "mozallowfullscreen": "",
  5823. "allowfullscreen": "",
  5824. "frameborder": "no",
  5825. "border": "0",
  5826. "scrolling ": "no",
  5827. "style": {
  5828. "cssText": "border:0; width:100%; height:100%;"
  5829. },
  5830. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5831. })
  5832. _box.appendChild(_iframe);
  5833. _box.appendChild(_jie);
  5834. _formdiv = new U.UF.UI.form(
  5835. "思维网格-" + _username,
  5836. _box, {
  5837. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5838. "style": {
  5839. "width": "90%",
  5840. "height": "90%",
  5841. "overflow": 'hidden'
  5842. },
  5843. "onresize": function () { }
  5844. }, {
  5845. closecallback: function () { }
  5846. }, {
  5847. "style": {
  5848. "height": "36px"
  5849. }
  5850. }).form; //创建窗体
  5851. _taskbar = {
  5852. "id": str + _formdiv.id,
  5853. "style": {
  5854. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5855. },
  5856. "name": "思维网格",
  5857. "forms": _formdiv,
  5858. "click": function () {
  5859. U.MD.D.I.openApplication(str, obj, info);
  5860. }
  5861. }
  5862. break;
  5863. case "courseDesign":
  5864. _iframe = $$("iframe", {
  5865. "webkitallowfullscreen": "",
  5866. "mozallowfullscreen": "",
  5867. "allowfullscreen": "",
  5868. "frameborder": "no",
  5869. "border": "0",
  5870. "scrolling ": "no",
  5871. "style": {
  5872. "cssText": "border:0; width:100%; height:100%;"
  5873. },
  5874. "src": "/course-design-vue"
  5875. })
  5876. _box.appendChild(_iframe);
  5877. _box.appendChild(_jie);
  5878. _formdiv = new U.UF.UI.form(
  5879. "项目设计-" + _username,
  5880. _box, {
  5881. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5882. "style": {
  5883. "width": "90%",
  5884. "height": "90%",
  5885. "overflow": 'hidden'
  5886. },
  5887. "onresize": function () { }
  5888. }, {
  5889. closecallback: function () { }
  5890. }, {
  5891. "style": {
  5892. "height": "36px"
  5893. }
  5894. }).form; //创建窗体
  5895. _taskbar = {
  5896. "id": str + _formdiv.id,
  5897. "style": {
  5898. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5899. },
  5900. "name": "项目设计",
  5901. "forms": _formdiv,
  5902. "click": function () {
  5903. U.MD.D.I.openApplication(str, obj, info);
  5904. }
  5905. }
  5906. break;
  5907. }
  5908. const script1 = document.createElement("script");
  5909. script1.type = "text/javascript";
  5910. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5911. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5912. const script2 = document.createElement("script");
  5913. script2.type = "text/javascript";
  5914. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5915. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5916. const script3 = document.createElement("script");
  5917. script3.type = "text/javascript";
  5918. script3.charset = "UTF-8";
  5919. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5920. const script4 = document.createElement("script");
  5921. script4.type = "text/javascript";
  5922. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5923. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5924. if (_iframe) {
  5925. if (str == 'doc') {
  5926. _iframe = _formdiv.querySelector('iframe')
  5927. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5928. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5929. _iframe.contentWindow.document.body.appendChild(script1);
  5930. _iframe.contentWindow.document.body.appendChild(script2);
  5931. // _iframe.contentWindow.document.body.appendChild(script3);
  5932. _iframe.contentWindow.document.body.appendChild(script4);
  5933. })
  5934. if (onloadListener) {
  5935. _iframe.contentDocument.location.reload()
  5936. } else {
  5937. _iframe.contentDocument.location.reload()
  5938. }
  5939. } else if (str == 'courseDesign') {
  5940. U.UF.DL.iframeLoad(_iframe, function () {
  5941. // _iframe.contentWindow.U.MD.O.W.load();
  5942. // _iframe.contentWindow.document.body.appendChild(script1);
  5943. _iframe.contentWindow.document.body.appendChild(script2);
  5944. _iframe.contentWindow.document.body.appendChild(script4);
  5945. })
  5946. } else if (str == 'mind') {
  5947. _iframe = _formdiv.querySelector('iframe')
  5948. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5949. //
  5950. _iframe.contentWindow.document.body.appendChild(script1);
  5951. _iframe.contentWindow.document.body.appendChild(script2);
  5952. _iframe.contentWindow.document.body.appendChild(script4);
  5953. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5954. })
  5955. if (onloadListener) {
  5956. _iframe.contentDocument.location.reload()
  5957. } else {
  5958. _iframe.contentDocument.location.reload()
  5959. }
  5960. } else if (str == 'whiteboard') {
  5961. _iframe = _formdiv.querySelector('iframe')
  5962. let onloadListener = _iframe.onload = () => {
  5963. _iframe.contentWindow.document.body.appendChild(script1);
  5964. _iframe.contentWindow.document.body.appendChild(script2);
  5965. _iframe.contentWindow.document.body.appendChild(script4);
  5966. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5967. };
  5968. if (onloadListener) {
  5969. _iframe.contentDocument.location.reload()
  5970. } else {
  5971. _iframe.contentDocument.location.reload()
  5972. }
  5973. } else {
  5974. _iframe.onload = () => {
  5975. _iframe.contentWindow.document.body.appendChild(script1);
  5976. _iframe.contentWindow.document.body.appendChild(script2);
  5977. // _iframe.contentWindow.document.body.appendChild(script3);
  5978. _iframe.contentWindow.document.body.appendChild(script4);
  5979. };
  5980. }
  5981. _jie.onclick = async () => {
  5982. let text = ''
  5983. if (aTool == 1) {
  5984. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5985. } else if (aTool == 6) {
  5986. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5987. } else if (aTool == 3) {
  5988. text = await U.MD.D.I.getEditorContent(_iframe);
  5989. }
  5990. _loading.style.display = 'flex'
  5991. console.log(_loading);
  5992. var _ajs = _iframe.contentWindow.document.createElement("script");
  5993. _ajs.type = "text/javascript";
  5994. _ajs.innerHTML =
  5995. // 'console.log(' + _loading + ');\n' +
  5996. 'var _js = document.createElement("script");\n' +
  5997. '_js.type="text/javascript";\n' +
  5998. '_js.charset="UTF-8";\n' +
  5999. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6000. "_js.onload = function(){\n" +
  6001. ' var a = document.getElementsByTagName("img")\n' +
  6002. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6003. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6004. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6005. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6006. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6007. "beforeUpload_shishi(file," +
  6008. "'" +
  6009. _userid +
  6010. "'" +
  6011. ", " +
  6012. "'" +
  6013. _cid +
  6014. "'" +
  6015. ", " +
  6016. "'" +
  6017. _stage +
  6018. "'" +
  6019. ", " +
  6020. "'" +
  6021. _task +
  6022. "'" +
  6023. ", " +
  6024. "'" +
  6025. _tool +
  6026. "'" +
  6027. ", " +
  6028. "'" +
  6029. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6030. "'" +
  6031. ", " +
  6032. "'" +
  6033. aTool +
  6034. "'" +
  6035. ", " +
  6036. "`" +
  6037. text +
  6038. "`" +
  6039. ")\n" +
  6040. " });\n" +
  6041. "}\n" +
  6042. "document.head.appendChild(_js);\n";
  6043. _iframe.contentWindow.document.head.appendChild(_ajs);
  6044. }
  6045. }
  6046. }
  6047. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6048. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6049. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6050. _userid = student.userid, //登录用户id
  6051. _username = student.student //用户名字
  6052. let _iframe;
  6053. let _cid = cid,
  6054. _stage = stage,
  6055. _task = task,
  6056. _tool = tool;
  6057. var _jie = $$("div", {
  6058. "style": {
  6059. "position": "absolute",
  6060. "bottom": "50px",
  6061. "right": "50px",
  6062. "zIndex": "9999",
  6063. "backgroundColor": "#2268bc",
  6064. "color": "#fff",
  6065. "padding": "12px 20px",
  6066. "cursor": "pointer",
  6067. "borderRadius": "4px",
  6068. },
  6069. "innerHTML": "提交作业"
  6070. })
  6071. let aTool = ''
  6072. let _loading = document.createElement('div')
  6073. _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;"
  6074. // _loading.id = "";
  6075. let _lchild = document.createElement('div')
  6076. let _limg = document.createElement('img')
  6077. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6078. _limg.style = "width: 26px;margin-right: 10px;"
  6079. _lchild.appendChild(_limg)
  6080. let _lspan = document.createElement('span')
  6081. _lspan.innerHTML = "上传中..."
  6082. _lchild.appendChild(_lspan)
  6083. _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%);"
  6084. _loading.appendChild(_lchild)
  6085. var _box = $$('div', {
  6086. "style": {
  6087. "position": "relative",
  6088. "width": "100%",
  6089. "height": "100%",
  6090. },
  6091. })
  6092. _box.appendChild(_loading)
  6093. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6094. switch (str) {
  6095. case "whiteboard":
  6096. aTool = 1;
  6097. _iframe = $$("iframe", {
  6098. "frameborder": "no",
  6099. "border": "0",
  6100. "scrolling ": "no",
  6101. "style": {
  6102. "cssText": "border:0;width:100%;height:100%"
  6103. },
  6104. "src": "https://iwb.cocorobo.cn/"
  6105. })
  6106. _box.appendChild(_iframe);
  6107. _box.appendChild(_jie);
  6108. _formdiv = new U.UF.UI.form(
  6109. "电子白板-" + _username,
  6110. _box, {
  6111. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6112. "style": {
  6113. "width": "90%",
  6114. "height": "90%",
  6115. "overflow": 'hidden'
  6116. },
  6117. "onresize": function () { }
  6118. }, {
  6119. closecallback: function () { }
  6120. }, {
  6121. "style": {
  6122. "height": "36px"
  6123. }
  6124. }).form; //创建窗体
  6125. _taskbar = {
  6126. "id": str + _formdiv.id,
  6127. "style": {
  6128. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6129. },
  6130. "name": "电子白板",
  6131. "forms": _formdiv,
  6132. "click": function () {
  6133. U.MD.D.I.openApplication(str, obj, info);
  6134. }
  6135. }
  6136. break;
  6137. case "mind":
  6138. aTool = 3;
  6139. _iframe = $$("iframe", {
  6140. "frameborder": "no",
  6141. "border": "0",
  6142. "scrolling ": "no",
  6143. "style": {
  6144. "cssText": "border:0;width:100%;height:100%"
  6145. },
  6146. "src": "/kityminder-editor/dist/index.html"
  6147. })
  6148. _box.appendChild(_iframe);
  6149. _box.appendChild(_jie);
  6150. _formdiv = new U.UF.UI.form(
  6151. "思维导图-" + _username,
  6152. _box, { //"/jsmind/example/demo.html"
  6153. "id": "mind" + cid + stage + task + tool + _userid,
  6154. "style": {
  6155. "width": "90%",
  6156. "height": "90%",
  6157. "overflow": 'hidden'
  6158. },
  6159. "onresize": function () { }
  6160. }, {
  6161. closecallback: function () { }
  6162. }, {
  6163. "style": {
  6164. "height": "36px"
  6165. }
  6166. }).form; //创建窗体
  6167. _taskbar = {
  6168. "id": str + _formdiv.id,
  6169. "style": {
  6170. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6171. },
  6172. "name": "思维导图",
  6173. "forms": _formdiv,
  6174. "click": function () {
  6175. U.MD.D.I.openApplication(str, obj, info);
  6176. }
  6177. }
  6178. break;
  6179. case "MindMap":
  6180. aTool = 3;
  6181. _iframe = $$("iframe", {
  6182. "frameborder": "no",
  6183. "border": "0",
  6184. "scrolling ": "no",
  6185. "style": {
  6186. "cssText": "border:0;width:100%;height:100%"
  6187. },
  6188. "src": "//cloud.cocorobo.cn/mind/"
  6189. })
  6190. _box.appendChild(_iframe);
  6191. _box.appendChild(_jie);
  6192. _formdiv = new U.UF.UI.form(
  6193. "思维导图-" + _username,
  6194. _box, { //"/jsmind/example/demo.html"
  6195. "id": "mind" + cid + stage + task + tool + _userid,
  6196. "style": {
  6197. "width": "90%",
  6198. "height": "90%",
  6199. "overflow": 'hidden'
  6200. },
  6201. "onresize": function () { }
  6202. }, {
  6203. closecallback: function () { }
  6204. }, {
  6205. "style": {
  6206. "height": "36px"
  6207. }
  6208. }).form; //创建窗体
  6209. _taskbar = {
  6210. "id": str + _formdiv.id,
  6211. "style": {
  6212. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6213. },
  6214. "name": "思维导图",
  6215. "forms": _formdiv,
  6216. "click": function () {
  6217. U.MD.D.I.openApplication(str, obj, info);
  6218. }
  6219. }
  6220. break;
  6221. case "doc":
  6222. aTool = 6;
  6223. _iframe = $$("iframe", {
  6224. "frameborder": "no",
  6225. "border": "0",
  6226. "scrolling ": "no",
  6227. "style": {
  6228. "cssText": "border:0;width:100%;height:100%"
  6229. },
  6230. "src": "/Office/Word/WordEditArea.htm"
  6231. })
  6232. _box.appendChild(_iframe);
  6233. _box.appendChild(_jie);
  6234. _formdiv = new U.UF.UI.form(
  6235. "协同文档-" + _username,
  6236. _box, {
  6237. "id": "doc" + cid + stage + task + tool + _userid,
  6238. "style": {
  6239. "width": "90%",
  6240. "height": "90%",
  6241. "overflow": 'hidden'
  6242. },
  6243. "onresize": function () { }
  6244. }, {
  6245. closecallback: function () { }
  6246. }, {
  6247. "style": {
  6248. "height": "36px"
  6249. }
  6250. }).form; //创建窗体
  6251. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6252. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6253. })
  6254. _taskbar = {
  6255. "id": str + _formdiv.id,
  6256. "style": {
  6257. "backgroundImage": "url(/img/icon/doc.png)"
  6258. },
  6259. "name": "协同文档",
  6260. "forms": _formdiv,
  6261. "click": function () {
  6262. U.MD.D.I.openApplication(str, obj, info);
  6263. }
  6264. }
  6265. break;
  6266. case "mindNetwork": //好友打开
  6267. aTool = 7;
  6268. _iframe = $$("iframe", {
  6269. "webkitallowfullscreen": "",
  6270. "mozallowfullscreen": "",
  6271. "allowfullscreen": "",
  6272. "frameborder": "no",
  6273. "border": "0",
  6274. "scrolling ": "no",
  6275. "style": {
  6276. "cssText": "border:0; width:100%; height:100%;"
  6277. },
  6278. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6279. })
  6280. _box.appendChild(_iframe);
  6281. _box.appendChild(_jie);
  6282. _formdiv = new U.UF.UI.form(
  6283. "思维网格-" + _username,
  6284. _box, {
  6285. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6286. "style": {
  6287. "width": "90%",
  6288. "height": "90%",
  6289. "overflow": 'hidden'
  6290. },
  6291. "onresize": function () { }
  6292. }, {
  6293. closecallback: function () { }
  6294. }, {
  6295. "style": {
  6296. "height": "36px"
  6297. }
  6298. }).form; //创建窗体
  6299. _taskbar = {
  6300. "id": str + _formdiv.id,
  6301. "style": {
  6302. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6303. },
  6304. "name": "思维网格",
  6305. "forms": _formdiv,
  6306. "click": function () {
  6307. U.MD.D.I.openApplication(str, obj, info);
  6308. }
  6309. }
  6310. break;
  6311. case "courseDesign":
  6312. _iframe = $$("iframe", {
  6313. "webkitallowfullscreen": "",
  6314. "mozallowfullscreen": "",
  6315. "allowfullscreen": "",
  6316. "frameborder": "no",
  6317. "border": "0",
  6318. "scrolling ": "no",
  6319. "style": {
  6320. "cssText": "border:0; width:100%; height:100%;"
  6321. },
  6322. "src": "/course-design-vue"
  6323. })
  6324. _box.appendChild(_iframe);
  6325. _box.appendChild(_jie);
  6326. _formdiv = new U.UF.UI.form(
  6327. "项目设计-" + _username,
  6328. _box, {
  6329. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6330. "style": {
  6331. "width": "90%",
  6332. "height": "90%",
  6333. "overflow": 'hidden'
  6334. },
  6335. "onresize": function () { }
  6336. }, {
  6337. closecallback: function () { }
  6338. }, {
  6339. "style": {
  6340. "height": "36px"
  6341. }
  6342. }).form; //创建窗体
  6343. _taskbar = {
  6344. "id": str + _formdiv.id,
  6345. "style": {
  6346. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6347. },
  6348. "name": "项目设计",
  6349. "forms": _formdiv,
  6350. "click": function () {
  6351. U.MD.D.I.openApplication(str, obj, info);
  6352. }
  6353. }
  6354. break;
  6355. }
  6356. const script1 = document.createElement("script");
  6357. script1.type = "text/javascript";
  6358. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6359. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6360. const script2 = document.createElement("script");
  6361. script2.type = "text/javascript";
  6362. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6363. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6364. const script3 = document.createElement("script");
  6365. script3.type = "text/javascript";
  6366. script3.charset = "UTF-8";
  6367. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6368. const script4 = document.createElement("script");
  6369. script4.type = "text/javascript";
  6370. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6371. script4.src = window.origin + "/js/Common/jietu2E.js";
  6372. if (_iframe) {
  6373. if (str == 'doc') {
  6374. _iframe = _formdiv.querySelector('iframe')
  6375. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6376. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6377. _iframe.contentWindow.document.body.appendChild(script1);
  6378. _iframe.contentWindow.document.body.appendChild(script2);
  6379. // _iframe.contentWindow.document.body.appendChild(script3);
  6380. _iframe.contentWindow.document.body.appendChild(script4);
  6381. })
  6382. if (onloadListener) {
  6383. _iframe.contentDocument.location.reload()
  6384. } else {
  6385. _iframe.contentDocument.location.reload()
  6386. }
  6387. } else if (str == 'courseDesign') {
  6388. U.UF.DL.iframeLoad(_iframe, function () {
  6389. // _iframe.contentWindow.U.MD.O.W.load();
  6390. // _iframe.contentWindow.document.body.appendChild(script1);
  6391. _iframe.contentWindow.document.body.appendChild(script2);
  6392. _iframe.contentWindow.document.body.appendChild(script4);
  6393. })
  6394. } else if (str == 'mind') {
  6395. _iframe = _formdiv.querySelector('iframe')
  6396. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6397. //
  6398. _iframe.contentWindow.document.body.appendChild(script1);
  6399. _iframe.contentWindow.document.body.appendChild(script2);
  6400. _iframe.contentWindow.document.body.appendChild(script4);
  6401. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6402. })
  6403. if (onloadListener) {
  6404. _iframe.contentDocument.location.reload()
  6405. } else {
  6406. _iframe.contentDocument.location.reload()
  6407. }
  6408. } else if (str == 'whiteboard') {
  6409. _iframe = _formdiv.querySelector('iframe')
  6410. let onloadListener = _iframe.onload = () => {
  6411. _iframe.contentWindow.document.body.appendChild(script1);
  6412. _iframe.contentWindow.document.body.appendChild(script2);
  6413. _iframe.contentWindow.document.body.appendChild(script4);
  6414. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6415. };
  6416. if (onloadListener) {
  6417. _iframe.contentDocument.location.reload()
  6418. } else {
  6419. _iframe.contentDocument.location.reload()
  6420. }
  6421. } else {
  6422. _iframe.onload = () => {
  6423. _iframe.contentWindow.document.body.appendChild(script1);
  6424. _iframe.contentWindow.document.body.appendChild(script2);
  6425. // _iframe.contentWindow.document.body.appendChild(script3);
  6426. _iframe.contentWindow.document.body.appendChild(script4);
  6427. };
  6428. }
  6429. _jie.onclick = async () => {
  6430. let text = ''
  6431. if (aTool == 1) {
  6432. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6433. } else if (aTool == 6) {
  6434. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6435. } else if (aTool == 3) {
  6436. text = await U.MD.D.I.getEditorContent(_iframe);
  6437. }
  6438. _loading.style.display = 'flex'
  6439. console.log(_loading);
  6440. var _ajs = _iframe.contentWindow.document.createElement("script");
  6441. _ajs.type = "text/javascript";
  6442. _ajs.innerHTML =
  6443. // 'console.log(' + _loading + ');\n' +
  6444. 'var _js = document.createElement("script");\n' +
  6445. '_js.type="text/javascript";\n' +
  6446. '_js.charset="UTF-8";\n' +
  6447. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6448. "_js.onload = function(){\n" +
  6449. ' var a = document.getElementsByTagName("img")\n' +
  6450. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6451. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6452. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6453. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6454. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6455. "beforeUpload_shishi(file," +
  6456. "'" +
  6457. _userid +
  6458. "'" +
  6459. ", " +
  6460. "'" +
  6461. _cid +
  6462. "'" +
  6463. ", " +
  6464. "'" +
  6465. _stage +
  6466. "'" +
  6467. ", " +
  6468. "'" +
  6469. _task +
  6470. "'" +
  6471. ", " +
  6472. "'" +
  6473. _tool +
  6474. "'" +
  6475. ", " +
  6476. "'" +
  6477. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6478. "'" +
  6479. ", " +
  6480. "'" +
  6481. aTool +
  6482. "'" +
  6483. ", " +
  6484. "`" +
  6485. text +
  6486. "`" +
  6487. ")\n" +
  6488. " });\n" +
  6489. "}\n" +
  6490. "document.head.appendChild(_js);\n";
  6491. _iframe.contentWindow.document.head.appendChild(_ajs);
  6492. }
  6493. }
  6494. }
  6495. U.MD.D.I.getEditorContent = function (iframe) {
  6496. return new Promise((resolve, reject) => {
  6497. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6498. console.log(content);
  6499. resolve(content)
  6500. });
  6501. });
  6502. }
  6503. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6504. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6505. // if (res.value[0].length > 0) {
  6506. // // resolve(res.value[0][0].text);
  6507. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6508. // $(fileInput).val('');
  6509. // });
  6510. // }
  6511. // }, [], { "type": "GET", "withCredentials": true });
  6512. var xmlhttp;
  6513. var Mac, Sn, DeviceId
  6514. if (window.XMLHttpRequest) {
  6515. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6516. xmlhttp = new XMLHttpRequest();
  6517. } else {
  6518. // IE6, IE5 浏览器执行代码
  6519. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6520. }
  6521. xmlhttp.onreadystatechange = function () {
  6522. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6523. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6524. // resolve(res.value[0][0].text);
  6525. if (type == '2') {
  6526. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6527. } else if (type == '3') {
  6528. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6529. }
  6530. } else {
  6531. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6532. }
  6533. }
  6534. }
  6535. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6536. xmlhttp.send();
  6537. }
  6538. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6539. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6540. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6541. _userinfo = US.userInfo, //登录用户信息
  6542. _userid = US.userInfo.userid //登录用户id
  6543. let _iframe;
  6544. let _cid = cid,
  6545. _stage = stage,
  6546. _task = task,
  6547. _tool = tool;
  6548. var _jie = $$("div", {
  6549. "style": {
  6550. "position": "absolute",
  6551. "bottom": "50px",
  6552. "right": "50px",
  6553. "zIndex": "9999",
  6554. "backgroundColor": "#2268bc",
  6555. "color": "#fff",
  6556. "padding": "12px 20px",
  6557. "cursor": "pointer",
  6558. "borderRadius": "4px",
  6559. },
  6560. "innerHTML": "确认并提交"
  6561. })
  6562. let aTool = ''
  6563. let _loading = document.createElement('div')
  6564. _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;"
  6565. // _loading.id = "";
  6566. let _lchild = document.createElement('div')
  6567. let _limg = document.createElement('img')
  6568. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6569. _limg.style = "width: 26px;margin-right: 10px;"
  6570. _lchild.appendChild(_limg)
  6571. let _lspan = document.createElement('span')
  6572. _lspan.innerHTML = "上传中..."
  6573. _lchild.appendChild(_lspan)
  6574. _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%);"
  6575. _loading.appendChild(_lchild)
  6576. var _box = $$('div', {
  6577. "style": {
  6578. "position": "relative",
  6579. "width": "100%",
  6580. "height": "100%",
  6581. },
  6582. })
  6583. _box.appendChild(_loading)
  6584. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6585. switch (str) {
  6586. case "whiteboard":
  6587. aTool = 1;
  6588. _iframe = $$("iframe", {
  6589. "frameborder": "no",
  6590. "border": "0",
  6591. "scrolling ": "no",
  6592. "style": {
  6593. "cssText": "border:0;width:100%;height:100%"
  6594. },
  6595. "src": "https://iwb.cocorobo.cn/"
  6596. })
  6597. _box.appendChild(_iframe);
  6598. _box.appendChild(_jie);
  6599. _formdiv = new U.UF.UI.form(
  6600. "电子白板",
  6601. _box, {
  6602. "id": "whiteboards" + cid + stage + task + tool,
  6603. "style": {
  6604. "width": "90%",
  6605. "height": "90%",
  6606. "overflow": 'hidden'
  6607. },
  6608. "onresize": function () { }
  6609. }, {
  6610. closecallback: function () { }
  6611. }, {
  6612. "style": {
  6613. "height": "36px"
  6614. }
  6615. }).form; //创建窗体
  6616. _taskbar = {
  6617. "id": str + _formdiv.id,
  6618. "style": {
  6619. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6620. },
  6621. "name": "电子白板",
  6622. "forms": _formdiv,
  6623. "click": function () {
  6624. U.MD.D.I.openApplication(str, obj, info);
  6625. }
  6626. }
  6627. break;
  6628. case "mind":
  6629. aTool = 3;
  6630. _iframe = $$("iframe", {
  6631. "frameborder": "no",
  6632. "border": "0",
  6633. "scrolling ": "no",
  6634. "style": {
  6635. "cssText": "border:0;width:100%;height:100%"
  6636. },
  6637. "src": "/kityminder-editor/dist/index.html"
  6638. });
  6639. _box.appendChild(_iframe);
  6640. _box.appendChild(_jie);
  6641. _formdiv = new U.UF.UI.form(
  6642. "思维导图",
  6643. _box, { //"/jsmind/example/demo.html"
  6644. "id": "minds" + cid + stage + task + tool,
  6645. "style": {
  6646. "width": "90%",
  6647. "height": "90%",
  6648. "overflow": 'hidden'
  6649. },
  6650. "onresize": function () { }
  6651. }, {
  6652. closecallback: function () { }
  6653. }, {
  6654. "style": {
  6655. "height": "36px"
  6656. }
  6657. }).form; //创建窗体
  6658. _taskbar = {
  6659. "id": str + _formdiv.id,
  6660. "style": {
  6661. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6662. },
  6663. "name": "思维导图",
  6664. "forms": _formdiv,
  6665. "click": function () {
  6666. U.MD.D.I.openApplication(str, obj, info);
  6667. }
  6668. }
  6669. break;
  6670. case "doc":
  6671. aTool = 6;
  6672. _iframe = $$("iframe", {
  6673. "frameborder": "no",
  6674. "border": "0",
  6675. "scrolling ": "no",
  6676. "style": {
  6677. "cssText": "border:0;width:100%;height:100%"
  6678. },
  6679. "src": "/Office/Word/WordEditArea.htm"
  6680. })
  6681. _box.appendChild(_iframe);
  6682. _box.appendChild(_jie);
  6683. _formdiv = new U.UF.UI.form(
  6684. "协同文档",
  6685. _box, {
  6686. "id": "docs" + cid + stage + task + tool,
  6687. "style": {
  6688. "width": "90%",
  6689. "height": "90%",
  6690. "overflow": 'hidden'
  6691. },
  6692. "onresize": function () { }
  6693. }, {
  6694. closecallback: function () { }
  6695. }, {
  6696. "style": {
  6697. "height": "36px"
  6698. }
  6699. }).form; //创建窗体
  6700. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6701. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6702. })
  6703. _taskbar = {
  6704. "id": str + _formdiv.id,
  6705. "style": {
  6706. "backgroundImage": "url(/img/icon/doc.png)"
  6707. },
  6708. "name": "协同文档",
  6709. "forms": _formdiv,
  6710. "click": function () {
  6711. U.MD.D.I.openApplication(str, obj, info);
  6712. }
  6713. }
  6714. break;
  6715. }
  6716. const script1 = document.createElement("script");
  6717. script1.type = "text/javascript";
  6718. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6719. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6720. const script2 = document.createElement("script");
  6721. script2.type = "text/javascript";
  6722. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6723. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6724. const script3 = document.createElement("script");
  6725. script3.type = "text/javascript";
  6726. script3.charset = "UTF-8";
  6727. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6728. const script4 = document.createElement("script");
  6729. script4.type = "text/javascript";
  6730. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6731. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6732. if (_iframe) {
  6733. if (str == 'doc') {
  6734. _iframe = _formdiv.querySelector('iframe')
  6735. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6736. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6737. _iframe.contentWindow.document.body.appendChild(script1);
  6738. _iframe.contentWindow.document.body.appendChild(script2);
  6739. // _iframe.contentWindow.document.body.appendChild(script3);
  6740. _iframe.contentWindow.document.body.appendChild(script4);
  6741. })
  6742. if (onloadListener) {
  6743. _iframe.contentDocument.location.reload()
  6744. } else {
  6745. _iframe.contentDocument.location.reload()
  6746. }
  6747. } else if (str == 'mind') {
  6748. _iframe = _formdiv.querySelector('iframe')
  6749. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6750. _iframe.contentWindow.document.body.appendChild(script1);
  6751. _iframe.contentWindow.document.body.appendChild(script2);
  6752. _iframe.contentWindow.document.body.appendChild(script4);
  6753. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6754. })
  6755. if (onloadListener) {
  6756. _iframe.contentDocument.location.reload()
  6757. } else {
  6758. _iframe.contentDocument.location.reload()
  6759. }
  6760. } else {
  6761. _iframe.onload = () => {
  6762. _iframe.contentWindow.document.body.appendChild(script1);
  6763. _iframe.contentWindow.document.body.appendChild(script2);
  6764. // _iframe.contentWindow.document.body.appendChild(script3);
  6765. _iframe.contentWindow.document.body.appendChild(script4);
  6766. };
  6767. }
  6768. _jie.onclick = async () => {
  6769. let text = ''
  6770. if (aTool == 6) {
  6771. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6772. } else if (aTool == 3) {
  6773. text = await U.MD.D.I.getEditorContent(_iframe);
  6774. }
  6775. _loading.style.display = 'flex'
  6776. console.log(_loading);
  6777. var _ajs = _iframe.contentWindow.document.createElement("script");
  6778. _ajs.type = "text/javascript";
  6779. _ajs.innerHTML =
  6780. // 'console.log(' + _loading + ');\n' +
  6781. 'var _js = document.createElement("script");\n' +
  6782. '_js.type="text/javascript";\n' +
  6783. '_js.charset="UTF-8";\n' +
  6784. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6785. "_js.onload = function(){\n" +
  6786. ' var a = document.getElementsByTagName("img")\n' +
  6787. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6788. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6789. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6790. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6791. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6792. "beforeUpload_shishi(file," +
  6793. "'" +
  6794. _userid +
  6795. "'" +
  6796. ", " +
  6797. "'" +
  6798. _cid +
  6799. "'" +
  6800. ", " +
  6801. "'" +
  6802. _stage +
  6803. "'" +
  6804. ", " +
  6805. "'" +
  6806. _task +
  6807. "'" +
  6808. ", " +
  6809. "'" +
  6810. _tool +
  6811. "'" +
  6812. ", " +
  6813. "'" +
  6814. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6815. "'" +
  6816. ", " +
  6817. "'" +
  6818. aTool +
  6819. "'" +
  6820. ", " +
  6821. "`" +
  6822. text +
  6823. "`" +
  6824. ")\n" +
  6825. " });\n" +
  6826. "}\n" +
  6827. "document.head.appendChild(_js);\n";
  6828. _iframe.contentWindow.document.head.appendChild(_ajs);
  6829. }
  6830. }
  6831. //U.MD.D.I.openClick(str);
  6832. //如果有任务栏信息
  6833. // if (_taskbar) {
  6834. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6835. // }
  6836. }
  6837. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6838. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6839. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6840. _userinfo = US.userInfo, //登录用户信息
  6841. _userid = US.userInfo.userid //登录用户id
  6842. let _iframe;
  6843. let _cid = cid,
  6844. _stage = stage,
  6845. _task = task,
  6846. _tool = tool;
  6847. var _jie = $$("div", {
  6848. "style": {
  6849. "position": "absolute",
  6850. "bottom": "50px",
  6851. "right": "50px",
  6852. "zIndex": "9999",
  6853. "backgroundColor": "#2268bc",
  6854. "color": "#fff",
  6855. "padding": "12px 20px",
  6856. "cursor": "pointer",
  6857. "borderRadius": "4px",
  6858. },
  6859. "innerHTML": "确认并提交"
  6860. })
  6861. let aTool = ''
  6862. let _loading = document.createElement('div')
  6863. _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;"
  6864. // _loading.id = "";
  6865. let _lchild = document.createElement('div')
  6866. let _limg = document.createElement('img')
  6867. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6868. _limg.style = "width: 26px;margin-right: 10px;"
  6869. _lchild.appendChild(_limg)
  6870. let _lspan = document.createElement('span')
  6871. _lspan.innerHTML = "上传中..."
  6872. _lchild.appendChild(_lspan)
  6873. _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%);"
  6874. _loading.appendChild(_lchild)
  6875. var _box = $$('div', {
  6876. "style": {
  6877. "position": "relative",
  6878. "width": "100%",
  6879. "height": "100%",
  6880. },
  6881. })
  6882. _box.appendChild(_loading)
  6883. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6884. switch (str) {
  6885. case "whiteboard":
  6886. aTool = 1;
  6887. _iframe = $$("iframe", {
  6888. "frameborder": "no",
  6889. "border": "0",
  6890. "scrolling ": "no",
  6891. "style": {
  6892. "cssText": "border:0;width:100%;height:100%"
  6893. },
  6894. "src": "https://iwb.cocorobo.cn/"
  6895. })
  6896. _box.appendChild(_iframe);
  6897. _box.appendChild(_jie);
  6898. _formdiv = new U.UF.UI.form(
  6899. "电子白板",
  6900. _box, {
  6901. "id": "whiteboards" + cid + stage + task + tool,
  6902. "style": {
  6903. "width": "90%",
  6904. "height": "90%",
  6905. "overflow": 'hidden'
  6906. },
  6907. "onresize": function () { }
  6908. }, {
  6909. closecallback: function () { }
  6910. }, {
  6911. "style": {
  6912. "height": "36px"
  6913. }
  6914. }).form; //创建窗体
  6915. _taskbar = {
  6916. "id": str + _formdiv.id,
  6917. "style": {
  6918. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6919. },
  6920. "name": "电子白板",
  6921. "forms": _formdiv,
  6922. "click": function () {
  6923. U.MD.D.I.openApplication(str, obj, info);
  6924. }
  6925. }
  6926. break;
  6927. case "mind":
  6928. aTool = 3;
  6929. _iframe = $$("iframe", {
  6930. "frameborder": "no",
  6931. "border": "0",
  6932. "scrolling ": "no",
  6933. "style": {
  6934. "cssText": "border:0;width:100%;height:100%"
  6935. },
  6936. "src": "/kityminder-editor/dist/index.html"
  6937. });
  6938. _box.appendChild(_iframe);
  6939. _box.appendChild(_jie);
  6940. _formdiv = new U.UF.UI.form(
  6941. "思维导图",
  6942. _box, { //"/jsmind/example/demo.html"
  6943. "id": "minds" + cid + stage + task + tool,
  6944. "style": {
  6945. "width": "90%",
  6946. "height": "90%",
  6947. "overflow": 'hidden'
  6948. },
  6949. "onresize": function () { }
  6950. }, {
  6951. closecallback: function () { }
  6952. }, {
  6953. "style": {
  6954. "height": "36px"
  6955. }
  6956. }).form; //创建窗体
  6957. _taskbar = {
  6958. "id": str + _formdiv.id,
  6959. "style": {
  6960. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6961. },
  6962. "name": "思维导图",
  6963. "forms": _formdiv,
  6964. "click": function () {
  6965. U.MD.D.I.openApplication(str, obj, info);
  6966. }
  6967. }
  6968. break;
  6969. case "doc":
  6970. aTool = 6;
  6971. _iframe = $$("iframe", {
  6972. "frameborder": "no",
  6973. "border": "0",
  6974. "scrolling ": "no",
  6975. "style": {
  6976. "cssText": "border:0;width:100%;height:100%"
  6977. },
  6978. "src": "/Office/Word/WordEditArea.htm"
  6979. })
  6980. _box.appendChild(_iframe);
  6981. _box.appendChild(_jie);
  6982. _formdiv = new U.UF.UI.form(
  6983. "协同文档",
  6984. _box, {
  6985. "id": "docs" + cid + stage + task + tool,
  6986. "style": {
  6987. "width": "90%",
  6988. "height": "90%",
  6989. "overflow": 'hidden'
  6990. },
  6991. "onresize": function () { }
  6992. }, {
  6993. closecallback: function () { }
  6994. }, {
  6995. "style": {
  6996. "height": "36px"
  6997. }
  6998. }).form; //创建窗体
  6999. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7000. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7001. })
  7002. _taskbar = {
  7003. "id": str + _formdiv.id,
  7004. "style": {
  7005. "backgroundImage": "url(/img/icon/doc.png)"
  7006. },
  7007. "name": "协同文档",
  7008. "forms": _formdiv,
  7009. "click": function () {
  7010. U.MD.D.I.openApplication(str, obj, info);
  7011. }
  7012. }
  7013. break;
  7014. }
  7015. const script1 = document.createElement("script");
  7016. script1.type = "text/javascript";
  7017. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7018. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7019. const script2 = document.createElement("script");
  7020. script2.type = "text/javascript";
  7021. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7022. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7023. const script3 = document.createElement("script");
  7024. script3.type = "text/javascript";
  7025. script3.charset = "UTF-8";
  7026. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7027. const script4 = document.createElement("script");
  7028. script4.type = "text/javascript";
  7029. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7030. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7031. if (_iframe) {
  7032. if (str == 'doc') {
  7033. _iframe = _formdiv.querySelector('iframe')
  7034. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7035. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7036. _iframe.contentWindow.document.body.appendChild(script1);
  7037. _iframe.contentWindow.document.body.appendChild(script2);
  7038. // _iframe.contentWindow.document.body.appendChild(script3);
  7039. _iframe.contentWindow.document.body.appendChild(script4);
  7040. })
  7041. if (onloadListener) {
  7042. _iframe.contentDocument.location.reload()
  7043. } else {
  7044. _iframe.contentDocument.location.reload()
  7045. }
  7046. } else if (str == 'mind') {
  7047. _iframe = _formdiv.querySelector('iframe')
  7048. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7049. _iframe.contentWindow.document.body.appendChild(script1);
  7050. _iframe.contentWindow.document.body.appendChild(script2);
  7051. _iframe.contentWindow.document.body.appendChild(script4);
  7052. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7053. })
  7054. if (onloadListener) {
  7055. _iframe.contentDocument.location.reload()
  7056. } else {
  7057. _iframe.contentDocument.location.reload()
  7058. }
  7059. } else {
  7060. _iframe.onload = () => {
  7061. _iframe.contentWindow.document.body.appendChild(script1);
  7062. _iframe.contentWindow.document.body.appendChild(script2);
  7063. // _iframe.contentWindow.document.body.appendChild(script3);
  7064. _iframe.contentWindow.document.body.appendChild(script4);
  7065. };
  7066. }
  7067. _jie.onclick = async () => {
  7068. let text = ''
  7069. if (aTool == 6) {
  7070. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7071. } else if (aTool == 3) {
  7072. text = await U.MD.D.I.getEditorContent(_iframe);
  7073. }
  7074. _loading.style.display = 'flex'
  7075. console.log(_loading);
  7076. var _ajs = _iframe.contentWindow.document.createElement("script");
  7077. _ajs.type = "text/javascript";
  7078. _ajs.innerHTML =
  7079. // 'console.log(' + _loading + ');\n' +
  7080. 'var _js = document.createElement("script");\n' +
  7081. '_js.type="text/javascript";\n' +
  7082. '_js.charset="UTF-8";\n' +
  7083. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7084. "_js.onload = function(){\n" +
  7085. ' var a = document.getElementsByTagName("img")\n' +
  7086. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7087. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7088. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7089. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7090. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7091. "beforeUpload_shishi(file," +
  7092. "'" +
  7093. _userid +
  7094. "'" +
  7095. ", " +
  7096. "'" +
  7097. _cid +
  7098. "'" +
  7099. ", " +
  7100. "'" +
  7101. _stage +
  7102. "'" +
  7103. ", " +
  7104. "'" +
  7105. _task +
  7106. "'" +
  7107. ", " +
  7108. "'" +
  7109. _tool +
  7110. "'" +
  7111. ", " +
  7112. "'" +
  7113. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7114. "'" +
  7115. ", " +
  7116. "'" +
  7117. aTool +
  7118. "'" +
  7119. ", " +
  7120. "`" +
  7121. text +
  7122. "`" +
  7123. ")\n" +
  7124. " });\n" +
  7125. "}\n" +
  7126. "document.head.appendChild(_js);\n";
  7127. _iframe.contentWindow.document.head.appendChild(_ajs);
  7128. }
  7129. }
  7130. //U.MD.D.I.openClick(str);
  7131. //如果有任务栏信息
  7132. // if (_taskbar) {
  7133. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7134. // }
  7135. }
  7136. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7137. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7138. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7139. _userinfo = US.userInfo, //登录用户信息
  7140. _userid = US.userInfo.userid //登录用户id
  7141. let _iframe;
  7142. let _cid = cid,
  7143. _stage = stage,
  7144. _task = task,
  7145. _tool = tool;
  7146. var _jie = $$("div", {
  7147. "style": {
  7148. "position": "absolute",
  7149. "bottom": "50px",
  7150. "right": "50px",
  7151. "zIndex": "9999",
  7152. "backgroundColor": "#2268bc",
  7153. "color": "#fff",
  7154. "padding": "12px 20px",
  7155. "cursor": "pointer",
  7156. "borderRadius": "4px",
  7157. },
  7158. "innerHTML": "上传模板"
  7159. })
  7160. let aTool = ''
  7161. let _loading = document.createElement('div')
  7162. _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;"
  7163. // _loading.id = "";
  7164. let _lchild = document.createElement('div')
  7165. let _limg = document.createElement('img')
  7166. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7167. _limg.style = "width: 26px;margin-right: 10px;"
  7168. _lchild.appendChild(_limg)
  7169. let _lspan = document.createElement('span')
  7170. _lspan.innerHTML = "上传中..."
  7171. _lchild.appendChild(_lspan)
  7172. _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%);"
  7173. _loading.appendChild(_lchild)
  7174. var _box = $$('div', {
  7175. "style": {
  7176. "position": "relative",
  7177. "width": "100%",
  7178. "height": "100%",
  7179. },
  7180. })
  7181. _box.appendChild(_loading)
  7182. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7183. switch (str) {
  7184. case "whiteboard":
  7185. aTool = 1;
  7186. _iframe = $$("iframe", {
  7187. "frameborder": "no",
  7188. "border": "0",
  7189. "scrolling ": "no",
  7190. "style": {
  7191. "cssText": "border:0;width:100%;height:100%"
  7192. },
  7193. "src": "https://iwb.cocorobo.cn/"
  7194. })
  7195. _box.appendChild(_iframe);
  7196. _box.appendChild(_jie);
  7197. _formdiv = new U.UF.UI.form(
  7198. "电子白板",
  7199. _box, {
  7200. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7201. "style": {
  7202. "width": "90%",
  7203. "height": "90%",
  7204. "overflow": 'hidden'
  7205. },
  7206. "onresize": function () { }
  7207. }, {
  7208. closecallback: function () { }
  7209. }, {
  7210. "style": {
  7211. "height": "36px"
  7212. }
  7213. }).form; //创建窗体
  7214. _taskbar = {
  7215. "id": str + _formdiv.id,
  7216. "style": {
  7217. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7218. },
  7219. "name": "电子白板",
  7220. "forms": _formdiv,
  7221. "click": function () {
  7222. U.MD.D.I.openApplication(str, obj, info);
  7223. }
  7224. }
  7225. break;
  7226. case "mind":
  7227. aTool = 3;
  7228. _iframe = $$("iframe", {
  7229. "frameborder": "no",
  7230. "border": "0",
  7231. "scrolling ": "no",
  7232. "style": {
  7233. "cssText": "border:0;width:100%;height:100%"
  7234. },
  7235. "src": "/kityminder-editor/dist/index.html"
  7236. });
  7237. _box.appendChild(_iframe);
  7238. _box.appendChild(_jie);
  7239. _formdiv = new U.UF.UI.form(
  7240. "思维导图",
  7241. _box, { //"/jsmind/example/demo.html"
  7242. "id": "minds_Yu" + cid + stage + task + tool,
  7243. "style": {
  7244. "width": "90%",
  7245. "height": "90%",
  7246. "overflow": 'hidden'
  7247. },
  7248. "onresize": function () { }
  7249. }, {
  7250. closecallback: function () { }
  7251. }, {
  7252. "style": {
  7253. "height": "36px"
  7254. }
  7255. }).form; //创建窗体
  7256. _taskbar = {
  7257. "id": str + _formdiv.id,
  7258. "style": {
  7259. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7260. },
  7261. "name": "思维导图",
  7262. "forms": _formdiv,
  7263. "click": function () {
  7264. U.MD.D.I.openApplication(str, obj, info);
  7265. }
  7266. }
  7267. break;
  7268. case "doc":
  7269. aTool = 6;
  7270. _iframe = $$("iframe", {
  7271. "frameborder": "no",
  7272. "border": "0",
  7273. "scrolling ": "no",
  7274. "style": {
  7275. "cssText": "border:0;width:100%;height:100%"
  7276. },
  7277. "src": "/Office/Word/WordEditArea.htm"
  7278. })
  7279. _box.appendChild(_iframe);
  7280. _box.appendChild(_jie);
  7281. _formdiv = new U.UF.UI.form(
  7282. "协同文档",
  7283. _box, {
  7284. "id": "docs_Yu" + cid + stage + task + tool,
  7285. "style": {
  7286. "width": "90%",
  7287. "height": "90%",
  7288. "overflow": 'hidden'
  7289. },
  7290. "onresize": function () { }
  7291. }, {
  7292. closecallback: function () { }
  7293. }, {
  7294. "style": {
  7295. "height": "36px"
  7296. }
  7297. }).form; //创建窗体
  7298. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7299. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7300. })
  7301. _taskbar = {
  7302. "id": str + _formdiv.id,
  7303. "style": {
  7304. "backgroundImage": "url(/img/icon/doc.png)"
  7305. },
  7306. "name": "协同文档",
  7307. "forms": _formdiv,
  7308. "click": function () {
  7309. U.MD.D.I.openApplication(str, obj, info);
  7310. }
  7311. }
  7312. break;
  7313. case "CocoPi":
  7314. aTool = 57;
  7315. _iframe = $$("iframe", {
  7316. "allowpaymentrequest": "allowpaymentrequest",
  7317. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7318. "webkitallowfullscreen": "",
  7319. "mozallowfullscreen": "",
  7320. "frameborder": "no",
  7321. "border": "0",
  7322. "scrolling ": "no",
  7323. "style": {
  7324. "cssText": "border:0;width:100%;height:100%"
  7325. },
  7326. "src": "https://pi.cocorobo.cn/"
  7327. })
  7328. _box.appendChild(_iframe);
  7329. _box.appendChild(_jie);
  7330. _formdiv = new U.UF.UI.form(
  7331. "CocoPi",
  7332. _box, {
  7333. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7334. "style": {
  7335. "width": "90%",
  7336. "height": "90%",
  7337. "overflow": 'hidden'
  7338. },
  7339. "onresize": function () { }
  7340. }, {
  7341. closecallback: function () { }
  7342. }, {
  7343. "style": {
  7344. "height": "36px"
  7345. }
  7346. }).form; //创建窗体
  7347. _taskbar = {
  7348. "id": str + _formdiv.id,
  7349. "style": {
  7350. "backgroundImage": "url(/img/icon/cocopi.png)"
  7351. },
  7352. "name": "CocoPi",
  7353. "forms": _formdiv,
  7354. "click": function () {
  7355. U.MD.D.I.openApplication(str, obj, info);
  7356. }
  7357. }
  7358. break;
  7359. }
  7360. if (_iframe) {
  7361. if (str == 'doc') {
  7362. _iframe = _formdiv.querySelector('iframe')
  7363. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7364. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7365. })
  7366. if (onloadListener) {
  7367. _iframe.contentDocument.location.reload()
  7368. } else {
  7369. _iframe.contentDocument.location.reload()
  7370. }
  7371. } else if (str == 'mind') {
  7372. _iframe = _formdiv.querySelector('iframe')
  7373. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7374. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7375. })
  7376. if (onloadListener) {
  7377. _iframe.contentDocument.location.reload()
  7378. } else {
  7379. _iframe.contentDocument.location.reload()
  7380. }
  7381. } else if (str == 'whiteboard') {
  7382. _iframe = _formdiv.querySelector('iframe')
  7383. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7384. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7385. })
  7386. if (onloadListener) {
  7387. _iframe.contentDocument.location.reload()
  7388. } else {
  7389. _iframe.contentDocument.location.reload()
  7390. }
  7391. } else if (str == 'CocoPi') {
  7392. _iframe = _formdiv.querySelector('iframe')
  7393. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7394. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7395. })
  7396. if (onloadListener) {
  7397. _iframe.contentDocument.location.reload()
  7398. } else {
  7399. _iframe.contentDocument.location.reload()
  7400. }
  7401. } else {
  7402. _iframe.onload = () => { };
  7403. }
  7404. _jie.onclick = async () => {
  7405. let text = ''
  7406. let type = '2'
  7407. if (aTool == 1) {
  7408. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7409. type = '3'
  7410. } else if (aTool == 6) {
  7411. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7412. type = '1'
  7413. } else if (aTool == 3) {
  7414. text = await U.MD.D.I.getEditorContent(_iframe);
  7415. type = '2'
  7416. } else if (aTool == 57) {
  7417. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7418. type = '4'
  7419. }
  7420. _loading.style.display = 'flex'
  7421. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7422. }
  7423. }
  7424. //U.MD.D.I.openClick(str);
  7425. //如果有任务栏信息
  7426. // if (_taskbar) {
  7427. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7428. // }
  7429. }
  7430. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7431. var xmlhttp;
  7432. var Mac, Sn, DeviceId
  7433. if (window.XMLHttpRequest) {
  7434. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7435. xmlhttp = new XMLHttpRequest();
  7436. } else {
  7437. // IE6, IE5 浏览器执行代码
  7438. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7439. }
  7440. xmlhttp.onreadystatechange = function () {
  7441. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7442. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7443. // resolve(res.value[0][0].text);
  7444. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7445. }
  7446. }
  7447. }
  7448. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7449. xmlhttp.send();
  7450. }
  7451. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7452. var xmlhttp;
  7453. var Mac, Sn, DeviceId
  7454. if (window.XMLHttpRequest) {
  7455. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7456. xmlhttp = new XMLHttpRequest();
  7457. } else {
  7458. // IE6, IE5 浏览器执行代码
  7459. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7460. }
  7461. xmlhttp.onreadystatechange = function () {
  7462. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7463. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7464. // resolve(res.value[0][0].text);
  7465. if (type == '2') {
  7466. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7467. } else if (type == '3') {
  7468. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7469. } else if (type == '4') {
  7470. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7471. }
  7472. } else {
  7473. if (type == '2') {
  7474. iframe.contentWindow.editor.minder.importData('json', '')
  7475. } else if (type == '3') {
  7476. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7477. } else if (type == '4') {
  7478. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7479. }
  7480. }
  7481. }
  7482. }
  7483. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7484. xmlhttp.send();
  7485. }
  7486. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7487. var xmlhttp;
  7488. var Mac, Sn, DeviceId
  7489. if (window.XMLHttpRequest) {
  7490. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7491. xmlhttp = new XMLHttpRequest();
  7492. } else {
  7493. // IE6, IE5 浏览器执行代码
  7494. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7495. }
  7496. xmlhttp.onreadystatechange = function () {
  7497. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7498. if (xmlhttp.response) {
  7499. // resolve(res.value[0][0].text);
  7500. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7501. // $(fileInput).val('');
  7502. // });
  7503. span.innerHTML = '上传成功'
  7504. setTimeout(() => {
  7505. loading.style.display = 'none'
  7506. }, 1000);
  7507. }
  7508. }
  7509. }
  7510. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7511. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7512. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7513. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7514. // 设置请求头,表示请求体的编码格式
  7515. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7516. // 设置请求体,使用url-encoded格式的数据
  7517. }
  7518. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7519. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7520. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7521. _userinfo = US.userInfo, //登录用户信息
  7522. _userid = US.userInfo.userid //登录用户id
  7523. let _iframe;
  7524. let _cid = cid,
  7525. _stage = stage,
  7526. _task = task,
  7527. _tool = tool;
  7528. var _jie = $$("div", {
  7529. "style": {
  7530. "position": "absolute",
  7531. "bottom": "50px",
  7532. "right": "50px",
  7533. "zIndex": "9999",
  7534. "backgroundColor": "#2268bc",
  7535. "color": "#fff",
  7536. "padding": "12px 20px",
  7537. "cursor": "pointer",
  7538. "borderRadius": "4px",
  7539. },
  7540. "innerHTML": "提交作业"
  7541. })
  7542. let aTool = ''
  7543. let _loading = document.createElement('div')
  7544. _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;"
  7545. // _loading.id = "";
  7546. let _lchild = document.createElement('div')
  7547. let _limg = document.createElement('img')
  7548. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7549. _limg.style = "width: 26px;margin-right: 10px;"
  7550. _lchild.appendChild(_limg)
  7551. let _lspan = document.createElement('span')
  7552. _lspan.innerHTML = "上传中..."
  7553. _lchild.appendChild(_lspan)
  7554. _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%);"
  7555. _loading.appendChild(_lchild)
  7556. var _box = $$('div', {
  7557. "style": {
  7558. "position": "relative",
  7559. "width": "100%",
  7560. "height": "100%",
  7561. },
  7562. })
  7563. _box.appendChild(_loading)
  7564. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7565. switch (str) {
  7566. case "CocoPi":
  7567. aTool = 57;
  7568. _iframe = $$("iframe", {
  7569. "allowpaymentrequest": "allowpaymentrequest",
  7570. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7571. "webkitallowfullscreen": "",
  7572. "mozallowfullscreen": "",
  7573. "frameborder": "no",
  7574. "border": "0",
  7575. "scrolling ": "no",
  7576. "style": {
  7577. "cssText": "border:0;width:100%;height:100%"
  7578. },
  7579. "src": "https://pi.cocorobo.cn/"
  7580. })
  7581. _box.appendChild(_iframe);
  7582. _box.appendChild(_jie);
  7583. _formdiv = new U.UF.UI.form(
  7584. "CocoPi",
  7585. _box, {
  7586. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7587. "style": {
  7588. "width": "90%",
  7589. "height": "90%",
  7590. "overflow": 'hidden'
  7591. },
  7592. "onresize": function () { }
  7593. }, {
  7594. closecallback: function () { }
  7595. }, {
  7596. "style": {
  7597. "height": "36px"
  7598. }
  7599. }).form; //创建窗体
  7600. _taskbar = {
  7601. "id": str + _formdiv.id,
  7602. "style": {
  7603. "backgroundImage": "url(/img/icon/cocopi.png)"
  7604. },
  7605. "name": "CocoPi",
  7606. "forms": _formdiv,
  7607. "click": function () {
  7608. U.MD.D.I.openApplication(str, obj, info);
  7609. }
  7610. }
  7611. break;
  7612. }
  7613. if (_iframe) {
  7614. if (str == 'CocoPi') {
  7615. _iframe = _formdiv.querySelector('iframe')
  7616. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7617. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7618. })
  7619. if (onloadListener) {
  7620. _iframe.contentDocument.location.reload()
  7621. } else {
  7622. _iframe.contentDocument.location.reload()
  7623. }
  7624. }
  7625. _jie.onclick = async () => {
  7626. let text = ''
  7627. if (aTool == 57) {
  7628. text = _iframe.contentWindow.getLoadXmlStr()
  7629. }
  7630. _loading.style.display = 'flex'
  7631. console.log(_loading);
  7632. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7633. _loading.style.display = 'none'
  7634. let _div = document.createElement('div')
  7635. _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;"
  7636. let _inner = document.createElement('div')
  7637. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7638. _inner.innerHTML = "上传成功"
  7639. _div.appendChild(_inner)
  7640. _iframe.contentWindow.window.document.body.appendChild(_div)
  7641. _div.onclick = () => {
  7642. _iframe.contentWindow.window.document.body.removeChild(_div)
  7643. }
  7644. setTimeout(() => {
  7645. _iframe.contentWindow.window.document.body.removeChild(_div)
  7646. }, 1000);
  7647. }, [], { "type": "POST", "withCredentials": true });
  7648. }
  7649. }
  7650. }
  7651. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7652. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7653. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7654. _userid = student.userid, //登录用户id
  7655. _username = student.student //用户名字
  7656. let _iframe;
  7657. let _cid = cid,
  7658. _stage = stage,
  7659. _task = task,
  7660. _tool = tool;
  7661. var _jie = $$("div", {
  7662. "style": {
  7663. "position": "absolute",
  7664. "bottom": "50px",
  7665. "right": "50px",
  7666. "zIndex": "9999",
  7667. "backgroundColor": "#2268bc",
  7668. "color": "#fff",
  7669. "padding": "12px 20px",
  7670. "cursor": "pointer",
  7671. "borderRadius": "4px",
  7672. },
  7673. "innerHTML": "提交作业"
  7674. })
  7675. let aTool = ''
  7676. let _loading = document.createElement('div')
  7677. _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;"
  7678. // _loading.id = "";
  7679. let _lchild = document.createElement('div')
  7680. let _limg = document.createElement('img')
  7681. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7682. _limg.style = "width: 26px;margin-right: 10px;"
  7683. _lchild.appendChild(_limg)
  7684. let _lspan = document.createElement('span')
  7685. _lspan.innerHTML = "上传中..."
  7686. _lchild.appendChild(_lspan)
  7687. _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%);"
  7688. _loading.appendChild(_lchild)
  7689. var _box = $$('div', {
  7690. "style": {
  7691. "position": "relative",
  7692. "width": "100%",
  7693. "height": "100%",
  7694. },
  7695. })
  7696. _box.appendChild(_loading)
  7697. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7698. switch (str) {
  7699. case "CocoPi":
  7700. aTool = 57;
  7701. _iframe = $$("iframe", {
  7702. "allowpaymentrequest": "allowpaymentrequest",
  7703. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7704. "webkitallowfullscreen": "",
  7705. "mozallowfullscreen": "",
  7706. "frameborder": "no",
  7707. "border": "0",
  7708. "scrolling ": "no",
  7709. "style": {
  7710. "cssText": "border:0;width:100%;height:100%"
  7711. },
  7712. "src": "https://pi.cocorobo.cn/"
  7713. })
  7714. _box.appendChild(_iframe);
  7715. _box.appendChild(_jie);
  7716. _formdiv = new U.UF.UI.form(
  7717. "CocoPi-" + _username,
  7718. _box, {
  7719. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7720. "style": {
  7721. "width": "90%",
  7722. "height": "90%",
  7723. "overflow": 'hidden'
  7724. },
  7725. "onresize": function () { }
  7726. }, {
  7727. closecallback: function () { }
  7728. }, {
  7729. "style": {
  7730. "height": "36px"
  7731. }
  7732. }).form; //创建窗体
  7733. _taskbar = {
  7734. "id": str + _formdiv.id,
  7735. "style": {
  7736. "backgroundImage": "url(/img/icon/cocopi.png)"
  7737. },
  7738. "name": "CocoPi",
  7739. "forms": _formdiv,
  7740. "click": function () {
  7741. U.MD.D.I.openApplication(str, obj, info);
  7742. }
  7743. }
  7744. break;
  7745. }
  7746. if (_iframe) {
  7747. if (str == 'CocoPi') {
  7748. _iframe = _formdiv.querySelector('iframe')
  7749. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7750. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7751. })
  7752. if (onloadListener) {
  7753. _iframe.contentDocument.location.reload()
  7754. } else {
  7755. _iframe.contentDocument.location.reload()
  7756. }
  7757. }
  7758. _jie.onclick = async () => {
  7759. let text = ''
  7760. if (aTool == 57) {
  7761. text = _iframe.contentWindow.getLoadXmlStr()
  7762. }
  7763. _loading.style.display = 'flex'
  7764. console.log(_loading);
  7765. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7766. _loading.style.display = 'none'
  7767. let _div = document.createElement('div')
  7768. _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;"
  7769. let _inner = document.createElement('div')
  7770. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7771. _inner.innerHTML = "上传成功"
  7772. _div.appendChild(_inner)
  7773. _iframe.contentWindow.window.document.body.appendChild(_div)
  7774. _div.onclick = () => {
  7775. _iframe.contentWindow.window.document.body.removeChild(_div)
  7776. }
  7777. setTimeout(() => {
  7778. _iframe.contentWindow.window.document.body.removeChild(_div)
  7779. }, 1000);
  7780. }, [], { "type": "POST", "withCredentials": true });
  7781. }
  7782. }
  7783. }
  7784. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7785. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7786. if (res.value[0].length > 0) {
  7787. if (atool == 57) {
  7788. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7789. }
  7790. } else {
  7791. if (atool == 57) {
  7792. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7793. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7794. }
  7795. }
  7796. }, [], { "type": "POST", "withCredentials": true });
  7797. }