DeskTop.js 498 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  52. ];
  53. //极简模式
  54. U.MD.D.I.easyDeskIcon = [
  55. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  58. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  59. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  60. ];
  61. //教师桌面图标的全局变量
  62. U.MD.D.I.teacherDeskIcon2 = [
  63. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  64. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  65. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  66. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  67. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  68. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  69. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  70. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  71. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  72. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  73. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  74. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  75. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  76. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  77. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  78. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  79. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  80. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  81. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  82. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  83. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  84. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  85. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  86. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  87. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  88. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  89. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  90. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  91. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  92. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  93. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  94. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  95. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  96. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  97. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  98. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  99. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  100. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  101. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  102. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  103. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  104. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  105. ];
  106. U.MD.D.I.studentDeskIcon = [
  107. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  108. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  109. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  110. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  111. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  112. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  113. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  114. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  115. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  116. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  117. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  118. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  119. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  120. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  121. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  122. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  123. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  124. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  125. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  126. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  127. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  128. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  129. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  130. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  131. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  132. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  133. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  134. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  135. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  136. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  137. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  138. ];
  139. U.MD.D.I.studentDeskIcon2 = [
  140. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  141. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  142. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  143. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  144. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  145. ]
  146. U.MD.D.I.studentDeskIcon3 = [
  147. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  148. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  149. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  150. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  151. ]
  152. U.MD.D.I.schoolDeskIcon = [
  153. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  154. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  155. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  156. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  157. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  158. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  159. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  160. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  161. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  162. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  163. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  164. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  165. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  166. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  167. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  168. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  169. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  170. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  171. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  172. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  173. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  176. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  177. ];
  178. U.MD.D.I.orgDeskIcon = [
  179. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  182. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  183. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  184. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  185. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  186. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  187. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  188. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  189. { "Name": "案例征集", "Url": "ytpbl", "style": { "cssText": "background-image:url(/img/icon/gpbl2.png)" } },
  190. ];
  191. U.MD.D.I.orgStemDeskIcon = [
  192. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  193. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  194. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  195. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  196. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  197. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  198. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  199. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  200. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  201. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  202. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  203. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  204. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  205. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  206. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  208. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  209. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  210. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  211. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  212. ];
  213. U.MD.D.I.szulsDeskIcon = [
  214. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  215. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  216. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  217. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  218. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  219. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  220. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  221. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  222. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  223. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  224. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  225. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  226. ];
  227. U.MD.D.I.hanDeskIcon = [
  228. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  229. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  230. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  231. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  232. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  233. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  234. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  235. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  236. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  237. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  238. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  239. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  240. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  241. ];
  242. U.MD.D.I.GMteacherDeskIcon = [
  243. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  244. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  245. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  246. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  247. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  248. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  249. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  250. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  251. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  252. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  253. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  254. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  255. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  256. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  257. ];
  258. U.MD.D.I.GMstudentDeskIcon = [
  259. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  260. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  261. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  262. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  263. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  264. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  265. ];
  266. //北师大
  267. U.MD.D.I.BSDNSteacherDeskIcon = [
  268. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  269. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  270. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  271. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  272. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  273. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  274. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  275. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  276. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  277. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  278. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  279. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  280. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  281. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  282. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  283. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  284. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  285. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  286. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  287. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  288. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  289. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  290. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  291. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  292. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  293. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  294. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  295. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  296. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  297. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  298. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  299. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  300. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  301. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  302. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  303. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  304. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  305. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  306. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  307. ];
  308. //松山湖
  309. U.MD.D.I.SONGteacherDeskIcon = [
  310. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  311. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  312. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  313. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  314. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  315. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  316. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  317. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  318. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  319. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  320. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  321. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  322. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  323. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  324. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  325. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  326. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  327. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  328. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  329. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  330. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  331. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  332. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  333. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  334. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  335. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  336. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  337. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  338. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  339. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  340. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  341. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  342. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  343. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  344. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  345. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  346. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  347. ];
  348. U.MD.D.I.tcStudentDeskIcon = [
  349. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  350. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  351. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  352. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  353. ];
  354. U.MD.D.I.tcTeacherDeskIcon = [
  355. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  356. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  357. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  358. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  359. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  360. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  361. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  362. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  363. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  364. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  365. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  366. ];
  367. U.MD.D.I.tcOrganizerDeskIcon = [
  368. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  369. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  370. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  371. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  372. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  373. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  374. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  375. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  376. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  377. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  378. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  379. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  380. ];
  381. U.MD.D.I.szscStudentDeskIcon = [
  382. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  383. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  384. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  385. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  386. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  387. ];
  388. U.MD.D.I.szscTeacherDeskIcon = [
  389. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  390. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  391. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  392. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  393. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  394. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  395. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  396. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  397. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  398. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  399. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  400. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  401. ];
  402. U.MD.D.I.szscOrganizerDeskIcon = [
  403. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  404. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  405. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  406. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  407. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  408. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  409. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  410. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  411. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  412. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  413. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  414. ];
  415. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  416. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  417. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  418. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  419. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  420. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  421. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  422. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  423. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  424. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  425. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  426. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  427. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  428. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  429. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  430. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  431. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  432. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  433. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  434. ];
  435. U.MD.D.I.wankeAdminDeskIcon = [
  436. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  437. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  438. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  439. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  440. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  441. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  442. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  443. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  444. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  445. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  446. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  447. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  448. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  449. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  450. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  451. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  452. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  453. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  454. ];
  455. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  456. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  457. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  458. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  459. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  460. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  461. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  462. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  463. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  464. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  465. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  466. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  467. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  468. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  469. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  470. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  471. ];
  472. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  473. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  474. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  475. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  476. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  477. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  478. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  479. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  480. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  481. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  482. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  483. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  484. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  485. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  486. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  487. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  488. ];
  489. //明德教师桌面图标的全局变量
  490. U.MD.D.I.MingdeTeacherDeskIcon = [
  491. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  492. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  493. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  494. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  495. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  496. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  497. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  498. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  499. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  500. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  501. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  502. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  503. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  504. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  505. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  506. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  507. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  508. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  509. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  510. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  511. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  512. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  513. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  514. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  515. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  516. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  517. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  518. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  519. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  520. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  521. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  522. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  523. ];
  524. //97c4ee8b-d010-4042-986d-e9d3c217264f
  525. //教师桌面图标的全局变量
  526. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  527. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  528. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  529. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  530. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  531. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  532. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  533. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  534. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  535. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  536. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  537. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  538. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  539. ];
  540. //福田
  541. U.MD.D.I.futianTeacherDeskIcon = [
  542. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  543. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  544. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  545. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  546. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  547. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  548. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  549. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  550. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  551. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  552. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  553. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  554. ];
  555. //福田
  556. U.MD.D.I.futianAdminDeskIcon = [
  557. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  558. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  559. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  560. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  561. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  562. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  563. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  564. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  565. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  566. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  567. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  568. ];
  569. //lotech
  570. U.MD.D.I.lotechTeacherDeskIcon = [
  571. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  572. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  573. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  574. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  575. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  576. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  577. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  578. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  579. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  580. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  581. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  582. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  583. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  584. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  585. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  586. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  587. ];
  588. //龙华中心小学教师桌面图标的全局变量
  589. U.MD.D.I.longhuateacherDeskIcon = [
  590. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  591. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  592. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  593. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  594. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  595. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  596. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  597. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  598. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  599. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  600. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  601. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  602. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  603. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  604. ];
  605. //教科院实小教师桌面图标的全局变量
  606. U.MD.D.I.siesteacherDeskIcon = [
  607. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  608. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  609. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  610. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  611. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  612. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  613. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  614. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  615. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  616. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  617. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  618. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  619. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  620. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  621. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  622. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  623. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  624. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  625. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  626. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  627. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  628. { "Name": "评测看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  629. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  630. { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  631. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  632. ];
  633. //教科院实小教师桌面图标的全局变量
  634. U.MD.D.I.siesStudentDeskIcon = [
  635. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  636. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  637. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  638. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  639. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  640. ];
  641. //福田
  642. U.MD.D.I.gdjgTeacherDeskIcon = [
  643. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  644. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  645. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  646. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  647. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  648. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  649. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  650. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  651. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  652. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  653. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  654. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  655. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  656. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  657. ];
  658. //gdjg
  659. U.MD.D.I.gdjgAdminDeskIcon = [
  660. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  661. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  662. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  663. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  664. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  665. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  666. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  667. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  668. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  669. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  670. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  671. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  672. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  673. ];
  674. //hk
  675. U.MD.D.I.hkteacherDeskIcon = [
  676. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  677. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  678. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  679. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  680. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  681. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  682. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  683. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  684. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  685. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  686. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  687. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  688. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  689. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  690. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  691. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  692. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  693. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  694. ];
  695. //hk
  696. U.MD.D.I.hkStudentDeskIcon = [
  697. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  698. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  699. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  700. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  701. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  702. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  703. ];
  704. //hk
  705. U.MD.D.I.hkaceteacherDeskIcon = [
  706. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  707. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  708. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  709. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  710. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  711. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  712. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  713. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  714. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  715. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  716. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  717. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  718. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  719. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  720. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  721. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  722. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  723. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  724. ];
  725. //hk
  726. U.MD.D.I.hkaceStudentDeskIcon = [
  727. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  728. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  729. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  730. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  731. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  732. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  733. ];
  734. //香海正覺蓮社佛教正覺中學
  735. U.MD.D.I.hkZJLSteacherDeskIcon = [
  736. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  737. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  738. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  739. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  740. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  741. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  742. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  743. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  744. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  745. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  746. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  747. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  748. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  749. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  750. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  751. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  752. ];
  753. //香海正覺蓮社佛教正覺中學
  754. U.MD.D.I.hkZJLSStudentDeskIcon = [
  755. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  756. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  757. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  758. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  759. ];
  760. //云海
  761. U.MD.D.I.yunhaiTeacherDeskIcon = [
  762. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  763. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  764. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  765. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  766. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  767. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  768. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  769. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  770. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  771. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  772. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  773. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  774. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  775. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  776. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  777. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  778. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  779. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  780. ];
  781. //福田
  782. U.MD.D.I.heyuanTeacherDeskIcon = [
  783. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  784. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  785. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  786. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  787. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  788. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  789. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  790. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  791. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  792. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  793. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  794. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  795. ];
  796. //福田
  797. U.MD.D.I.heyuanAdminDeskIcon = [
  798. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  799. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  800. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  801. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  802. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  803. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  804. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  805. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  806. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  807. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  808. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  809. ];
  810. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  811. U.MD.D.I.szherTeacherDeskIcon = [
  812. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  813. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  814. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  815. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  816. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  817. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  818. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  819. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  820. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  821. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  822. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  823. ];
  824. //dsei
  825. U.MD.D.I.dseiTeacherDeskIcon = [
  826. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  827. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  828. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  829. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  830. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  831. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  832. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  833. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  834. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  835. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  836. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  837. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  838. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  839. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  840. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  841. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  842. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  843. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  844. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  845. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  846. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  847. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  848. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  849. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  850. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  851. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  852. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  853. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  854. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  855. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  856. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  857. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  858. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  859. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  860. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  861. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  862. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  863. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  864. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  865. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  866. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  867. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  868. ];
  869. //dsei
  870. U.MD.D.I.dseiAdminDeskIcon = [
  871. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  872. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  873. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  874. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  875. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  876. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  877. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  878. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  879. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  880. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  881. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  882. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  883. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  884. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  885. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  886. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  887. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  888. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  889. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  890. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  891. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  892. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  893. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  894. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  895. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  896. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  897. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  898. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  899. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  900. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  901. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  902. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  903. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  904. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  905. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  906. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  907. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  908. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  909. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  910. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  911. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  912. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  913. ];
  914. //dsei
  915. U.MD.D.I.dseiStudentDeskIcon = [
  916. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  917. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  918. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  919. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  920. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  921. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  922. ];
  923. //未来教育基地
  924. U.MD.D.I.szjkyTeacherDeskIcon = [
  925. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  926. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  927. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  928. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  929. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  930. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  931. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  932. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  933. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  934. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  935. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  936. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  937. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  938. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  939. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  940. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  941. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  942. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  943. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  944. ];
  945. //未来教育基地
  946. U.MD.D.I.szjkyAdminDeskIcon = [
  947. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  948. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  949. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  950. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  951. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  952. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  953. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  954. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  955. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  956. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  957. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  958. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  959. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  960. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  961. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  962. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  963. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  964. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  965. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  966. ];
  967. //未来教育基地
  968. U.MD.D.I.szjkyStudentDeskIcon = [
  969. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  970. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  971. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  972. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  973. ];
  974. //成华教育局
  975. U.MD.D.I.chjyjTeacherDeskIcon = [
  976. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  977. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  978. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  979. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  980. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  981. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  982. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  983. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  984. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  985. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  986. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  987. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  988. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  989. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  990. ];
  991. //成华教育局chjyj
  992. U.MD.D.I.chjyjAdminDeskIcon = [
  993. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  994. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  995. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  996. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  997. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  998. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  999. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1000. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1001. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1002. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1003. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1004. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1005. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1006. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1007. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1008. ];
  1009. //成华教育局chjyj
  1010. U.MD.D.I.chjyjStudentDeskIcon = [
  1011. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1012. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1013. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1014. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1015. ];
  1016. //tpc
  1017. U.MD.D.I.tpcStudentDeskIcon = [
  1018. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1019. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1020. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1021. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1022. ];
  1023. //tpc
  1024. U.MD.D.I.tpcTeacherDeskIcon = [
  1025. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1026. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1027. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1028. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1029. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1030. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1031. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1032. ];
  1033. //tpc
  1034. U.MD.D.I.tpcAdminDeskIcon = [
  1035. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1036. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1037. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1038. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1039. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1040. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1041. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1042. ];
  1043. //THU-IOE
  1044. U.MD.D.I.thuioeTeacherDeskIcon = [
  1045. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1046. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1047. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1048. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1049. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1050. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1051. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1052. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1053. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1054. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1055. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1056. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1057. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1058. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1059. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1060. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1061. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1062. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1063. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1064. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1065. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1066. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1067. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1068. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1069. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1070. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1071. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1072. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1073. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1074. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1075. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1076. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1077. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1078. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1079. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1080. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1081. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1082. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1083. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1084. ];
  1085. //THU-IOE
  1086. U.MD.D.I.thuioeStudentDeskIcon = [
  1087. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1088. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1089. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1090. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1091. ];
  1092. //jccssyl
  1093. U.MD.D.I.jccssylTeacherDeskIcon = [
  1094. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1095. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1096. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1097. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1098. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1099. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1100. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1101. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1102. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1103. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1104. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1105. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1106. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1107. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1108. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1109. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1110. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1111. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1112. ];
  1113. //jccssyl
  1114. U.MD.D.I.jccssylStudentDeskIcon = [
  1115. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1116. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1117. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1118. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1119. ];
  1120. //#region 桌面初始化a
  1121. /**
  1122. * 初始化桌面的起始函数
  1123. *
  1124. */
  1125. U.MD.D.I.init = function () {
  1126. if ($("#U_MD_D_K")[0]) {
  1127. //初始化桌面图标
  1128. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1129. // var clickUrl = ':12588/requestIp.php';
  1130. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1131. // U.MD.D.I.Ip = data;
  1132. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1133. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1134. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1135. // })
  1136. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1137. // })
  1138. }
  1139. }
  1140. /**
  1141. * 模式切换
  1142. *
  1143. */
  1144. U.MD.D.I.ModeCheck = function (type) {
  1145. if (US.Config.type == type) {
  1146. return
  1147. }
  1148. US.Config.type = type
  1149. $('.U_PBL_Check .active')[0].className = ''
  1150. if (type == 1) {
  1151. $('.U_PBL_Check div')[0].className = 'active'
  1152. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1153. } else {
  1154. $('.U_PBL_Check div')[1].className = 'active'
  1155. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1156. }
  1157. //初始化桌面图标
  1158. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1159. if (type == 2) {
  1160. U.MD.D.I.openApplication("project")
  1161. }
  1162. }
  1163. /**
  1164. * 隐藏任务栏
  1165. *
  1166. * @param {element} 桌面元素
  1167. */
  1168. U.MD.D.I.hiddenTaskbar = function (el) {
  1169. //任务栏位置变小
  1170. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1171. //桌面的位置变大
  1172. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1173. }
  1174. /**
  1175. * 隐藏任务栏
  1176. *
  1177. * @param {element} 桌面元素
  1178. */
  1179. U.MD.D.I.hiddenTaskbarout = function (el) {
  1180. //任务栏位置变小
  1181. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1182. //任务栏位置变化
  1183. U.selectEl(el).css({ "bottom": "-60px" });
  1184. //桌面的位置变大
  1185. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1186. }
  1187. }
  1188. /**
  1189. * 初始化打印桌面图标
  1190. *
  1191. * @param {element} 桌面元素
  1192. */
  1193. U.MD.D.I.initDesktopIcons = function (el, type) {
  1194. var i, //用于循环
  1195. _content, //桌面图标元素
  1196. _iconcontent, //桌面图标元素
  1197. _frag = $$("frag"), //定义一个碎片元素
  1198. _type = US.userInfo.type,
  1199. _org = US.userInfo.org,
  1200. _oid = US.userInfo.organizeid,
  1201. _role = US.userInfo.role,
  1202. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1203. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1204. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1205. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1206. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1207. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1208. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1209. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1210. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1211. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1212. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1213. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1214. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1215. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1216. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1217. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1218. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1219. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1220. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1221. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1222. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1223. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1224. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1225. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1226. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1227. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1228. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1229. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1230. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1231. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1232. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1233. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1234. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1235. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1236. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1237. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1238. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1239. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1240. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1241. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1242. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1243. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1244. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1245. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1246. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1247. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1248. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1249. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1250. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1251. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1252. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1253. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1254. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1255. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1256. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1257. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1258. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1259. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1260. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1261. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1262. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1263. 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'];
  1264. var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5', '2fa75e51-189a-11ee-91d8-005056b86db5', 'a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956','fbb00cc1-380b-4173-add4-59b3cf7682b5','63060b4a-89dc-4f0c-bf04-a1de22d479ff','777559d2-7239-11ee-b98c-005056b86db5'];
  1265. //清楚桌面图标
  1266. el.innerHTML = "";
  1267. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1268. _teacherDesktopIconInfo.push(
  1269. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1270. { "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)" } },
  1271. )
  1272. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1273. }
  1274. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1275. _teacherDesktopIconInfo.push(
  1276. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1277. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1278. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1279. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1280. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1281. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1282. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1283. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1284. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1285. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1286. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1287. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1288. )
  1289. }
  1290. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1291. // _teacherDesktopIconInfo.push(
  1292. // )
  1293. // }
  1294. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1295. _teacherDesktopIconInfo.push(
  1296. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1297. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1298. )
  1299. }
  1300. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1301. _teacherDesktopIconInfo.push(
  1302. )
  1303. }
  1304. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1305. _teacherDesktopIconInfo.push(
  1306. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1307. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1308. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1309. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1310. )
  1311. _studentDesktopIconInfo.push(
  1312. )
  1313. }
  1314. //麒麟二中 和 民新小学
  1315. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1316. _teacherDesktopIconInfo.push(
  1317. )
  1318. }
  1319. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1320. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1321. _teacherDesktopIconInfo.push(
  1322. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1323. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1324. )
  1325. }
  1326. //麒麟二中
  1327. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1328. _studentDesktopIconInfo.push(
  1329. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1330. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1331. )
  1332. }
  1333. //万科双语
  1334. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1335. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1336. if (el.Name == '项目管理') {
  1337. el.Name = 'PBL项目'
  1338. }
  1339. return el
  1340. })
  1341. _studentDesktopIconInfo3.push(
  1342. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1343. )
  1344. }
  1345. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1346. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1347. return el.Name != '魔盒识字' && el.Name != '24点'
  1348. })
  1349. }
  1350. 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) {
  1351. _studentDesktopIconInfo.push(
  1352. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1353. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1354. )
  1355. }
  1356. //循环创建桌面图标
  1357. if (type == 1) {
  1358. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1359. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1360. _content = $$("div", {
  1361. className: "U_MD_D_KO",
  1362. "onmousedown": U.UF.C.closure(function (obj) {
  1363. //防止拖动图标即打开了桌面应用
  1364. U.MD.D.click(this, obj);
  1365. }, [_studentDesktopIconInfo[i]]),
  1366. "onclick": U.UF.C.closure(function (obj) {
  1367. //防止拖动图标即打开了桌面应用
  1368. U.MD.D.click(this, obj);
  1369. }, [_studentDesktopIconInfo[i]])
  1370. }, _frag); //
  1371. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1372. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1373. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1374. }
  1375. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1376. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1377. _content = $$("div", {
  1378. className: "U_MD_D_KO",
  1379. "onmousedown": U.UF.C.closure(function (obj) {
  1380. //防止拖动图标即打开了桌面应用
  1381. U.MD.D.click(this, obj);
  1382. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1383. "onclick": U.UF.C.closure(function (obj) {
  1384. //防止拖动图标即打开了桌面应用
  1385. U.MD.D.click(this, obj);
  1386. }, [_hkZJLSStudentDeskIconInfo[i]])
  1387. }, _frag); //
  1388. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1389. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1390. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1391. } //
  1392. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1393. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1394. _content = $$("div", {
  1395. className: "U_MD_D_KO",
  1396. "onmousedown": U.UF.C.closure(function (obj) {
  1397. //防止拖动图标即打开了桌面应用
  1398. U.MD.D.click(this, obj);
  1399. }, [_jccssylStudentDeskIconInfo[i]]),
  1400. "onclick": U.UF.C.closure(function (obj) {
  1401. //防止拖动图标即打开了桌面应用
  1402. U.MD.D.click(this, obj);
  1403. }, [_jccssylStudentDeskIconInfo[i]])
  1404. }, _frag); //
  1405. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1406. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1407. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1408. }
  1409. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1410. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1411. _content = $$("div", {
  1412. className: "U_MD_D_KO",
  1413. "onmousedown": U.UF.C.closure(function (obj) {
  1414. //防止拖动图标即打开了桌面应用
  1415. U.MD.D.click(this, obj);
  1416. }, [_thuioeStudentDeskIconInfo[i]]),
  1417. "onclick": U.UF.C.closure(function (obj) {
  1418. //防止拖动图标即打开了桌面应用
  1419. U.MD.D.click(this, obj);
  1420. }, [_thuioeStudentDeskIconInfo[i]])
  1421. }, _frag); //
  1422. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1423. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1424. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1425. }
  1426. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1427. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1428. _content = $$("div", {
  1429. className: "U_MD_D_KO",
  1430. "onmousedown": U.UF.C.closure(function (obj) {
  1431. //防止拖动图标即打开了桌面应用
  1432. U.MD.D.click(this, obj);
  1433. }, [_tpcStudentDeskIconInfo[i]]),
  1434. "onclick": U.UF.C.closure(function (obj) {
  1435. //防止拖动图标即打开了桌面应用
  1436. U.MD.D.click(this, obj);
  1437. }, [_tpcStudentDeskIconInfo[i]])
  1438. }, _frag); //
  1439. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1440. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1441. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1442. } //
  1443. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1444. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1445. _content = $$("div", {
  1446. className: "U_MD_D_KO",
  1447. "onmousedown": U.UF.C.closure(function (obj) {
  1448. //防止拖动图标即打开了桌面应用
  1449. U.MD.D.click(this, obj);
  1450. }, [_chjyjStudentDeskIconInfo[i]]),
  1451. "onclick": U.UF.C.closure(function (obj) {
  1452. //防止拖动图标即打开了桌面应用
  1453. U.MD.D.click(this, obj);
  1454. }, [_chjyjStudentDeskIconInfo[i]])
  1455. }, _frag); //
  1456. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1457. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1458. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1459. }
  1460. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1461. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1462. _content = $$("div", {
  1463. className: "U_MD_D_KO",
  1464. "onmousedown": U.UF.C.closure(function (obj) {
  1465. //防止拖动图标即打开了桌面应用
  1466. U.MD.D.click(this, obj);
  1467. }, [_szjkyStudentDeskIconInfo[i]]),
  1468. "onclick": U.UF.C.closure(function (obj) {
  1469. //防止拖动图标即打开了桌面应用
  1470. U.MD.D.click(this, obj);
  1471. }, [_szjkyStudentDeskIconInfo[i]])
  1472. }, _frag); //
  1473. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1474. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1475. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1476. }
  1477. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1478. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1479. _content = $$("div", {
  1480. className: "U_MD_D_KO",
  1481. "onmousedown": U.UF.C.closure(function (obj) {
  1482. //防止拖动图标即打开了桌面应用
  1483. U.MD.D.click(this, obj);
  1484. }, [_dseiStudentDeskIconInfo[i]]),
  1485. "onclick": U.UF.C.closure(function (obj) {
  1486. //防止拖动图标即打开了桌面应用
  1487. U.MD.D.click(this, obj);
  1488. }, [_dseiStudentDeskIconInfo[i]])
  1489. }, _frag); //
  1490. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1491. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1492. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1493. }
  1494. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1495. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1496. _content = $$("div", {
  1497. className: "U_MD_D_KO",
  1498. "onmousedown": U.UF.C.closure(function (obj) {
  1499. //防止拖动图标即打开了桌面应用
  1500. U.MD.D.click(this, obj);
  1501. }, [_siesStudentDeskIconInfo[i]]),
  1502. "onclick": U.UF.C.closure(function (obj) {
  1503. //防止拖动图标即打开了桌面应用
  1504. U.MD.D.click(this, obj);
  1505. }, [_siesStudentDeskIconInfo[i]])
  1506. }, _frag); //
  1507. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1508. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1509. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1510. }
  1511. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1512. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1513. _content = $$("div", {
  1514. className: "U_MD_D_KO",
  1515. "onmousedown": U.UF.C.closure(function (obj) {
  1516. //防止拖动图标即打开了桌面应用
  1517. U.MD.D.click(this, obj);
  1518. }, [_hkStudentDeskIconInfo[i]]),
  1519. "onclick": U.UF.C.closure(function (obj) {
  1520. //防止拖动图标即打开了桌面应用
  1521. U.MD.D.click(this, obj);
  1522. }, [_hkStudentDeskIconInfo[i]])
  1523. }, _frag); //
  1524. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1525. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1526. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1527. }
  1528. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1529. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1530. _content = $$("div", {
  1531. className: "U_MD_D_KO",
  1532. "onmousedown": U.UF.C.closure(function (obj) {
  1533. //防止拖动图标即打开了桌面应用
  1534. U.MD.D.click(this, obj);
  1535. }, [_hkaceStudentDeskIconInfo[i]]),
  1536. "onclick": U.UF.C.closure(function (obj) {
  1537. //防止拖动图标即打开了桌面应用
  1538. U.MD.D.click(this, obj);
  1539. }, [_hkaceStudentDeskIconInfo[i]])
  1540. }, _frag); //
  1541. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1542. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1543. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1544. }
  1545. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1546. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1547. _content = $$("div", {
  1548. className: "U_MD_D_KO",
  1549. "onmousedown": U.UF.C.closure(function (obj) {
  1550. //防止拖动图标即打开了桌面应用
  1551. U.MD.D.click(this, obj);
  1552. }, [_studentDesktopIconInfo[i]]),
  1553. "onclick": U.UF.C.closure(function (obj) {
  1554. //防止拖动图标即打开了桌面应用
  1555. U.MD.D.click(this, obj);
  1556. }, [_studentDesktopIconInfo[i]])
  1557. }, _frag); //
  1558. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1559. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1560. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1561. }
  1562. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1563. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1564. _content = $$("div", {
  1565. className: "U_MD_D_KO",
  1566. "onmousedown": U.UF.C.closure(function (obj) {
  1567. //防止拖动图标即打开了桌面应用
  1568. U.MD.D.click(this, obj);
  1569. }, [_tcStudentDeskIconInfo[i]]),
  1570. "onclick": U.UF.C.closure(function (obj) {
  1571. //防止拖动图标即打开了桌面应用
  1572. U.MD.D.click(this, obj);
  1573. }, [_tcStudentDeskIconInfo[i]])
  1574. }, _frag); //
  1575. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1576. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1577. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1578. }
  1579. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1580. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1581. _content = $$("div", {
  1582. className: "U_MD_D_KO",
  1583. "onmousedown": U.UF.C.closure(function (obj) {
  1584. //防止拖动图标即打开了桌面应用
  1585. U.MD.D.click(this, obj);
  1586. }, [_szscStudentDeskIconInfo[i]]),
  1587. "onclick": U.UF.C.closure(function (obj) {
  1588. //防止拖动图标即打开了桌面应用
  1589. U.MD.D.click(this, obj);
  1590. }, [_szscStudentDeskIconInfo[i]])
  1591. }, _frag); //
  1592. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1593. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1594. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1595. }
  1596. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1597. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1598. _content = $$("div", {
  1599. className: "U_MD_D_KO",
  1600. "onmousedown": U.UF.C.closure(function (obj) {
  1601. //防止拖动图标即打开了桌面应用
  1602. U.MD.D.click(this, obj);
  1603. }, [_studentDesktopIconInfo3[i]]),
  1604. "onclick": U.UF.C.closure(function (obj) {
  1605. //防止拖动图标即打开了桌面应用
  1606. U.MD.D.click(this, obj);
  1607. }, [_studentDesktopIconInfo3[i]])
  1608. }, _frag); //
  1609. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1610. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1611. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1612. }
  1613. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1614. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1615. _content = $$("div", {
  1616. className: "U_MD_D_KO",
  1617. "onmousedown": U.UF.C.closure(function (obj) {
  1618. //防止拖动图标即打开了桌面应用
  1619. U.MD.D.click(this, obj);
  1620. }, [_studentDesktopIconInfo2[i]]),
  1621. "onclick": U.UF.C.closure(function (obj) {
  1622. //防止拖动图标即打开了桌面应用
  1623. U.MD.D.click(this, obj);
  1624. }, [_studentDesktopIconInfo2[i]])
  1625. }, _frag); //
  1626. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1627. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1628. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1629. }
  1630. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1631. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1632. _content = $$("div", {
  1633. className: "U_MD_D_KO",
  1634. "onmousedown": U.UF.C.closure(function (obj) {
  1635. //防止拖动图标即打开了桌面应用
  1636. U.MD.D.click(this, obj);
  1637. }, [_wanketeacherDesktopIconInfo[i]]),
  1638. "onclick": U.UF.C.closure(function (obj) {
  1639. //防止拖动图标即打开了桌面应用
  1640. U.MD.D.click(this, obj);
  1641. }, [_wanketeacherDesktopIconInfo[i]])
  1642. }, _frag); //
  1643. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1644. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1645. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1646. }
  1647. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1648. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1649. _content = $$("div", {
  1650. className: "U_MD_D_KO",
  1651. "onmousedown": U.UF.C.closure(function (obj) {
  1652. //防止拖动图标即打开了桌面应用
  1653. U.MD.D.click(this, obj);
  1654. }, [_wankeAdminDesktopIconInfo[i]]),
  1655. "onclick": U.UF.C.closure(function (obj) {
  1656. //防止拖动图标即打开了桌面应用
  1657. U.MD.D.click(this, obj);
  1658. }, [_wankeAdminDesktopIconInfo[i]])
  1659. }, _frag); //
  1660. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1661. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1662. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1663. }
  1664. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1665. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1666. _content = $$("div", {
  1667. className: "U_MD_D_KO",
  1668. "onmousedown": U.UF.C.closure(function (obj) {
  1669. //防止拖动图标即打开了桌面应用
  1670. U.MD.D.click(this, obj);
  1671. }, [_jccssylTeacherDeskIconInfo[i]]),
  1672. "onclick": U.UF.C.closure(function (obj) {
  1673. //防止拖动图标即打开了桌面应用
  1674. U.MD.D.click(this, obj);
  1675. }, [_jccssylTeacherDeskIconInfo[i]])
  1676. }, _frag); //
  1677. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1678. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1679. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1680. }
  1681. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1682. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1683. _content = $$("div", {
  1684. className: "U_MD_D_KO",
  1685. "onmousedown": U.UF.C.closure(function (obj) {
  1686. //防止拖动图标即打开了桌面应用
  1687. U.MD.D.click(this, obj);
  1688. }, [_tpcOrganizerDeskIconInfo[i]]),
  1689. "onclick": U.UF.C.closure(function (obj) {
  1690. //防止拖动图标即打开了桌面应用
  1691. U.MD.D.click(this, obj);
  1692. }, [_tpcOrganizerDeskIconInfo[i]])
  1693. }, _frag); //
  1694. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1695. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1696. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1697. }
  1698. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1699. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1700. _content = $$("div", {
  1701. className: "U_MD_D_KO",
  1702. "onmousedown": U.UF.C.closure(function (obj) {
  1703. //防止拖动图标即打开了桌面应用
  1704. U.MD.D.click(this, obj);
  1705. }, [_tpcTeacherDeskIconInfo[i]]),
  1706. "onclick": U.UF.C.closure(function (obj) {
  1707. //防止拖动图标即打开了桌面应用
  1708. U.MD.D.click(this, obj);
  1709. }, [_tpcTeacherDeskIconInfo[i]])
  1710. }, _frag); //
  1711. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1712. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1713. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1714. }
  1715. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1716. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1717. _content = $$("div", {
  1718. className: "U_MD_D_KO",
  1719. "onmousedown": U.UF.C.closure(function (obj) {
  1720. //防止拖动图标即打开了桌面应用
  1721. U.MD.D.click(this, obj);
  1722. }, [_teacherDesktopIconInfo2[i]]),
  1723. "onclick": U.UF.C.closure(function (obj) {
  1724. //防止拖动图标即打开了桌面应用
  1725. U.MD.D.click(this, obj);
  1726. }, [_teacherDesktopIconInfo2[i]])
  1727. }, _frag); //
  1728. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1729. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1730. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1731. }
  1732. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1733. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1734. _content = $$("div", {
  1735. className: "U_MD_D_KO",
  1736. "onmousedown": U.UF.C.closure(function (obj) {
  1737. //防止拖动图标即打开了桌面应用
  1738. U.MD.D.click(this, obj);
  1739. }, [_thuioeTeacherDeskIconInfo[i]]),
  1740. "onclick": U.UF.C.closure(function (obj) {
  1741. //防止拖动图标即打开了桌面应用
  1742. U.MD.D.click(this, obj);
  1743. }, [_thuioeTeacherDeskIconInfo[i]])
  1744. }, _frag); //
  1745. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1746. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1747. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1748. }
  1749. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1750. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1751. _content = $$("div", {
  1752. className: "U_MD_D_KO",
  1753. "onmousedown": U.UF.C.closure(function (obj) {
  1754. //防止拖动图标即打开了桌面应用
  1755. U.MD.D.click(this, obj);
  1756. }, [_lotechTeacherDeskIconInfo[i]]),
  1757. "onclick": U.UF.C.closure(function (obj) {
  1758. //防止拖动图标即打开了桌面应用
  1759. U.MD.D.click(this, obj);
  1760. }, [_lotechTeacherDeskIconInfo[i]])
  1761. }, _frag); //
  1762. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1763. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1764. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1765. }//
  1766. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1767. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1768. _content = $$("div", {
  1769. className: "U_MD_D_KO",
  1770. "onmousedown": U.UF.C.closure(function (obj) {
  1771. //防止拖动图标即打开了桌面应用
  1772. U.MD.D.click(this, obj);
  1773. }, [_siesTeacherDeskIconInfo[i]]),
  1774. "onclick": U.UF.C.closure(function (obj) {
  1775. //防止拖动图标即打开了桌面应用
  1776. U.MD.D.click(this, obj);
  1777. }, [_siesTeacherDeskIconInfo[i]])
  1778. }, _frag); //
  1779. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1780. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1781. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1782. }
  1783. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1784. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1785. _content = $$("div", {
  1786. className: "U_MD_D_KO",
  1787. "onmousedown": U.UF.C.closure(function (obj) {
  1788. //防止拖动图标即打开了桌面应用
  1789. U.MD.D.click(this, obj);
  1790. }, [_longhuaTeacherDeskIconInfo[i]]),
  1791. "onclick": U.UF.C.closure(function (obj) {
  1792. //防止拖动图标即打开了桌面应用
  1793. U.MD.D.click(this, obj);
  1794. }, [_longhuaTeacherDeskIconInfo[i]])
  1795. }, _frag); //
  1796. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1797. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1798. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1799. }
  1800. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1801. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1802. _content = $$("div", {
  1803. className: "U_MD_D_KO",
  1804. "onmousedown": U.UF.C.closure(function (obj) {
  1805. //防止拖动图标即打开了桌面应用
  1806. U.MD.D.click(this, obj);
  1807. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1808. "onclick": U.UF.C.closure(function (obj) {
  1809. //防止拖动图标即打开了桌面应用
  1810. U.MD.D.click(this, obj);
  1811. }, [_yunhaiTeacherDeskIconInfo[i]])
  1812. }, _frag); //
  1813. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1814. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1815. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1816. } //_hkStudentDeskIconInfo
  1817. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1818. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1819. _content = $$("div", {
  1820. className: "U_MD_D_KO",
  1821. "onmousedown": U.UF.C.closure(function (obj) {
  1822. //防止拖动图标即打开了桌面应用
  1823. U.MD.D.click(this, obj);
  1824. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1825. "onclick": U.UF.C.closure(function (obj) {
  1826. //防止拖动图标即打开了桌面应用
  1827. U.MD.D.click(this, obj);
  1828. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1829. }, _frag); //
  1830. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1831. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1832. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1833. }
  1834. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1835. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1836. _content = $$("div", {
  1837. className: "U_MD_D_KO",
  1838. "onmousedown": U.UF.C.closure(function (obj) {
  1839. //防止拖动图标即打开了桌面应用
  1840. U.MD.D.click(this, obj);
  1841. }, [_hkTeacherDeskIconInfo[i]]),
  1842. "onclick": U.UF.C.closure(function (obj) {
  1843. //防止拖动图标即打开了桌面应用
  1844. U.MD.D.click(this, obj);
  1845. }, [_hkTeacherDeskIconInfo[i]])
  1846. }, _frag); //
  1847. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1848. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1849. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1850. }
  1851. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1852. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  1853. _content = $$("div", {
  1854. className: "U_MD_D_KO",
  1855. "onmousedown": U.UF.C.closure(function (obj) {
  1856. //防止拖动图标即打开了桌面应用
  1857. U.MD.D.click(this, obj);
  1858. }, [_hkaceTeacherDeskIconInfo[i]]),
  1859. "onclick": U.UF.C.closure(function (obj) {
  1860. //防止拖动图标即打开了桌面应用
  1861. U.MD.D.click(this, obj);
  1862. }, [_hkaceTeacherDeskIconInfo[i]])
  1863. }, _frag); //
  1864. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1865. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  1866. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  1867. }
  1868. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1869. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1870. _content = $$("div", {
  1871. className: "U_MD_D_KO",
  1872. "onmousedown": U.UF.C.closure(function (obj) {
  1873. //防止拖动图标即打开了桌面应用
  1874. U.MD.D.click(this, obj);
  1875. }, [_gdjgAdminDeskIconInfo[i]]),
  1876. "onclick": U.UF.C.closure(function (obj) {
  1877. //防止拖动图标即打开了桌面应用
  1878. U.MD.D.click(this, obj);
  1879. }, [_gdjgAdminDeskIconInfo[i]])
  1880. }, _frag); //
  1881. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1882. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1883. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1884. }
  1885. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1886. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1887. _content = $$("div", {
  1888. className: "U_MD_D_KO",
  1889. "onmousedown": U.UF.C.closure(function (obj) {
  1890. //防止拖动图标即打开了桌面应用
  1891. U.MD.D.click(this, obj);
  1892. }, [_gdjgTeacherDeskIconInfo[i]]),
  1893. "onclick": U.UF.C.closure(function (obj) {
  1894. //防止拖动图标即打开了桌面应用
  1895. U.MD.D.click(this, obj);
  1896. }, [_gdjgTeacherDeskIconInfo[i]])
  1897. }, _frag); //
  1898. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1899. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1900. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1901. }
  1902. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1903. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1904. _content = $$("div", {
  1905. className: "U_MD_D_KO",
  1906. "onmousedown": U.UF.C.closure(function (obj) {
  1907. //防止拖动图标即打开了桌面应用
  1908. U.MD.D.click(this, obj);
  1909. }, [_szherTeacherDeskIconInfo[i]]),
  1910. "onclick": U.UF.C.closure(function (obj) {
  1911. //防止拖动图标即打开了桌面应用
  1912. U.MD.D.click(this, obj);
  1913. }, [_szherTeacherDeskIconInfo[i]])
  1914. }, _frag); //
  1915. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1916. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1917. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1918. }
  1919. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1920. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1921. _content = $$("div", {
  1922. className: "U_MD_D_KO",
  1923. "onmousedown": U.UF.C.closure(function (obj) {
  1924. //防止拖动图标即打开了桌面应用
  1925. U.MD.D.click(this, obj);
  1926. }, [_heyuannAdminDeskIconInfo[i]]),
  1927. "onclick": U.UF.C.closure(function (obj) {
  1928. //防止拖动图标即打开了桌面应用
  1929. U.MD.D.click(this, obj);
  1930. }, [_heyuannAdminDeskIconInfo[i]])
  1931. }, _frag); //
  1932. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1933. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1934. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1935. }
  1936. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1937. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1938. _content = $$("div", {
  1939. className: "U_MD_D_KO",
  1940. "onmousedown": U.UF.C.closure(function (obj) {
  1941. //防止拖动图标即打开了桌面应用
  1942. U.MD.D.click(this, obj);
  1943. }, [_heyuanTeacherDeskIconInfo[i]]),
  1944. "onclick": U.UF.C.closure(function (obj) {
  1945. //防止拖动图标即打开了桌面应用
  1946. U.MD.D.click(this, obj);
  1947. }, [_heyuanTeacherDeskIconInfo[i]])
  1948. }, _frag); //
  1949. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1950. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1951. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1952. } //
  1953. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1954. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1955. _content = $$("div", {
  1956. className: "U_MD_D_KO",
  1957. "onmousedown": U.UF.C.closure(function (obj) {
  1958. //防止拖动图标即打开了桌面应用
  1959. U.MD.D.click(this, obj);
  1960. }, [_dseiAdminDeskIconInfo[i]]),
  1961. "onclick": U.UF.C.closure(function (obj) {
  1962. //防止拖动图标即打开了桌面应用
  1963. U.MD.D.click(this, obj);
  1964. }, [_dseiAdminDeskIconInfo[i]])
  1965. }, _frag); //
  1966. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1967. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1968. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1969. }
  1970. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1971. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1972. _content = $$("div", {
  1973. className: "U_MD_D_KO",
  1974. "onmousedown": U.UF.C.closure(function (obj) {
  1975. //防止拖动图标即打开了桌面应用
  1976. U.MD.D.click(this, obj);
  1977. }, [_dseiTeacherDeskIconInfo[i]]),
  1978. "onclick": U.UF.C.closure(function (obj) {
  1979. //防止拖动图标即打开了桌面应用
  1980. U.MD.D.click(this, obj);
  1981. }, [_dseiTeacherDeskIconInfo[i]])
  1982. }, _frag); //
  1983. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1984. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1985. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1986. } //
  1987. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1988. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1989. _content = $$("div", {
  1990. className: "U_MD_D_KO",
  1991. "onmousedown": U.UF.C.closure(function (obj) {
  1992. //防止拖动图标即打开了桌面应用
  1993. U.MD.D.click(this, obj);
  1994. }, [_chjyjAdminDeskIconInfo[i]]),
  1995. "onclick": U.UF.C.closure(function (obj) {
  1996. //防止拖动图标即打开了桌面应用
  1997. U.MD.D.click(this, obj);
  1998. }, [_chjyjAdminDeskIconInfo[i]])
  1999. }, _frag); //
  2000. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2001. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2002. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2003. }//
  2004. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2005. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2006. _content = $$("div", {
  2007. className: "U_MD_D_KO",
  2008. "onmousedown": U.UF.C.closure(function (obj) {
  2009. //防止拖动图标即打开了桌面应用
  2010. U.MD.D.click(this, obj);
  2011. }, [_chjyjTeacherDeskIconInfo[i]]),
  2012. "onclick": U.UF.C.closure(function (obj) {
  2013. //防止拖动图标即打开了桌面应用
  2014. U.MD.D.click(this, obj);
  2015. }, [_chjyjTeacherDeskIconInfo[i]])
  2016. }, _frag); //
  2017. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2018. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2019. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2020. }
  2021. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2022. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2023. _content = $$("div", {
  2024. className: "U_MD_D_KO",
  2025. "onmousedown": U.UF.C.closure(function (obj) {
  2026. //防止拖动图标即打开了桌面应用
  2027. U.MD.D.click(this, obj);
  2028. }, [_szjkyAdminDeskIconInfo[i]]),
  2029. "onclick": U.UF.C.closure(function (obj) {
  2030. //防止拖动图标即打开了桌面应用
  2031. U.MD.D.click(this, obj);
  2032. }, [_szjkyAdminDeskIconInfo[i]])
  2033. }, _frag); //
  2034. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2035. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2036. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2037. }//
  2038. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2039. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2040. _content = $$("div", {
  2041. className: "U_MD_D_KO",
  2042. "onmousedown": U.UF.C.closure(function (obj) {
  2043. //防止拖动图标即打开了桌面应用
  2044. U.MD.D.click(this, obj);
  2045. }, [_szjkyTeacherDeskIconInfo[i]]),
  2046. "onclick": U.UF.C.closure(function (obj) {
  2047. //防止拖动图标即打开了桌面应用
  2048. U.MD.D.click(this, obj);
  2049. }, [_szjkyTeacherDeskIconInfo[i]])
  2050. }, _frag); //
  2051. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2052. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2053. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2054. }
  2055. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2056. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2057. _content = $$("div", {
  2058. className: "U_MD_D_KO",
  2059. "onmousedown": U.UF.C.closure(function (obj) {
  2060. //防止拖动图标即打开了桌面应用
  2061. U.MD.D.click(this, obj);
  2062. }, [_futianAdminDeskIconInfo[i]]),
  2063. "onclick": U.UF.C.closure(function (obj) {
  2064. //防止拖动图标即打开了桌面应用
  2065. U.MD.D.click(this, obj);
  2066. }, [_futianAdminDeskIconInfo[i]])
  2067. }, _frag); //
  2068. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2069. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2070. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2071. }
  2072. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2073. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2074. _content = $$("div", {
  2075. className: "U_MD_D_KO",
  2076. "onmousedown": U.UF.C.closure(function (obj) {
  2077. //防止拖动图标即打开了桌面应用
  2078. U.MD.D.click(this, obj);
  2079. }, [_futianTeacherDeskIconInfo[i]]),
  2080. "onclick": U.UF.C.closure(function (obj) {
  2081. //防止拖动图标即打开了桌面应用
  2082. U.MD.D.click(this, obj);
  2083. }, [_futianTeacherDeskIconInfo[i]])
  2084. }, _frag); //
  2085. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2086. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2087. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2088. }
  2089. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2090. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2091. _content = $$("div", {
  2092. className: "U_MD_D_KO",
  2093. "onmousedown": U.UF.C.closure(function (obj) {
  2094. //防止拖动图标即打开了桌面应用
  2095. U.MD.D.click(this, obj);
  2096. }, [_MingdeTeacherDeskIcon[i]]),
  2097. "onclick": U.UF.C.closure(function (obj) {
  2098. //防止拖动图标即打开了桌面应用
  2099. U.MD.D.click(this, obj);
  2100. }, [_MingdeTeacherDeskIcon[i]])
  2101. }, _frag); //
  2102. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2103. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2104. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2105. }
  2106. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2107. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2108. _content = $$("div", {
  2109. className: "U_MD_D_KO",
  2110. "onmousedown": U.UF.C.closure(function (obj) {
  2111. //防止拖动图标即打开了桌面应用
  2112. U.MD.D.click(this, obj);
  2113. }, [_lhsAdminDesktopIconInfo[i]]),
  2114. "onclick": U.UF.C.closure(function (obj) {
  2115. //防止拖动图标即打开了桌面应用
  2116. U.MD.D.click(this, obj);
  2117. }, [_lhsAdminDesktopIconInfo[i]])
  2118. }, _frag); //
  2119. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2120. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2121. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2122. }
  2123. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2124. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2125. _content = $$("div", {
  2126. className: "U_MD_D_KO",
  2127. "onmousedown": U.UF.C.closure(function (obj) {
  2128. //防止拖动图标即打开了桌面应用
  2129. U.MD.D.click(this, obj);
  2130. }, [_lhsteacherDesktopIconInfo[i]]),
  2131. "onclick": U.UF.C.closure(function (obj) {
  2132. //防止拖动图标即打开了桌面应用
  2133. U.MD.D.click(this, obj);
  2134. }, [_lhsteacherDesktopIconInfo[i]])
  2135. }, _frag); //
  2136. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2137. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2138. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2139. }
  2140. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2141. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2142. _content = $$("div", {
  2143. className: "U_MD_D_KO",
  2144. "onmousedown": U.UF.C.closure(function (obj) {
  2145. //防止拖动图标即打开了桌面应用
  2146. U.MD.D.click(this, obj);
  2147. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2148. "onclick": U.UF.C.closure(function (obj) {
  2149. //防止拖动图标即打开了桌面应用
  2150. U.MD.D.click(this, obj);
  2151. }, [_zhoujiateacherDesktopIconInfo[i]])
  2152. }, _frag); //
  2153. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2154. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2155. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2156. }
  2157. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2158. for (i = 0; i < _hanDeskIcon.length; i++) {
  2159. _content = $$("div", {
  2160. className: "U_MD_D_KO",
  2161. "onmousedown": U.UF.C.closure(function (obj) {
  2162. //防止拖动图标即打开了桌面应用
  2163. U.MD.D.click(this, obj);
  2164. }, [_hanDeskIcon[i]]),
  2165. "onclick": U.UF.C.closure(function (obj) {
  2166. //防止拖动图标即打开了桌面应用
  2167. U.MD.D.click(this, obj);
  2168. }, [_hanDeskIcon[i]])
  2169. }, _frag); //
  2170. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2171. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2172. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2173. }
  2174. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2175. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2176. _content = $$("div", {
  2177. className: "U_MD_D_KO",
  2178. "onmousedown": U.UF.C.closure(function (obj) {
  2179. //防止拖动图标即打开了桌面应用
  2180. U.MD.D.click(this, obj);
  2181. }, [_orgStemDeskIcon[i]]),
  2182. "onclick": U.UF.C.closure(function (obj) {
  2183. //防止拖动图标即打开了桌面应用
  2184. U.MD.D.click(this, obj);
  2185. }, [_orgStemDeskIcon[i]])
  2186. }, _frag); //
  2187. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2188. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2189. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2190. }
  2191. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2192. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2193. _content = $$("div", {
  2194. className: "U_MD_D_KO",
  2195. "onmousedown": U.UF.C.closure(function (obj) {
  2196. //防止拖动图标即打开了桌面应用
  2197. U.MD.D.click(this, obj);
  2198. }, [_szulsDeskIcon[i]]),
  2199. "onclick": U.UF.C.closure(function (obj) {
  2200. //防止拖动图标即打开了桌面应用
  2201. U.MD.D.click(this, obj);
  2202. }, [_szulsDeskIcon[i]])
  2203. }, _frag); //
  2204. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2205. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2206. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2207. }
  2208. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2209. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2210. _content = $$("div", {
  2211. className: "U_MD_D_KO",
  2212. "onmousedown": U.UF.C.closure(function (obj) {
  2213. //防止拖动图标即打开了桌面应用
  2214. U.MD.D.click(this, obj);
  2215. }, [_orgDesktopIconInfo[i]]),
  2216. "onclick": U.UF.C.closure(function (obj) {
  2217. //防止拖动图标即打开了桌面应用
  2218. U.MD.D.click(this, obj);
  2219. }, [_orgDesktopIconInfo[i]])
  2220. }, _frag); //
  2221. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2222. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2223. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2224. }
  2225. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2226. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2227. _content = $$("div", {
  2228. className: "U_MD_D_KO",
  2229. "onmousedown": U.UF.C.closure(function (obj) {
  2230. //防止拖动图标即打开了桌面应用
  2231. U.MD.D.click(this, obj);
  2232. }, [_schoolDesktopIconInfo[i]]),
  2233. "onclick": U.UF.C.closure(function (obj) {
  2234. //防止拖动图标即打开了桌面应用
  2235. U.MD.D.click(this, obj);
  2236. }, [_schoolDesktopIconInfo[i]])
  2237. }, _frag); //
  2238. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2239. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2240. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2241. }
  2242. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2243. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2244. _content = $$("div", {
  2245. className: "U_MD_D_KO",
  2246. "onmousedown": U.UF.C.closure(function (obj) {
  2247. //防止拖动图标即打开了桌面应用
  2248. U.MD.D.click(this, obj);
  2249. }, [_GMteacherDesktopIconInfo[i]]),
  2250. "onclick": U.UF.C.closure(function (obj) {
  2251. //防止拖动图标即打开了桌面应用
  2252. U.MD.D.click(this, obj);
  2253. }, [_GMteacherDesktopIconInfo[i]])
  2254. }, _frag); //
  2255. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2256. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2257. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2258. }
  2259. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2260. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2261. _content = $$("div", {
  2262. className: "U_MD_D_KO",
  2263. "onmousedown": U.UF.C.closure(function (obj) {
  2264. //防止拖动图标即打开了桌面应用
  2265. U.MD.D.click(this, obj);
  2266. }, [_SONGteacherDesktopIconInfo[i]]),
  2267. "onclick": U.UF.C.closure(function (obj) {
  2268. //防止拖动图标即打开了桌面应用
  2269. U.MD.D.click(this, obj);
  2270. }, [_SONGteacherDesktopIconInfo[i]])
  2271. }, _frag); //
  2272. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2273. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2274. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2275. }
  2276. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2277. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2278. _content = $$("div", {
  2279. className: "U_MD_D_KO",
  2280. "onmousedown": U.UF.C.closure(function (obj) {
  2281. //防止拖动图标即打开了桌面应用
  2282. U.MD.D.click(this, obj);
  2283. }, [_GMstudentDesktopIconInfo[i]]),
  2284. "onclick": U.UF.C.closure(function (obj) {
  2285. //防止拖动图标即打开了桌面应用
  2286. U.MD.D.click(this, obj);
  2287. }, [_GMstudentDesktopIconInfo[i]])
  2288. }, _frag); //
  2289. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2290. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2291. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2292. }
  2293. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2294. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2295. _content = $$("div", {
  2296. className: "U_MD_D_KO",
  2297. "onmousedown": U.UF.C.closure(function (obj) {
  2298. //防止拖动图标即打开了桌面应用
  2299. U.MD.D.click(this, obj);
  2300. }, [_tcTeacherDeskIconInfo[i]]),
  2301. "onclick": U.UF.C.closure(function (obj) {
  2302. //防止拖动图标即打开了桌面应用
  2303. U.MD.D.click(this, obj);
  2304. }, [_tcTeacherDeskIconInfo[i]])
  2305. }, _frag); //
  2306. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2307. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2308. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2309. }
  2310. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2311. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2312. _content = $$("div", {
  2313. className: "U_MD_D_KO",
  2314. "onmousedown": U.UF.C.closure(function (obj) {
  2315. //防止拖动图标即打开了桌面应用
  2316. U.MD.D.click(this, obj);
  2317. }, [_tcOrganizerDeskIconInfo[i]]),
  2318. "onclick": U.UF.C.closure(function (obj) {
  2319. //防止拖动图标即打开了桌面应用
  2320. U.MD.D.click(this, obj);
  2321. }, [_tcOrganizerDeskIconInfo[i]])
  2322. }, _frag); //
  2323. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2324. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2325. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2326. }
  2327. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2328. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2329. _content = $$("div", {
  2330. className: "U_MD_D_KO",
  2331. "onmousedown": U.UF.C.closure(function (obj) {
  2332. //防止拖动图标即打开了桌面应用
  2333. U.MD.D.click(this, obj);
  2334. }, [_szscTeacherDeskIconInfo[i]]),
  2335. "onclick": U.UF.C.closure(function (obj) {
  2336. //防止拖动图标即打开了桌面应用
  2337. U.MD.D.click(this, obj);
  2338. }, [_szscTeacherDeskIconInfo[i]])
  2339. }, _frag); //
  2340. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2341. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2342. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2343. }
  2344. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2345. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2346. _content = $$("div", {
  2347. className: "U_MD_D_KO",
  2348. "onmousedown": U.UF.C.closure(function (obj) {
  2349. //防止拖动图标即打开了桌面应用
  2350. U.MD.D.click(this, obj);
  2351. }, [_szscOrganizerDeskIconInfo[i]]),
  2352. "onclick": U.UF.C.closure(function (obj) {
  2353. //防止拖动图标即打开了桌面应用
  2354. U.MD.D.click(this, obj);
  2355. }, [_szscOrganizerDeskIconInfo[i]])
  2356. }, _frag); //
  2357. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2358. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2359. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2360. }
  2361. } else {
  2362. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2363. _content = $$("div", {
  2364. className: "U_MD_D_KO",
  2365. "onmousedown": U.UF.C.closure(function (obj) {
  2366. //防止拖动图标即打开了桌面应用
  2367. U.MD.D.click(this, obj);
  2368. }, [_teacherDesktopIconInfo[i]]),
  2369. "onclick": U.UF.C.closure(function (obj) {
  2370. //防止拖动图标即打开了桌面应用
  2371. U.MD.D.click(this, obj);
  2372. }, [_teacherDesktopIconInfo[i]])
  2373. }, _frag); //
  2374. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2375. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2376. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2377. }
  2378. }
  2379. } else {
  2380. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2381. _content = $$("div", {
  2382. className: "U_MD_D_KO",
  2383. style: { 'width': '124px', 'height': '145px' },
  2384. "onmousedown": U.UF.C.closure(function (obj) {
  2385. //防止拖动图标即打开了桌面应用
  2386. U.MD.D.click(this, obj);
  2387. }, [_easyDesktopIconInfo[i]]),
  2388. "onclick": U.UF.C.closure(function (obj) {
  2389. //防止拖动图标即打开了桌面应用
  2390. U.MD.D.click(this, obj);
  2391. }, [_easyDesktopIconInfo[i]])
  2392. }, _frag); //
  2393. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2394. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2395. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2396. }
  2397. }
  2398. if (type == 1) {
  2399. //加载好后给图标定位
  2400. U.MD.D.iconPostion($(_frag).Child());
  2401. } else {
  2402. //加载好后给图标定位
  2403. U.MD.D.iconPostion2($(_frag).Child());
  2404. }
  2405. //把图标加载到页面
  2406. el.appendChild(_frag);
  2407. }
  2408. /**
  2409. * 显示任务栏
  2410. *
  2411. * @param {element} 桌面元素
  2412. */
  2413. U.MD.D.I.displayTaskbar = function (el) {
  2414. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2415. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2416. //任务栏位置变化
  2417. U.selectEl(el).css({ "bottom": "0px" });
  2418. //桌面位置变话
  2419. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2420. }
  2421. }
  2422. //#region 桌面图标拖动逻辑
  2423. /**
  2424. * 桌面排列图标
  2425. *
  2426. * @param {element} 桌面元素
  2427. * @param {object} 上下相距的距离
  2428. * @param {object} 左右相距的距离
  2429. * @return {object} 命名空间
  2430. */
  2431. U.MD.D.iconPostion = function (childs, top, left) {
  2432. var i; //用于循环处理
  2433. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2434. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2435. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2436. for (i = 0; i < childs.length; i++) {
  2437. //如果竖排top超过了范围处理
  2438. if (top + 95 > US.height - 10) {
  2439. //left超过了页面范围处理,则向上重叠打印处理
  2440. if ((left + 180) > US.width) {
  2441. top -= 110;
  2442. left -= 90;
  2443. }
  2444. //没有超过范围,那么left+90添加到下一个竖排打印
  2445. else {
  2446. left += 90;
  2447. top = 15;
  2448. };
  2449. }
  2450. //给图标的位置赋值
  2451. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2452. if (i < childs.length - 1) {
  2453. //页面图标每次向下加95
  2454. top += 95;
  2455. }
  2456. }
  2457. //返回最后调用的图标的位置
  2458. return [top, left];
  2459. }
  2460. /**
  2461. * 桌面排列图标
  2462. *
  2463. * @param {element} 桌面元素
  2464. * @param {object} 上下相距的距离
  2465. * @param {object} 左右相距的距离
  2466. * @return {object} 命名空间
  2467. */
  2468. U.MD.D.iconPostion2 = function (childs, top, left) {
  2469. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2470. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2471. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2472. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2473. for (i = 0; i < childs.length; i++) {
  2474. //如果竖排top超过了范围处理
  2475. if (left + 150 > US.width - 10) {
  2476. //left超过了页面范围处理,则向上重叠打印处理
  2477. if ((top + 180) > US.Height) {
  2478. top -= 150;
  2479. left -= 150;
  2480. }
  2481. //没有超过范围,那么left+90添加到下一个竖排打印
  2482. else {
  2483. top += 150;
  2484. left = ol;
  2485. };
  2486. }
  2487. //给图标的位置赋值
  2488. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2489. if (i < childs.length - 1) {
  2490. //页面图标每次向下加95
  2491. left += 150;
  2492. }
  2493. }
  2494. //返回最后调用的图标的位置
  2495. return [top, left];
  2496. }
  2497. /**
  2498. * 桌面点击事件逻辑
  2499. *
  2500. * @param {element} 桌面元素
  2501. * @param {object} 上下相距的距离
  2502. * @param {object} 左右相距的距离
  2503. * @return {object} 命名空间
  2504. */
  2505. U.MD.D.click = function (el, obj) {
  2506. var _buttonnumber = event.button; //点击的按钮的事件值
  2507. var _userinfo = US.userInfo;
  2508. U.UF.EV.stopBubble(); //阻止向上冒泡
  2509. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2510. if (_buttonnumber < 2) {
  2511. //如果是click事件的处理
  2512. if (event.type == "click") {
  2513. //如果元素在mousemove事件中没有移动则出发click事件
  2514. if (!U.MD.D.I.IsDrag) {
  2515. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2516. U.alert("请先登录您的账号!");
  2517. setTimeout(() => {
  2518. U.MD.U.L.login();
  2519. }, 2000);
  2520. } else {
  2521. //打开应用处理
  2522. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2523. }
  2524. }
  2525. }
  2526. //如果是mouse事件的处理
  2527. else {
  2528. if (US.Config.type == '1') {
  2529. //拖动处理,添加拖动和拖动结束事件
  2530. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2531. }
  2532. }
  2533. U.MD.D.I.IsDrag = false;
  2534. }
  2535. }
  2536. /**
  2537. * 拖动的处理
  2538. *
  2539. */
  2540. U.MD.D.iconMove = function () {
  2541. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2542. U.MD.D.I.IsDrag = true;
  2543. }
  2544. /**
  2545. * 拖动结束后,这里是定位处理,以网状的形式定位
  2546. *
  2547. * @param {element} 拖动的元素
  2548. * @return {object} 命名空间
  2549. */
  2550. U.MD.D.iconUp = function (el) {
  2551. var _top = 15,
  2552. _left = 20,
  2553. _margin,
  2554. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2555. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2556. if (_positioninfo["OT"] > 15) {
  2557. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2558. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2559. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2560. }
  2561. if (_positioninfo["OL"] > 20) {
  2562. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2563. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2564. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2565. }
  2566. //while循环判断么一个重叠的元素
  2567. do {
  2568. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2569. _top = _positioninfo[0] + 95; //得到定位后的top
  2570. _left = _positioninfo[1]; //得到定位后的left
  2571. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2572. }
  2573. /**
  2574. * 判断拖动后图标是否重叠
  2575. *
  2576. * @param {element} 拖动的元素
  2577. * @param {element} 桌面所有的元素
  2578. * @param {array} 拖动元素的位置
  2579. ----------[0] 上 top
  2580. ----------[1] 左 left
  2581. * @return {object} 命名空间
  2582. */
  2583. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2584. //循环所有的图标
  2585. for (var i = 0; i < childs.length; i++) {
  2586. //判断有没有和该图标诶子重叠的元素
  2587. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2588. return childs[i]; //如果有返回
  2589. }
  2590. }
  2591. }
  2592. //#endregion
  2593. //#endregion
  2594. //#region 桌面应用
  2595. /**
  2596. * 打开应用
  2597. *
  2598. * @param {string} 类型
  2599. -----------------Disk 网盘系统
  2600. -----------------PDisk 学习系统网盘
  2601. -----------------Poto 图片
  2602. -----------------Video 视频
  2603. -----------------Music 音乐
  2604. -----------------Word word
  2605. -----------------Excel excel
  2606. -----------------Txt 记事本
  2607. -----------------PB 学习系统
  2608. -----------------Blog 朋友圈系统
  2609. -----------------FTP ftp系统
  2610. -----------------Group 好友群
  2611. -----------------SY 首页系统
  2612. -----------------Set 个人设置
  2613. -----------------XSet 系统设置
  2614. -----------------App 我们所有的app
  2615. -----------------BC c.1473.cn 平台
  2616. -----------------CWeb d.1473.cn 变成平台
  2617. -----------------其他的外联系统 我们统一用iframe打开
  2618. * @param {array} 类型
  2619. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2620. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2621. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2622. 如果第一个参数为其他,则无第二个参数
  2623. * @returns {array}
  2624. */
  2625. window.addEventListener('message', function (e) { // 监听 message 事件
  2626. // alert(e.data.type);
  2627. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2628. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2629. //3是展示全部阶段 2学生 1老师 4专家
  2630. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2631. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2632. //3是展示全部阶段 2学生 1老师 4专家
  2633. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2634. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2635. //3是展示全部阶段 2学生 1老师 4专家
  2636. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2637. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2638. } else if (e.data.screenType && e.data.screenType == "3train") { //培训管理传入
  2639. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  2640. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2641. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2642. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2643. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2644. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2645. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2646. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2647. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2648. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2649. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2650. //3是展示全部阶段 2学生 1老师 4专家
  2651. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2652. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2653. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2654. U.MD.D.I.selectUser();
  2655. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2656. var _formel = document.getElementById("study");
  2657. U.UF.F.windowZooming(_formel);
  2658. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2659. var _formel = document.getElementById("studyDetail");
  2660. U.UF.F.windowZooming(_formel);
  2661. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2662. var _formel = document.getElementById("studyDetail");
  2663. U.UF.F.windowZooming(_formel);
  2664. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2665. var _formel = document.getElementById("studentStudy");
  2666. U.UF.F.windowZooming(_formel);
  2667. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2668. // var _formel = document.getElementById("study");
  2669. //如果最大化了,那么就把他缩小
  2670. // if (_formel.ismaximize) {
  2671. // return;
  2672. // }
  2673. // U.UF.F.windowZooming(_formel);
  2674. // U.UF.F.topWindow(_formel);
  2675. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2676. // var _formel = document.getElementById("studyDetail");
  2677. //如果最大化了,那么就把他缩小
  2678. // if (_formel.ismaximize) {
  2679. // return;
  2680. // }
  2681. // U.UF.F.windowZooming(_formel);
  2682. // U.UF.F.topWindow(_formel);
  2683. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2684. // var _formel = document.getElementById("studentStudy");
  2685. // if (_formel.ismaximize) {
  2686. // return;
  2687. // }
  2688. // U.UF.F.windowZooming(_formel);
  2689. // U.UF.F.topWindow(_formel);
  2690. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2691. var _formel = document.getElementById("study");
  2692. // if (_formel.ismaximize) {
  2693. // return;
  2694. // }
  2695. // U.UF.F.windowZooming(_formel);
  2696. U.UF.F.topWindow(_formel);
  2697. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2698. var _formel = document.getElementById("studentIndex");
  2699. U.UF.F.windowZooming(_formel);
  2700. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2701. var _formel = document.getElementById("studyDetailS");
  2702. U.UF.F.windowZooming(_formel);
  2703. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2704. var _formel = document.getElementById("studioIndex");
  2705. U.UF.F.windowZooming(_formel);
  2706. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2707. var _formel = document.getElementById("studyDetailStudio");
  2708. U.UF.F.windowZooming(_formel);
  2709. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2710. var _formel = document.getElementById("studyDetailStudio");
  2711. U.UF.F.windowZooming(_formel);
  2712. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2713. var _formel = document.getElementById("studyDetailNT");
  2714. U.UF.F.windowZooming(_formel);
  2715. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2716. var _formel = document.getElementById("studyDetailS");
  2717. U.UF.F.windowZooming(_formel);
  2718. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2719. var _formel = document.getElementById("studyDetailS");
  2720. U.UF.F.topWindow(_formel);
  2721. } else if (e.data.tools && e.data.tools == "1") {
  2722. // U.MD.D.I.openApplication("whiteboard")
  2723. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2724. } else if (e.data.tools && e.data.tools == "2") {
  2725. U.MD.D.I.openApplication("note")
  2726. } else if (e.data.tools && e.data.tools == "3") {
  2727. // U.MD.D.I.openApplication("mind")
  2728. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2729. } else if (e.data.tools && e.data.tools == "4") {
  2730. U.MD.D.I.openApplication("investigation")
  2731. } else if (e.data.tools && e.data.tools == "6") {
  2732. // U.MD.D.I.openApplication("doc")
  2733. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2734. } else if (e.data.tools && e.data.tools == "7") {
  2735. // U.MD.D.I.openApplication("mindNetwork")
  2736. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2737. } else if (e.data.tools && e.data.tools == "8") {
  2738. U.MD.D.I.openApplication("library")
  2739. } else if (e.data.tools && e.data.tools == "17") {
  2740. U.MD.D.I.openApplication("stuLibrary")
  2741. } else if (e.data.tools && e.data.tools == "18") {
  2742. U.MD.D.I.openApplication("train")
  2743. } else if (e.data.tools && e.data.tools == "21") {
  2744. U.MD.D.I.openApplication("program")
  2745. } else if (e.data.tools && e.data.tools == "22") {
  2746. U.MD.D.I.openApplication("AIprogram2")
  2747. } else if (e.data.tools && e.data.tools == "23") {
  2748. U.MD.D.I.openApplication("Pythonprogram")
  2749. } else if (e.data.tools && e.data.tools == "24") {
  2750. U.MD.D.I.openApplication("AIprogram")
  2751. } else if (e.data.tools && e.data.tools == "25") {
  2752. U.MD.D.I.openApplication("sys")
  2753. } else if (e.data.tools && e.data.tools == "26") {
  2754. // U.MD.D.I.openApplication("courseDesign")
  2755. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2756. } else if (e.data.tools && e.data.tools == "31") {
  2757. U.MD.D.I.openApplication("netWorkPanel")
  2758. } else if (e.data.tools && e.data.tools == "32") {
  2759. U.MD.D.I.openApplication("codeEdit")
  2760. } else if (e.data.tools && e.data.tools == "57") {
  2761. U.MD.D.I.openApplication("CocoPi")
  2762. } else if (e.data.tools && e.data.tools == "63") {
  2763. U.MD.D.I.openApplication("Wood")
  2764. } else if (e.data.tools && e.data.tools == "58") {
  2765. U.MD.D.I.openApplication("car")
  2766. } else if (e.data.tools && e.data.tools == "59") {
  2767. U.MD.D.I.openApplication("lineSearch")
  2768. } else if (e.data.tools && e.data.tools == "60") {
  2769. U.MD.D.I.openApplication("deepLearning")
  2770. } else if (e.data.tools && e.data.tools == "61") {
  2771. U.MD.D.I.openApplication("allHistory")
  2772. } else if (e.data.tools && e.data.tools == "28") {
  2773. U.MD.D.I.openApplication("translation")
  2774. } else if (e.data.tools && e.data.tools == "37") {
  2775. U.MD.D.I.openApplication("mohe")
  2776. } else if (e.data.tools && e.data.tools == "38") {
  2777. U.MD.D.I.openApplication("24game")
  2778. } else if (e.data.tools && e.data.tools == "39") {
  2779. U.MD.D.I.openApplication("GeoGebra")
  2780. } else if (e.data.tools && e.data.tools == "43") {
  2781. U.MD.D.I.openApplication("studentEvaluate")
  2782. } else if (e.data.tools && e.data.tools == "44") {
  2783. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2784. } else if (e.data.tools && e.data.tools == "46") {
  2785. U.MD.D.I.openApplication("project")
  2786. } else if (e.data.tools && e.data.tools == "1s") {
  2787. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2788. } else if (e.data.tools && e.data.tools == "3s") {
  2789. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2790. } else if (e.data.tools && e.data.tools == "6s") {
  2791. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2792. } else if (e.data.tools && e.data.tools == "1studio") {
  2793. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2794. } else if (e.data.tools && e.data.tools == "3studio") {
  2795. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2796. } else if (e.data.tools && e.data.tools == "6studio") {
  2797. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2798. } else if (e.data.tools && e.data.tools == "3y") {
  2799. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2800. } else if (e.data.tools && e.data.tools == "1y") {
  2801. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2802. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2803. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2804. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2805. U.MD.D.I.openApplication("AIAnalyse")
  2806. } else if (e.data.tools && e.data.tools == "1teacher") {
  2807. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2808. } else if (e.data.tools && e.data.tools == "3teacher") {
  2809. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2810. } else if (e.data.tools && e.data.tools == "7teacher") {
  2811. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2812. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2813. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2814. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2815. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2816. } else if (e.data.tools && e.data.tools == "1E") {
  2817. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2818. } else if (e.data.tools && e.data.tools == "3E") {
  2819. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2820. } else if (e.data.tools && e.data.tools == "57y") {
  2821. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2822. } else if (e.data.tools && e.data.tools == "57u") {
  2823. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2824. } else if (e.data.tools && e.data.tools == "57teacher") {
  2825. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2826. } else if (e.data.tools && e.data.tools == "64") {
  2827. U.MD.D.I.openApplication("AIChat")
  2828. } else if (e.data.tools && e.data.tools == "66") {
  2829. U.MD.D.I.openApplication("formulaEdi")
  2830. } else if (e.data.tools && e.data.tools == "67") {
  2831. U.MD.D.I.openApplication("molStr")
  2832. } else if (e.data.tools && e.data.tools == "68") {
  2833. U.MD.D.I.openApplication("timeAxis")
  2834. } else if (e.data.tools && e.data.tools == "openCourse") {
  2835. let _data = {
  2836. typea: e.data.typea || '',
  2837. typeb: e.data.typeb || '',
  2838. typed: e.data.typed || '',
  2839. }
  2840. U.MD.D.I.openInApplication("index", _data)
  2841. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2842. let _data = {
  2843. classid: e.data.classid || '',
  2844. }
  2845. U.MD.D.I.openInApplication("dataClass", _data)
  2846. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2847. let _data = {
  2848. cid: e.data.cid || '',
  2849. gid: e.data.gid || '',
  2850. }
  2851. U.MD.D.I.openInApplication("opencCscl", _data)
  2852. }
  2853. });
  2854. U.MD.D.I.selectUser = function () {
  2855. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2856. if (res.value[0].length > 0) {
  2857. US.userInfo = res.value[0][0];
  2858. $(".userName")[0].innerHTML = US.userInfo.username;
  2859. }
  2860. }, [], { "type": "GET", "withCredentials": true });
  2861. }
  2862. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2863. var _userinfo = US.userInfo, //登录用户信息
  2864. _userid = US.userInfo.userid, //登录用户id
  2865. _oid = _userinfo.organizeid,
  2866. _type = US.userInfo.type,
  2867. _org = US.userInfo.org,
  2868. _role = US.userInfo.role,
  2869. _classId = US.userInfo.classid;
  2870. if (_type == 4) {
  2871. tType = 4
  2872. }
  2873. switch (str) {
  2874. case "studyDetailNT": //无终端模式
  2875. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2876. setTimeout(() => {
  2877. U.MD.U.L.login();
  2878. }, 2000);
  2879. } else {
  2880. _formdiv = new U.UF.UI.form(
  2881. "课程详情",
  2882. $$("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 }), {
  2883. "id": "studyDetailNT",
  2884. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2885. "onresize": function () { }
  2886. }, {
  2887. closecallback: function () { }
  2888. }, { "style": { "height": "36px" } }).form; //创建窗体
  2889. _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); } }
  2890. break;
  2891. }
  2892. case "studyDetail":
  2893. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2894. setTimeout(() => {
  2895. U.MD.U.L.login();
  2896. }, 2000);
  2897. } else {
  2898. _formdiv = new U.UF.UI.form(
  2899. "课程详情",
  2900. $$("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 }), {
  2901. "id": "studyDetail",
  2902. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2903. "onresize": function () { }
  2904. }, {
  2905. closecallback: function () { }
  2906. }, { "style": { "height": "36px" } }).form; //创建窗体
  2907. _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); } }
  2908. break;
  2909. }
  2910. case "studyDetailTrain":
  2911. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2912. setTimeout(() => {
  2913. U.MD.U.L.login();
  2914. }, 2000);
  2915. } else {
  2916. _formdiv = new U.UF.UI.form(
  2917. "培训详情",
  2918. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailTrain?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2919. "id": "studyDetailTrain",
  2920. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2921. "onresize": function () { }
  2922. }, {
  2923. closecallback: function () { }
  2924. }, { "style": { "height": "36px" } }).form; //创建窗体
  2925. _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); } }
  2926. break;
  2927. }
  2928. case "studyDetailS":
  2929. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2930. setTimeout(() => {
  2931. U.MD.U.L.login();
  2932. }, 2000);
  2933. } else {
  2934. _formdiv = new U.UF.UI.form(
  2935. "项目详情",
  2936. $$("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 }), {
  2937. "id": "studyDetailS",
  2938. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2939. "onresize": function () { }
  2940. }, {
  2941. closecallback: function () { }
  2942. }, { "style": { "height": "36px" } }).form; //创建窗体
  2943. _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); } }
  2944. break;
  2945. }
  2946. case "studyDetailStudio":
  2947. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2948. setTimeout(() => {
  2949. U.MD.U.L.login();
  2950. }, 2000);
  2951. } else {
  2952. _formdiv = new U.UF.UI.form(
  2953. "工作详情",
  2954. $$("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 }), {
  2955. "id": "studyDetailStudio",
  2956. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2957. "onresize": function () { }
  2958. }, {
  2959. closecallback: function () { }
  2960. }, { "style": { "height": "36px" } }).form; //创建窗体
  2961. _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); } }
  2962. break;
  2963. }
  2964. case "studyDetailS5":
  2965. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2966. setTimeout(() => {
  2967. U.MD.U.L.login();
  2968. }, 2000);
  2969. } else {
  2970. _formdiv = new U.UF.UI.form(
  2971. "项目详情",
  2972. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studyStudentS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2973. "id": "studyDetailS",
  2974. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2975. "onresize": function () { }
  2976. }, {
  2977. closecallback: function () { }
  2978. }, { "style": { "height": "36px" } }).form; //创建窗体
  2979. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2980. break;
  2981. }
  2982. case "studyDetailGM":
  2983. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2984. setTimeout(() => {
  2985. U.MD.U.L.login();
  2986. }, 2000);
  2987. } else {
  2988. _formdiv = new U.UF.UI.form(
  2989. "课程详情",
  2990. $$("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 }), {
  2991. "id": "studyDetail",
  2992. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2993. "onresize": function () { }
  2994. }, {
  2995. closecallback: function () { }
  2996. }, { "style": { "height": "36px" } }).form; //创建窗体
  2997. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2998. break;
  2999. }
  3000. case "hanUrl":
  3001. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3002. setTimeout(() => {
  3003. U.MD.U.L.login();
  3004. }, 2000);
  3005. } else {
  3006. _formdiv = new U.UF.UI.form(
  3007. "汉字宫",
  3008. $$("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" }), {
  3009. "id": "hanUrl",
  3010. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3011. "onresize": function () { }
  3012. }, {
  3013. closecallback: function () { }
  3014. }, { "style": { "height": "36px" } }).form; //创建窗体
  3015. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3016. break;
  3017. }
  3018. case "index":
  3019. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3020. setTimeout(() => {
  3021. U.MD.U.L.login();
  3022. }, 2000);
  3023. } else {
  3024. _formdiv = new U.UF.UI.form(
  3025. "课程中心",
  3026. $$("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 }), {
  3027. "id": "study",
  3028. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3029. "onresize": function () { }
  3030. }, {
  3031. closecallback: function () { }
  3032. }, { "style": { "height": "36px" } }).form; //创建窗体
  3033. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3034. break;
  3035. }
  3036. case "dataClass":
  3037. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3038. setTimeout(() => {
  3039. U.MD.U.L.login();
  3040. }, 2000);
  3041. } else {
  3042. _formdiv = new U.UF.UI.form(
  3043. "数据报告",
  3044. $$("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 }), {
  3045. "id": "dataClass",
  3046. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3047. "onresize": function () { }
  3048. }, {
  3049. closecallback: function () { }
  3050. }, { "style": { "height": "36px" } }).form; //创建窗体
  3051. _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); } }
  3052. break;
  3053. }
  3054. case "opencCscl":
  3055. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3056. setTimeout(() => {
  3057. U.MD.U.L.login();
  3058. }, 2000);
  3059. } else {
  3060. _formdiv = new U.UF.UI.form(
  3061. "协同建构",
  3062. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  3063. "id": "futureClass",
  3064. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3065. "onresize": function () { }
  3066. }, {
  3067. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3068. }, { "style": { "height": "36px" } }).form; //创建窗体
  3069. _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); } }
  3070. break;
  3071. }
  3072. }
  3073. }
  3074. U.MD.D.I.openApplication = function (str, obj, info) {
  3075. obj = obj || {};
  3076. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3077. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3078. _userinfo = US.userInfo, //登录用户信息
  3079. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3080. _oid = obj.organizeid || _userinfo.organizeid,
  3081. _type = US.userInfo.type,
  3082. _org = US.userInfo.org,
  3083. _role = US.userInfo.role,
  3084. _classId = US.userInfo.classid,
  3085. _TscreenType = 1
  3086. _screenType = 2,
  3087. _SscreenType = 3;
  3088. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3089. return;
  3090. }
  3091. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3092. switch (str) {
  3093. case "studnetProject": //好友打开
  3094. _formdiv = new U.UF.UI.form(
  3095. "我的项目",
  3096. $$("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 }), {
  3097. "id": "studnetProject",
  3098. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3099. "onresize": function () { }
  3100. }, {
  3101. closecallback: function () { }
  3102. }, { "style": { "height": "36px" } }).form; //创建窗体
  3103. _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); } }
  3104. break;
  3105. case "studentEvaluate": //好友打开
  3106. _formdiv = new U.UF.UI.form(
  3107. "我的评价",
  3108. $$("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 }), {
  3109. "id": "studentEvaluate",
  3110. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3111. "onresize": function () { }
  3112. }, {
  3113. closecallback: function () { }
  3114. }, { "style": { "height": "36px" } }).form; //创建窗体
  3115. _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); } }
  3116. break;
  3117. case "my":
  3118. _formdiv = new U.UF.UI.form(
  3119. "我的资料",
  3120. $$("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 }), {
  3121. "id": "my",
  3122. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3123. "onresize": function () { }
  3124. }, {
  3125. closecallback: function () { }
  3126. }, { "style": { "height": "36px" } }).form; //创建窗体
  3127. _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); } }
  3128. break;
  3129. case "program":
  3130. _formdiv = new U.UF.UI.form(
  3131. "编程平台",
  3132. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3133. "id": "program",
  3134. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3135. "onresize": function () { }
  3136. }, {
  3137. closecallback: function () { }
  3138. }, { "style": { "height": "36px" } }).form; //创建窗体
  3139. _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); } }
  3140. break;
  3141. case "library":
  3142. _formdiv = new U.UF.UI.form(
  3143. "素材库",
  3144. $$("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 }), {
  3145. "id": "library",
  3146. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3147. "onresize": function () { }
  3148. }, {
  3149. closecallback: function () { }
  3150. }, { "style": { "height": "36px" } }).form; //创建窗体
  3151. _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); } }
  3152. break;
  3153. case "whiteboard":
  3154. _formdiv = new U.UF.UI.form(
  3155. "电子白板",
  3156. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3157. "id": "whiteboard",
  3158. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3159. "onresize": function () { }
  3160. }, {
  3161. closecallback: function () { }
  3162. }, { "style": { "height": "36px" } }).form; //创建窗体
  3163. _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); } }
  3164. break;
  3165. case "investigation":
  3166. _formdiv = new U.UF.UI.form(
  3167. "问卷调查",
  3168. $$("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 }), {
  3169. "id": "investigation",
  3170. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3171. "onresize": function () { }
  3172. }, {
  3173. closecallback: function () { }
  3174. }, { "style": { "height": "36px" } }).form; //创建窗体
  3175. _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); } }
  3176. break;
  3177. case "note":
  3178. _formdiv = new U.UF.UI.form(
  3179. "便签分类",
  3180. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3181. "id": "note",
  3182. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3183. "onresize": function () { }
  3184. }, {
  3185. closecallback: function () { }
  3186. }, { "style": { "height": "36px" } }).form; //创建窗体
  3187. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3188. break;
  3189. // case "score":
  3190. // _formdiv = new U.UF.UI.form(
  3191. // "量规评分",
  3192. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3193. // "id": "score",
  3194. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3195. // "onresize": function() {}
  3196. // }, {
  3197. // closecallback: function() {}
  3198. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3199. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3200. // break;
  3201. case "mind":
  3202. _formdiv = new U.UF.UI.form(
  3203. "思维导图",
  3204. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3205. "id": "mind",
  3206. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3207. "onresize": function () { }
  3208. }, {
  3209. closecallback: function () { }
  3210. }, { "style": { "height": "36px" } }).form; //创建窗体
  3211. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3212. break;
  3213. case "doc":
  3214. // U.MD.D.I.isRoom();
  3215. _formdiv = new U.UF.UI.form(
  3216. "协同文档",
  3217. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3218. "id": "doc",
  3219. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3220. "onresize": function () { }
  3221. }, {
  3222. closecallback: function () { }
  3223. }, { "style": { "height": "36px" } }).form; //创建窗体
  3224. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3225. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3226. // })
  3227. _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); } }
  3228. break;
  3229. case "studentStudy":
  3230. _formdiv = new U.UF.UI.form(
  3231. "课程中心",
  3232. $$("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
  3233. "id": "studentStudy",
  3234. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3235. "onresize": function () { }
  3236. }, {
  3237. closecallback: function () { }
  3238. }, { "style": { "height": "36px" } }).form; //创建窗体
  3239. _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); } }
  3240. break;
  3241. case "train": //好友打开
  3242. _formdiv = new U.UF.UI.form(
  3243. "训练平台",
  3244. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3245. "id": "train",
  3246. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3247. "onresize": function () { }
  3248. }, {
  3249. closecallback: function () { }
  3250. }, { "style": { "height": "36px" } }).form; //创建窗体
  3251. _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); } }
  3252. break;
  3253. case "mindNetwork": //好友打开
  3254. _formdiv = new U.UF.UI.form(
  3255. "思维网格",
  3256. $$("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 }), {
  3257. "id": "mindNetwork",
  3258. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3259. "onresize": function () { }
  3260. }, {
  3261. closecallback: function () { }
  3262. }, { "style": { "height": "36px" } }).form; //创建窗体
  3263. _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); } }
  3264. break;
  3265. case "studentClassRoom": //好友打开
  3266. _formdiv = new U.UF.UI.form(
  3267. "实时课堂",
  3268. $$("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 }), {
  3269. "id": "studentClassRoom",
  3270. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3271. "onresize": function () { }
  3272. }, {
  3273. closecallback: function () { }
  3274. }, { "style": { "height": "36px" } }).form; //创建窗体
  3275. _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); } }
  3276. setTimeout(() => {
  3277. U.UF.F.windowZooming(_formdiv)
  3278. }, 0);
  3279. break;
  3280. }
  3281. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3282. switch (str) {
  3283. case "studnetProject": //好友打开
  3284. _formdiv = new U.UF.UI.form(
  3285. "我的项目",
  3286. $$("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 }), {
  3287. "id": "studnetProject",
  3288. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3289. "onresize": function () { }
  3290. }, {
  3291. closecallback: function () { }
  3292. }, { "style": { "height": "36px" } }).form; //创建窗体
  3293. _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); } }
  3294. break;
  3295. case "studentEvaluate": //好友打开
  3296. _formdiv = new U.UF.UI.form(
  3297. "我的评价",
  3298. $$("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 }), {
  3299. "id": "studentEvaluate",
  3300. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3301. "onresize": function () { }
  3302. }, {
  3303. closecallback: function () { }
  3304. }, { "style": { "height": "36px" } }).form; //创建窗体
  3305. _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); } }
  3306. break;
  3307. case "my":
  3308. _formdiv = new U.UF.UI.form(
  3309. "我的资料",
  3310. $$("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 }), {
  3311. "id": "my",
  3312. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3313. "onresize": function () { }
  3314. }, {
  3315. closecallback: function () { }
  3316. }, { "style": { "height": "36px" } }).form; //创建窗体
  3317. _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); } }
  3318. break;
  3319. case "program":
  3320. _formdiv = new U.UF.UI.form(
  3321. "编程平台",
  3322. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3323. "id": "program",
  3324. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3325. "onresize": function () { }
  3326. }, {
  3327. closecallback: function () { }
  3328. }, { "style": { "height": "36px" } }).form; //创建窗体
  3329. _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); } }
  3330. break;
  3331. case "library":
  3332. _formdiv = new U.UF.UI.form(
  3333. "素材库",
  3334. $$("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 }), {
  3335. "id": "library",
  3336. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3337. "onresize": function () { }
  3338. }, {
  3339. closecallback: function () { }
  3340. }, { "style": { "height": "36px" } }).form; //创建窗体
  3341. _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); } }
  3342. break;
  3343. case "whiteboard":
  3344. _formdiv = new U.UF.UI.form(
  3345. "电子白板",
  3346. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3347. "id": "whiteboard",
  3348. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3349. "onresize": function () { }
  3350. }, {
  3351. closecallback: function () { }
  3352. }, { "style": { "height": "36px" } }).form; //创建窗体
  3353. _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); } }
  3354. break;
  3355. case "investigation":
  3356. _formdiv = new U.UF.UI.form(
  3357. "问卷调查",
  3358. $$("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 }), {
  3359. "id": "investigation",
  3360. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3361. "onresize": function () { }
  3362. }, {
  3363. closecallback: function () { }
  3364. }, { "style": { "height": "36px" } }).form; //创建窗体
  3365. _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); } }
  3366. break;
  3367. case "note":
  3368. _formdiv = new U.UF.UI.form(
  3369. "便签分类",
  3370. $$("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 }), {
  3371. "id": "note",
  3372. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3373. "onresize": function () { }
  3374. }, {
  3375. closecallback: function () { }
  3376. }, { "style": { "height": "36px" } }).form; //创建窗体
  3377. _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); } }
  3378. break;
  3379. // case "score":
  3380. // _formdiv = new U.UF.UI.form(
  3381. // "量规评分",
  3382. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3383. // "id": "score",
  3384. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3385. // "onresize": function() {}
  3386. // }, {
  3387. // closecallback: function() {}
  3388. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3389. // _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); } }
  3390. // break;
  3391. case "mind":
  3392. _formdiv = new U.UF.UI.form(
  3393. "思维导图",
  3394. $$("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"
  3395. "id": "mind",
  3396. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3397. "onresize": function () { }
  3398. }, {
  3399. closecallback: function () { }
  3400. }, { "style": { "height": "36px" } }).form; //创建窗体
  3401. _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); } }
  3402. break;
  3403. case "doc":
  3404. // U.MD.D.I.isRoom();
  3405. _formdiv = new U.UF.UI.form(
  3406. "协同文档",
  3407. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3408. "id": "doc",
  3409. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3410. "onresize": function () { }
  3411. }, {
  3412. closecallback: function () { }
  3413. }, { "style": { "height": "36px" } }).form; //创建窗体
  3414. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3415. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3416. })
  3417. _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); } }
  3418. break;
  3419. case "train": //好友打开
  3420. _formdiv = new U.UF.UI.form(
  3421. "训练平台",
  3422. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3423. "id": "train",
  3424. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3425. "onresize": function () { }
  3426. }, {
  3427. closecallback: function () { }
  3428. }, { "style": { "height": "36px" } }).form; //创建窗体
  3429. _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); } }
  3430. break;
  3431. case "studentStudy":
  3432. _formdiv = new U.UF.UI.form(
  3433. "课程中心",
  3434. $$("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
  3435. "id": "studentStudy",
  3436. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3437. "onresize": function () { }
  3438. }, {
  3439. closecallback: function () { }
  3440. }, { "style": { "height": "36px" } }).form; //创建窗体
  3441. _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); } }
  3442. break;
  3443. case "mindNetwork": //好友打开
  3444. _formdiv = new U.UF.UI.form(
  3445. "思维网格",
  3446. $$("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 }), {
  3447. "id": "mindNetwork",
  3448. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3449. "onresize": function () { }
  3450. }, {
  3451. closecallback: function () { }
  3452. }, { "style": { "height": "36px" } }).form; //创建窗体
  3453. _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); } }
  3454. break;
  3455. case "studentClassRoom": //好友打开
  3456. _formdiv = new U.UF.UI.form(
  3457. "实时课堂",
  3458. $$("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 }), {
  3459. "id": "studentClassRoom",
  3460. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3461. "onresize": function () { }
  3462. }, {
  3463. closecallback: function () { }
  3464. }, { "style": { "height": "36px" } }).form; //创建窗体
  3465. _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); } }
  3466. setTimeout(() => {
  3467. U.UF.F.windowZooming(_formdiv)
  3468. }, 0);
  3469. break;
  3470. }
  3471. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3472. //选择应用处理
  3473. switch (str) {
  3474. case "project": //好友打开
  3475. _formdiv = new U.UF.UI.form(
  3476. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3477. $$("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 }), {
  3478. "id": "project",
  3479. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3480. "onresize": function () { }
  3481. }, {
  3482. closecallback: function () { }
  3483. }, { "style": { "height": "36px" } }).form; //创建窗体
  3484. _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); } }
  3485. break;
  3486. case "student":
  3487. _formdiv = new U.UF.UI.form(
  3488. "学生管理",
  3489. $$("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 }), {
  3490. "id": "student",
  3491. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3492. "onresize": function () { }
  3493. }, {
  3494. closecallback: function () { }
  3495. }, { "style": { "height": "36px" } }).form; //创建窗体
  3496. _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); } }
  3497. break;
  3498. case "evaluate":
  3499. _formdiv = new U.UF.UI.form(
  3500. "学生评价",
  3501. $$("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 }), {
  3502. "id": "evaluate",
  3503. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3504. "onresize": function () { }
  3505. }, {
  3506. closecallback: function () { }
  3507. }, { "style": { "height": "36px" } }).form; //创建窗体
  3508. _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); } }
  3509. break;
  3510. case "sys":
  3511. _formdiv = new U.UF.UI.form(
  3512. "目标管理",
  3513. $$("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 }), {
  3514. "id": "sys",
  3515. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3516. "onresize": function () { }
  3517. }, {
  3518. closecallback: function () { }
  3519. }, { "style": { "height": "36px" } }).form; //创建窗体
  3520. _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); } }
  3521. break;
  3522. case "courseDesign":
  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": "/course-design-vue" }), {
  3526. "id": "courseDesign",
  3527. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3528. "onresize": function () { }
  3529. }, {
  3530. closecallback: function () { }
  3531. }, { "style": { "height": "36px" } }).form; //创建窗体
  3532. _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); } }
  3533. break;
  3534. case "program":
  3535. _formdiv = new U.UF.UI.form(
  3536. "编程平台",
  3537. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3538. "id": "program",
  3539. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3540. "onresize": function () { }
  3541. }, {
  3542. closecallback: function () { }
  3543. }, { "style": { "height": "36px" } }).form; //创建窗体
  3544. _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); } }
  3545. break;
  3546. case "class":
  3547. _formdiv = new U.UF.UI.form(
  3548. "班级管理",
  3549. $$("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 }), {
  3550. "id": "class",
  3551. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3552. "onresize": function () { }
  3553. }, {
  3554. closecallback: function () { }
  3555. }, { "style": { "height": "36px" } }).form; //创建窗体
  3556. _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); } }
  3557. break;
  3558. case "Grade":
  3559. _formdiv = new U.UF.UI.form(
  3560. "年级管理",
  3561. $$("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 }), {
  3562. "id": "Grade",
  3563. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3564. "onresize": function () { }
  3565. }, {
  3566. closecallback: function () { }
  3567. }, { "style": { "height": "36px" } }).form; //创建窗体
  3568. _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); } }
  3569. break;
  3570. case "teacherOffice":
  3571. _formdiv = new U.UF.UI.form(
  3572. "教研室",
  3573. $$("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 }), {
  3574. "id": "teacherOffice",
  3575. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3576. "onresize": function () { }
  3577. }, {
  3578. closecallback: function () { }
  3579. }, { "style": { "height": "36px" } }).form; //创建窗体
  3580. _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); } }
  3581. break;
  3582. case "my":
  3583. _formdiv = new U.UF.UI.form(
  3584. "我的资料",
  3585. $$("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 }), {
  3586. "id": "my",
  3587. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3588. "onresize": function () { }
  3589. }, {
  3590. closecallback: function () { }
  3591. }, { "style": { "height": "36px" } }).form; //创建窗体
  3592. _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); } }
  3593. break;
  3594. case "notice":
  3595. _formdiv = new U.UF.UI.form(
  3596. "通知公告",
  3597. $$("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 }), {
  3598. "id": "notice",
  3599. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3600. "onresize": function () { }
  3601. }, {
  3602. closecallback: function () { }
  3603. }, { "style": { "height": "36px" } }).form; //创建窗体
  3604. _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); } }
  3605. break;
  3606. case "library":
  3607. _formdiv = new U.UF.UI.form(
  3608. "素材库",
  3609. $$("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 }), {
  3610. "id": "library",
  3611. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3612. "onresize": function () { }
  3613. }, {
  3614. closecallback: function () { }
  3615. }, { "style": { "height": "36px" } }).form; //创建窗体
  3616. _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); } }
  3617. break;
  3618. case "whiteboard":
  3619. _formdiv = new U.UF.UI.form(
  3620. "电子白板",
  3621. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3622. "id": "whiteboard",
  3623. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3624. "onresize": function () { }
  3625. }, {
  3626. closecallback: function () { }
  3627. }, { "style": { "height": "36px" } }).form; //创建窗体
  3628. _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); } }
  3629. break;
  3630. case "investigation":
  3631. _formdiv = new U.UF.UI.form(
  3632. "问卷调查",
  3633. $$("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 }), {
  3634. "id": "investigation",
  3635. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3636. "onresize": function () { }
  3637. }, {
  3638. closecallback: function () { }
  3639. }, { "style": { "height": "36px" } }).form; //创建窗体
  3640. _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); } }
  3641. break;
  3642. case "note":
  3643. _formdiv = new U.UF.UI.form(
  3644. "便签分类",
  3645. $$("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 }), {
  3646. "id": "note",
  3647. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3648. "onresize": function () { }
  3649. }, {
  3650. closecallback: function () { }
  3651. }, { "style": { "height": "36px" } }).form; //创建窗体
  3652. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3653. break;
  3654. // case "score":
  3655. // _formdiv = new U.UF.UI.form(
  3656. // "量规评分",
  3657. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3658. // "id": "score",
  3659. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3660. // "onresize": function() {}
  3661. // }, {
  3662. // closecallback: function() {}
  3663. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3664. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3665. // break;
  3666. case "mind":
  3667. _formdiv = new U.UF.UI.form(
  3668. "思维导图",
  3669. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3670. "id": "mind",
  3671. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3672. "onresize": function () { }
  3673. }, {
  3674. closecallback: function () { }
  3675. }, { "style": { "height": "36px" } }).form; //创建窗体
  3676. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3677. break;
  3678. case "doc":
  3679. // U.MD.D.I.isRoom();
  3680. _formdiv = new U.UF.UI.form(
  3681. "协同文档",
  3682. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3683. "id": "doc",
  3684. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3685. "onresize": function () { }
  3686. }, {
  3687. closecallback: function () { }
  3688. }, { "style": { "height": "36px" } }).form; //创建窗体
  3689. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3690. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3691. })
  3692. _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); } }
  3693. break;
  3694. case "study":
  3695. _formdiv = new U.UF.UI.form(
  3696. "课程中心",
  3697. $$("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
  3698. "id": "study",
  3699. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3700. "onresize": function () { }
  3701. }, {
  3702. closecallback: function () { }
  3703. }, { "style": { "height": "36px" } }).form; //创建窗体
  3704. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3705. break;
  3706. case "mindNetwork": //好友打开
  3707. _formdiv = new U.UF.UI.form(
  3708. "思维网格",
  3709. $$("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 }), {
  3710. "id": "mindNetwork",
  3711. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3712. "onresize": function () { }
  3713. }, {
  3714. closecallback: function () { }
  3715. }, { "style": { "height": "36px" } }).form; //创建窗体
  3716. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3717. break;
  3718. case "train": //好友打开
  3719. _formdiv = new U.UF.UI.form(
  3720. "训练平台",
  3721. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3722. "id": "mindNetwork",
  3723. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3724. "onresize": function () { }
  3725. }, {
  3726. closecallback: function () { }
  3727. }, { "style": { "height": "36px" } }).form; //创建窗体
  3728. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3729. break;
  3730. case "teacherClassRoom": //好友打开
  3731. _formdiv = new U.UF.UI.form(
  3732. "实时课堂",
  3733. $$("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 }), {
  3734. "id": "teacherClassRoom",
  3735. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3736. "onresize": function () { }
  3737. }, {
  3738. closecallback: function () { }
  3739. }, { "style": { "height": "36px" } }).form; //创建窗体
  3740. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3741. setTimeout(() => {
  3742. U.UF.F.windowZooming(_formdiv)
  3743. }, 0);
  3744. break;
  3745. }
  3746. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3747. switch (str) {
  3748. case "project": //好友打开
  3749. _formdiv = new U.UF.UI.form(
  3750. "课程管理",
  3751. $$("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 }), {
  3752. "id": "project",
  3753. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3754. "onresize": function () { }
  3755. }, {
  3756. closecallback: function () { }
  3757. }, { "style": { "height": "36px" } }).form; //创建窗体
  3758. _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); } }
  3759. break;
  3760. case "evaluate":
  3761. _formdiv = new U.UF.UI.form(
  3762. "学生评价",
  3763. $$("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 }), {
  3764. "id": "evaluate",
  3765. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3766. "onresize": function () { }
  3767. }, {
  3768. closecallback: function () { }
  3769. }, { "style": { "height": "36px" } }).form; //创建窗体
  3770. _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); } }
  3771. break;
  3772. case "notice":
  3773. _formdiv = new U.UF.UI.form(
  3774. "通知公告",
  3775. $$("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 }), {
  3776. "id": "notice",
  3777. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3778. "onresize": function () { }
  3779. }, {
  3780. closecallback: function () { }
  3781. }, { "style": { "height": "36px" } }).form; //创建窗体
  3782. _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); } }
  3783. break;
  3784. case "stuLibrary":
  3785. _formdiv = new U.UF.UI.form(
  3786. "学习资料",
  3787. $$("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 }), {
  3788. "id": "stuLibrary",
  3789. "style": { "width": "90%", "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/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3795. break;
  3796. case "program":
  3797. _formdiv = new U.UF.UI.form(
  3798. "编程平台",
  3799. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3800. "id": "program",
  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/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3807. break;
  3808. case "whiteboard":
  3809. _formdiv = new U.UF.UI.form(
  3810. "电子白板",
  3811. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3812. "id": "whiteboard",
  3813. "style": { "width": "90%", "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/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3819. break;
  3820. case "investigation":
  3821. _formdiv = new U.UF.UI.form(
  3822. "问卷调查",
  3823. $$("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 }), {
  3824. "id": "investigation",
  3825. "style": { "width": "90%", "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/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3831. break;
  3832. case "mind":
  3833. _formdiv = new U.UF.UI.form(
  3834. "思维导图",
  3835. $$("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"
  3836. "id": "mind",
  3837. "style": { "width": "90%", "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/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3843. break;
  3844. case "doc":
  3845. // U.MD.D.I.isRoom();
  3846. _formdiv = new U.UF.UI.form(
  3847. "协同文档",
  3848. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3849. "id": "doc",
  3850. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3851. "onresize": function () { }
  3852. }, {
  3853. closecallback: function () { }
  3854. }, { "style": { "height": "36px" } }).form; //创建窗体
  3855. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3856. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3857. })
  3858. _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); } }
  3859. break;
  3860. case "study":
  3861. _formdiv = new U.UF.UI.form(
  3862. "课程中心",
  3863. $$("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
  3864. "id": "study",
  3865. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3866. "onresize": function () { }
  3867. }, {
  3868. closecallback: function () { }
  3869. }, { "style": { "height": "36px" } }).form; //创建窗体
  3870. _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); } }
  3871. break;
  3872. case "mindNetwork": //好友打开
  3873. _formdiv = new U.UF.UI.form(
  3874. "思维网格",
  3875. $$("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 }), {
  3876. "id": "mindNetwork",
  3877. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3878. "onresize": function () { }
  3879. }, {
  3880. closecallback: function () { }
  3881. }, { "style": { "height": "36px" } }).form; //创建窗体
  3882. _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); } }
  3883. break;
  3884. case "train": //好友打开
  3885. _formdiv = new U.UF.UI.form(
  3886. "训练平台",
  3887. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3888. "id": "train",
  3889. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3890. "onresize": function () { }
  3891. }, {
  3892. closecallback: function () { }
  3893. }, { "style": { "height": "36px" } }).form; //创建窗体
  3894. _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); } }
  3895. break;
  3896. case "sys":
  3897. _formdiv = new U.UF.UI.form(
  3898. "目标管理",
  3899. $$("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 }), {
  3900. "id": "sys",
  3901. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3902. "onresize": function () { }
  3903. }, {
  3904. closecallback: function () { }
  3905. }, { "style": { "height": "36px" } }).form; //创建窗体
  3906. _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); } }
  3907. break;
  3908. case "courseDesign":
  3909. _formdiv = new U.UF.UI.form(
  3910. "项目设计",
  3911. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3912. "id": "courseDesign",
  3913. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3914. "onresize": function () { }
  3915. }, {
  3916. closecallback: function () { }
  3917. }, { "style": { "height": "36px" } }).form; //创建窗体
  3918. _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); } }
  3919. break;
  3920. }
  3921. } else if (!_type) {
  3922. switch (str) {
  3923. case "my":
  3924. _formdiv = new U.UF.UI.form(
  3925. "我的资料",
  3926. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3927. "id": "my",
  3928. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3929. "onresize": function () { }
  3930. }, {
  3931. closecallback: function () { }
  3932. }, { "style": { "height": "36px" } }).form; //创建窗体
  3933. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3934. break;
  3935. }
  3936. }
  3937. switch (str) {
  3938. // AIprogram2 AI体验 aihub.cocorobo.cn
  3939. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3940. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3941. case "formulaEdi": //公式编辑
  3942. _formdiv = new U.UF.UI.form(
  3943. "公式编辑",
  3944. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3945. "id": "formulaEdi",
  3946. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3947. "onresize": function () { }
  3948. }, {
  3949. closecallback: function () { }
  3950. }, { "style": { "height": "36px" } }).form; //创建窗体
  3951. _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); } }
  3952. break;
  3953. case "molStr": //分子结构
  3954. _formdiv = new U.UF.UI.form(
  3955. "分子结构",
  3956. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3957. "id": "molStr",
  3958. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3959. "onresize": function () { }
  3960. }, {
  3961. closecallback: function () { }
  3962. }, { "style": { "height": "36px" } }).form; //创建窗体
  3963. _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); } }
  3964. break;
  3965. case "timeAxis": //时间轴
  3966. _formdiv = new U.UF.UI.form(
  3967. "时间轴",
  3968. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3969. "id": "timeAxis",
  3970. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3971. "onresize": function () { }
  3972. }, {
  3973. closecallback: function () { }
  3974. }, { "style": { "height": "36px" } }).form; //创建窗体
  3975. _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); } }
  3976. break;
  3977. case "AIprogram2": //AI体验
  3978. _formdiv = new U.UF.UI.form(
  3979. "AI体验",
  3980. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3981. "id": "AIprogram2",
  3982. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3983. "onresize": function () { }
  3984. }, {
  3985. closecallback: function () { }
  3986. }, { "style": { "height": "36px" } }).form; //创建窗体
  3987. _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); } }
  3988. break;
  3989. case "Pythonprogram": //python编程
  3990. _formdiv = new U.UF.UI.form(
  3991. "Python编程",
  3992. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3993. "id": "Pythonprogram",
  3994. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3995. "onresize": function () { }
  3996. }, {
  3997. closecallback: function () { }
  3998. }, { "style": { "height": "36px" } }).form; //创建窗体
  3999. _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); } }
  4000. break;
  4001. case "AIprogram": //ai编程
  4002. _formdiv = new U.UF.UI.form(
  4003. "AI编程平台",
  4004. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4005. "id": "AIprogram",
  4006. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4007. "onresize": function () { }
  4008. }, {
  4009. closecallback: function () { }
  4010. }, { "style": { "height": "36px" } }).form; //创建窗体
  4011. _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); } }
  4012. break;
  4013. case "CocoPi": //CocoPi
  4014. _formdiv = new U.UF.UI.form(
  4015. "CocoPi",
  4016. $$("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" }), {
  4017. "id": "CocoPi",
  4018. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4019. "onresize": function () { }
  4020. }, {
  4021. closecallback: function () { }
  4022. }, { "style": { "height": "36px" } }).form; //创建窗体
  4023. _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); } }
  4024. break;
  4025. case "Wood": //Wood
  4026. _formdiv = new U.UF.UI.form(
  4027. "海龟编程",
  4028. $$("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/" }), {
  4029. "id": "Wood",
  4030. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4031. "onresize": function () { }
  4032. }, {
  4033. closecallback: function () { }
  4034. }, { "style": { "height": "36px" } }).form; //创建窗体
  4035. _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); } }
  4036. break;
  4037. case "car": //模拟驾驶
  4038. _formdiv = new U.UF.UI.form(
  4039. "模拟驾驶",
  4040. $$("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/" }), {
  4041. "id": "car",
  4042. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4043. "onresize": function () { }
  4044. }, {
  4045. closecallback: function () { }
  4046. }, { "style": { "height": "36px" } }).form; //创建窗体
  4047. _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); } }
  4048. break;
  4049. case "lineSearch": //路径搜索
  4050. _formdiv = new U.UF.UI.form(
  4051. "路径搜索",
  4052. $$("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/" }), {
  4053. "id": "lineSearch",
  4054. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4055. "onresize": function () { }
  4056. }, {
  4057. closecallback: function () { }
  4058. }, { "style": { "height": "36px" } }).form; //创建窗体
  4059. _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); } }
  4060. break;
  4061. case "deepLearning": //深度学习
  4062. _formdiv = new U.UF.UI.form(
  4063. "深度学习",
  4064. $$("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/#" }), {
  4065. "id": "deepLearning",
  4066. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4067. "onresize": function () { }
  4068. }, {
  4069. closecallback: function () { }
  4070. }, { "style": { "height": "36px" } }).form; //创建窗体
  4071. _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); } }
  4072. break;
  4073. case "allHistory": //深度学习
  4074. _formdiv = new U.UF.UI.form(
  4075. "全历史",
  4076. $$("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/" }), {
  4077. "id": "allHistory",
  4078. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4079. "onresize": function () { }
  4080. }, {
  4081. closecallback: function () { }
  4082. }, { "style": { "height": "36px" } }).form; //创建窗体
  4083. _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); } }
  4084. break;
  4085. case "chatPDF": //ai编程
  4086. _formdiv = new U.UF.UI.form(
  4087. "chatPDF",
  4088. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4089. "id": "chatPDF",
  4090. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4091. "onresize": function () { }
  4092. }, {
  4093. closecallback: function () { }
  4094. }, { "style": { "height": "36px" } }).form; //创建窗体
  4095. _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); } }
  4096. break;
  4097. case "resources": //国家教育
  4098. _formdiv = new U.UF.UI.form(
  4099. "国家教育",
  4100. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4101. "id": "resources",
  4102. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4103. "onresize": function () { }
  4104. }, {
  4105. closecallback: function () { }
  4106. }, { "style": { "height": "36px" } }).form; //创建窗体
  4107. _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); } }
  4108. break;
  4109. case "codeEdit": //源码编辑
  4110. _formdiv = new U.UF.UI.form(
  4111. "源码编辑",
  4112. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4113. "id": "codeEdit",
  4114. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4115. "onresize": function () { }
  4116. }, {
  4117. closecallback: function () { }
  4118. }, { "style": { "height": "36px" } }).form; //创建窗体
  4119. _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); } }
  4120. break; //
  4121. case "MindMap": //MindMap
  4122. _formdiv = new U.UF.UI.form(
  4123. "MindMap",
  4124. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4125. "id": "MindMap",
  4126. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4127. "onresize": function () { }
  4128. }, {
  4129. closecallback: function () { }
  4130. }, { "style": { "height": "36px" } }).form; //创建窗体
  4131. _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); } }
  4132. break;
  4133. case "netWorkPanel": //netWorkPanel
  4134. _formdiv = new U.UF.UI.form(
  4135. "netWorkPanel",
  4136. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4137. "id": "netWorkPanel",
  4138. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4139. "onresize": function () { }
  4140. }, {
  4141. closecallback: function () { }
  4142. }, { "style": { "height": "36px" } }).form; //创建窗体
  4143. _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); } }
  4144. break;
  4145. case "GeoGebra": //GeoGebra
  4146. _formdiv = new U.UF.UI.form(
  4147. "GeoGebra",
  4148. $$("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" }), {
  4149. "id": "GeoGebra",
  4150. "style": { "width": "80%", "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/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4156. break;
  4157. case "translation": //翻译
  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": "//dict.youdao.com/" }), {
  4161. "id": "translation",
  4162. "style": { "width": "80%", "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/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4168. break;
  4169. case "mohe": //魔盒
  4170. _formdiv = new U.UF.UI.form(
  4171. "魔盒识字",
  4172. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4173. "id": "mohe",
  4174. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4175. "onresize": function () { }
  4176. }, {
  4177. closecallback: function () { }
  4178. }, { "style": { "height": "36px" } }).form; //创建窗体
  4179. _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); } }
  4180. break;
  4181. case "24game": //24点
  4182. _formdiv = new U.UF.UI.form(
  4183. "24点",
  4184. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4185. "id": "24game",
  4186. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4187. "onresize": function () { }
  4188. }, {
  4189. closecallback: function () { }
  4190. }, { "style": { "height": "36px" } }).form; //创建窗体
  4191. _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); } }
  4192. break;
  4193. case "case":
  4194. _formdiv = new U.UF.UI.form(
  4195. "课程进展",
  4196. $$("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 }), {
  4197. "id": "case",
  4198. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4199. "onresize": function () { }
  4200. }, {
  4201. closecallback: function () { }
  4202. }, { "style": { "height": "36px" } }).form; //创建窗体
  4203. _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); } }
  4204. break;
  4205. case "snf":
  4206. _formdiv = new U.UF.UI.form(
  4207. "赛诺梵",
  4208. $$("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" }), {
  4209. "id": "snf",
  4210. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4211. "onresize": function () { }
  4212. }, {
  4213. closecallback: function () { }
  4214. }, { "style": { "height": "36px" } }).form; //创建窗体
  4215. _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); } }
  4216. break;
  4217. case "hanFamily":
  4218. _formdiv = new U.UF.UI.form(
  4219. "汉字家族",
  4220. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4221. "id": "hanFamily",
  4222. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4223. "onresize": function () { }
  4224. }, {
  4225. closecallback: function () { }
  4226. }, { "style": { "height": "36px" } }).form; //创建窗体
  4227. _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); } }
  4228. break;
  4229. case "hanClassics":
  4230. _formdiv = new U.UF.UI.form(
  4231. "国学经典",
  4232. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4233. "id": "hanClassics",
  4234. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4235. "onresize": function () { }
  4236. }, {
  4237. closecallback: function () { }
  4238. }, { "style": { "height": "36px" } }).form; //创建窗体
  4239. _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); } }
  4240. break;
  4241. case "hanTraining":
  4242. _formdiv = new U.UF.UI.form(
  4243. "笔画训练",
  4244. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4245. "id": "hanTraining",
  4246. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4247. "onresize": function () { }
  4248. }, {
  4249. closecallback: function () { }
  4250. }, { "style": { "height": "36px" } }).form; //创建窗体
  4251. _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); } }
  4252. break;
  4253. case "hanClass":
  4254. _formdiv = new U.UF.UI.form(
  4255. "书法课堂",
  4256. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4257. "id": "hanClass",
  4258. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4259. "onresize": function () { }
  4260. }, {
  4261. closecallback: function () { }
  4262. }, { "style": { "height": "36px" } }).form; //创建窗体
  4263. _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); } }
  4264. break;
  4265. case "han":
  4266. _formdiv = new U.UF.UI.form(
  4267. "汉字宫",
  4268. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4269. "id": "han",
  4270. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4271. "onresize": function () { }
  4272. }, {
  4273. closecallback: function () { }
  4274. }, { "style": { "height": "36px" } }).form; //创建窗体
  4275. _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); } }
  4276. break;
  4277. case "projectGM": //课程管理
  4278. _formdiv = new U.UF.UI.form(
  4279. "课程管理",
  4280. $$("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 }), {
  4281. "id": "projectGM",
  4282. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4283. "onresize": function () { }
  4284. }, {
  4285. closecallback: function () { }
  4286. }, { "style": { "height": "36px" } }).form; //创建窗体
  4287. _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); } }
  4288. break;
  4289. case "studyGM": //课程中心
  4290. _formdiv = new U.UF.UI.form(
  4291. "课程中心",
  4292. $$("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
  4293. "id": "study",
  4294. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4295. "onresize": function () { }
  4296. }, {
  4297. closecallback: function () { }
  4298. }, { "style": { "height": "36px" } }).form; //创建窗体
  4299. _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); } }
  4300. break;
  4301. // studentGM
  4302. case "studentGM": //学生管理
  4303. _formdiv = new U.UF.UI.form(
  4304. "学生管理",
  4305. $$("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 }), {
  4306. "id": "studentGM",
  4307. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4308. "onresize": function () { }
  4309. }, {
  4310. closecallback: function () { }
  4311. }, { "style": { "height": "36px" } }).form; //创建窗体
  4312. _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); } }
  4313. break;
  4314. case "evaluateGM": //学生评价
  4315. _formdiv = new U.UF.UI.form(
  4316. "学生评价",
  4317. $$("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 }), {
  4318. "id": "evaluateGM",
  4319. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4320. "onresize": function () { }
  4321. }, {
  4322. closecallback: function () { }
  4323. }, { "style": { "height": "36px" } }).form; //创建窗体
  4324. _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); } }
  4325. break;
  4326. // classGM
  4327. case "classGM": //班级管理
  4328. _formdiv = new U.UF.UI.form(
  4329. "班级管理",
  4330. $$("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 }), {
  4331. "id": "classGM",
  4332. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4333. "onresize": function () { }
  4334. }, {
  4335. closecallback: function () { }
  4336. }, { "style": { "height": "36px" } }).form; //创建窗体
  4337. _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); } }
  4338. break;
  4339. // dataGM
  4340. case "dataGM":
  4341. _formdiv = new U.UF.UI.form(
  4342. "我的资料",
  4343. $$("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 }), {
  4344. "id": "dataGM",
  4345. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4346. "onresize": function () { }
  4347. }, {
  4348. closecallback: function () { }
  4349. }, { "style": { "height": "36px" } }).form; //创建窗体
  4350. _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); } }
  4351. break;
  4352. // caseGM
  4353. case "caseGM": //课程进展
  4354. _formdiv = new U.UF.UI.form(
  4355. "课程进展",
  4356. $$("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 }), {
  4357. "id": "caseGM",
  4358. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4359. "onresize": function () { }
  4360. }, {
  4361. closecallback: function () { }
  4362. }, { "style": { "height": "36px" } }).form; //创建窗体
  4363. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4364. break;
  4365. // meterialGM
  4366. case "meterialGM": //素材库
  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/#/libraryGM?userid=" + _userid + "&org=" + _org }), {
  4370. "id": "meterialGM",
  4371. "style": { "width": "90%", "height": "90%", "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/gm/material.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4377. break;
  4378. // evaluateSGM
  4379. case "evaluateSGM": //我的评价
  4380. _formdiv = new U.UF.UI.form(
  4381. "我的评价",
  4382. $$("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 }), {
  4383. "id": "evaluateSGM",
  4384. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4385. "onresize": function () { }
  4386. }, {
  4387. closecallback: function () { }
  4388. }, { "style": { "height": "36px" } }).form; //创建窗体
  4389. _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); } }
  4390. break;
  4391. case "jupyter": //jupyter
  4392. _formdiv = new U.UF.UI.form(
  4393. "jupyter",
  4394. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4395. "id": "jupyter",
  4396. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4397. "onresize": function () { }
  4398. }, {
  4399. closecallback: function () { }
  4400. }, { "style": { "height": "36px" } }).form; //创建窗体
  4401. _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); } }
  4402. break;
  4403. case "number": //数字实验室
  4404. _formdiv = new U.UF.UI.form(
  4405. "数字实验室",
  4406. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4407. "id": "number",
  4408. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4409. "onresize": function () { }
  4410. }, {
  4411. closecallback: function () { }
  4412. }, { "style": { "height": "36px" } }).form; //创建窗体
  4413. _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); } }
  4414. break;
  4415. case "studentCourse": //项目管理 学生
  4416. _formdiv = new U.UF.UI.form(
  4417. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4418. $$("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 }), {
  4419. "id": "studentCourse",
  4420. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4421. "onresize": function () { }
  4422. }, {
  4423. closecallback: function () { }
  4424. }, { "style": { "height": "36px" } }).form; //创建窗体
  4425. _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); } }
  4426. break;
  4427. case "studentCourseS": //项目管理 老师
  4428. _formdiv = new U.UF.UI.form(
  4429. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4430. $$("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 }), {
  4431. "id": "studentCourseS",
  4432. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4433. "onresize": function () { }
  4434. }, {
  4435. closecallback: function () { }
  4436. }, { "style": { "height": "36px" } }).form; //创建窗体
  4437. _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); } }
  4438. break;
  4439. case "studentIndex": //项目中心
  4440. _formdiv = new U.UF.UI.form(
  4441. "项目中心",
  4442. $$("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 }), {
  4443. "id": "studentIndex",
  4444. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4445. "onresize": function () { }
  4446. }, {
  4447. closecallback: function () { }
  4448. }, { "style": { "height": "36px" } }).form; //创建窗体
  4449. _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); } }
  4450. break;
  4451. case "CaseDesignS":
  4452. _formdiv = new U.UF.UI.form(
  4453. "项目进展",
  4454. $$("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 }), {
  4455. "id": "case",
  4456. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4457. "onresize": function () { }
  4458. }, {
  4459. closecallback: function () { }
  4460. }, { "style": { "height": "36px" } }).form; //创建窗体
  4461. _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); } }
  4462. break;
  4463. case "tcStudent": //腾讯学生管理
  4464. _formdiv = new U.UF.UI.form(
  4465. "学生管理",
  4466. $$("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 }), {
  4467. "id": "tcStudent",
  4468. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4469. "onresize": function () { }
  4470. }, {
  4471. closecallback: function () { }
  4472. }, { "style": { "height": "36px" } }).form; //创建窗体
  4473. _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); } }
  4474. break;
  4475. case "tcSchool": //腾讯学校管理
  4476. _formdiv = new U.UF.UI.form(
  4477. "学校管理",
  4478. $$("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 }), {
  4479. "id": "tcSchool",
  4480. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4481. "onresize": function () { }
  4482. }, {
  4483. closecallback: function () { }
  4484. }, { "style": { "height": "36px" } }).form; //创建窗体
  4485. _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); } }
  4486. break;
  4487. case "tcTeacher": //腾讯学校管理
  4488. _formdiv = new U.UF.UI.form(
  4489. "教师管理",
  4490. $$("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 }), {
  4491. "id": "tcTeacher",
  4492. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4493. "onresize": function () { }
  4494. }, {
  4495. closecallback: function () { }
  4496. }, { "style": { "height": "36px" } }).form; //创建窗体
  4497. _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); } }
  4498. break;
  4499. case "tcData": //腾讯我的资料
  4500. _formdiv = new U.UF.UI.form(
  4501. "我的资料",
  4502. $$("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 }), {
  4503. "id": "tcData",
  4504. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4505. "onresize": function () { }
  4506. }, {
  4507. closecallback: function () { }
  4508. }, { "style": { "height": "36px" } }).form; //创建窗体
  4509. _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); } }
  4510. break;
  4511. case "tcNotice": //腾讯消息通知
  4512. _formdiv = new U.UF.UI.form(
  4513. "消息通知",
  4514. $$("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 }), {
  4515. "id": "tcNotice",
  4516. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4517. "onresize": function () { }
  4518. }, {
  4519. closecallback: function () { }
  4520. }, { "style": { "height": "36px" } }).form; //创建窗体
  4521. _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); } }
  4522. break;
  4523. case "myReport": //好友打开
  4524. _formdiv = new U.UF.UI.form(
  4525. "我的评价",
  4526. $$("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 }), {
  4527. "id": "myReport",
  4528. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4529. "onresize": function () { }
  4530. }, {
  4531. closecallback: function () { }
  4532. }, { "style": { "height": "36px" } }).form; //创建窗体
  4533. _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); } }
  4534. break;
  4535. case "learnAna": //好友打开
  4536. _formdiv = new U.UF.UI.form(
  4537. "学习分析",
  4538. $$("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 }), {
  4539. "id": "learnAna",
  4540. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4541. "onresize": function () { }
  4542. }, {
  4543. closecallback: function () { }
  4544. }, { "style": { "height": "36px" } }).form; //创建窗体
  4545. _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); } }
  4546. break;
  4547. case "AIChat": //AI共创
  4548. _formdiv = new U.UF.UI.form(
  4549. "AI共创",
  4550. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4551. "id": "AIChat",
  4552. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4553. "onresize": function () { }
  4554. }, {
  4555. istop: true,
  4556. closecallback: function () { $("#aichat_icon").remove(); },
  4557. narrowcallback: function () {
  4558. if (!$("#aichat_icon")[0]) {
  4559. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4560. }
  4561. },
  4562. }, { "style": { "height": "36px" } }).form; //创建窗体
  4563. _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); } }
  4564. break;
  4565. case "ainew": //AI共创
  4566. _formdiv = new U.UF.UI.form(
  4567. "AI协同",
  4568. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4569. "id": "ainew",
  4570. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4571. "onresize": function () { }
  4572. }, {
  4573. closecallback: function () { }
  4574. }, { "style": { "height": "36px" } }).form; //创建窗体
  4575. _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); } }
  4576. break;
  4577. case "gpt4": //gpt4
  4578. _formdiv = new U.UF.UI.form(
  4579. "AI助手",
  4580. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/gpt4/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4581. "id": "gpt4",
  4582. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4583. "onresize": function () { }
  4584. }, {
  4585. closecallback: function () { }
  4586. }, { "style": { "height": "36px" } }).form; //创建窗体
  4587. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpt4.png)" }, "name": "AI助手", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4588. break;
  4589. case "aigpt": //gpt4
  4590. _formdiv = new U.UF.UI.form(
  4591. "AI助手+",
  4592. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aigpt/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4593. "id": "aigpt",
  4594. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4595. "onresize": function () { }
  4596. }, {
  4597. closecallback: function () { }
  4598. }, { "style": { "height": "36px" } }).form; //创建窗体
  4599. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigpt.png)" }, "name": "AI助手+", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4600. break;
  4601. case "futureClass": //AI共创
  4602. _formdiv = new U.UF.UI.form(
  4603. "协同建构",
  4604. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://beta.cscl.cocorobo.cn
  4605. "id": "synergyCourse",
  4606. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4607. "onresize": function () { }
  4608. }, {
  4609. closecallback: function () {
  4610. $("iframe", _formdiv)[0].contentWindow.loginout();
  4611. }
  4612. }, { "style": { "height": "36px" } }).form; //创建窗体
  4613. _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); } }
  4614. break;
  4615. case "aiagent": //ai agent
  4616. _formdiv = new U.UF.UI.form(
  4617. "AI Agent",
  4618. $$("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" }), {
  4619. "id": "AIAgent",
  4620. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4621. "onresize": function () { }
  4622. }, {
  4623. closecallback: function () { }
  4624. }, { "style": { "height": "36px" } }).form; //创建窗体
  4625. _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); } }
  4626. break;
  4627. case "dataBoard": //数据看板
  4628. _formdiv = new U.UF.UI.form(
  4629. "数据看板",
  4630. $$("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 }), {
  4631. "id": "dataBoard",
  4632. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4633. "onresize": function () { }
  4634. }, {
  4635. closecallback: function () { }
  4636. }, { "style": { "height": "36px" } }).form; //创建窗体
  4637. _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); } }
  4638. break;
  4639. case "dataBoardSies": //数据融合
  4640. _formdiv = new U.UF.UI.form(
  4641. "数据融合",
  4642. $$("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 }), {
  4643. "id": "dataBoardSies",
  4644. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4645. "onresize": function () { }
  4646. }, {
  4647. closecallback: function () { }
  4648. }, { "style": { "height": "36px" } }).form; //创建窗体
  4649. _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); } }
  4650. break;
  4651. case "dataBoardNew": //数据看板
  4652. _formdiv = new U.UF.UI.form(
  4653. "综合看板",
  4654. $$("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 }), {
  4655. "id": "dataBoardNew",
  4656. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4657. "onresize": function () { }
  4658. }, {
  4659. closecallback: function () { }
  4660. }, { "style": { "height": "36px" } }).form; //创建窗体
  4661. _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); } }
  4662. break;
  4663. case "dataBoardTest": //数据看板
  4664. _formdiv = new U.UF.UI.form(
  4665. "评测看板",
  4666. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoardTest?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4667. "id": "dataBoardTest",
  4668. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4669. "onresize": function () { }
  4670. }, {
  4671. closecallback: function () { }
  4672. }, { "style": { "height": "36px" } }).form; //创建窗体
  4673. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardTest.png)" }, "name": "评测看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4674. break;
  4675. case "AIAnalyse": //AI共创
  4676. _formdiv = new U.UF.UI.form(
  4677. "AI分析",
  4678. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4679. "id": "AIAnalyse",
  4680. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4681. "onresize": function () { }
  4682. }, {
  4683. closecallback: function () { }
  4684. }, { "style": { "height": "36px" } }).form; //创建窗体
  4685. _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); } }
  4686. break;
  4687. case "studioCourse": //AI共创
  4688. _formdiv = new U.UF.UI.form(
  4689. "工作管理",
  4690. $$("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 }), {
  4691. "id": "studioCourse",
  4692. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4693. "onresize": function () { }
  4694. }, {
  4695. closecallback: function () { }
  4696. }, { "style": { "height": "36px" } }).form; //创建窗体
  4697. _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); } }
  4698. break;
  4699. case "studioIndex": //AI共创
  4700. _formdiv = new U.UF.UI.form(
  4701. "工作中心",
  4702. $$("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 }), {
  4703. "id": "studioIndex",
  4704. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4705. "onresize": function () { }
  4706. }, {
  4707. closecallback: function () { }
  4708. }, { "style": { "height": "36px" } }).form; //创建窗体
  4709. _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); } }
  4710. break;
  4711. case "source":
  4712. _formdiv = new U.UF.UI.form(
  4713. "教学资源",
  4714. $$("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 }), {
  4715. "id": "source",
  4716. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4717. "onresize": function () { }
  4718. }, {
  4719. closecallback: function () { }
  4720. }, { "style": { "height": "36px" } }).form; //创建窗体
  4721. _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); } }
  4722. break;
  4723. case "testTeacher":
  4724. _formdiv = new U.UF.UI.form(
  4725. "评测管理",
  4726. $$("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 }), {
  4727. "id": "testTeacher",
  4728. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4729. "onresize": function () { }
  4730. }, {
  4731. closecallback: function () { }
  4732. }, { "style": { "height": "36px" } }).form; //创建窗体
  4733. _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); } }
  4734. break;
  4735. case "testStudent":
  4736. _formdiv = new U.UF.UI.form(
  4737. "评测中心",
  4738. $$("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 }), {
  4739. "id": "testStudent",
  4740. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4741. "onresize": function () { }
  4742. }, {
  4743. closecallback: function () { }
  4744. }, { "style": { "height": "36px" } }).form; //创建窗体
  4745. _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); } }
  4746. break;
  4747. case "testTeacherSies":
  4748. _formdiv = new U.UF.UI.form(
  4749. "教师管理",
  4750. $$("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 }), {
  4751. "id": "testTeacherSies",
  4752. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4753. "onresize": function () { }
  4754. }, {
  4755. closecallback: function () { }
  4756. }, { "style": { "height": "36px" } }).form; //创建窗体
  4757. _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); } }
  4758. break;
  4759. case "testStudentSies":
  4760. _formdiv = new U.UF.UI.form(
  4761. "教师中心",
  4762. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testPerson?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  4763. "id": "testStudentSies",
  4764. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4765. "onresize": function () { }
  4766. }, {
  4767. closecallback: function () { }
  4768. }, { "style": { "height": "36px" } }).form; //创建窗体
  4769. _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); } }
  4770. break;
  4771. case "ytpbl": //消息通知
  4772. _formdiv = new U.UF.UI.form(
  4773. "案例征集",
  4774. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pblyt.cocorobo.cn/#/login?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4775. "id": "ytpbl",
  4776. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4777. "onresize": function () { }
  4778. }, {
  4779. closecallback: function () { }
  4780. }, { "style": { "height": "36px" } }).form; //创建窗体
  4781. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpbl2.png)" }, "name": "案例征集", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4782. // window.open("https://gdpbl.cocorobo.cn/#/login", "案例征集", "height=" + US.height + ", width=" + US.width + ", top=100, left=100, toolbar=no, menubar=0, resizable=0, location=0, status=no");
  4783. break;
  4784. }
  4785. //U.MD.D.I.openClick(str);
  4786. //如果有任务栏信息
  4787. if (_taskbar) {
  4788. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4789. }
  4790. }
  4791. // U.MD.D.I.openClick = function(str){
  4792. // var click = '';
  4793. // switch(str){
  4794. // case 'friend':
  4795. // click = '我的好友';
  4796. // break;
  4797. // case 'domain':
  4798. // click = '域名管理';
  4799. // break;
  4800. // case 'disk':
  4801. // click = '我的云盘';
  4802. // break;
  4803. // case 'word':
  4804. // click = 'Word';
  4805. // break;
  4806. // case 'excel':
  4807. // click = 'Execl';
  4808. // break;
  4809. // case 'txt':
  4810. // click = '文本文件';
  4811. // break;
  4812. // case 'lookupFriend':
  4813. // click = '查找好友';
  4814. // break;
  4815. // case 'ftp':
  4816. // click = 'FTP';
  4817. // break;
  4818. // case 'group':
  4819. // click = '群组';
  4820. // break;
  4821. // case 'set':
  4822. // click = '我的设置';
  4823. // break;
  4824. // case 'systemSet':
  4825. // click = '系统设置';
  4826. // break;
  4827. // case 'boomYun':
  4828. // click = '互联办公';
  4829. // break;
  4830. // case 'xz':
  4831. // click = '云端下载';
  4832. // break;
  4833. // case 'client':
  4834. // click = '有思浏览器';
  4835. // break;
  4836. // case 'backEndProgramming':
  4837. // click = '在线后台编程';
  4838. // break;
  4839. // case 'frontEndProgramming':
  4840. // click = '在线前端编程';
  4841. // break;
  4842. // default: break;
  4843. // }
  4844. // if(U.MD.D.I.Ip && click){
  4845. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4846. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4847. // })
  4848. // }
  4849. // }
  4850. /**
  4851. *函数作用:ajax简易函数,使用post格式
  4852. *@param url {data} 后台地址
  4853. *@param data {data} 参数json
  4854. *@param fn {data} 回调函数
  4855. *
  4856. */
  4857. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4858. // var xhr = new XMLHttpRequest();
  4859. // xhr.open("GET",url,true);
  4860. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4861. // xhr.onreadystatechange = function(){
  4862. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4863. // fn.call(this,xhr.responseText);
  4864. // }
  4865. // };
  4866. // xhr.send();
  4867. // }
  4868. /*判断是否是内网IP*/
  4869. // U.MD.D.I.isInnerIPFn = function(str){
  4870. // var curPageUrl = str;
  4871. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4872. // curPageUrl =curPageUrl.replace(reg1,'');
  4873. // // console.log('curPageUrl-1 '+curPageUrl);
  4874. // var reg2 = /\:+/g;//替换冒号为一点
  4875. // curPageUrl =curPageUrl.replace(reg2,'.');
  4876. // // console.log('curPageUrl-2 '+curPageUrl);
  4877. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4878. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4879. // if(curPageUrl[2] != '16'){
  4880. // return ipAddress;
  4881. // }else{
  4882. // return false;
  4883. // }
  4884. // }
  4885. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4886. // //compatibility for firefox and chrome
  4887. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4888. // var pc = new myPeerConnection({
  4889. // iceServers: []
  4890. // }),
  4891. // noop = function() {},
  4892. // localIPs = {},
  4893. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4894. // key;
  4895. // function iterateIP(ip) {
  4896. // if (!localIPs[ip]) onNewIP(ip);
  4897. // localIPs[ip] = true;
  4898. // }
  4899. // //create a bogus data channel
  4900. // pc.createDataChannel("");
  4901. // // create offer and set local description
  4902. // pc.createOffer().then(function(sdp) {
  4903. // sdp.sdp.split('\n').forEach(function(line) {
  4904. // if (line.indexOf('candidate') < 0) return;
  4905. // line.match(ipRegex).forEach(iterateIP);
  4906. // });
  4907. // pc.setLocalDescription(sdp, noop, noop);
  4908. // }).catch(function(reason) {
  4909. // // An error occurred, so handle the failure to connect
  4910. // });
  4911. // //sten for candidate events
  4912. // pc.onicecandidate = function(ice) {
  4913. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4914. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4915. // };
  4916. // }
  4917. // U.MD.D.I.getUserIpBool = function(callback){
  4918. // U.MD.D.I.getUserIP(function(ip){
  4919. // alert("Got IP! :" + ip);
  4920. // });
  4921. //}
  4922. //#endregion
  4923. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4924. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4925. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4926. _userinfo = US.userInfo, //登录用户信息
  4927. _userid = US.userInfo.userid //登录用户id
  4928. let _iframe;
  4929. let _cid = cid,
  4930. _stage = stage,
  4931. _task = task,
  4932. _tool = tool;
  4933. var _jie = $$("div", {
  4934. "style": {
  4935. "position": "absolute",
  4936. "bottom": "50px",
  4937. "right": "50px",
  4938. "zIndex": "9999",
  4939. "backgroundColor": "#2268bc",
  4940. "color": "#fff",
  4941. "padding": "12px 20px",
  4942. "cursor": "pointer",
  4943. "borderRadius": "4px",
  4944. },
  4945. "innerHTML": "提交作业"
  4946. })
  4947. let aTool = ''
  4948. let _loading = document.createElement('div')
  4949. _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;"
  4950. // _loading.id = "";
  4951. let _lchild = document.createElement('div')
  4952. let _limg = document.createElement('img')
  4953. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4954. _limg.style = "width: 26px;margin-right: 10px;"
  4955. _lchild.appendChild(_limg)
  4956. let _lspan = document.createElement('span')
  4957. _lspan.innerHTML = "上传中..."
  4958. _lchild.appendChild(_lspan)
  4959. _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%);"
  4960. _loading.appendChild(_lchild)
  4961. var _box = $$('div', {
  4962. "style": {
  4963. "position": "relative",
  4964. "width": "100%",
  4965. "height": "100%",
  4966. },
  4967. })
  4968. _box.appendChild(_loading)
  4969. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4970. switch (str) {
  4971. case "whiteboard":
  4972. aTool = 1;
  4973. _iframe = $$("iframe", {
  4974. "frameborder": "no",
  4975. "border": "0",
  4976. "scrolling ": "no",
  4977. "style": {
  4978. "cssText": "border:0;width:100%;height:100%"
  4979. },
  4980. "src": "https://iwb.cocorobo.cn/"
  4981. })
  4982. _box.appendChild(_iframe);
  4983. _box.appendChild(_jie);
  4984. _formdiv = new U.UF.UI.form(
  4985. "电子白板",
  4986. _box, {
  4987. "id": "whiteboard" + cid + stage + task + tool,
  4988. "style": {
  4989. "width": "90%",
  4990. "height": "90%",
  4991. "overflow": 'hidden'
  4992. },
  4993. "onresize": function () { }
  4994. }, {
  4995. closecallback: function () { }
  4996. }, {
  4997. "style": {
  4998. "height": "36px"
  4999. }
  5000. }).form; //创建窗体
  5001. _taskbar = {
  5002. "id": str + _formdiv.id,
  5003. "style": {
  5004. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5005. },
  5006. "name": "电子白板",
  5007. "forms": _formdiv,
  5008. "click": function () {
  5009. U.MD.D.I.openApplication(str, obj, info);
  5010. }
  5011. }
  5012. break;
  5013. case "mind":
  5014. aTool = 3;
  5015. _iframe = $$("iframe", {
  5016. "frameborder": "no",
  5017. "border": "0",
  5018. "scrolling ": "no",
  5019. "style": {
  5020. "cssText": "border:0;width:100%;height:100%"
  5021. },
  5022. "src": "/kityminder-editor/dist/index.html"
  5023. })
  5024. _box.appendChild(_iframe);
  5025. _box.appendChild(_jie);
  5026. _formdiv = new U.UF.UI.form(
  5027. "思维导图",
  5028. _box, { //"/jsmind/example/demo.html"
  5029. "id": "mind" + cid + stage + task + tool,
  5030. "style": {
  5031. "width": "90%",
  5032. "height": "90%",
  5033. "overflow": 'hidden'
  5034. },
  5035. "onresize": function () { }
  5036. }, {
  5037. closecallback: function () { }
  5038. }, {
  5039. "style": {
  5040. "height": "36px"
  5041. }
  5042. }).form; //创建窗体
  5043. _taskbar = {
  5044. "id": str + _formdiv.id,
  5045. "style": {
  5046. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5047. },
  5048. "name": "思维导图",
  5049. "forms": _formdiv,
  5050. "click": function () {
  5051. U.MD.D.I.openApplication(str, obj, info);
  5052. }
  5053. }
  5054. break;
  5055. case "MindMap":
  5056. aTool = 3;
  5057. _iframe = $$("iframe", {
  5058. "frameborder": "no",
  5059. "border": "0",
  5060. "scrolling ": "no",
  5061. "style": {
  5062. "cssText": "border:0;width:100%;height:100%"
  5063. },
  5064. "src": "//cloud.cocorobo.cn/mind/"
  5065. })
  5066. _box.appendChild(_iframe);
  5067. _box.appendChild(_jie);
  5068. _formdiv = new U.UF.UI.form(
  5069. "思维导图",
  5070. _box, { //"/jsmind/example/demo.html"
  5071. "id": "mind" + cid + stage + task + tool,
  5072. "style": {
  5073. "width": "90%",
  5074. "height": "90%",
  5075. "overflow": 'hidden'
  5076. },
  5077. "onresize": function () { }
  5078. }, {
  5079. closecallback: function () { }
  5080. }, {
  5081. "style": {
  5082. "height": "36px"
  5083. }
  5084. }).form; //创建窗体
  5085. _taskbar = {
  5086. "id": str + _formdiv.id,
  5087. "style": {
  5088. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5089. },
  5090. "name": "思维导图",
  5091. "forms": _formdiv,
  5092. "click": function () {
  5093. U.MD.D.I.openApplication(str, obj, info);
  5094. }
  5095. }
  5096. break;
  5097. case "doc":
  5098. aTool = 6;
  5099. _iframe = $$("iframe", {
  5100. "frameborder": "no",
  5101. "border": "0",
  5102. "scrolling ": "no",
  5103. "style": {
  5104. "cssText": "border:0;width:100%;height:100%"
  5105. },
  5106. "src": "/Office/Word/WordEditArea.htm"
  5107. })
  5108. _box.appendChild(_iframe);
  5109. _box.appendChild(_jie);
  5110. _formdiv = new U.UF.UI.form(
  5111. "协同文档",
  5112. _box, {
  5113. "id": "doc" + cid + stage + task + tool,
  5114. "style": {
  5115. "width": "90%",
  5116. "height": "90%",
  5117. "overflow": 'hidden'
  5118. },
  5119. "onresize": function () { }
  5120. }, {
  5121. closecallback: function () { }
  5122. }, {
  5123. "style": {
  5124. "height": "36px"
  5125. }
  5126. }).form; //创建窗体
  5127. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5128. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5129. })
  5130. _taskbar = {
  5131. "id": str + _formdiv.id,
  5132. "style": {
  5133. "backgroundImage": "url(/img/icon/doc.png)"
  5134. },
  5135. "name": "协同文档",
  5136. "forms": _formdiv,
  5137. "click": function () {
  5138. U.MD.D.I.openApplication(str, obj, info);
  5139. }
  5140. }
  5141. break;
  5142. case "mindNetwork": //好友打开
  5143. aTool = 7;
  5144. _iframe = $$("iframe", {
  5145. "webkitallowfullscreen": "",
  5146. "mozallowfullscreen": "",
  5147. "allowfullscreen": "",
  5148. "frameborder": "no",
  5149. "border": "0",
  5150. "scrolling ": "no",
  5151. "style": {
  5152. "cssText": "border:0; width:100%; height:100%;"
  5153. },
  5154. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5155. })
  5156. _box.appendChild(_iframe);
  5157. _box.appendChild(_jie);
  5158. _formdiv = new U.UF.UI.form(
  5159. "思维网格",
  5160. _box, {
  5161. "id": "mindNetwork" + cid + stage + task + tool,
  5162. "style": {
  5163. "width": "90%",
  5164. "height": "90%",
  5165. "overflow": 'hidden'
  5166. },
  5167. "onresize": function () { }
  5168. }, {
  5169. closecallback: function () { }
  5170. }, {
  5171. "style": {
  5172. "height": "36px"
  5173. }
  5174. }).form; //创建窗体
  5175. _taskbar = {
  5176. "id": str + _formdiv.id,
  5177. "style": {
  5178. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5179. },
  5180. "name": "思维网格",
  5181. "forms": _formdiv,
  5182. "click": function () {
  5183. U.MD.D.I.openApplication(str, obj, info);
  5184. }
  5185. }
  5186. break;
  5187. case "courseDesign":
  5188. _iframe = $$("iframe", {
  5189. "webkitallowfullscreen": "",
  5190. "mozallowfullscreen": "",
  5191. "allowfullscreen": "",
  5192. "frameborder": "no",
  5193. "border": "0",
  5194. "scrolling ": "no",
  5195. "style": {
  5196. "cssText": "border:0; width:100%; height:100%;"
  5197. },
  5198. "src": "/course-design-vue"
  5199. })
  5200. _box.appendChild(_iframe);
  5201. _box.appendChild(_jie);
  5202. _formdiv = new U.UF.UI.form(
  5203. "项目设计",
  5204. _box, {
  5205. "id": "courseDesign" + cid + stage + task + tool,
  5206. "style": {
  5207. "width": "90%",
  5208. "height": "90%",
  5209. "overflow": 'hidden'
  5210. },
  5211. "onresize": function () { }
  5212. }, {
  5213. closecallback: function () { }
  5214. }, {
  5215. "style": {
  5216. "height": "36px"
  5217. }
  5218. }).form; //创建窗体
  5219. _taskbar = {
  5220. "id": str + _formdiv.id,
  5221. "style": {
  5222. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5223. },
  5224. "name": "项目设计",
  5225. "forms": _formdiv,
  5226. "click": function () {
  5227. U.MD.D.I.openApplication(str, obj, info);
  5228. }
  5229. }
  5230. break;
  5231. }
  5232. const script1 = document.createElement("script");
  5233. script1.type = "text/javascript";
  5234. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5235. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5236. const script2 = document.createElement("script");
  5237. script2.type = "text/javascript";
  5238. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5239. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5240. const script3 = document.createElement("script");
  5241. script3.type = "text/javascript";
  5242. script3.charset = "UTF-8";
  5243. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5244. const script4 = document.createElement("script");
  5245. script4.type = "text/javascript";
  5246. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5247. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5248. if (_iframe) {
  5249. if (str == 'doc') {
  5250. _iframe = _formdiv.querySelector('iframe')
  5251. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5252. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5253. _iframe.contentWindow.document.body.appendChild(script1);
  5254. _iframe.contentWindow.document.body.appendChild(script2);
  5255. // _iframe.contentWindow.document.body.appendChild(script3);
  5256. _iframe.contentWindow.document.body.appendChild(script4);
  5257. })
  5258. if (onloadListener) {
  5259. _iframe.contentDocument.location.reload()
  5260. } else {
  5261. _iframe.contentDocument.location.reload()
  5262. }
  5263. } else if (str == 'courseDesign') {
  5264. U.UF.DL.iframeLoad(_iframe, function () {
  5265. // _iframe.contentWindow.U.MD.O.W.load();
  5266. // _iframe.contentWindow.document.body.appendChild(script1);
  5267. _iframe.contentWindow.document.body.appendChild(script2);
  5268. _iframe.contentWindow.document.body.appendChild(script4);
  5269. })
  5270. } else if (str == 'mind') {
  5271. _iframe = _formdiv.querySelector('iframe')
  5272. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5273. //
  5274. _iframe.contentWindow.document.body.appendChild(script1);
  5275. _iframe.contentWindow.document.body.appendChild(script2);
  5276. _iframe.contentWindow.document.body.appendChild(script4);
  5277. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5278. })
  5279. if (onloadListener) {
  5280. _iframe.contentDocument.location.reload()
  5281. } else {
  5282. _iframe.contentDocument.location.reload()
  5283. }
  5284. } else if (str == 'whiteboard') {
  5285. _iframe = _formdiv.querySelector('iframe')
  5286. let onloadListener = _iframe.onload = () => {
  5287. _iframe.contentWindow.document.body.appendChild(script1);
  5288. _iframe.contentWindow.document.body.appendChild(script2);
  5289. _iframe.contentWindow.document.body.appendChild(script4);
  5290. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5291. };
  5292. if (onloadListener) {
  5293. _iframe.contentDocument.location.reload()
  5294. } else {
  5295. _iframe.contentDocument.location.reload()
  5296. }
  5297. } else {
  5298. _iframe.onload = () => {
  5299. _iframe.contentWindow.document.body.appendChild(script1);
  5300. _iframe.contentWindow.document.body.appendChild(script2);
  5301. // _iframe.contentWindow.document.body.appendChild(script3);
  5302. _iframe.contentWindow.document.body.appendChild(script4);
  5303. };
  5304. }
  5305. _jie.onclick = async () => {
  5306. let text = ''
  5307. if (aTool == 1) {
  5308. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5309. } else if (aTool == 6) {
  5310. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5311. } else if (aTool == 3) {
  5312. text = await U.MD.D.I.getEditorContent(_iframe);
  5313. }
  5314. _loading.style.display = 'flex'
  5315. console.log(_loading);
  5316. var _ajs = _iframe.contentWindow.document.createElement("script");
  5317. _ajs.type = "text/javascript";
  5318. _ajs.innerHTML =
  5319. // 'console.log(' + _loading + ');\n' +
  5320. 'var _js = document.createElement("script");\n' +
  5321. '_js.type="text/javascript";\n' +
  5322. '_js.charset="UTF-8";\n' +
  5323. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5324. "_js.onload = function(){\n" +
  5325. ' var a = document.getElementsByTagName("img")\n' +
  5326. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5327. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5328. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5329. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5330. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5331. "beforeUpload_shishi(file," +
  5332. "'" +
  5333. _userid +
  5334. "'" +
  5335. ", " +
  5336. "'" +
  5337. _cid +
  5338. "'" +
  5339. ", " +
  5340. "'" +
  5341. _stage +
  5342. "'" +
  5343. ", " +
  5344. "'" +
  5345. _task +
  5346. "'" +
  5347. ", " +
  5348. "'" +
  5349. _tool +
  5350. "'" +
  5351. ", " +
  5352. "'" +
  5353. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5354. "'" +
  5355. ", " +
  5356. "'" +
  5357. aTool +
  5358. "'" +
  5359. ", " +
  5360. "`" +
  5361. text +
  5362. "`" +
  5363. ")\n" +
  5364. " });\n" +
  5365. "}\n" +
  5366. "document.head.appendChild(_js);\n";
  5367. _iframe.contentWindow.document.head.appendChild(_ajs);
  5368. }
  5369. }
  5370. //U.MD.D.I.openClick(str);
  5371. //如果有任务栏信息
  5372. // if (_taskbar) {
  5373. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5374. // }
  5375. }
  5376. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5377. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5378. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5379. _userinfo = US.userInfo, //登录用户信息
  5380. _userid = US.userInfo.userid //登录用户id
  5381. let _iframe;
  5382. let _cid = cid,
  5383. _stage = stage,
  5384. _task = task,
  5385. _tool = tool;
  5386. var _jie = $$("div", {
  5387. "style": {
  5388. "position": "absolute",
  5389. "bottom": "50px",
  5390. "right": "50px",
  5391. "zIndex": "9999",
  5392. "backgroundColor": "#2268bc",
  5393. "color": "#fff",
  5394. "padding": "12px 20px",
  5395. "cursor": "pointer",
  5396. "borderRadius": "4px",
  5397. },
  5398. "innerHTML": "提交作业"
  5399. })
  5400. let aTool = ''
  5401. let _loading = document.createElement('div')
  5402. _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;"
  5403. // _loading.id = "";
  5404. let _lchild = document.createElement('div')
  5405. let _limg = document.createElement('img')
  5406. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5407. _limg.style = "width: 26px;margin-right: 10px;"
  5408. _lchild.appendChild(_limg)
  5409. let _lspan = document.createElement('span')
  5410. _lspan.innerHTML = "上传中..."
  5411. _lchild.appendChild(_lspan)
  5412. _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%);"
  5413. _loading.appendChild(_lchild)
  5414. var _box = $$('div', {
  5415. "style": {
  5416. "position": "relative",
  5417. "width": "100%",
  5418. "height": "100%",
  5419. },
  5420. })
  5421. _box.appendChild(_loading)
  5422. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5423. switch (str) {
  5424. case "whiteboard":
  5425. aTool = 1;
  5426. _iframe = $$("iframe", {
  5427. "frameborder": "no",
  5428. "border": "0",
  5429. "scrolling ": "no",
  5430. "style": {
  5431. "cssText": "border:0;width:100%;height:100%"
  5432. },
  5433. "src": "https://iwb.cocorobo.cn/"
  5434. })
  5435. _box.appendChild(_iframe);
  5436. _box.appendChild(_jie);
  5437. _formdiv = new U.UF.UI.form(
  5438. "电子白板",
  5439. _box, {
  5440. "id": "whiteboard" + cid + stage + task + tool,
  5441. "style": {
  5442. "width": "90%",
  5443. "height": "90%",
  5444. "overflow": 'hidden'
  5445. },
  5446. "onresize": function () { }
  5447. }, {
  5448. closecallback: function () { }
  5449. }, {
  5450. "style": {
  5451. "height": "36px"
  5452. }
  5453. }).form; //创建窗体
  5454. _taskbar = {
  5455. "id": str + _formdiv.id,
  5456. "style": {
  5457. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5458. },
  5459. "name": "电子白板",
  5460. "forms": _formdiv,
  5461. "click": function () {
  5462. U.MD.D.I.openApplication(str, obj, info);
  5463. }
  5464. }
  5465. break;
  5466. case "mind":
  5467. aTool = 3;
  5468. _iframe = $$("iframe", {
  5469. "frameborder": "no",
  5470. "border": "0",
  5471. "scrolling ": "no",
  5472. "style": {
  5473. "cssText": "border:0;width:100%;height:100%"
  5474. },
  5475. "src": "/kityminder-editor/dist/index.html"
  5476. })
  5477. _box.appendChild(_iframe);
  5478. _box.appendChild(_jie);
  5479. _formdiv = new U.UF.UI.form(
  5480. "思维导图",
  5481. _box, { //"/jsmind/example/demo.html"
  5482. "id": "mind" + cid + stage + task + tool,
  5483. "style": {
  5484. "width": "90%",
  5485. "height": "90%",
  5486. "overflow": 'hidden'
  5487. },
  5488. "onresize": function () { }
  5489. }, {
  5490. closecallback: function () { }
  5491. }, {
  5492. "style": {
  5493. "height": "36px"
  5494. }
  5495. }).form; //创建窗体
  5496. _taskbar = {
  5497. "id": str + _formdiv.id,
  5498. "style": {
  5499. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5500. },
  5501. "name": "思维导图",
  5502. "forms": _formdiv,
  5503. "click": function () {
  5504. U.MD.D.I.openApplication(str, obj, info);
  5505. }
  5506. }
  5507. break;
  5508. case "MindMap":
  5509. aTool = 3;
  5510. _iframe = $$("iframe", {
  5511. "frameborder": "no",
  5512. "border": "0",
  5513. "scrolling ": "no",
  5514. "style": {
  5515. "cssText": "border:0;width:100%;height:100%"
  5516. },
  5517. "src": "//cloud.cocorobo.cn/mind/"
  5518. })
  5519. _box.appendChild(_iframe);
  5520. _box.appendChild(_jie);
  5521. _formdiv = new U.UF.UI.form(
  5522. "思维导图",
  5523. _box, { //"/jsmind/example/demo.html"
  5524. "id": "mind" + cid + stage + task + tool,
  5525. "style": {
  5526. "width": "90%",
  5527. "height": "90%",
  5528. "overflow": 'hidden'
  5529. },
  5530. "onresize": function () { }
  5531. }, {
  5532. closecallback: function () { }
  5533. }, {
  5534. "style": {
  5535. "height": "36px"
  5536. }
  5537. }).form; //创建窗体
  5538. _taskbar = {
  5539. "id": str + _formdiv.id,
  5540. "style": {
  5541. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5542. },
  5543. "name": "思维导图",
  5544. "forms": _formdiv,
  5545. "click": function () {
  5546. U.MD.D.I.openApplication(str, obj, info);
  5547. }
  5548. }
  5549. break;
  5550. case "doc":
  5551. aTool = 6;
  5552. _iframe = $$("iframe", {
  5553. "frameborder": "no",
  5554. "border": "0",
  5555. "scrolling ": "no",
  5556. "style": {
  5557. "cssText": "border:0;width:100%;height:100%"
  5558. },
  5559. "src": "/Office/Word/WordEditArea.htm"
  5560. })
  5561. _box.appendChild(_iframe);
  5562. _box.appendChild(_jie);
  5563. _formdiv = new U.UF.UI.form(
  5564. "协同文档",
  5565. _box, {
  5566. "id": "doc" + cid + stage + task + tool,
  5567. "style": {
  5568. "width": "90%",
  5569. "height": "90%",
  5570. "overflow": 'hidden'
  5571. },
  5572. "onresize": function () { }
  5573. }, {
  5574. closecallback: function () { }
  5575. }, {
  5576. "style": {
  5577. "height": "36px"
  5578. }
  5579. }).form; //创建窗体
  5580. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5581. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5582. })
  5583. _taskbar = {
  5584. "id": str + _formdiv.id,
  5585. "style": {
  5586. "backgroundImage": "url(/img/icon/doc.png)"
  5587. },
  5588. "name": "协同文档",
  5589. "forms": _formdiv,
  5590. "click": function () {
  5591. U.MD.D.I.openApplication(str, obj, info);
  5592. }
  5593. }
  5594. break;
  5595. case "mindNetwork": //好友打开
  5596. aTool = 7;
  5597. _iframe = $$("iframe", {
  5598. "webkitallowfullscreen": "",
  5599. "mozallowfullscreen": "",
  5600. "allowfullscreen": "",
  5601. "frameborder": "no",
  5602. "border": "0",
  5603. "scrolling ": "no",
  5604. "style": {
  5605. "cssText": "border:0; width:100%; height:100%;"
  5606. },
  5607. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5608. })
  5609. _box.appendChild(_iframe);
  5610. _box.appendChild(_jie);
  5611. _formdiv = new U.UF.UI.form(
  5612. "思维网格",
  5613. _box, {
  5614. "id": "mindNetwork" + cid + stage + task + tool,
  5615. "style": {
  5616. "width": "90%",
  5617. "height": "90%",
  5618. "overflow": 'hidden'
  5619. },
  5620. "onresize": function () { }
  5621. }, {
  5622. closecallback: function () { }
  5623. }, {
  5624. "style": {
  5625. "height": "36px"
  5626. }
  5627. }).form; //创建窗体
  5628. _taskbar = {
  5629. "id": str + _formdiv.id,
  5630. "style": {
  5631. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5632. },
  5633. "name": "思维网格",
  5634. "forms": _formdiv,
  5635. "click": function () {
  5636. U.MD.D.I.openApplication(str, obj, info);
  5637. }
  5638. }
  5639. break;
  5640. case "courseDesign":
  5641. _iframe = $$("iframe", {
  5642. "webkitallowfullscreen": "",
  5643. "mozallowfullscreen": "",
  5644. "allowfullscreen": "",
  5645. "frameborder": "no",
  5646. "border": "0",
  5647. "scrolling ": "no",
  5648. "style": {
  5649. "cssText": "border:0; width:100%; height:100%;"
  5650. },
  5651. "src": "/course-design-vue"
  5652. })
  5653. _box.appendChild(_iframe);
  5654. _box.appendChild(_jie);
  5655. _formdiv = new U.UF.UI.form(
  5656. "项目设计",
  5657. _box, {
  5658. "id": "courseDesign" + cid + stage + task + tool,
  5659. "style": {
  5660. "width": "90%",
  5661. "height": "90%",
  5662. "overflow": 'hidden'
  5663. },
  5664. "onresize": function () { }
  5665. }, {
  5666. closecallback: function () { }
  5667. }, {
  5668. "style": {
  5669. "height": "36px"
  5670. }
  5671. }).form; //创建窗体
  5672. _taskbar = {
  5673. "id": str + _formdiv.id,
  5674. "style": {
  5675. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5676. },
  5677. "name": "项目设计",
  5678. "forms": _formdiv,
  5679. "click": function () {
  5680. U.MD.D.I.openApplication(str, obj, info);
  5681. }
  5682. }
  5683. break;
  5684. }
  5685. const script1 = document.createElement("script");
  5686. script1.type = "text/javascript";
  5687. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5688. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5689. const script2 = document.createElement("script");
  5690. script2.type = "text/javascript";
  5691. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5692. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5693. const script3 = document.createElement("script");
  5694. script3.type = "text/javascript";
  5695. script3.charset = "UTF-8";
  5696. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5697. const script4 = document.createElement("script");
  5698. script4.type = "text/javascript";
  5699. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5700. script4.src = window.origin + "/js/Common/jietu2E.js";
  5701. if (_iframe) {
  5702. if (str == 'doc') {
  5703. _iframe = _formdiv.querySelector('iframe')
  5704. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5705. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5706. _iframe.contentWindow.document.body.appendChild(script1);
  5707. _iframe.contentWindow.document.body.appendChild(script2);
  5708. // _iframe.contentWindow.document.body.appendChild(script3);
  5709. _iframe.contentWindow.document.body.appendChild(script4);
  5710. })
  5711. if (onloadListener) {
  5712. _iframe.contentDocument.location.reload()
  5713. } else {
  5714. _iframe.contentDocument.location.reload()
  5715. }
  5716. } else if (str == 'courseDesign') {
  5717. U.UF.DL.iframeLoad(_iframe, function () {
  5718. // _iframe.contentWindow.U.MD.O.W.load();
  5719. // _iframe.contentWindow.document.body.appendChild(script1);
  5720. _iframe.contentWindow.document.body.appendChild(script2);
  5721. _iframe.contentWindow.document.body.appendChild(script4);
  5722. })
  5723. } else if (str == 'mind') {
  5724. _iframe = _formdiv.querySelector('iframe')
  5725. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5726. //
  5727. _iframe.contentWindow.document.body.appendChild(script1);
  5728. _iframe.contentWindow.document.body.appendChild(script2);
  5729. _iframe.contentWindow.document.body.appendChild(script4);
  5730. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5731. })
  5732. if (onloadListener) {
  5733. _iframe.contentDocument.location.reload()
  5734. } else {
  5735. _iframe.contentDocument.location.reload()
  5736. }
  5737. } else if (str == 'whiteboard') {
  5738. _iframe = _formdiv.querySelector('iframe')
  5739. let onloadListener = _iframe.onload = () => {
  5740. _iframe.contentWindow.document.body.appendChild(script1);
  5741. _iframe.contentWindow.document.body.appendChild(script2);
  5742. _iframe.contentWindow.document.body.appendChild(script4);
  5743. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5744. };
  5745. if (onloadListener) {
  5746. _iframe.contentDocument.location.reload()
  5747. } else {
  5748. _iframe.contentDocument.location.reload()
  5749. }
  5750. } else {
  5751. _iframe.onload = () => {
  5752. _iframe.contentWindow.document.body.appendChild(script1);
  5753. _iframe.contentWindow.document.body.appendChild(script2);
  5754. // _iframe.contentWindow.document.body.appendChild(script3);
  5755. _iframe.contentWindow.document.body.appendChild(script4);
  5756. };
  5757. }
  5758. _jie.onclick = async () => {
  5759. let text = ''
  5760. if (aTool == 1) {
  5761. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5762. } else if (aTool == 6) {
  5763. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5764. } else if (aTool == 3) {
  5765. text = await U.MD.D.I.getEditorContent(_iframe);
  5766. }
  5767. _loading.style.display = 'flex'
  5768. console.log(_loading);
  5769. var _ajs = _iframe.contentWindow.document.createElement("script");
  5770. _ajs.type = "text/javascript";
  5771. _ajs.innerHTML =
  5772. // 'console.log(' + _loading + ');\n' +
  5773. 'var _js = document.createElement("script");\n' +
  5774. '_js.type="text/javascript";\n' +
  5775. '_js.charset="UTF-8";\n' +
  5776. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5777. "_js.onload = function(){\n" +
  5778. ' var a = document.getElementsByTagName("img")\n' +
  5779. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5780. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5781. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5782. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5783. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5784. "beforeUpload_shishi(file," +
  5785. "'" +
  5786. _userid +
  5787. "'" +
  5788. ", " +
  5789. "'" +
  5790. _cid +
  5791. "'" +
  5792. ", " +
  5793. "'" +
  5794. _stage +
  5795. "'" +
  5796. ", " +
  5797. "'" +
  5798. _task +
  5799. "'" +
  5800. ", " +
  5801. "'" +
  5802. _tool +
  5803. "'" +
  5804. ", " +
  5805. "'" +
  5806. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5807. "'" +
  5808. ", " +
  5809. "'" +
  5810. aTool +
  5811. "'" +
  5812. ", " +
  5813. "`" +
  5814. text +
  5815. "`" +
  5816. ")\n" +
  5817. " });\n" +
  5818. "}\n" +
  5819. "document.head.appendChild(_js);\n";
  5820. _iframe.contentWindow.document.head.appendChild(_ajs);
  5821. }
  5822. }
  5823. //U.MD.D.I.openClick(str);
  5824. //如果有任务栏信息
  5825. // if (_taskbar) {
  5826. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5827. // }
  5828. }
  5829. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5830. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5831. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5832. _userid = student.userid, //登录用户id
  5833. _username = student.student //用户名字
  5834. let _iframe;
  5835. let _cid = cid,
  5836. _stage = stage,
  5837. _task = task,
  5838. _tool = tool;
  5839. var _jie = $$("div", {
  5840. "style": {
  5841. "position": "absolute",
  5842. "bottom": "50px",
  5843. "right": "50px",
  5844. "zIndex": "9999",
  5845. "backgroundColor": "#2268bc",
  5846. "color": "#fff",
  5847. "padding": "12px 20px",
  5848. "cursor": "pointer",
  5849. "borderRadius": "4px",
  5850. },
  5851. "innerHTML": "提交作业"
  5852. })
  5853. let aTool = ''
  5854. let _loading = document.createElement('div')
  5855. _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;"
  5856. // _loading.id = "";
  5857. let _lchild = document.createElement('div')
  5858. let _limg = document.createElement('img')
  5859. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5860. _limg.style = "width: 26px;margin-right: 10px;"
  5861. _lchild.appendChild(_limg)
  5862. let _lspan = document.createElement('span')
  5863. _lspan.innerHTML = "上传中..."
  5864. _lchild.appendChild(_lspan)
  5865. _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%);"
  5866. _loading.appendChild(_lchild)
  5867. var _box = $$('div', {
  5868. "style": {
  5869. "position": "relative",
  5870. "width": "100%",
  5871. "height": "100%",
  5872. },
  5873. })
  5874. _box.appendChild(_loading)
  5875. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5876. switch (str) {
  5877. case "whiteboard":
  5878. aTool = 1;
  5879. _iframe = $$("iframe", {
  5880. "frameborder": "no",
  5881. "border": "0",
  5882. "scrolling ": "no",
  5883. "style": {
  5884. "cssText": "border:0;width:100%;height:100%"
  5885. },
  5886. "src": "https://iwb.cocorobo.cn/"
  5887. })
  5888. _box.appendChild(_iframe);
  5889. _box.appendChild(_jie);
  5890. _formdiv = new U.UF.UI.form(
  5891. "电子白板-" + _username,
  5892. _box, {
  5893. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5894. "style": {
  5895. "width": "90%",
  5896. "height": "90%",
  5897. "overflow": 'hidden'
  5898. },
  5899. "onresize": function () { }
  5900. }, {
  5901. closecallback: function () { }
  5902. }, {
  5903. "style": {
  5904. "height": "36px"
  5905. }
  5906. }).form; //创建窗体
  5907. _taskbar = {
  5908. "id": str + _formdiv.id,
  5909. "style": {
  5910. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5911. },
  5912. "name": "电子白板",
  5913. "forms": _formdiv,
  5914. "click": function () {
  5915. U.MD.D.I.openApplication(str, obj, info);
  5916. }
  5917. }
  5918. break;
  5919. case "mind":
  5920. aTool = 3;
  5921. _iframe = $$("iframe", {
  5922. "frameborder": "no",
  5923. "border": "0",
  5924. "scrolling ": "no",
  5925. "style": {
  5926. "cssText": "border:0;width:100%;height:100%"
  5927. },
  5928. "src": "/kityminder-editor/dist/index.html"
  5929. })
  5930. _box.appendChild(_iframe);
  5931. _box.appendChild(_jie);
  5932. _formdiv = new U.UF.UI.form(
  5933. "思维导图-" + _username,
  5934. _box, { //"/jsmind/example/demo.html"
  5935. "id": "mind" + cid + stage + task + tool + _userid,
  5936. "style": {
  5937. "width": "90%",
  5938. "height": "90%",
  5939. "overflow": 'hidden'
  5940. },
  5941. "onresize": function () { }
  5942. }, {
  5943. closecallback: function () { }
  5944. }, {
  5945. "style": {
  5946. "height": "36px"
  5947. }
  5948. }).form; //创建窗体
  5949. _taskbar = {
  5950. "id": str + _formdiv.id,
  5951. "style": {
  5952. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5953. },
  5954. "name": "思维导图",
  5955. "forms": _formdiv,
  5956. "click": function () {
  5957. U.MD.D.I.openApplication(str, obj, info);
  5958. }
  5959. }
  5960. break;
  5961. case "MindMap":
  5962. aTool = 3;
  5963. _iframe = $$("iframe", {
  5964. "frameborder": "no",
  5965. "border": "0",
  5966. "scrolling ": "no",
  5967. "style": {
  5968. "cssText": "border:0;width:100%;height:100%"
  5969. },
  5970. "src": "//cloud.cocorobo.cn/mind/"
  5971. })
  5972. _box.appendChild(_iframe);
  5973. _box.appendChild(_jie);
  5974. _formdiv = new U.UF.UI.form(
  5975. "思维导图-" + _username,
  5976. _box, { //"/jsmind/example/demo.html"
  5977. "id": "mind" + cid + stage + task + tool + _userid,
  5978. "style": {
  5979. "width": "90%",
  5980. "height": "90%",
  5981. "overflow": 'hidden'
  5982. },
  5983. "onresize": function () { }
  5984. }, {
  5985. closecallback: function () { }
  5986. }, {
  5987. "style": {
  5988. "height": "36px"
  5989. }
  5990. }).form; //创建窗体
  5991. _taskbar = {
  5992. "id": str + _formdiv.id,
  5993. "style": {
  5994. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5995. },
  5996. "name": "思维导图",
  5997. "forms": _formdiv,
  5998. "click": function () {
  5999. U.MD.D.I.openApplication(str, obj, info);
  6000. }
  6001. }
  6002. break;
  6003. case "doc":
  6004. aTool = 6;
  6005. _iframe = $$("iframe", {
  6006. "frameborder": "no",
  6007. "border": "0",
  6008. "scrolling ": "no",
  6009. "style": {
  6010. "cssText": "border:0;width:100%;height:100%"
  6011. },
  6012. "src": "/Office/Word/WordEditArea.htm"
  6013. })
  6014. _box.appendChild(_iframe);
  6015. _box.appendChild(_jie);
  6016. _formdiv = new U.UF.UI.form(
  6017. "协同文档-" + _username,
  6018. _box, {
  6019. "id": "doc" + cid + stage + task + tool + _userid,
  6020. "style": {
  6021. "width": "90%",
  6022. "height": "90%",
  6023. "overflow": 'hidden'
  6024. },
  6025. "onresize": function () { }
  6026. }, {
  6027. closecallback: function () { }
  6028. }, {
  6029. "style": {
  6030. "height": "36px"
  6031. }
  6032. }).form; //创建窗体
  6033. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6034. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6035. })
  6036. _taskbar = {
  6037. "id": str + _formdiv.id,
  6038. "style": {
  6039. "backgroundImage": "url(/img/icon/doc.png)"
  6040. },
  6041. "name": "协同文档",
  6042. "forms": _formdiv,
  6043. "click": function () {
  6044. U.MD.D.I.openApplication(str, obj, info);
  6045. }
  6046. }
  6047. break;
  6048. case "mindNetwork": //好友打开
  6049. aTool = 7;
  6050. _iframe = $$("iframe", {
  6051. "webkitallowfullscreen": "",
  6052. "mozallowfullscreen": "",
  6053. "allowfullscreen": "",
  6054. "frameborder": "no",
  6055. "border": "0",
  6056. "scrolling ": "no",
  6057. "style": {
  6058. "cssText": "border:0; width:100%; height:100%;"
  6059. },
  6060. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6061. })
  6062. _box.appendChild(_iframe);
  6063. _box.appendChild(_jie);
  6064. _formdiv = new U.UF.UI.form(
  6065. "思维网格-" + _username,
  6066. _box, {
  6067. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6068. "style": {
  6069. "width": "90%",
  6070. "height": "90%",
  6071. "overflow": 'hidden'
  6072. },
  6073. "onresize": function () { }
  6074. }, {
  6075. closecallback: function () { }
  6076. }, {
  6077. "style": {
  6078. "height": "36px"
  6079. }
  6080. }).form; //创建窗体
  6081. _taskbar = {
  6082. "id": str + _formdiv.id,
  6083. "style": {
  6084. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6085. },
  6086. "name": "思维网格",
  6087. "forms": _formdiv,
  6088. "click": function () {
  6089. U.MD.D.I.openApplication(str, obj, info);
  6090. }
  6091. }
  6092. break;
  6093. case "courseDesign":
  6094. _iframe = $$("iframe", {
  6095. "webkitallowfullscreen": "",
  6096. "mozallowfullscreen": "",
  6097. "allowfullscreen": "",
  6098. "frameborder": "no",
  6099. "border": "0",
  6100. "scrolling ": "no",
  6101. "style": {
  6102. "cssText": "border:0; width:100%; height:100%;"
  6103. },
  6104. "src": "/course-design-vue"
  6105. })
  6106. _box.appendChild(_iframe);
  6107. _box.appendChild(_jie);
  6108. _formdiv = new U.UF.UI.form(
  6109. "项目设计-" + _username,
  6110. _box, {
  6111. "id": "courseDesign" + 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/courseDesign.png)"
  6129. },
  6130. "name": "项目设计",
  6131. "forms": _formdiv,
  6132. "click": function () {
  6133. U.MD.D.I.openApplication(str, obj, info);
  6134. }
  6135. }
  6136. break;
  6137. }
  6138. const script1 = document.createElement("script");
  6139. script1.type = "text/javascript";
  6140. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6141. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6142. const script2 = document.createElement("script");
  6143. script2.type = "text/javascript";
  6144. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6145. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6146. const script3 = document.createElement("script");
  6147. script3.type = "text/javascript";
  6148. script3.charset = "UTF-8";
  6149. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6150. const script4 = document.createElement("script");
  6151. script4.type = "text/javascript";
  6152. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6153. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6154. if (_iframe) {
  6155. if (str == 'doc') {
  6156. _iframe = _formdiv.querySelector('iframe')
  6157. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6158. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6159. _iframe.contentWindow.document.body.appendChild(script1);
  6160. _iframe.contentWindow.document.body.appendChild(script2);
  6161. // _iframe.contentWindow.document.body.appendChild(script3);
  6162. _iframe.contentWindow.document.body.appendChild(script4);
  6163. })
  6164. if (onloadListener) {
  6165. _iframe.contentDocument.location.reload()
  6166. } else {
  6167. _iframe.contentDocument.location.reload()
  6168. }
  6169. } else if (str == 'courseDesign') {
  6170. U.UF.DL.iframeLoad(_iframe, function () {
  6171. // _iframe.contentWindow.U.MD.O.W.load();
  6172. // _iframe.contentWindow.document.body.appendChild(script1);
  6173. _iframe.contentWindow.document.body.appendChild(script2);
  6174. _iframe.contentWindow.document.body.appendChild(script4);
  6175. })
  6176. } else if (str == 'mind') {
  6177. _iframe = _formdiv.querySelector('iframe')
  6178. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6179. //
  6180. _iframe.contentWindow.document.body.appendChild(script1);
  6181. _iframe.contentWindow.document.body.appendChild(script2);
  6182. _iframe.contentWindow.document.body.appendChild(script4);
  6183. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6184. })
  6185. if (onloadListener) {
  6186. _iframe.contentDocument.location.reload()
  6187. } else {
  6188. _iframe.contentDocument.location.reload()
  6189. }
  6190. } else if (str == 'whiteboard') {
  6191. _iframe = _formdiv.querySelector('iframe')
  6192. let onloadListener = _iframe.onload = () => {
  6193. _iframe.contentWindow.document.body.appendChild(script1);
  6194. _iframe.contentWindow.document.body.appendChild(script2);
  6195. _iframe.contentWindow.document.body.appendChild(script4);
  6196. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6197. };
  6198. if (onloadListener) {
  6199. _iframe.contentDocument.location.reload()
  6200. } else {
  6201. _iframe.contentDocument.location.reload()
  6202. }
  6203. } else {
  6204. _iframe.onload = () => {
  6205. _iframe.contentWindow.document.body.appendChild(script1);
  6206. _iframe.contentWindow.document.body.appendChild(script2);
  6207. // _iframe.contentWindow.document.body.appendChild(script3);
  6208. _iframe.contentWindow.document.body.appendChild(script4);
  6209. };
  6210. }
  6211. _jie.onclick = async () => {
  6212. let text = ''
  6213. if (aTool == 1) {
  6214. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6215. } else if (aTool == 6) {
  6216. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6217. } else if (aTool == 3) {
  6218. text = await U.MD.D.I.getEditorContent(_iframe);
  6219. }
  6220. _loading.style.display = 'flex'
  6221. console.log(_loading);
  6222. var _ajs = _iframe.contentWindow.document.createElement("script");
  6223. _ajs.type = "text/javascript";
  6224. _ajs.innerHTML =
  6225. // 'console.log(' + _loading + ');\n' +
  6226. 'var _js = document.createElement("script");\n' +
  6227. '_js.type="text/javascript";\n' +
  6228. '_js.charset="UTF-8";\n' +
  6229. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6230. "_js.onload = function(){\n" +
  6231. ' var a = document.getElementsByTagName("img")\n' +
  6232. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6233. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6234. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6235. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6236. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6237. "beforeUpload_shishi(file," +
  6238. "'" +
  6239. _userid +
  6240. "'" +
  6241. ", " +
  6242. "'" +
  6243. _cid +
  6244. "'" +
  6245. ", " +
  6246. "'" +
  6247. _stage +
  6248. "'" +
  6249. ", " +
  6250. "'" +
  6251. _task +
  6252. "'" +
  6253. ", " +
  6254. "'" +
  6255. _tool +
  6256. "'" +
  6257. ", " +
  6258. "'" +
  6259. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6260. "'" +
  6261. ", " +
  6262. "'" +
  6263. aTool +
  6264. "'" +
  6265. ", " +
  6266. "`" +
  6267. text +
  6268. "`" +
  6269. ")\n" +
  6270. " });\n" +
  6271. "}\n" +
  6272. "document.head.appendChild(_js);\n";
  6273. _iframe.contentWindow.document.head.appendChild(_ajs);
  6274. }
  6275. }
  6276. }
  6277. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6278. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6279. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6280. _userid = student.userid, //登录用户id
  6281. _username = student.student //用户名字
  6282. let _iframe;
  6283. let _cid = cid,
  6284. _stage = stage,
  6285. _task = task,
  6286. _tool = tool;
  6287. var _jie = $$("div", {
  6288. "style": {
  6289. "position": "absolute",
  6290. "bottom": "50px",
  6291. "right": "50px",
  6292. "zIndex": "9999",
  6293. "backgroundColor": "#2268bc",
  6294. "color": "#fff",
  6295. "padding": "12px 20px",
  6296. "cursor": "pointer",
  6297. "borderRadius": "4px",
  6298. },
  6299. "innerHTML": "提交作业"
  6300. })
  6301. let aTool = ''
  6302. let _loading = document.createElement('div')
  6303. _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;"
  6304. // _loading.id = "";
  6305. let _lchild = document.createElement('div')
  6306. let _limg = document.createElement('img')
  6307. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6308. _limg.style = "width: 26px;margin-right: 10px;"
  6309. _lchild.appendChild(_limg)
  6310. let _lspan = document.createElement('span')
  6311. _lspan.innerHTML = "上传中..."
  6312. _lchild.appendChild(_lspan)
  6313. _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%);"
  6314. _loading.appendChild(_lchild)
  6315. var _box = $$('div', {
  6316. "style": {
  6317. "position": "relative",
  6318. "width": "100%",
  6319. "height": "100%",
  6320. },
  6321. })
  6322. _box.appendChild(_loading)
  6323. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6324. switch (str) {
  6325. case "whiteboard":
  6326. aTool = 1;
  6327. _iframe = $$("iframe", {
  6328. "frameborder": "no",
  6329. "border": "0",
  6330. "scrolling ": "no",
  6331. "style": {
  6332. "cssText": "border:0;width:100%;height:100%"
  6333. },
  6334. "src": "https://iwb.cocorobo.cn/"
  6335. })
  6336. _box.appendChild(_iframe);
  6337. _box.appendChild(_jie);
  6338. _formdiv = new U.UF.UI.form(
  6339. "电子白板-" + _username,
  6340. _box, {
  6341. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6342. "style": {
  6343. "width": "90%",
  6344. "height": "90%",
  6345. "overflow": 'hidden'
  6346. },
  6347. "onresize": function () { }
  6348. }, {
  6349. closecallback: function () { }
  6350. }, {
  6351. "style": {
  6352. "height": "36px"
  6353. }
  6354. }).form; //创建窗体
  6355. _taskbar = {
  6356. "id": str + _formdiv.id,
  6357. "style": {
  6358. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6359. },
  6360. "name": "电子白板",
  6361. "forms": _formdiv,
  6362. "click": function () {
  6363. U.MD.D.I.openApplication(str, obj, info);
  6364. }
  6365. }
  6366. break;
  6367. case "mind":
  6368. aTool = 3;
  6369. _iframe = $$("iframe", {
  6370. "frameborder": "no",
  6371. "border": "0",
  6372. "scrolling ": "no",
  6373. "style": {
  6374. "cssText": "border:0;width:100%;height:100%"
  6375. },
  6376. "src": "/kityminder-editor/dist/index.html"
  6377. })
  6378. _box.appendChild(_iframe);
  6379. _box.appendChild(_jie);
  6380. _formdiv = new U.UF.UI.form(
  6381. "思维导图-" + _username,
  6382. _box, { //"/jsmind/example/demo.html"
  6383. "id": "mind" + cid + stage + task + tool + _userid,
  6384. "style": {
  6385. "width": "90%",
  6386. "height": "90%",
  6387. "overflow": 'hidden'
  6388. },
  6389. "onresize": function () { }
  6390. }, {
  6391. closecallback: function () { }
  6392. }, {
  6393. "style": {
  6394. "height": "36px"
  6395. }
  6396. }).form; //创建窗体
  6397. _taskbar = {
  6398. "id": str + _formdiv.id,
  6399. "style": {
  6400. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6401. },
  6402. "name": "思维导图",
  6403. "forms": _formdiv,
  6404. "click": function () {
  6405. U.MD.D.I.openApplication(str, obj, info);
  6406. }
  6407. }
  6408. break;
  6409. case "MindMap":
  6410. aTool = 3;
  6411. _iframe = $$("iframe", {
  6412. "frameborder": "no",
  6413. "border": "0",
  6414. "scrolling ": "no",
  6415. "style": {
  6416. "cssText": "border:0;width:100%;height:100%"
  6417. },
  6418. "src": "//cloud.cocorobo.cn/mind/"
  6419. })
  6420. _box.appendChild(_iframe);
  6421. _box.appendChild(_jie);
  6422. _formdiv = new U.UF.UI.form(
  6423. "思维导图-" + _username,
  6424. _box, { //"/jsmind/example/demo.html"
  6425. "id": "mind" + cid + stage + task + tool + _userid,
  6426. "style": {
  6427. "width": "90%",
  6428. "height": "90%",
  6429. "overflow": 'hidden'
  6430. },
  6431. "onresize": function () { }
  6432. }, {
  6433. closecallback: function () { }
  6434. }, {
  6435. "style": {
  6436. "height": "36px"
  6437. }
  6438. }).form; //创建窗体
  6439. _taskbar = {
  6440. "id": str + _formdiv.id,
  6441. "style": {
  6442. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6443. },
  6444. "name": "思维导图",
  6445. "forms": _formdiv,
  6446. "click": function () {
  6447. U.MD.D.I.openApplication(str, obj, info);
  6448. }
  6449. }
  6450. break;
  6451. case "doc":
  6452. aTool = 6;
  6453. _iframe = $$("iframe", {
  6454. "frameborder": "no",
  6455. "border": "0",
  6456. "scrolling ": "no",
  6457. "style": {
  6458. "cssText": "border:0;width:100%;height:100%"
  6459. },
  6460. "src": "/Office/Word/WordEditArea.htm"
  6461. })
  6462. _box.appendChild(_iframe);
  6463. _box.appendChild(_jie);
  6464. _formdiv = new U.UF.UI.form(
  6465. "协同文档-" + _username,
  6466. _box, {
  6467. "id": "doc" + cid + stage + task + tool + _userid,
  6468. "style": {
  6469. "width": "90%",
  6470. "height": "90%",
  6471. "overflow": 'hidden'
  6472. },
  6473. "onresize": function () { }
  6474. }, {
  6475. closecallback: function () { }
  6476. }, {
  6477. "style": {
  6478. "height": "36px"
  6479. }
  6480. }).form; //创建窗体
  6481. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6482. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6483. })
  6484. _taskbar = {
  6485. "id": str + _formdiv.id,
  6486. "style": {
  6487. "backgroundImage": "url(/img/icon/doc.png)"
  6488. },
  6489. "name": "协同文档",
  6490. "forms": _formdiv,
  6491. "click": function () {
  6492. U.MD.D.I.openApplication(str, obj, info);
  6493. }
  6494. }
  6495. break;
  6496. case "mindNetwork": //好友打开
  6497. aTool = 7;
  6498. _iframe = $$("iframe", {
  6499. "webkitallowfullscreen": "",
  6500. "mozallowfullscreen": "",
  6501. "allowfullscreen": "",
  6502. "frameborder": "no",
  6503. "border": "0",
  6504. "scrolling ": "no",
  6505. "style": {
  6506. "cssText": "border:0; width:100%; height:100%;"
  6507. },
  6508. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6509. })
  6510. _box.appendChild(_iframe);
  6511. _box.appendChild(_jie);
  6512. _formdiv = new U.UF.UI.form(
  6513. "思维网格-" + _username,
  6514. _box, {
  6515. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6516. "style": {
  6517. "width": "90%",
  6518. "height": "90%",
  6519. "overflow": 'hidden'
  6520. },
  6521. "onresize": function () { }
  6522. }, {
  6523. closecallback: function () { }
  6524. }, {
  6525. "style": {
  6526. "height": "36px"
  6527. }
  6528. }).form; //创建窗体
  6529. _taskbar = {
  6530. "id": str + _formdiv.id,
  6531. "style": {
  6532. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6533. },
  6534. "name": "思维网格",
  6535. "forms": _formdiv,
  6536. "click": function () {
  6537. U.MD.D.I.openApplication(str, obj, info);
  6538. }
  6539. }
  6540. break;
  6541. case "courseDesign":
  6542. _iframe = $$("iframe", {
  6543. "webkitallowfullscreen": "",
  6544. "mozallowfullscreen": "",
  6545. "allowfullscreen": "",
  6546. "frameborder": "no",
  6547. "border": "0",
  6548. "scrolling ": "no",
  6549. "style": {
  6550. "cssText": "border:0; width:100%; height:100%;"
  6551. },
  6552. "src": "/course-design-vue"
  6553. })
  6554. _box.appendChild(_iframe);
  6555. _box.appendChild(_jie);
  6556. _formdiv = new U.UF.UI.form(
  6557. "项目设计-" + _username,
  6558. _box, {
  6559. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6560. "style": {
  6561. "width": "90%",
  6562. "height": "90%",
  6563. "overflow": 'hidden'
  6564. },
  6565. "onresize": function () { }
  6566. }, {
  6567. closecallback: function () { }
  6568. }, {
  6569. "style": {
  6570. "height": "36px"
  6571. }
  6572. }).form; //创建窗体
  6573. _taskbar = {
  6574. "id": str + _formdiv.id,
  6575. "style": {
  6576. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6577. },
  6578. "name": "项目设计",
  6579. "forms": _formdiv,
  6580. "click": function () {
  6581. U.MD.D.I.openApplication(str, obj, info);
  6582. }
  6583. }
  6584. break;
  6585. }
  6586. const script1 = document.createElement("script");
  6587. script1.type = "text/javascript";
  6588. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6589. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6590. const script2 = document.createElement("script");
  6591. script2.type = "text/javascript";
  6592. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6593. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6594. const script3 = document.createElement("script");
  6595. script3.type = "text/javascript";
  6596. script3.charset = "UTF-8";
  6597. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6598. const script4 = document.createElement("script");
  6599. script4.type = "text/javascript";
  6600. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6601. script4.src = window.origin + "/js/Common/jietu2E.js";
  6602. if (_iframe) {
  6603. if (str == 'doc') {
  6604. _iframe = _formdiv.querySelector('iframe')
  6605. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6606. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6607. _iframe.contentWindow.document.body.appendChild(script1);
  6608. _iframe.contentWindow.document.body.appendChild(script2);
  6609. // _iframe.contentWindow.document.body.appendChild(script3);
  6610. _iframe.contentWindow.document.body.appendChild(script4);
  6611. })
  6612. if (onloadListener) {
  6613. _iframe.contentDocument.location.reload()
  6614. } else {
  6615. _iframe.contentDocument.location.reload()
  6616. }
  6617. } else if (str == 'courseDesign') {
  6618. U.UF.DL.iframeLoad(_iframe, function () {
  6619. // _iframe.contentWindow.U.MD.O.W.load();
  6620. // _iframe.contentWindow.document.body.appendChild(script1);
  6621. _iframe.contentWindow.document.body.appendChild(script2);
  6622. _iframe.contentWindow.document.body.appendChild(script4);
  6623. })
  6624. } else if (str == 'mind') {
  6625. _iframe = _formdiv.querySelector('iframe')
  6626. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6627. //
  6628. _iframe.contentWindow.document.body.appendChild(script1);
  6629. _iframe.contentWindow.document.body.appendChild(script2);
  6630. _iframe.contentWindow.document.body.appendChild(script4);
  6631. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6632. })
  6633. if (onloadListener) {
  6634. _iframe.contentDocument.location.reload()
  6635. } else {
  6636. _iframe.contentDocument.location.reload()
  6637. }
  6638. } else if (str == 'whiteboard') {
  6639. _iframe = _formdiv.querySelector('iframe')
  6640. let onloadListener = _iframe.onload = () => {
  6641. _iframe.contentWindow.document.body.appendChild(script1);
  6642. _iframe.contentWindow.document.body.appendChild(script2);
  6643. _iframe.contentWindow.document.body.appendChild(script4);
  6644. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6645. };
  6646. if (onloadListener) {
  6647. _iframe.contentDocument.location.reload()
  6648. } else {
  6649. _iframe.contentDocument.location.reload()
  6650. }
  6651. } else {
  6652. _iframe.onload = () => {
  6653. _iframe.contentWindow.document.body.appendChild(script1);
  6654. _iframe.contentWindow.document.body.appendChild(script2);
  6655. // _iframe.contentWindow.document.body.appendChild(script3);
  6656. _iframe.contentWindow.document.body.appendChild(script4);
  6657. };
  6658. }
  6659. _jie.onclick = async () => {
  6660. let text = ''
  6661. if (aTool == 1) {
  6662. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6663. } else if (aTool == 6) {
  6664. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6665. } else if (aTool == 3) {
  6666. text = await U.MD.D.I.getEditorContent(_iframe);
  6667. }
  6668. _loading.style.display = 'flex'
  6669. console.log(_loading);
  6670. var _ajs = _iframe.contentWindow.document.createElement("script");
  6671. _ajs.type = "text/javascript";
  6672. _ajs.innerHTML =
  6673. // 'console.log(' + _loading + ');\n' +
  6674. 'var _js = document.createElement("script");\n' +
  6675. '_js.type="text/javascript";\n' +
  6676. '_js.charset="UTF-8";\n' +
  6677. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6678. "_js.onload = function(){\n" +
  6679. ' var a = document.getElementsByTagName("img")\n' +
  6680. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6681. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6682. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6683. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6684. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6685. "beforeUpload_shishi(file," +
  6686. "'" +
  6687. _userid +
  6688. "'" +
  6689. ", " +
  6690. "'" +
  6691. _cid +
  6692. "'" +
  6693. ", " +
  6694. "'" +
  6695. _stage +
  6696. "'" +
  6697. ", " +
  6698. "'" +
  6699. _task +
  6700. "'" +
  6701. ", " +
  6702. "'" +
  6703. _tool +
  6704. "'" +
  6705. ", " +
  6706. "'" +
  6707. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6708. "'" +
  6709. ", " +
  6710. "'" +
  6711. aTool +
  6712. "'" +
  6713. ", " +
  6714. "`" +
  6715. text +
  6716. "`" +
  6717. ")\n" +
  6718. " });\n" +
  6719. "}\n" +
  6720. "document.head.appendChild(_js);\n";
  6721. _iframe.contentWindow.document.head.appendChild(_ajs);
  6722. }
  6723. }
  6724. }
  6725. U.MD.D.I.getEditorContent = function (iframe) {
  6726. return new Promise((resolve, reject) => {
  6727. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6728. console.log(content);
  6729. resolve(content)
  6730. });
  6731. });
  6732. }
  6733. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6734. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6735. // if (res.value[0].length > 0) {
  6736. // // resolve(res.value[0][0].text);
  6737. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6738. // $(fileInput).val('');
  6739. // });
  6740. // }
  6741. // }, [], { "type": "GET", "withCredentials": true });
  6742. var xmlhttp;
  6743. var Mac, Sn, DeviceId
  6744. if (window.XMLHttpRequest) {
  6745. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6746. xmlhttp = new XMLHttpRequest();
  6747. } else {
  6748. // IE6, IE5 浏览器执行代码
  6749. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6750. }
  6751. xmlhttp.onreadystatechange = function () {
  6752. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6753. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6754. // resolve(res.value[0][0].text);
  6755. if (type == '2') {
  6756. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6757. } else if (type == '3') {
  6758. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6759. }
  6760. } else {
  6761. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6762. }
  6763. }
  6764. }
  6765. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6766. xmlhttp.send();
  6767. }
  6768. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6769. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6770. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6771. _userinfo = US.userInfo, //登录用户信息
  6772. _userid = US.userInfo.userid //登录用户id
  6773. let _iframe;
  6774. let _cid = cid,
  6775. _stage = stage,
  6776. _task = task,
  6777. _tool = tool;
  6778. var _jie = $$("div", {
  6779. "style": {
  6780. "position": "absolute",
  6781. "bottom": "50px",
  6782. "right": "50px",
  6783. "zIndex": "9999",
  6784. "backgroundColor": "#2268bc",
  6785. "color": "#fff",
  6786. "padding": "12px 20px",
  6787. "cursor": "pointer",
  6788. "borderRadius": "4px",
  6789. },
  6790. "innerHTML": "确认并提交"
  6791. })
  6792. let aTool = ''
  6793. let _loading = document.createElement('div')
  6794. _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;"
  6795. // _loading.id = "";
  6796. let _lchild = document.createElement('div')
  6797. let _limg = document.createElement('img')
  6798. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6799. _limg.style = "width: 26px;margin-right: 10px;"
  6800. _lchild.appendChild(_limg)
  6801. let _lspan = document.createElement('span')
  6802. _lspan.innerHTML = "上传中..."
  6803. _lchild.appendChild(_lspan)
  6804. _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%);"
  6805. _loading.appendChild(_lchild)
  6806. var _box = $$('div', {
  6807. "style": {
  6808. "position": "relative",
  6809. "width": "100%",
  6810. "height": "100%",
  6811. },
  6812. })
  6813. _box.appendChild(_loading)
  6814. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6815. switch (str) {
  6816. case "whiteboard":
  6817. aTool = 1;
  6818. _iframe = $$("iframe", {
  6819. "frameborder": "no",
  6820. "border": "0",
  6821. "scrolling ": "no",
  6822. "style": {
  6823. "cssText": "border:0;width:100%;height:100%"
  6824. },
  6825. "src": "https://iwb.cocorobo.cn/"
  6826. })
  6827. _box.appendChild(_iframe);
  6828. _box.appendChild(_jie);
  6829. _formdiv = new U.UF.UI.form(
  6830. "电子白板",
  6831. _box, {
  6832. "id": "whiteboards" + cid + stage + task + tool,
  6833. "style": {
  6834. "width": "90%",
  6835. "height": "90%",
  6836. "overflow": 'hidden'
  6837. },
  6838. "onresize": function () { }
  6839. }, {
  6840. closecallback: function () { }
  6841. }, {
  6842. "style": {
  6843. "height": "36px"
  6844. }
  6845. }).form; //创建窗体
  6846. _taskbar = {
  6847. "id": str + _formdiv.id,
  6848. "style": {
  6849. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6850. },
  6851. "name": "电子白板",
  6852. "forms": _formdiv,
  6853. "click": function () {
  6854. U.MD.D.I.openApplication(str, obj, info);
  6855. }
  6856. }
  6857. break;
  6858. case "mind":
  6859. aTool = 3;
  6860. _iframe = $$("iframe", {
  6861. "frameborder": "no",
  6862. "border": "0",
  6863. "scrolling ": "no",
  6864. "style": {
  6865. "cssText": "border:0;width:100%;height:100%"
  6866. },
  6867. "src": "/kityminder-editor/dist/index.html"
  6868. });
  6869. _box.appendChild(_iframe);
  6870. _box.appendChild(_jie);
  6871. _formdiv = new U.UF.UI.form(
  6872. "思维导图",
  6873. _box, { //"/jsmind/example/demo.html"
  6874. "id": "minds" + cid + stage + task + tool,
  6875. "style": {
  6876. "width": "90%",
  6877. "height": "90%",
  6878. "overflow": 'hidden'
  6879. },
  6880. "onresize": function () { }
  6881. }, {
  6882. closecallback: function () { }
  6883. }, {
  6884. "style": {
  6885. "height": "36px"
  6886. }
  6887. }).form; //创建窗体
  6888. _taskbar = {
  6889. "id": str + _formdiv.id,
  6890. "style": {
  6891. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6892. },
  6893. "name": "思维导图",
  6894. "forms": _formdiv,
  6895. "click": function () {
  6896. U.MD.D.I.openApplication(str, obj, info);
  6897. }
  6898. }
  6899. break;
  6900. case "doc":
  6901. aTool = 6;
  6902. _iframe = $$("iframe", {
  6903. "frameborder": "no",
  6904. "border": "0",
  6905. "scrolling ": "no",
  6906. "style": {
  6907. "cssText": "border:0;width:100%;height:100%"
  6908. },
  6909. "src": "/Office/Word/WordEditArea.htm"
  6910. })
  6911. _box.appendChild(_iframe);
  6912. _box.appendChild(_jie);
  6913. _formdiv = new U.UF.UI.form(
  6914. "协同文档",
  6915. _box, {
  6916. "id": "docs" + cid + stage + task + tool,
  6917. "style": {
  6918. "width": "90%",
  6919. "height": "90%",
  6920. "overflow": 'hidden'
  6921. },
  6922. "onresize": function () { }
  6923. }, {
  6924. closecallback: function () { }
  6925. }, {
  6926. "style": {
  6927. "height": "36px"
  6928. }
  6929. }).form; //创建窗体
  6930. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6931. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6932. })
  6933. _taskbar = {
  6934. "id": str + _formdiv.id,
  6935. "style": {
  6936. "backgroundImage": "url(/img/icon/doc.png)"
  6937. },
  6938. "name": "协同文档",
  6939. "forms": _formdiv,
  6940. "click": function () {
  6941. U.MD.D.I.openApplication(str, obj, info);
  6942. }
  6943. }
  6944. break;
  6945. }
  6946. const script1 = document.createElement("script");
  6947. script1.type = "text/javascript";
  6948. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6949. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6950. const script2 = document.createElement("script");
  6951. script2.type = "text/javascript";
  6952. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6953. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6954. const script3 = document.createElement("script");
  6955. script3.type = "text/javascript";
  6956. script3.charset = "UTF-8";
  6957. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6958. const script4 = document.createElement("script");
  6959. script4.type = "text/javascript";
  6960. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6961. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6962. if (_iframe) {
  6963. if (str == 'doc') {
  6964. _iframe = _formdiv.querySelector('iframe')
  6965. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6966. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6967. _iframe.contentWindow.document.body.appendChild(script1);
  6968. _iframe.contentWindow.document.body.appendChild(script2);
  6969. // _iframe.contentWindow.document.body.appendChild(script3);
  6970. _iframe.contentWindow.document.body.appendChild(script4);
  6971. })
  6972. if (onloadListener) {
  6973. _iframe.contentDocument.location.reload()
  6974. } else {
  6975. _iframe.contentDocument.location.reload()
  6976. }
  6977. } else if (str == 'mind') {
  6978. _iframe = _formdiv.querySelector('iframe')
  6979. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6980. _iframe.contentWindow.document.body.appendChild(script1);
  6981. _iframe.contentWindow.document.body.appendChild(script2);
  6982. _iframe.contentWindow.document.body.appendChild(script4);
  6983. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6984. })
  6985. if (onloadListener) {
  6986. _iframe.contentDocument.location.reload()
  6987. } else {
  6988. _iframe.contentDocument.location.reload()
  6989. }
  6990. } else {
  6991. _iframe.onload = () => {
  6992. _iframe.contentWindow.document.body.appendChild(script1);
  6993. _iframe.contentWindow.document.body.appendChild(script2);
  6994. // _iframe.contentWindow.document.body.appendChild(script3);
  6995. _iframe.contentWindow.document.body.appendChild(script4);
  6996. };
  6997. }
  6998. _jie.onclick = async () => {
  6999. let text = ''
  7000. if (aTool == 6) {
  7001. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7002. } else if (aTool == 3) {
  7003. text = await U.MD.D.I.getEditorContent(_iframe);
  7004. }
  7005. _loading.style.display = 'flex'
  7006. console.log(_loading);
  7007. var _ajs = _iframe.contentWindow.document.createElement("script");
  7008. _ajs.type = "text/javascript";
  7009. _ajs.innerHTML =
  7010. // 'console.log(' + _loading + ');\n' +
  7011. 'var _js = document.createElement("script");\n' +
  7012. '_js.type="text/javascript";\n' +
  7013. '_js.charset="UTF-8";\n' +
  7014. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7015. "_js.onload = function(){\n" +
  7016. ' var a = document.getElementsByTagName("img")\n' +
  7017. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7018. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7019. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7020. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7021. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7022. "beforeUpload_shishi(file," +
  7023. "'" +
  7024. _userid +
  7025. "'" +
  7026. ", " +
  7027. "'" +
  7028. _cid +
  7029. "'" +
  7030. ", " +
  7031. "'" +
  7032. _stage +
  7033. "'" +
  7034. ", " +
  7035. "'" +
  7036. _task +
  7037. "'" +
  7038. ", " +
  7039. "'" +
  7040. _tool +
  7041. "'" +
  7042. ", " +
  7043. "'" +
  7044. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7045. "'" +
  7046. ", " +
  7047. "'" +
  7048. aTool +
  7049. "'" +
  7050. ", " +
  7051. "`" +
  7052. text +
  7053. "`" +
  7054. ")\n" +
  7055. " });\n" +
  7056. "}\n" +
  7057. "document.head.appendChild(_js);\n";
  7058. _iframe.contentWindow.document.head.appendChild(_ajs);
  7059. }
  7060. }
  7061. //U.MD.D.I.openClick(str);
  7062. //如果有任务栏信息
  7063. // if (_taskbar) {
  7064. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7065. // }
  7066. }
  7067. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7068. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7069. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7070. _userinfo = US.userInfo, //登录用户信息
  7071. _userid = US.userInfo.userid //登录用户id
  7072. let _iframe;
  7073. let _cid = cid,
  7074. _stage = stage,
  7075. _task = task,
  7076. _tool = tool;
  7077. var _jie = $$("div", {
  7078. "style": {
  7079. "position": "absolute",
  7080. "bottom": "50px",
  7081. "right": "50px",
  7082. "zIndex": "9999",
  7083. "backgroundColor": "#2268bc",
  7084. "color": "#fff",
  7085. "padding": "12px 20px",
  7086. "cursor": "pointer",
  7087. "borderRadius": "4px",
  7088. },
  7089. "innerHTML": "确认并提交"
  7090. })
  7091. let aTool = ''
  7092. let _loading = document.createElement('div')
  7093. _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;"
  7094. // _loading.id = "";
  7095. let _lchild = document.createElement('div')
  7096. let _limg = document.createElement('img')
  7097. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7098. _limg.style = "width: 26px;margin-right: 10px;"
  7099. _lchild.appendChild(_limg)
  7100. let _lspan = document.createElement('span')
  7101. _lspan.innerHTML = "上传中..."
  7102. _lchild.appendChild(_lspan)
  7103. _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%);"
  7104. _loading.appendChild(_lchild)
  7105. var _box = $$('div', {
  7106. "style": {
  7107. "position": "relative",
  7108. "width": "100%",
  7109. "height": "100%",
  7110. },
  7111. })
  7112. _box.appendChild(_loading)
  7113. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7114. switch (str) {
  7115. case "whiteboard":
  7116. aTool = 1;
  7117. _iframe = $$("iframe", {
  7118. "frameborder": "no",
  7119. "border": "0",
  7120. "scrolling ": "no",
  7121. "style": {
  7122. "cssText": "border:0;width:100%;height:100%"
  7123. },
  7124. "src": "https://iwb.cocorobo.cn/"
  7125. })
  7126. _box.appendChild(_iframe);
  7127. _box.appendChild(_jie);
  7128. _formdiv = new U.UF.UI.form(
  7129. "电子白板",
  7130. _box, {
  7131. "id": "whiteboards" + cid + stage + task + tool,
  7132. "style": {
  7133. "width": "90%",
  7134. "height": "90%",
  7135. "overflow": 'hidden'
  7136. },
  7137. "onresize": function () { }
  7138. }, {
  7139. closecallback: function () { }
  7140. }, {
  7141. "style": {
  7142. "height": "36px"
  7143. }
  7144. }).form; //创建窗体
  7145. _taskbar = {
  7146. "id": str + _formdiv.id,
  7147. "style": {
  7148. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7149. },
  7150. "name": "电子白板",
  7151. "forms": _formdiv,
  7152. "click": function () {
  7153. U.MD.D.I.openApplication(str, obj, info);
  7154. }
  7155. }
  7156. break;
  7157. case "mind":
  7158. aTool = 3;
  7159. _iframe = $$("iframe", {
  7160. "frameborder": "no",
  7161. "border": "0",
  7162. "scrolling ": "no",
  7163. "style": {
  7164. "cssText": "border:0;width:100%;height:100%"
  7165. },
  7166. "src": "/kityminder-editor/dist/index.html"
  7167. });
  7168. _box.appendChild(_iframe);
  7169. _box.appendChild(_jie);
  7170. _formdiv = new U.UF.UI.form(
  7171. "思维导图",
  7172. _box, { //"/jsmind/example/demo.html"
  7173. "id": "minds" + cid + stage + task + tool,
  7174. "style": {
  7175. "width": "90%",
  7176. "height": "90%",
  7177. "overflow": 'hidden'
  7178. },
  7179. "onresize": function () { }
  7180. }, {
  7181. closecallback: function () { }
  7182. }, {
  7183. "style": {
  7184. "height": "36px"
  7185. }
  7186. }).form; //创建窗体
  7187. _taskbar = {
  7188. "id": str + _formdiv.id,
  7189. "style": {
  7190. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7191. },
  7192. "name": "思维导图",
  7193. "forms": _formdiv,
  7194. "click": function () {
  7195. U.MD.D.I.openApplication(str, obj, info);
  7196. }
  7197. }
  7198. break;
  7199. case "doc":
  7200. aTool = 6;
  7201. _iframe = $$("iframe", {
  7202. "frameborder": "no",
  7203. "border": "0",
  7204. "scrolling ": "no",
  7205. "style": {
  7206. "cssText": "border:0;width:100%;height:100%"
  7207. },
  7208. "src": "/Office/Word/WordEditArea.htm"
  7209. })
  7210. _box.appendChild(_iframe);
  7211. _box.appendChild(_jie);
  7212. _formdiv = new U.UF.UI.form(
  7213. "协同文档",
  7214. _box, {
  7215. "id": "docs" + cid + stage + task + tool,
  7216. "style": {
  7217. "width": "90%",
  7218. "height": "90%",
  7219. "overflow": 'hidden'
  7220. },
  7221. "onresize": function () { }
  7222. }, {
  7223. closecallback: function () { }
  7224. }, {
  7225. "style": {
  7226. "height": "36px"
  7227. }
  7228. }).form; //创建窗体
  7229. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7230. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7231. })
  7232. _taskbar = {
  7233. "id": str + _formdiv.id,
  7234. "style": {
  7235. "backgroundImage": "url(/img/icon/doc.png)"
  7236. },
  7237. "name": "协同文档",
  7238. "forms": _formdiv,
  7239. "click": function () {
  7240. U.MD.D.I.openApplication(str, obj, info);
  7241. }
  7242. }
  7243. break;
  7244. }
  7245. const script1 = document.createElement("script");
  7246. script1.type = "text/javascript";
  7247. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7248. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7249. const script2 = document.createElement("script");
  7250. script2.type = "text/javascript";
  7251. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7252. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7253. const script3 = document.createElement("script");
  7254. script3.type = "text/javascript";
  7255. script3.charset = "UTF-8";
  7256. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7257. const script4 = document.createElement("script");
  7258. script4.type = "text/javascript";
  7259. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7260. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7261. if (_iframe) {
  7262. if (str == 'doc') {
  7263. _iframe = _formdiv.querySelector('iframe')
  7264. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7265. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7266. _iframe.contentWindow.document.body.appendChild(script1);
  7267. _iframe.contentWindow.document.body.appendChild(script2);
  7268. // _iframe.contentWindow.document.body.appendChild(script3);
  7269. _iframe.contentWindow.document.body.appendChild(script4);
  7270. })
  7271. if (onloadListener) {
  7272. _iframe.contentDocument.location.reload()
  7273. } else {
  7274. _iframe.contentDocument.location.reload()
  7275. }
  7276. } else if (str == 'mind') {
  7277. _iframe = _formdiv.querySelector('iframe')
  7278. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7279. _iframe.contentWindow.document.body.appendChild(script1);
  7280. _iframe.contentWindow.document.body.appendChild(script2);
  7281. _iframe.contentWindow.document.body.appendChild(script4);
  7282. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7283. })
  7284. if (onloadListener) {
  7285. _iframe.contentDocument.location.reload()
  7286. } else {
  7287. _iframe.contentDocument.location.reload()
  7288. }
  7289. } else {
  7290. _iframe.onload = () => {
  7291. _iframe.contentWindow.document.body.appendChild(script1);
  7292. _iframe.contentWindow.document.body.appendChild(script2);
  7293. // _iframe.contentWindow.document.body.appendChild(script3);
  7294. _iframe.contentWindow.document.body.appendChild(script4);
  7295. };
  7296. }
  7297. _jie.onclick = async () => {
  7298. let text = ''
  7299. if (aTool == 6) {
  7300. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7301. } else if (aTool == 3) {
  7302. text = await U.MD.D.I.getEditorContent(_iframe);
  7303. }
  7304. _loading.style.display = 'flex'
  7305. console.log(_loading);
  7306. var _ajs = _iframe.contentWindow.document.createElement("script");
  7307. _ajs.type = "text/javascript";
  7308. _ajs.innerHTML =
  7309. // 'console.log(' + _loading + ');\n' +
  7310. 'var _js = document.createElement("script");\n' +
  7311. '_js.type="text/javascript";\n' +
  7312. '_js.charset="UTF-8";\n' +
  7313. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7314. "_js.onload = function(){\n" +
  7315. ' var a = document.getElementsByTagName("img")\n' +
  7316. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7317. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7318. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7319. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7320. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7321. "beforeUpload_shishi(file," +
  7322. "'" +
  7323. _userid +
  7324. "'" +
  7325. ", " +
  7326. "'" +
  7327. _cid +
  7328. "'" +
  7329. ", " +
  7330. "'" +
  7331. _stage +
  7332. "'" +
  7333. ", " +
  7334. "'" +
  7335. _task +
  7336. "'" +
  7337. ", " +
  7338. "'" +
  7339. _tool +
  7340. "'" +
  7341. ", " +
  7342. "'" +
  7343. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7344. "'" +
  7345. ", " +
  7346. "'" +
  7347. aTool +
  7348. "'" +
  7349. ", " +
  7350. "`" +
  7351. text +
  7352. "`" +
  7353. ")\n" +
  7354. " });\n" +
  7355. "}\n" +
  7356. "document.head.appendChild(_js);\n";
  7357. _iframe.contentWindow.document.head.appendChild(_ajs);
  7358. }
  7359. }
  7360. //U.MD.D.I.openClick(str);
  7361. //如果有任务栏信息
  7362. // if (_taskbar) {
  7363. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7364. // }
  7365. }
  7366. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7367. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7368. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7369. _userinfo = US.userInfo, //登录用户信息
  7370. _userid = US.userInfo.userid //登录用户id
  7371. let _iframe;
  7372. let _cid = cid,
  7373. _stage = stage,
  7374. _task = task,
  7375. _tool = tool;
  7376. var _jie = $$("div", {
  7377. "style": {
  7378. "position": "absolute",
  7379. "bottom": "50px",
  7380. "right": "50px",
  7381. "zIndex": "9999",
  7382. "backgroundColor": "#2268bc",
  7383. "color": "#fff",
  7384. "padding": "12px 20px",
  7385. "cursor": "pointer",
  7386. "borderRadius": "4px",
  7387. },
  7388. "innerHTML": "上传模板"
  7389. })
  7390. let aTool = ''
  7391. let _loading = document.createElement('div')
  7392. _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;"
  7393. // _loading.id = "";
  7394. let _lchild = document.createElement('div')
  7395. let _limg = document.createElement('img')
  7396. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7397. _limg.style = "width: 26px;margin-right: 10px;"
  7398. _lchild.appendChild(_limg)
  7399. let _lspan = document.createElement('span')
  7400. _lspan.innerHTML = "上传中..."
  7401. _lchild.appendChild(_lspan)
  7402. _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%);"
  7403. _loading.appendChild(_lchild)
  7404. var _box = $$('div', {
  7405. "style": {
  7406. "position": "relative",
  7407. "width": "100%",
  7408. "height": "100%",
  7409. },
  7410. })
  7411. _box.appendChild(_loading)
  7412. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7413. switch (str) {
  7414. case "whiteboard":
  7415. aTool = 1;
  7416. _iframe = $$("iframe", {
  7417. "frameborder": "no",
  7418. "border": "0",
  7419. "scrolling ": "no",
  7420. "style": {
  7421. "cssText": "border:0;width:100%;height:100%"
  7422. },
  7423. "src": "https://iwb.cocorobo.cn/"
  7424. })
  7425. _box.appendChild(_iframe);
  7426. _box.appendChild(_jie);
  7427. _formdiv = new U.UF.UI.form(
  7428. "电子白板",
  7429. _box, {
  7430. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7431. "style": {
  7432. "width": "90%",
  7433. "height": "90%",
  7434. "overflow": 'hidden'
  7435. },
  7436. "onresize": function () { }
  7437. }, {
  7438. closecallback: function () { }
  7439. }, {
  7440. "style": {
  7441. "height": "36px"
  7442. }
  7443. }).form; //创建窗体
  7444. _taskbar = {
  7445. "id": str + _formdiv.id,
  7446. "style": {
  7447. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7448. },
  7449. "name": "电子白板",
  7450. "forms": _formdiv,
  7451. "click": function () {
  7452. U.MD.D.I.openApplication(str, obj, info);
  7453. }
  7454. }
  7455. break;
  7456. case "mind":
  7457. aTool = 3;
  7458. _iframe = $$("iframe", {
  7459. "frameborder": "no",
  7460. "border": "0",
  7461. "scrolling ": "no",
  7462. "style": {
  7463. "cssText": "border:0;width:100%;height:100%"
  7464. },
  7465. "src": "/kityminder-editor/dist/index.html"
  7466. });
  7467. _box.appendChild(_iframe);
  7468. _box.appendChild(_jie);
  7469. _formdiv = new U.UF.UI.form(
  7470. "思维导图",
  7471. _box, { //"/jsmind/example/demo.html"
  7472. "id": "minds_Yu" + cid + stage + task + tool,
  7473. "style": {
  7474. "width": "90%",
  7475. "height": "90%",
  7476. "overflow": 'hidden'
  7477. },
  7478. "onresize": function () { }
  7479. }, {
  7480. closecallback: function () { }
  7481. }, {
  7482. "style": {
  7483. "height": "36px"
  7484. }
  7485. }).form; //创建窗体
  7486. _taskbar = {
  7487. "id": str + _formdiv.id,
  7488. "style": {
  7489. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7490. },
  7491. "name": "思维导图",
  7492. "forms": _formdiv,
  7493. "click": function () {
  7494. U.MD.D.I.openApplication(str, obj, info);
  7495. }
  7496. }
  7497. break;
  7498. case "doc":
  7499. aTool = 6;
  7500. _iframe = $$("iframe", {
  7501. "frameborder": "no",
  7502. "border": "0",
  7503. "scrolling ": "no",
  7504. "style": {
  7505. "cssText": "border:0;width:100%;height:100%"
  7506. },
  7507. "src": "/Office/Word/WordEditArea.htm"
  7508. })
  7509. _box.appendChild(_iframe);
  7510. _box.appendChild(_jie);
  7511. _formdiv = new U.UF.UI.form(
  7512. "协同文档",
  7513. _box, {
  7514. "id": "docs_Yu" + cid + stage + task + tool,
  7515. "style": {
  7516. "width": "90%",
  7517. "height": "90%",
  7518. "overflow": 'hidden'
  7519. },
  7520. "onresize": function () { }
  7521. }, {
  7522. closecallback: function () { }
  7523. }, {
  7524. "style": {
  7525. "height": "36px"
  7526. }
  7527. }).form; //创建窗体
  7528. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7529. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7530. })
  7531. _taskbar = {
  7532. "id": str + _formdiv.id,
  7533. "style": {
  7534. "backgroundImage": "url(/img/icon/doc.png)"
  7535. },
  7536. "name": "协同文档",
  7537. "forms": _formdiv,
  7538. "click": function () {
  7539. U.MD.D.I.openApplication(str, obj, info);
  7540. }
  7541. }
  7542. break;
  7543. case "CocoPi":
  7544. aTool = 57;
  7545. _iframe = $$("iframe", {
  7546. "allowpaymentrequest": "allowpaymentrequest",
  7547. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7548. "webkitallowfullscreen": "",
  7549. "mozallowfullscreen": "",
  7550. "frameborder": "no",
  7551. "border": "0",
  7552. "scrolling ": "no",
  7553. "style": {
  7554. "cssText": "border:0;width:100%;height:100%"
  7555. },
  7556. "src": "https://pi.cocorobo.cn/"
  7557. })
  7558. _box.appendChild(_iframe);
  7559. _box.appendChild(_jie);
  7560. _formdiv = new U.UF.UI.form(
  7561. "CocoPi",
  7562. _box, {
  7563. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7564. "style": {
  7565. "width": "90%",
  7566. "height": "90%",
  7567. "overflow": 'hidden'
  7568. },
  7569. "onresize": function () { }
  7570. }, {
  7571. closecallback: function () { }
  7572. }, {
  7573. "style": {
  7574. "height": "36px"
  7575. }
  7576. }).form; //创建窗体
  7577. _taskbar = {
  7578. "id": str + _formdiv.id,
  7579. "style": {
  7580. "backgroundImage": "url(/img/icon/cocopi.png)"
  7581. },
  7582. "name": "CocoPi",
  7583. "forms": _formdiv,
  7584. "click": function () {
  7585. U.MD.D.I.openApplication(str, obj, info);
  7586. }
  7587. }
  7588. break;
  7589. }
  7590. if (_iframe) {
  7591. if (str == 'doc') {
  7592. _iframe = _formdiv.querySelector('iframe')
  7593. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7594. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7595. })
  7596. if (onloadListener) {
  7597. _iframe.contentDocument.location.reload()
  7598. } else {
  7599. _iframe.contentDocument.location.reload()
  7600. }
  7601. } else if (str == 'mind') {
  7602. _iframe = _formdiv.querySelector('iframe')
  7603. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7604. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7605. })
  7606. if (onloadListener) {
  7607. _iframe.contentDocument.location.reload()
  7608. } else {
  7609. _iframe.contentDocument.location.reload()
  7610. }
  7611. } else if (str == 'whiteboard') {
  7612. _iframe = _formdiv.querySelector('iframe')
  7613. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7614. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7615. })
  7616. if (onloadListener) {
  7617. _iframe.contentDocument.location.reload()
  7618. } else {
  7619. _iframe.contentDocument.location.reload()
  7620. }
  7621. } else if (str == 'CocoPi') {
  7622. _iframe = _formdiv.querySelector('iframe')
  7623. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7624. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7625. })
  7626. if (onloadListener) {
  7627. _iframe.contentDocument.location.reload()
  7628. } else {
  7629. _iframe.contentDocument.location.reload()
  7630. }
  7631. } else {
  7632. _iframe.onload = () => { };
  7633. }
  7634. _jie.onclick = async () => {
  7635. let text = ''
  7636. let type = '2'
  7637. if (aTool == 1) {
  7638. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7639. type = '3'
  7640. } else if (aTool == 6) {
  7641. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7642. type = '1'
  7643. } else if (aTool == 3) {
  7644. text = await U.MD.D.I.getEditorContent(_iframe);
  7645. type = '2'
  7646. } else if (aTool == 57) {
  7647. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7648. type = '4'
  7649. }
  7650. _loading.style.display = 'flex'
  7651. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7652. }
  7653. }
  7654. //U.MD.D.I.openClick(str);
  7655. //如果有任务栏信息
  7656. // if (_taskbar) {
  7657. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7658. // }
  7659. }
  7660. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7661. var xmlhttp;
  7662. var Mac, Sn, DeviceId
  7663. if (window.XMLHttpRequest) {
  7664. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7665. xmlhttp = new XMLHttpRequest();
  7666. } else {
  7667. // IE6, IE5 浏览器执行代码
  7668. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7669. }
  7670. xmlhttp.onreadystatechange = function () {
  7671. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7672. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7673. // resolve(res.value[0][0].text);
  7674. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7675. }
  7676. }
  7677. }
  7678. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7679. xmlhttp.send();
  7680. }
  7681. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7682. var xmlhttp;
  7683. var Mac, Sn, DeviceId
  7684. if (window.XMLHttpRequest) {
  7685. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7686. xmlhttp = new XMLHttpRequest();
  7687. } else {
  7688. // IE6, IE5 浏览器执行代码
  7689. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7690. }
  7691. xmlhttp.onreadystatechange = function () {
  7692. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7693. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7694. // resolve(res.value[0][0].text);
  7695. if (type == '2') {
  7696. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7697. } else if (type == '3') {
  7698. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7699. } else if (type == '4') {
  7700. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7701. }
  7702. } else {
  7703. if (type == '2') {
  7704. iframe.contentWindow.editor.minder.importData('json', '')
  7705. } else if (type == '3') {
  7706. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7707. } else if (type == '4') {
  7708. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7709. }
  7710. }
  7711. }
  7712. }
  7713. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7714. xmlhttp.send();
  7715. }
  7716. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7717. var xmlhttp;
  7718. var Mac, Sn, DeviceId
  7719. if (window.XMLHttpRequest) {
  7720. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7721. xmlhttp = new XMLHttpRequest();
  7722. } else {
  7723. // IE6, IE5 浏览器执行代码
  7724. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7725. }
  7726. xmlhttp.onreadystatechange = function () {
  7727. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7728. if (xmlhttp.response) {
  7729. // resolve(res.value[0][0].text);
  7730. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7731. // $(fileInput).val('');
  7732. // });
  7733. span.innerHTML = '上传成功'
  7734. setTimeout(() => {
  7735. loading.style.display = 'none'
  7736. }, 1000);
  7737. }
  7738. }
  7739. }
  7740. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7741. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7742. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7743. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7744. // 设置请求头,表示请求体的编码格式
  7745. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7746. // 设置请求体,使用url-encoded格式的数据
  7747. }
  7748. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7749. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7750. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7751. _userinfo = US.userInfo, //登录用户信息
  7752. _userid = US.userInfo.userid //登录用户id
  7753. let _iframe;
  7754. let _cid = cid,
  7755. _stage = stage,
  7756. _task = task,
  7757. _tool = tool;
  7758. var _jie = $$("div", {
  7759. "style": {
  7760. "position": "absolute",
  7761. "bottom": "50px",
  7762. "right": "50px",
  7763. "zIndex": "9999",
  7764. "backgroundColor": "#2268bc",
  7765. "color": "#fff",
  7766. "padding": "12px 20px",
  7767. "cursor": "pointer",
  7768. "borderRadius": "4px",
  7769. },
  7770. "innerHTML": "提交作业"
  7771. })
  7772. let aTool = ''
  7773. let _loading = document.createElement('div')
  7774. _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;"
  7775. // _loading.id = "";
  7776. let _lchild = document.createElement('div')
  7777. let _limg = document.createElement('img')
  7778. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7779. _limg.style = "width: 26px;margin-right: 10px;"
  7780. _lchild.appendChild(_limg)
  7781. let _lspan = document.createElement('span')
  7782. _lspan.innerHTML = "上传中..."
  7783. _lchild.appendChild(_lspan)
  7784. _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%);"
  7785. _loading.appendChild(_lchild)
  7786. var _box = $$('div', {
  7787. "style": {
  7788. "position": "relative",
  7789. "width": "100%",
  7790. "height": "100%",
  7791. },
  7792. })
  7793. _box.appendChild(_loading)
  7794. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7795. switch (str) {
  7796. case "CocoPi":
  7797. aTool = 57;
  7798. _iframe = $$("iframe", {
  7799. "allowpaymentrequest": "allowpaymentrequest",
  7800. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7801. "webkitallowfullscreen": "",
  7802. "mozallowfullscreen": "",
  7803. "frameborder": "no",
  7804. "border": "0",
  7805. "scrolling ": "no",
  7806. "style": {
  7807. "cssText": "border:0;width:100%;height:100%"
  7808. },
  7809. "src": "https://pi.cocorobo.cn/"
  7810. })
  7811. _box.appendChild(_iframe);
  7812. _box.appendChild(_jie);
  7813. _formdiv = new U.UF.UI.form(
  7814. "CocoPi",
  7815. _box, {
  7816. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7817. "style": {
  7818. "width": "90%",
  7819. "height": "90%",
  7820. "overflow": 'hidden'
  7821. },
  7822. "onresize": function () { }
  7823. }, {
  7824. closecallback: function () { }
  7825. }, {
  7826. "style": {
  7827. "height": "36px"
  7828. }
  7829. }).form; //创建窗体
  7830. _taskbar = {
  7831. "id": str + _formdiv.id,
  7832. "style": {
  7833. "backgroundImage": "url(/img/icon/cocopi.png)"
  7834. },
  7835. "name": "CocoPi",
  7836. "forms": _formdiv,
  7837. "click": function () {
  7838. U.MD.D.I.openApplication(str, obj, info);
  7839. }
  7840. }
  7841. break;
  7842. }
  7843. if (_iframe) {
  7844. if (str == 'CocoPi') {
  7845. _iframe = _formdiv.querySelector('iframe')
  7846. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7847. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7848. })
  7849. if (onloadListener) {
  7850. _iframe.contentDocument.location.reload()
  7851. } else {
  7852. _iframe.contentDocument.location.reload()
  7853. }
  7854. }
  7855. _jie.onclick = async () => {
  7856. let text = ''
  7857. if (aTool == 57) {
  7858. text = _iframe.contentWindow.getLoadXmlStr()
  7859. }
  7860. _loading.style.display = 'flex'
  7861. console.log(_loading);
  7862. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7863. _loading.style.display = 'none'
  7864. let _div = document.createElement('div')
  7865. _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;"
  7866. let _inner = document.createElement('div')
  7867. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7868. _inner.innerHTML = "上传成功"
  7869. _div.appendChild(_inner)
  7870. _iframe.contentWindow.window.document.body.appendChild(_div)
  7871. _div.onclick = () => {
  7872. _iframe.contentWindow.window.document.body.removeChild(_div)
  7873. }
  7874. setTimeout(() => {
  7875. _iframe.contentWindow.window.document.body.removeChild(_div)
  7876. }, 1000);
  7877. }, [], { "type": "POST", "withCredentials": true });
  7878. }
  7879. }
  7880. }
  7881. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7882. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7883. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7884. _userid = student.userid, //登录用户id
  7885. _username = student.student //用户名字
  7886. let _iframe;
  7887. let _cid = cid,
  7888. _stage = stage,
  7889. _task = task,
  7890. _tool = tool;
  7891. var _jie = $$("div", {
  7892. "style": {
  7893. "position": "absolute",
  7894. "bottom": "50px",
  7895. "right": "50px",
  7896. "zIndex": "9999",
  7897. "backgroundColor": "#2268bc",
  7898. "color": "#fff",
  7899. "padding": "12px 20px",
  7900. "cursor": "pointer",
  7901. "borderRadius": "4px",
  7902. },
  7903. "innerHTML": "提交作业"
  7904. })
  7905. let aTool = ''
  7906. let _loading = document.createElement('div')
  7907. _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;"
  7908. // _loading.id = "";
  7909. let _lchild = document.createElement('div')
  7910. let _limg = document.createElement('img')
  7911. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7912. _limg.style = "width: 26px;margin-right: 10px;"
  7913. _lchild.appendChild(_limg)
  7914. let _lspan = document.createElement('span')
  7915. _lspan.innerHTML = "上传中..."
  7916. _lchild.appendChild(_lspan)
  7917. _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%);"
  7918. _loading.appendChild(_lchild)
  7919. var _box = $$('div', {
  7920. "style": {
  7921. "position": "relative",
  7922. "width": "100%",
  7923. "height": "100%",
  7924. },
  7925. })
  7926. _box.appendChild(_loading)
  7927. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7928. switch (str) {
  7929. case "CocoPi":
  7930. aTool = 57;
  7931. _iframe = $$("iframe", {
  7932. "allowpaymentrequest": "allowpaymentrequest",
  7933. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7934. "webkitallowfullscreen": "",
  7935. "mozallowfullscreen": "",
  7936. "frameborder": "no",
  7937. "border": "0",
  7938. "scrolling ": "no",
  7939. "style": {
  7940. "cssText": "border:0;width:100%;height:100%"
  7941. },
  7942. "src": "https://pi.cocorobo.cn/"
  7943. })
  7944. _box.appendChild(_iframe);
  7945. _box.appendChild(_jie);
  7946. _formdiv = new U.UF.UI.form(
  7947. "CocoPi-" + _username,
  7948. _box, {
  7949. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7950. "style": {
  7951. "width": "90%",
  7952. "height": "90%",
  7953. "overflow": 'hidden'
  7954. },
  7955. "onresize": function () { }
  7956. }, {
  7957. closecallback: function () { }
  7958. }, {
  7959. "style": {
  7960. "height": "36px"
  7961. }
  7962. }).form; //创建窗体
  7963. _taskbar = {
  7964. "id": str + _formdiv.id,
  7965. "style": {
  7966. "backgroundImage": "url(/img/icon/cocopi.png)"
  7967. },
  7968. "name": "CocoPi",
  7969. "forms": _formdiv,
  7970. "click": function () {
  7971. U.MD.D.I.openApplication(str, obj, info);
  7972. }
  7973. }
  7974. break;
  7975. }
  7976. if (_iframe) {
  7977. if (str == 'CocoPi') {
  7978. _iframe = _formdiv.querySelector('iframe')
  7979. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7980. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7981. })
  7982. if (onloadListener) {
  7983. _iframe.contentDocument.location.reload()
  7984. } else {
  7985. _iframe.contentDocument.location.reload()
  7986. }
  7987. }
  7988. _jie.onclick = async () => {
  7989. let text = ''
  7990. if (aTool == 57) {
  7991. text = _iframe.contentWindow.getLoadXmlStr()
  7992. }
  7993. _loading.style.display = 'flex'
  7994. console.log(_loading);
  7995. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7996. _loading.style.display = 'none'
  7997. let _div = document.createElement('div')
  7998. _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;"
  7999. let _inner = document.createElement('div')
  8000. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8001. _inner.innerHTML = "上传成功"
  8002. _div.appendChild(_inner)
  8003. _iframe.contentWindow.window.document.body.appendChild(_div)
  8004. _div.onclick = () => {
  8005. _iframe.contentWindow.window.document.body.removeChild(_div)
  8006. }
  8007. setTimeout(() => {
  8008. _iframe.contentWindow.window.document.body.removeChild(_div)
  8009. }, 1000);
  8010. }, [], { "type": "POST", "withCredentials": true });
  8011. }
  8012. }
  8013. }
  8014. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8015. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8016. if (res.value[0].length > 0) {
  8017. if (atool == 57) {
  8018. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8019. }
  8020. } else {
  8021. if (atool == 57) {
  8022. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8023. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8024. }
  8025. }
  8026. }, [], { "type": "POST", "withCredentials": true });
  8027. }