DeskTop.js 455 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. ];
  51. //极简模式
  52. U.MD.D.I.easyDeskIcon = [
  53. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  54. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  55. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  57. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  58. ];
  59. //教师桌面图标的全局变量
  60. U.MD.D.I.teacherDeskIcon2 = [
  61. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  62. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  63. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  64. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  65. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  66. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  67. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  68. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  69. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  70. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  71. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  72. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  73. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  74. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  75. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  76. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  77. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  78. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  79. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  80. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  81. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  82. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  83. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  84. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  85. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  86. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  87. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  88. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  89. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  90. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  91. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  92. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  93. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  94. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  95. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  96. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  97. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  98. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  99. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  100. ];
  101. U.MD.D.I.studentDeskIcon = [
  102. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  103. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  104. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  105. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  106. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  107. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  108. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  109. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  110. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  111. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  112. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  113. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  114. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  115. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  116. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  117. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  118. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  119. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  120. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  121. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  122. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  123. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  124. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  125. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  126. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  127. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  128. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  129. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  130. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  131. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  132. ];
  133. U.MD.D.I.studentDeskIcon2 = [
  134. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  135. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  136. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  137. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  138. ]
  139. U.MD.D.I.studentDeskIcon3 = [
  140. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  141. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  142. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  143. ]
  144. U.MD.D.I.schoolDeskIcon = [
  145. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  146. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  147. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  148. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  149. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  150. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  151. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  152. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  153. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  154. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  155. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  156. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  157. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  158. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  159. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  160. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  161. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  162. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  163. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  164. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  165. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  166. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  167. ];
  168. U.MD.D.I.orgDeskIcon = [
  169. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  170. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  171. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  172. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  173. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  174. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  175. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  176. ];
  177. U.MD.D.I.orgStemDeskIcon = [
  178. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  179. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  180. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  181. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  182. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  183. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  184. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  185. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  186. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  187. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  188. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  189. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  190. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  191. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  192. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  193. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  194. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  195. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  196. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  197. ];
  198. U.MD.D.I.szulsDeskIcon = [
  199. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  200. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  201. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  202. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  203. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  204. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  205. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  206. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  207. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  208. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  209. ];
  210. U.MD.D.I.hanDeskIcon = [
  211. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  212. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  213. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  214. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  215. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  216. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  217. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  218. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  219. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  220. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  221. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  222. ];
  223. U.MD.D.I.GMteacherDeskIcon = [
  224. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  225. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  226. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  227. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  228. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  229. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  230. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  231. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  232. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  233. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  234. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  235. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  236. ];
  237. U.MD.D.I.GMstudentDeskIcon = [
  238. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  239. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  240. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  241. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  242. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  243. ];
  244. //北师大
  245. U.MD.D.I.BSDNSteacherDeskIcon = [
  246. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  247. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  248. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  249. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  250. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  251. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  252. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  253. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  254. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  255. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  256. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  257. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  258. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  259. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  260. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  261. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  262. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  263. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  264. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  265. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  266. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  267. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  268. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  269. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  270. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  271. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  272. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  273. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  274. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  275. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  276. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  277. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  278. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  279. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  280. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  281. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  282. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  283. ];
  284. //松山湖
  285. U.MD.D.I.SONGteacherDeskIcon = [
  286. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  287. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  288. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  289. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  290. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  291. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  292. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  293. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  294. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  295. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  296. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  297. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  298. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  299. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  300. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  301. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  302. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  303. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  304. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  305. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  306. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  307. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  308. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  309. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  310. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  311. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  312. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  313. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  314. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  315. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  316. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  317. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  318. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  319. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  320. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  321. ];
  322. U.MD.D.I.tcStudentDeskIcon = [
  323. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  324. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  325. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  326. ];
  327. U.MD.D.I.tcTeacherDeskIcon = [
  328. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  329. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  330. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  331. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  332. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  333. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  334. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  335. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  336. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  337. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  338. ];
  339. U.MD.D.I.tcOrganizerDeskIcon = [
  340. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  341. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  342. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  343. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  344. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  345. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  346. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  347. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  348. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  349. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  350. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  351. ];
  352. U.MD.D.I.szscStudentDeskIcon = [
  353. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  354. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  355. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  356. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  357. ];
  358. U.MD.D.I.szscTeacherDeskIcon = [
  359. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  360. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  361. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  362. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  363. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  364. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  365. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  366. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  367. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  368. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  369. ];
  370. U.MD.D.I.szscOrganizerDeskIcon = [
  371. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  372. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  373. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  374. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  375. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  376. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  377. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  378. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  379. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  380. ];
  381. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  382. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  383. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  384. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  385. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  386. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  387. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  388. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  389. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  390. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  391. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  392. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  393. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  394. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  395. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  396. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  397. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  398. ];
  399. U.MD.D.I.wankeAdminDeskIcon = [
  400. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  401. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  402. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  403. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  404. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  405. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  406. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  407. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  408. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  409. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  410. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  411. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  412. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  413. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  414. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  415. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  416. ];
  417. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  418. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  419. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  420. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  421. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  422. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  423. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  424. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  425. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  426. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  427. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  428. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  429. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  430. ];
  431. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  432. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  433. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  434. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  435. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  436. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  437. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  438. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  439. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  440. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  441. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  442. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  443. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  444. ];
  445. //明德教师桌面图标的全局变量
  446. U.MD.D.I.MingdeTeacherDeskIcon = [
  447. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  448. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  449. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  450. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  451. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  452. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  453. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  454. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  455. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  456. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  457. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  458. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  459. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  460. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  461. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  462. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  463. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  464. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  465. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  466. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  467. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  468. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  469. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  470. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  471. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  472. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  473. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  474. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  475. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  476. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  477. ];
  478. //97c4ee8b-d010-4042-986d-e9d3c217264f
  479. //教师桌面图标的全局变量
  480. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  481. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  482. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  483. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  484. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  485. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  486. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  487. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  488. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  489. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  490. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  491. ];
  492. //福田
  493. U.MD.D.I.futianTeacherDeskIcon = [
  494. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  495. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  496. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  497. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  498. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  499. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  500. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  501. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  502. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  503. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  504. ];
  505. //福田
  506. U.MD.D.I.futianAdminDeskIcon = [
  507. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  508. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  509. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  510. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  511. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  512. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  513. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  514. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  515. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  516. ];
  517. //lotech
  518. U.MD.D.I.lotechTeacherDeskIcon = [
  519. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  520. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  521. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  522. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  523. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  524. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  525. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  526. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  527. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  528. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  529. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  530. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  531. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  532. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  533. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  534. ];
  535. //龙华中心小学教师桌面图标的全局变量
  536. U.MD.D.I.longhuateacherDeskIcon = [
  537. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  538. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  539. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  540. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  541. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  542. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  543. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  544. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  545. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  546. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  547. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  548. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  549. ];
  550. //教科院实小教师桌面图标的全局变量
  551. U.MD.D.I.siesteacherDeskIcon = [
  552. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  553. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  554. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  555. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  556. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  557. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  558. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  559. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  560. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  561. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  562. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  563. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  564. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  565. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  566. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  567. ];
  568. //教科院实小教师桌面图标的全局变量
  569. U.MD.D.I.siesStudentDeskIcon = [
  570. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  571. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  572. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  573. ];
  574. //福田
  575. U.MD.D.I.gdjgTeacherDeskIcon = [
  576. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  577. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  578. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  579. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  580. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  581. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  582. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  583. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  584. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  585. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  586. ];
  587. //gdjg
  588. U.MD.D.I.gdjgAdminDeskIcon = [
  589. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  590. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  591. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  592. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  593. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  594. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  595. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  596. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  597. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  598. ];
  599. //hk
  600. U.MD.D.I.hkteacherDeskIcon = [
  601. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  602. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  603. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  604. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  605. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  606. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  607. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  608. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  609. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  610. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  611. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  612. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  613. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  614. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  615. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  616. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  617. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  618. ];
  619. //hk
  620. U.MD.D.I.hkStudentDeskIcon = [
  621. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  622. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  623. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  624. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  625. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. ];
  627. //香海正覺蓮社佛教正覺中學
  628. U.MD.D.I.hkZJLSteacherDeskIcon = [
  629. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  630. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  631. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  632. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  633. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  634. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  635. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  636. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  637. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  638. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  639. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  640. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  641. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  642. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  643. ];
  644. //香海正覺蓮社佛教正覺中學
  645. U.MD.D.I.hkZJLSStudentDeskIcon = [
  646. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  647. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  648. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  649. ];
  650. //云海
  651. U.MD.D.I.yunhaiTeacherDeskIcon = [
  652. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  653. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  654. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  655. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  656. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  657. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  658. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  659. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  660. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  661. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  662. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  663. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  664. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  665. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  666. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  667. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  668. ];
  669. //福田
  670. U.MD.D.I.heyuanTeacherDeskIcon = [
  671. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  672. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  673. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  674. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  675. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  676. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  677. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  678. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  679. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  680. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  681. ];
  682. //福田
  683. U.MD.D.I.heyuanAdminDeskIcon = [
  684. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  685. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  686. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  687. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  688. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  689. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  690. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  691. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  692. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  693. ];
  694. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  695. U.MD.D.I.szherTeacherDeskIcon = [
  696. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  697. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  698. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  699. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  700. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  701. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  702. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  703. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  704. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  705. ];
  706. //dsei
  707. U.MD.D.I.dseiTeacherDeskIcon = [
  708. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  709. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  710. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  711. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  712. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  713. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  714. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  715. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  716. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  717. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  718. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  719. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  720. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  721. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  722. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  723. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  724. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  725. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  726. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  727. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  728. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  729. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  730. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  731. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  732. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  733. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  734. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  735. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  736. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  737. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  738. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  739. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  740. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  741. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  742. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  743. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  744. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  745. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  746. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  747. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  748. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  749. ];
  750. //dsei
  751. U.MD.D.I.dseiAdminDeskIcon = [
  752. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  753. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  754. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  755. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  756. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  757. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  758. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  759. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  760. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  761. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  762. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  763. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  764. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  765. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  766. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  767. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  768. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  769. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  770. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  771. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  772. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  773. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  774. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  775. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  776. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  777. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  778. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  779. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  780. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  781. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  782. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  783. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  784. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  785. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  786. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  787. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  788. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  789. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  790. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  791. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  792. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  793. ];
  794. //dsei
  795. U.MD.D.I.dseiStudentDeskIcon = [
  796. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  797. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  798. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  799. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  800. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  801. ];
  802. //未来教育基地
  803. U.MD.D.I.szjkyTeacherDeskIcon = [
  804. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  805. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  806. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  807. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  808. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  809. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  810. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  811. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  812. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  813. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  814. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  815. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  816. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  817. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  818. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  819. ];
  820. //未来教育基地
  821. U.MD.D.I.szjkyAdminDeskIcon = [
  822. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  823. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  824. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  825. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  826. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  827. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.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": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  831. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  832. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  833. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  834. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  835. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  836. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  837. ];
  838. //未来教育基地
  839. U.MD.D.I.szjkyStudentDeskIcon = [
  840. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  841. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  842. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  843. ];
  844. //成华教育局
  845. U.MD.D.I.chjyjTeacherDeskIcon = [
  846. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  847. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  848. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  849. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  850. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  851. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  852. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  853. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  854. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  855. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  856. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  857. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  858. ];
  859. //成华教育局chjyj
  860. U.MD.D.I.chjyjAdminDeskIcon = [
  861. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  862. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  863. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  864. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  865. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  866. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  867. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  868. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  869. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  870. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  871. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  872. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  873. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  874. ];
  875. //成华教育局chjyj
  876. U.MD.D.I.chjyjStudentDeskIcon = [
  877. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  878. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  879. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  880. ];
  881. //tpc
  882. U.MD.D.I.tpcStudentDeskIcon = [
  883. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  884. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  885. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  886. ];
  887. //tpc
  888. U.MD.D.I.tpcTeacherDeskIcon = [
  889. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  890. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  891. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  892. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  893. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  894. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  895. ];
  896. //tpc
  897. U.MD.D.I.tpcAdminDeskIcon = [
  898. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  899. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  900. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  901. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  902. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  903. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  904. ];
  905. //#region 桌面初始化a
  906. /**
  907. * 初始化桌面的起始函数
  908. *
  909. */
  910. U.MD.D.I.init = function () {
  911. if ($("#U_MD_D_K")[0]) {
  912. //初始化桌面图标
  913. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  914. // var clickUrl = ':12588/requestIp.php';
  915. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  916. // U.MD.D.I.Ip = data;
  917. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  918. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  919. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  920. // })
  921. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  922. // })
  923. }
  924. }
  925. /**
  926. * 模式切换
  927. *
  928. */
  929. U.MD.D.I.ModeCheck = function (type) {
  930. if (US.Config.type == type) {
  931. return
  932. }
  933. US.Config.type = type
  934. $('.U_PBL_Check .active')[0].className = ''
  935. if (type == 1) {
  936. $('.U_PBL_Check div')[0].className = 'active'
  937. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  938. } else {
  939. $('.U_PBL_Check div')[1].className = 'active'
  940. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  941. }
  942. //初始化桌面图标
  943. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  944. if (type == 2) {
  945. U.MD.D.I.openApplication("project")
  946. }
  947. }
  948. /**
  949. * 隐藏任务栏
  950. *
  951. * @param {element} 桌面元素
  952. */
  953. U.MD.D.I.hiddenTaskbar = function (el) {
  954. //任务栏位置变小
  955. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  956. //桌面的位置变大
  957. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  958. }
  959. /**
  960. * 隐藏任务栏
  961. *
  962. * @param {element} 桌面元素
  963. */
  964. U.MD.D.I.hiddenTaskbarout = function (el) {
  965. //任务栏位置变小
  966. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  967. //任务栏位置变化
  968. U.selectEl(el).css({ "bottom": "-60px" });
  969. //桌面的位置变大
  970. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  971. }
  972. }
  973. /**
  974. * 初始化打印桌面图标
  975. *
  976. * @param {element} 桌面元素
  977. */
  978. U.MD.D.I.initDesktopIcons = function (el, type) {
  979. var i, //用于循环
  980. _content, //桌面图标元素
  981. _iconcontent, //桌面图标元素
  982. _frag = $$("frag"), //定义一个碎片元素
  983. _type = US.userInfo.type,
  984. _org = US.userInfo.org,
  985. _oid = US.userInfo.organizeid,
  986. _role = US.userInfo.role,
  987. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  988. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  989. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  990. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  991. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  992. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  993. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  994. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  995. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  996. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  997. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  998. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  999. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1000. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1001. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1002. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1003. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1004. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1005. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1006. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1007. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1008. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1009. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1010. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1011. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1012. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1013. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1014. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1015. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1016. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1017. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1018. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1019. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1020. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1021. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1022. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1023. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1024. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1025. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1026. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1027. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1028. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1029. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1030. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1031. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1032. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1033. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1034. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1035. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1036. _tpcStudentDeskIconInfo= U.MD.D.I.tpcStudentDeskIcon,
  1037. _tpcTeacherDeskIconInfo= U.MD.D.I.tpcTeacherDeskIcon,
  1038. _tpcOrganizerDeskIconInfo= U.MD.D.I.tpcAdminDeskIcon,
  1039. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1040. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1041. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1042. 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'];
  1043. 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'];
  1044. //清楚桌面图标
  1045. el.innerHTML = "";
  1046. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1047. _teacherDesktopIconInfo.push(
  1048. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1049. { "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)" } },
  1050. )
  1051. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1052. }
  1053. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1054. _teacherDesktopIconInfo.push(
  1055. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1056. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1057. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1058. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1059. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1060. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1061. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1062. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1063. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1064. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1065. )
  1066. }
  1067. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1068. _teacherDesktopIconInfo.push(
  1069. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1070. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1071. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1072. )
  1073. }
  1074. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1075. _teacherDesktopIconInfo.push(
  1076. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1077. )
  1078. }
  1079. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1080. _teacherDesktopIconInfo.push(
  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. )
  1084. _studentDesktopIconInfo.push(
  1085. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1086. )
  1087. }
  1088. //麒麟二中 和 民新小学
  1089. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1090. _teacherDesktopIconInfo.push(
  1091. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1092. )
  1093. }
  1094. //麒麟二中
  1095. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1096. _studentDesktopIconInfo.push(
  1097. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1098. )
  1099. }
  1100. //万科双语
  1101. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1102. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1103. if (el.Name == '项目管理') {
  1104. el.Name = 'PBL项目'
  1105. }
  1106. return el
  1107. })
  1108. _studentDesktopIconInfo3.push(
  1109. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1110. )
  1111. }
  1112. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1113. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1114. return el.Name != '魔盒识字' && el.Name != '24点'
  1115. })
  1116. }
  1117. 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) {
  1118. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },)
  1119. }
  1120. //循环创建桌面图标
  1121. if (type == 1) {
  1122. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1123. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1124. _content = $$("div", {
  1125. className: "U_MD_D_KO",
  1126. "onmousedown": U.UF.C.closure(function (obj) {
  1127. //防止拖动图标即打开了桌面应用
  1128. U.MD.D.click(this, obj);
  1129. }, [_studentDesktopIconInfo[i]]),
  1130. "onclick": U.UF.C.closure(function (obj) {
  1131. //防止拖动图标即打开了桌面应用
  1132. U.MD.D.click(this, obj);
  1133. }, [_studentDesktopIconInfo[i]])
  1134. }, _frag); //
  1135. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1136. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1137. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1138. }
  1139. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1140. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1141. _content = $$("div", {
  1142. className: "U_MD_D_KO",
  1143. "onmousedown": U.UF.C.closure(function (obj) {
  1144. //防止拖动图标即打开了桌面应用
  1145. U.MD.D.click(this, obj);
  1146. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1147. "onclick": U.UF.C.closure(function (obj) {
  1148. //防止拖动图标即打开了桌面应用
  1149. U.MD.D.click(this, obj);
  1150. }, [_hkZJLSStudentDeskIconInfo[i]])
  1151. }, _frag); //
  1152. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1153. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1154. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1155. } //
  1156. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1157. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1158. _content = $$("div", {
  1159. className: "U_MD_D_KO",
  1160. "onmousedown": U.UF.C.closure(function (obj) {
  1161. //防止拖动图标即打开了桌面应用
  1162. U.MD.D.click(this, obj);
  1163. }, [_tpcStudentDeskIconInfo[i]]),
  1164. "onclick": U.UF.C.closure(function (obj) {
  1165. //防止拖动图标即打开了桌面应用
  1166. U.MD.D.click(this, obj);
  1167. }, [_tpcStudentDeskIconInfo[i]])
  1168. }, _frag); //
  1169. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1170. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1171. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1172. } //
  1173. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1174. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1175. _content = $$("div", {
  1176. className: "U_MD_D_KO",
  1177. "onmousedown": U.UF.C.closure(function (obj) {
  1178. //防止拖动图标即打开了桌面应用
  1179. U.MD.D.click(this, obj);
  1180. }, [_chjyjStudentDeskIconInfo[i]]),
  1181. "onclick": U.UF.C.closure(function (obj) {
  1182. //防止拖动图标即打开了桌面应用
  1183. U.MD.D.click(this, obj);
  1184. }, [_chjyjStudentDeskIconInfo[i]])
  1185. }, _frag); //
  1186. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1187. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1188. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1189. }
  1190. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1191. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1192. _content = $$("div", {
  1193. className: "U_MD_D_KO",
  1194. "onmousedown": U.UF.C.closure(function (obj) {
  1195. //防止拖动图标即打开了桌面应用
  1196. U.MD.D.click(this, obj);
  1197. }, [_szjkyStudentDeskIconInfo[i]]),
  1198. "onclick": U.UF.C.closure(function (obj) {
  1199. //防止拖动图标即打开了桌面应用
  1200. U.MD.D.click(this, obj);
  1201. }, [_szjkyStudentDeskIconInfo[i]])
  1202. }, _frag); //
  1203. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1204. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1205. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1206. }
  1207. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1208. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1209. _content = $$("div", {
  1210. className: "U_MD_D_KO",
  1211. "onmousedown": U.UF.C.closure(function (obj) {
  1212. //防止拖动图标即打开了桌面应用
  1213. U.MD.D.click(this, obj);
  1214. }, [_dseiStudentDeskIconInfo[i]]),
  1215. "onclick": U.UF.C.closure(function (obj) {
  1216. //防止拖动图标即打开了桌面应用
  1217. U.MD.D.click(this, obj);
  1218. }, [_dseiStudentDeskIconInfo[i]])
  1219. }, _frag); //
  1220. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1221. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1222. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1223. }
  1224. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1225. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1226. _content = $$("div", {
  1227. className: "U_MD_D_KO",
  1228. "onmousedown": U.UF.C.closure(function (obj) {
  1229. //防止拖动图标即打开了桌面应用
  1230. U.MD.D.click(this, obj);
  1231. }, [_siesStudentDeskIconInfo[i]]),
  1232. "onclick": U.UF.C.closure(function (obj) {
  1233. //防止拖动图标即打开了桌面应用
  1234. U.MD.D.click(this, obj);
  1235. }, [_siesStudentDeskIconInfo[i]])
  1236. }, _frag); //
  1237. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1238. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1239. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1240. }
  1241. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1242. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1243. _content = $$("div", {
  1244. className: "U_MD_D_KO",
  1245. "onmousedown": U.UF.C.closure(function (obj) {
  1246. //防止拖动图标即打开了桌面应用
  1247. U.MD.D.click(this, obj);
  1248. }, [_hkStudentDeskIconInfo[i]]),
  1249. "onclick": U.UF.C.closure(function (obj) {
  1250. //防止拖动图标即打开了桌面应用
  1251. U.MD.D.click(this, obj);
  1252. }, [_hkStudentDeskIconInfo[i]])
  1253. }, _frag); //
  1254. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1255. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1256. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1257. }
  1258. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1259. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1260. _content = $$("div", {
  1261. className: "U_MD_D_KO",
  1262. "onmousedown": U.UF.C.closure(function (obj) {
  1263. //防止拖动图标即打开了桌面应用
  1264. U.MD.D.click(this, obj);
  1265. }, [_studentDesktopIconInfo[i]]),
  1266. "onclick": U.UF.C.closure(function (obj) {
  1267. //防止拖动图标即打开了桌面应用
  1268. U.MD.D.click(this, obj);
  1269. }, [_studentDesktopIconInfo[i]])
  1270. }, _frag); //
  1271. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1272. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1273. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1274. }
  1275. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1276. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1277. _content = $$("div", {
  1278. className: "U_MD_D_KO",
  1279. "onmousedown": U.UF.C.closure(function (obj) {
  1280. //防止拖动图标即打开了桌面应用
  1281. U.MD.D.click(this, obj);
  1282. }, [_tcStudentDeskIconInfo[i]]),
  1283. "onclick": U.UF.C.closure(function (obj) {
  1284. //防止拖动图标即打开了桌面应用
  1285. U.MD.D.click(this, obj);
  1286. }, [_tcStudentDeskIconInfo[i]])
  1287. }, _frag); //
  1288. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1289. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1290. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1291. }
  1292. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1293. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1294. _content = $$("div", {
  1295. className: "U_MD_D_KO",
  1296. "onmousedown": U.UF.C.closure(function (obj) {
  1297. //防止拖动图标即打开了桌面应用
  1298. U.MD.D.click(this, obj);
  1299. }, [_szscStudentDeskIconInfo[i]]),
  1300. "onclick": U.UF.C.closure(function (obj) {
  1301. //防止拖动图标即打开了桌面应用
  1302. U.MD.D.click(this, obj);
  1303. }, [_szscStudentDeskIconInfo[i]])
  1304. }, _frag); //
  1305. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1306. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1307. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1308. }
  1309. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1310. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1311. _content = $$("div", {
  1312. className: "U_MD_D_KO",
  1313. "onmousedown": U.UF.C.closure(function (obj) {
  1314. //防止拖动图标即打开了桌面应用
  1315. U.MD.D.click(this, obj);
  1316. }, [_studentDesktopIconInfo3[i]]),
  1317. "onclick": U.UF.C.closure(function (obj) {
  1318. //防止拖动图标即打开了桌面应用
  1319. U.MD.D.click(this, obj);
  1320. }, [_studentDesktopIconInfo3[i]])
  1321. }, _frag); //
  1322. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1323. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1324. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1325. }
  1326. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1327. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1328. _content = $$("div", {
  1329. className: "U_MD_D_KO",
  1330. "onmousedown": U.UF.C.closure(function (obj) {
  1331. //防止拖动图标即打开了桌面应用
  1332. U.MD.D.click(this, obj);
  1333. }, [_studentDesktopIconInfo2[i]]),
  1334. "onclick": U.UF.C.closure(function (obj) {
  1335. //防止拖动图标即打开了桌面应用
  1336. U.MD.D.click(this, obj);
  1337. }, [_studentDesktopIconInfo2[i]])
  1338. }, _frag); //
  1339. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1340. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1341. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1342. }
  1343. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1344. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1345. _content = $$("div", {
  1346. className: "U_MD_D_KO",
  1347. "onmousedown": U.UF.C.closure(function (obj) {
  1348. //防止拖动图标即打开了桌面应用
  1349. U.MD.D.click(this, obj);
  1350. }, [_wanketeacherDesktopIconInfo[i]]),
  1351. "onclick": U.UF.C.closure(function (obj) {
  1352. //防止拖动图标即打开了桌面应用
  1353. U.MD.D.click(this, obj);
  1354. }, [_wanketeacherDesktopIconInfo[i]])
  1355. }, _frag); //
  1356. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1357. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1358. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1359. }
  1360. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1361. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1362. _content = $$("div", {
  1363. className: "U_MD_D_KO",
  1364. "onmousedown": U.UF.C.closure(function (obj) {
  1365. //防止拖动图标即打开了桌面应用
  1366. U.MD.D.click(this, obj);
  1367. }, [_wankeAdminDesktopIconInfo[i]]),
  1368. "onclick": U.UF.C.closure(function (obj) {
  1369. //防止拖动图标即打开了桌面应用
  1370. U.MD.D.click(this, obj);
  1371. }, [_wankeAdminDesktopIconInfo[i]])
  1372. }, _frag); //
  1373. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1374. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1375. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1376. }
  1377. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1378. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1379. _content = $$("div", {
  1380. className: "U_MD_D_KO",
  1381. "onmousedown": U.UF.C.closure(function (obj) {
  1382. //防止拖动图标即打开了桌面应用
  1383. U.MD.D.click(this, obj);
  1384. }, [_tpcOrganizerDeskIconInfo[i]]),
  1385. "onclick": U.UF.C.closure(function (obj) {
  1386. //防止拖动图标即打开了桌面应用
  1387. U.MD.D.click(this, obj);
  1388. }, [_tpcOrganizerDeskIconInfo[i]])
  1389. }, _frag); //
  1390. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1391. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1392. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1393. }
  1394. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1395. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1396. _content = $$("div", {
  1397. className: "U_MD_D_KO",
  1398. "onmousedown": U.UF.C.closure(function (obj) {
  1399. //防止拖动图标即打开了桌面应用
  1400. U.MD.D.click(this, obj);
  1401. }, [_tpcTeacherDeskIconInfo[i]]),
  1402. "onclick": U.UF.C.closure(function (obj) {
  1403. //防止拖动图标即打开了桌面应用
  1404. U.MD.D.click(this, obj);
  1405. }, [_tpcTeacherDeskIconInfo[i]])
  1406. }, _frag); //
  1407. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1408. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1409. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1410. }
  1411. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1412. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1413. _content = $$("div", {
  1414. className: "U_MD_D_KO",
  1415. "onmousedown": U.UF.C.closure(function (obj) {
  1416. //防止拖动图标即打开了桌面应用
  1417. U.MD.D.click(this, obj);
  1418. }, [_teacherDesktopIconInfo2[i]]),
  1419. "onclick": U.UF.C.closure(function (obj) {
  1420. //防止拖动图标即打开了桌面应用
  1421. U.MD.D.click(this, obj);
  1422. }, [_teacherDesktopIconInfo2[i]])
  1423. }, _frag); //
  1424. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1425. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1426. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1427. }
  1428. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1429. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1430. _content = $$("div", {
  1431. className: "U_MD_D_KO",
  1432. "onmousedown": U.UF.C.closure(function (obj) {
  1433. //防止拖动图标即打开了桌面应用
  1434. U.MD.D.click(this, obj);
  1435. }, [_lotechTeacherDeskIconInfo[i]]),
  1436. "onclick": U.UF.C.closure(function (obj) {
  1437. //防止拖动图标即打开了桌面应用
  1438. U.MD.D.click(this, obj);
  1439. }, [_lotechTeacherDeskIconInfo[i]])
  1440. }, _frag); //
  1441. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1442. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1443. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1444. }//
  1445. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1446. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1447. _content = $$("div", {
  1448. className: "U_MD_D_KO",
  1449. "onmousedown": U.UF.C.closure(function (obj) {
  1450. //防止拖动图标即打开了桌面应用
  1451. U.MD.D.click(this, obj);
  1452. }, [_siesTeacherDeskIconInfo[i]]),
  1453. "onclick": U.UF.C.closure(function (obj) {
  1454. //防止拖动图标即打开了桌面应用
  1455. U.MD.D.click(this, obj);
  1456. }, [_siesTeacherDeskIconInfo[i]])
  1457. }, _frag); //
  1458. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1459. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1460. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1461. }
  1462. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1463. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1464. _content = $$("div", {
  1465. className: "U_MD_D_KO",
  1466. "onmousedown": U.UF.C.closure(function (obj) {
  1467. //防止拖动图标即打开了桌面应用
  1468. U.MD.D.click(this, obj);
  1469. }, [_longhuaTeacherDeskIconInfo[i]]),
  1470. "onclick": U.UF.C.closure(function (obj) {
  1471. //防止拖动图标即打开了桌面应用
  1472. U.MD.D.click(this, obj);
  1473. }, [_longhuaTeacherDeskIconInfo[i]])
  1474. }, _frag); //
  1475. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1476. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1477. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1478. }
  1479. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1480. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1481. _content = $$("div", {
  1482. className: "U_MD_D_KO",
  1483. "onmousedown": U.UF.C.closure(function (obj) {
  1484. //防止拖动图标即打开了桌面应用
  1485. U.MD.D.click(this, obj);
  1486. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1487. "onclick": U.UF.C.closure(function (obj) {
  1488. //防止拖动图标即打开了桌面应用
  1489. U.MD.D.click(this, obj);
  1490. }, [_yunhaiTeacherDeskIconInfo[i]])
  1491. }, _frag); //
  1492. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1493. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1494. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1495. } //_hkStudentDeskIconInfo
  1496. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1497. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1498. _content = $$("div", {
  1499. className: "U_MD_D_KO",
  1500. "onmousedown": U.UF.C.closure(function (obj) {
  1501. //防止拖动图标即打开了桌面应用
  1502. U.MD.D.click(this, obj);
  1503. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1504. "onclick": U.UF.C.closure(function (obj) {
  1505. //防止拖动图标即打开了桌面应用
  1506. U.MD.D.click(this, obj);
  1507. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1508. }, _frag); //
  1509. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1510. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1511. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1512. }
  1513. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1514. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1515. _content = $$("div", {
  1516. className: "U_MD_D_KO",
  1517. "onmousedown": U.UF.C.closure(function (obj) {
  1518. //防止拖动图标即打开了桌面应用
  1519. U.MD.D.click(this, obj);
  1520. }, [_hkTeacherDeskIconInfo[i]]),
  1521. "onclick": U.UF.C.closure(function (obj) {
  1522. //防止拖动图标即打开了桌面应用
  1523. U.MD.D.click(this, obj);
  1524. }, [_hkTeacherDeskIconInfo[i]])
  1525. }, _frag); //
  1526. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1527. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1528. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1529. }
  1530. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1531. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1532. _content = $$("div", {
  1533. className: "U_MD_D_KO",
  1534. "onmousedown": U.UF.C.closure(function (obj) {
  1535. //防止拖动图标即打开了桌面应用
  1536. U.MD.D.click(this, obj);
  1537. }, [_gdjgAdminDeskIconInfo[i]]),
  1538. "onclick": U.UF.C.closure(function (obj) {
  1539. //防止拖动图标即打开了桌面应用
  1540. U.MD.D.click(this, obj);
  1541. }, [_gdjgAdminDeskIconInfo[i]])
  1542. }, _frag); //
  1543. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1544. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1545. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1546. }
  1547. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1548. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1549. _content = $$("div", {
  1550. className: "U_MD_D_KO",
  1551. "onmousedown": U.UF.C.closure(function (obj) {
  1552. //防止拖动图标即打开了桌面应用
  1553. U.MD.D.click(this, obj);
  1554. }, [_gdjgTeacherDeskIconInfo[i]]),
  1555. "onclick": U.UF.C.closure(function (obj) {
  1556. //防止拖动图标即打开了桌面应用
  1557. U.MD.D.click(this, obj);
  1558. }, [_gdjgTeacherDeskIconInfo[i]])
  1559. }, _frag); //
  1560. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1561. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1562. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1563. }
  1564. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1565. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1566. _content = $$("div", {
  1567. className: "U_MD_D_KO",
  1568. "onmousedown": U.UF.C.closure(function (obj) {
  1569. //防止拖动图标即打开了桌面应用
  1570. U.MD.D.click(this, obj);
  1571. }, [_szherTeacherDeskIconInfo[i]]),
  1572. "onclick": U.UF.C.closure(function (obj) {
  1573. //防止拖动图标即打开了桌面应用
  1574. U.MD.D.click(this, obj);
  1575. }, [_szherTeacherDeskIconInfo[i]])
  1576. }, _frag); //
  1577. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1578. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1579. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1580. }
  1581. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1582. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1583. _content = $$("div", {
  1584. className: "U_MD_D_KO",
  1585. "onmousedown": U.UF.C.closure(function (obj) {
  1586. //防止拖动图标即打开了桌面应用
  1587. U.MD.D.click(this, obj);
  1588. }, [_heyuannAdminDeskIconInfo[i]]),
  1589. "onclick": U.UF.C.closure(function (obj) {
  1590. //防止拖动图标即打开了桌面应用
  1591. U.MD.D.click(this, obj);
  1592. }, [_heyuannAdminDeskIconInfo[i]])
  1593. }, _frag); //
  1594. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1595. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1596. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1597. }
  1598. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1599. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1600. _content = $$("div", {
  1601. className: "U_MD_D_KO",
  1602. "onmousedown": U.UF.C.closure(function (obj) {
  1603. //防止拖动图标即打开了桌面应用
  1604. U.MD.D.click(this, obj);
  1605. }, [_heyuanTeacherDeskIconInfo[i]]),
  1606. "onclick": U.UF.C.closure(function (obj) {
  1607. //防止拖动图标即打开了桌面应用
  1608. U.MD.D.click(this, obj);
  1609. }, [_heyuanTeacherDeskIconInfo[i]])
  1610. }, _frag); //
  1611. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1612. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1613. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1614. } //
  1615. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1616. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1617. _content = $$("div", {
  1618. className: "U_MD_D_KO",
  1619. "onmousedown": U.UF.C.closure(function (obj) {
  1620. //防止拖动图标即打开了桌面应用
  1621. U.MD.D.click(this, obj);
  1622. }, [_dseiAdminDeskIconInfo[i]]),
  1623. "onclick": U.UF.C.closure(function (obj) {
  1624. //防止拖动图标即打开了桌面应用
  1625. U.MD.D.click(this, obj);
  1626. }, [_dseiAdminDeskIconInfo[i]])
  1627. }, _frag); //
  1628. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1629. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1630. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1631. }
  1632. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1633. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1634. _content = $$("div", {
  1635. className: "U_MD_D_KO",
  1636. "onmousedown": U.UF.C.closure(function (obj) {
  1637. //防止拖动图标即打开了桌面应用
  1638. U.MD.D.click(this, obj);
  1639. }, [_dseiTeacherDeskIconInfo[i]]),
  1640. "onclick": U.UF.C.closure(function (obj) {
  1641. //防止拖动图标即打开了桌面应用
  1642. U.MD.D.click(this, obj);
  1643. }, [_dseiTeacherDeskIconInfo[i]])
  1644. }, _frag); //
  1645. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1646. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1647. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1648. } //
  1649. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1650. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1651. _content = $$("div", {
  1652. className: "U_MD_D_KO",
  1653. "onmousedown": U.UF.C.closure(function (obj) {
  1654. //防止拖动图标即打开了桌面应用
  1655. U.MD.D.click(this, obj);
  1656. }, [_chjyjAdminDeskIconInfo[i]]),
  1657. "onclick": U.UF.C.closure(function (obj) {
  1658. //防止拖动图标即打开了桌面应用
  1659. U.MD.D.click(this, obj);
  1660. }, [_chjyjAdminDeskIconInfo[i]])
  1661. }, _frag); //
  1662. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1663. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1664. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1665. }//
  1666. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1667. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1668. _content = $$("div", {
  1669. className: "U_MD_D_KO",
  1670. "onmousedown": U.UF.C.closure(function (obj) {
  1671. //防止拖动图标即打开了桌面应用
  1672. U.MD.D.click(this, obj);
  1673. }, [_chjyjTeacherDeskIconInfo[i]]),
  1674. "onclick": U.UF.C.closure(function (obj) {
  1675. //防止拖动图标即打开了桌面应用
  1676. U.MD.D.click(this, obj);
  1677. }, [_chjyjTeacherDeskIconInfo[i]])
  1678. }, _frag); //
  1679. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1680. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1681. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1682. }
  1683. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1684. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1685. _content = $$("div", {
  1686. className: "U_MD_D_KO",
  1687. "onmousedown": U.UF.C.closure(function (obj) {
  1688. //防止拖动图标即打开了桌面应用
  1689. U.MD.D.click(this, obj);
  1690. }, [_szjkyAdminDeskIconInfo[i]]),
  1691. "onclick": U.UF.C.closure(function (obj) {
  1692. //防止拖动图标即打开了桌面应用
  1693. U.MD.D.click(this, obj);
  1694. }, [_szjkyAdminDeskIconInfo[i]])
  1695. }, _frag); //
  1696. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1697. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1698. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1699. }//
  1700. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1701. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1702. _content = $$("div", {
  1703. className: "U_MD_D_KO",
  1704. "onmousedown": U.UF.C.closure(function (obj) {
  1705. //防止拖动图标即打开了桌面应用
  1706. U.MD.D.click(this, obj);
  1707. }, [_szjkyTeacherDeskIconInfo[i]]),
  1708. "onclick": U.UF.C.closure(function (obj) {
  1709. //防止拖动图标即打开了桌面应用
  1710. U.MD.D.click(this, obj);
  1711. }, [_szjkyTeacherDeskIconInfo[i]])
  1712. }, _frag); //
  1713. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1714. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1715. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1716. }
  1717. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1718. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1719. _content = $$("div", {
  1720. className: "U_MD_D_KO",
  1721. "onmousedown": U.UF.C.closure(function (obj) {
  1722. //防止拖动图标即打开了桌面应用
  1723. U.MD.D.click(this, obj);
  1724. }, [_futianAdminDeskIconInfo[i]]),
  1725. "onclick": U.UF.C.closure(function (obj) {
  1726. //防止拖动图标即打开了桌面应用
  1727. U.MD.D.click(this, obj);
  1728. }, [_futianAdminDeskIconInfo[i]])
  1729. }, _frag); //
  1730. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1731. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1732. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1733. }
  1734. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1735. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1736. _content = $$("div", {
  1737. className: "U_MD_D_KO",
  1738. "onmousedown": U.UF.C.closure(function (obj) {
  1739. //防止拖动图标即打开了桌面应用
  1740. U.MD.D.click(this, obj);
  1741. }, [_futianTeacherDeskIconInfo[i]]),
  1742. "onclick": U.UF.C.closure(function (obj) {
  1743. //防止拖动图标即打开了桌面应用
  1744. U.MD.D.click(this, obj);
  1745. }, [_futianTeacherDeskIconInfo[i]])
  1746. }, _frag); //
  1747. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1748. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1749. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1750. }
  1751. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1752. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1753. _content = $$("div", {
  1754. className: "U_MD_D_KO",
  1755. "onmousedown": U.UF.C.closure(function (obj) {
  1756. //防止拖动图标即打开了桌面应用
  1757. U.MD.D.click(this, obj);
  1758. }, [_MingdeTeacherDeskIcon[i]]),
  1759. "onclick": U.UF.C.closure(function (obj) {
  1760. //防止拖动图标即打开了桌面应用
  1761. U.MD.D.click(this, obj);
  1762. }, [_MingdeTeacherDeskIcon[i]])
  1763. }, _frag); //
  1764. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1765. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1766. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1767. }
  1768. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1769. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1770. _content = $$("div", {
  1771. className: "U_MD_D_KO",
  1772. "onmousedown": U.UF.C.closure(function (obj) {
  1773. //防止拖动图标即打开了桌面应用
  1774. U.MD.D.click(this, obj);
  1775. }, [_lhsAdminDesktopIconInfo[i]]),
  1776. "onclick": U.UF.C.closure(function (obj) {
  1777. //防止拖动图标即打开了桌面应用
  1778. U.MD.D.click(this, obj);
  1779. }, [_lhsAdminDesktopIconInfo[i]])
  1780. }, _frag); //
  1781. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1782. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1783. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1784. }
  1785. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1786. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1787. _content = $$("div", {
  1788. className: "U_MD_D_KO",
  1789. "onmousedown": U.UF.C.closure(function (obj) {
  1790. //防止拖动图标即打开了桌面应用
  1791. U.MD.D.click(this, obj);
  1792. }, [_lhsteacherDesktopIconInfo[i]]),
  1793. "onclick": U.UF.C.closure(function (obj) {
  1794. //防止拖动图标即打开了桌面应用
  1795. U.MD.D.click(this, obj);
  1796. }, [_lhsteacherDesktopIconInfo[i]])
  1797. }, _frag); //
  1798. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1799. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1800. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1801. }
  1802. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1803. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1804. _content = $$("div", {
  1805. className: "U_MD_D_KO",
  1806. "onmousedown": U.UF.C.closure(function (obj) {
  1807. //防止拖动图标即打开了桌面应用
  1808. U.MD.D.click(this, obj);
  1809. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1810. "onclick": U.UF.C.closure(function (obj) {
  1811. //防止拖动图标即打开了桌面应用
  1812. U.MD.D.click(this, obj);
  1813. }, [_zhoujiateacherDesktopIconInfo[i]])
  1814. }, _frag); //
  1815. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1816. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1817. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1818. }
  1819. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1820. for (i = 0; i < _hanDeskIcon.length; i++) {
  1821. _content = $$("div", {
  1822. className: "U_MD_D_KO",
  1823. "onmousedown": U.UF.C.closure(function (obj) {
  1824. //防止拖动图标即打开了桌面应用
  1825. U.MD.D.click(this, obj);
  1826. }, [_hanDeskIcon[i]]),
  1827. "onclick": U.UF.C.closure(function (obj) {
  1828. //防止拖动图标即打开了桌面应用
  1829. U.MD.D.click(this, obj);
  1830. }, [_hanDeskIcon[i]])
  1831. }, _frag); //
  1832. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1833. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1834. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1835. }
  1836. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1837. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1838. _content = $$("div", {
  1839. className: "U_MD_D_KO",
  1840. "onmousedown": U.UF.C.closure(function (obj) {
  1841. //防止拖动图标即打开了桌面应用
  1842. U.MD.D.click(this, obj);
  1843. }, [_orgStemDeskIcon[i]]),
  1844. "onclick": U.UF.C.closure(function (obj) {
  1845. //防止拖动图标即打开了桌面应用
  1846. U.MD.D.click(this, obj);
  1847. }, [_orgStemDeskIcon[i]])
  1848. }, _frag); //
  1849. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1850. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1851. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1852. }
  1853. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1854. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1855. _content = $$("div", {
  1856. className: "U_MD_D_KO",
  1857. "onmousedown": U.UF.C.closure(function (obj) {
  1858. //防止拖动图标即打开了桌面应用
  1859. U.MD.D.click(this, obj);
  1860. }, [_szulsDeskIcon[i]]),
  1861. "onclick": U.UF.C.closure(function (obj) {
  1862. //防止拖动图标即打开了桌面应用
  1863. U.MD.D.click(this, obj);
  1864. }, [_szulsDeskIcon[i]])
  1865. }, _frag); //
  1866. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1867. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1868. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1869. }
  1870. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1871. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1872. _content = $$("div", {
  1873. className: "U_MD_D_KO",
  1874. "onmousedown": U.UF.C.closure(function (obj) {
  1875. //防止拖动图标即打开了桌面应用
  1876. U.MD.D.click(this, obj);
  1877. }, [_orgDesktopIconInfo[i]]),
  1878. "onclick": U.UF.C.closure(function (obj) {
  1879. //防止拖动图标即打开了桌面应用
  1880. U.MD.D.click(this, obj);
  1881. }, [_orgDesktopIconInfo[i]])
  1882. }, _frag); //
  1883. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1884. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1885. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1886. }
  1887. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1888. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1889. _content = $$("div", {
  1890. className: "U_MD_D_KO",
  1891. "onmousedown": U.UF.C.closure(function (obj) {
  1892. //防止拖动图标即打开了桌面应用
  1893. U.MD.D.click(this, obj);
  1894. }, [_schoolDesktopIconInfo[i]]),
  1895. "onclick": U.UF.C.closure(function (obj) {
  1896. //防止拖动图标即打开了桌面应用
  1897. U.MD.D.click(this, obj);
  1898. }, [_schoolDesktopIconInfo[i]])
  1899. }, _frag); //
  1900. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1901. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1902. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1903. }
  1904. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1905. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1906. _content = $$("div", {
  1907. className: "U_MD_D_KO",
  1908. "onmousedown": U.UF.C.closure(function (obj) {
  1909. //防止拖动图标即打开了桌面应用
  1910. U.MD.D.click(this, obj);
  1911. }, [_GMteacherDesktopIconInfo[i]]),
  1912. "onclick": U.UF.C.closure(function (obj) {
  1913. //防止拖动图标即打开了桌面应用
  1914. U.MD.D.click(this, obj);
  1915. }, [_GMteacherDesktopIconInfo[i]])
  1916. }, _frag); //
  1917. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1918. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1919. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1920. }
  1921. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1922. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1923. _content = $$("div", {
  1924. className: "U_MD_D_KO",
  1925. "onmousedown": U.UF.C.closure(function (obj) {
  1926. //防止拖动图标即打开了桌面应用
  1927. U.MD.D.click(this, obj);
  1928. }, [_SONGteacherDesktopIconInfo[i]]),
  1929. "onclick": U.UF.C.closure(function (obj) {
  1930. //防止拖动图标即打开了桌面应用
  1931. U.MD.D.click(this, obj);
  1932. }, [_SONGteacherDesktopIconInfo[i]])
  1933. }, _frag); //
  1934. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1935. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1936. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1937. }
  1938. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1939. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1940. _content = $$("div", {
  1941. className: "U_MD_D_KO",
  1942. "onmousedown": U.UF.C.closure(function (obj) {
  1943. //防止拖动图标即打开了桌面应用
  1944. U.MD.D.click(this, obj);
  1945. }, [_GMstudentDesktopIconInfo[i]]),
  1946. "onclick": U.UF.C.closure(function (obj) {
  1947. //防止拖动图标即打开了桌面应用
  1948. U.MD.D.click(this, obj);
  1949. }, [_GMstudentDesktopIconInfo[i]])
  1950. }, _frag); //
  1951. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1952. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1953. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1954. }
  1955. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1956. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1957. _content = $$("div", {
  1958. className: "U_MD_D_KO",
  1959. "onmousedown": U.UF.C.closure(function (obj) {
  1960. //防止拖动图标即打开了桌面应用
  1961. U.MD.D.click(this, obj);
  1962. }, [_tcTeacherDeskIconInfo[i]]),
  1963. "onclick": U.UF.C.closure(function (obj) {
  1964. //防止拖动图标即打开了桌面应用
  1965. U.MD.D.click(this, obj);
  1966. }, [_tcTeacherDeskIconInfo[i]])
  1967. }, _frag); //
  1968. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1969. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1970. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1971. }
  1972. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1973. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1974. _content = $$("div", {
  1975. className: "U_MD_D_KO",
  1976. "onmousedown": U.UF.C.closure(function (obj) {
  1977. //防止拖动图标即打开了桌面应用
  1978. U.MD.D.click(this, obj);
  1979. }, [_tcOrganizerDeskIconInfo[i]]),
  1980. "onclick": U.UF.C.closure(function (obj) {
  1981. //防止拖动图标即打开了桌面应用
  1982. U.MD.D.click(this, obj);
  1983. }, [_tcOrganizerDeskIconInfo[i]])
  1984. }, _frag); //
  1985. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1986. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1987. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1988. }
  1989. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  1990. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  1991. _content = $$("div", {
  1992. className: "U_MD_D_KO",
  1993. "onmousedown": U.UF.C.closure(function (obj) {
  1994. //防止拖动图标即打开了桌面应用
  1995. U.MD.D.click(this, obj);
  1996. }, [_szscTeacherDeskIconInfo[i]]),
  1997. "onclick": U.UF.C.closure(function (obj) {
  1998. //防止拖动图标即打开了桌面应用
  1999. U.MD.D.click(this, obj);
  2000. }, [_szscTeacherDeskIconInfo[i]])
  2001. }, _frag); //
  2002. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2003. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2004. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2005. }
  2006. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2007. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2008. _content = $$("div", {
  2009. className: "U_MD_D_KO",
  2010. "onmousedown": U.UF.C.closure(function (obj) {
  2011. //防止拖动图标即打开了桌面应用
  2012. U.MD.D.click(this, obj);
  2013. }, [_szscOrganizerDeskIconInfo[i]]),
  2014. "onclick": U.UF.C.closure(function (obj) {
  2015. //防止拖动图标即打开了桌面应用
  2016. U.MD.D.click(this, obj);
  2017. }, [_szscOrganizerDeskIconInfo[i]])
  2018. }, _frag); //
  2019. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2020. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2021. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2022. }
  2023. } else {
  2024. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2025. _content = $$("div", {
  2026. className: "U_MD_D_KO",
  2027. "onmousedown": U.UF.C.closure(function (obj) {
  2028. //防止拖动图标即打开了桌面应用
  2029. U.MD.D.click(this, obj);
  2030. }, [_teacherDesktopIconInfo[i]]),
  2031. "onclick": U.UF.C.closure(function (obj) {
  2032. //防止拖动图标即打开了桌面应用
  2033. U.MD.D.click(this, obj);
  2034. }, [_teacherDesktopIconInfo[i]])
  2035. }, _frag); //
  2036. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2037. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2038. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2039. }
  2040. }
  2041. } else {
  2042. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2043. _content = $$("div", {
  2044. className: "U_MD_D_KO",
  2045. style: { 'width': '124px', 'height': '145px' },
  2046. "onmousedown": U.UF.C.closure(function (obj) {
  2047. //防止拖动图标即打开了桌面应用
  2048. U.MD.D.click(this, obj);
  2049. }, [_easyDesktopIconInfo[i]]),
  2050. "onclick": U.UF.C.closure(function (obj) {
  2051. //防止拖动图标即打开了桌面应用
  2052. U.MD.D.click(this, obj);
  2053. }, [_easyDesktopIconInfo[i]])
  2054. }, _frag); //
  2055. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2056. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2057. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2058. }
  2059. }
  2060. if (type == 1) {
  2061. //加载好后给图标定位
  2062. U.MD.D.iconPostion($(_frag).Child());
  2063. } else {
  2064. //加载好后给图标定位
  2065. U.MD.D.iconPostion2($(_frag).Child());
  2066. }
  2067. //把图标加载到页面
  2068. el.appendChild(_frag);
  2069. }
  2070. /**
  2071. * 显示任务栏
  2072. *
  2073. * @param {element} 桌面元素
  2074. */
  2075. U.MD.D.I.displayTaskbar = function (el) {
  2076. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2077. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2078. //任务栏位置变化
  2079. U.selectEl(el).css({ "bottom": "0px" });
  2080. //桌面位置变话
  2081. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2082. }
  2083. }
  2084. //#region 桌面图标拖动逻辑
  2085. /**
  2086. * 桌面排列图标
  2087. *
  2088. * @param {element} 桌面元素
  2089. * @param {object} 上下相距的距离
  2090. * @param {object} 左右相距的距离
  2091. * @return {object} 命名空间
  2092. */
  2093. U.MD.D.iconPostion = function (childs, top, left) {
  2094. var i; //用于循环处理
  2095. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2096. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2097. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2098. for (i = 0; i < childs.length; i++) {
  2099. //如果竖排top超过了范围处理
  2100. if (top + 95 > US.height - 10) {
  2101. //left超过了页面范围处理,则向上重叠打印处理
  2102. if ((left + 180) > US.width) {
  2103. top -= 110;
  2104. left -= 90;
  2105. }
  2106. //没有超过范围,那么left+90添加到下一个竖排打印
  2107. else {
  2108. left += 90;
  2109. top = 15;
  2110. };
  2111. }
  2112. //给图标的位置赋值
  2113. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2114. if (i < childs.length - 1) {
  2115. //页面图标每次向下加95
  2116. top += 95;
  2117. }
  2118. }
  2119. //返回最后调用的图标的位置
  2120. return [top, left];
  2121. }
  2122. /**
  2123. * 桌面排列图标
  2124. *
  2125. * @param {element} 桌面元素
  2126. * @param {object} 上下相距的距离
  2127. * @param {object} 左右相距的距离
  2128. * @return {object} 命名空间
  2129. */
  2130. U.MD.D.iconPostion2 = function (childs, top, left) {
  2131. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2132. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2133. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2134. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2135. for (i = 0; i < childs.length; i++) {
  2136. //如果竖排top超过了范围处理
  2137. if (left + 150 > US.width - 10) {
  2138. //left超过了页面范围处理,则向上重叠打印处理
  2139. if ((top + 180) > US.Height) {
  2140. top -= 150;
  2141. left -= 150;
  2142. }
  2143. //没有超过范围,那么left+90添加到下一个竖排打印
  2144. else {
  2145. top += 150;
  2146. left = ol;
  2147. };
  2148. }
  2149. //给图标的位置赋值
  2150. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2151. if (i < childs.length - 1) {
  2152. //页面图标每次向下加95
  2153. left += 150;
  2154. }
  2155. }
  2156. //返回最后调用的图标的位置
  2157. return [top, left];
  2158. }
  2159. /**
  2160. * 桌面点击事件逻辑
  2161. *
  2162. * @param {element} 桌面元素
  2163. * @param {object} 上下相距的距离
  2164. * @param {object} 左右相距的距离
  2165. * @return {object} 命名空间
  2166. */
  2167. U.MD.D.click = function (el, obj) {
  2168. var _buttonnumber = event.button; //点击的按钮的事件值
  2169. var _userinfo = US.userInfo;
  2170. U.UF.EV.stopBubble(); //阻止向上冒泡
  2171. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2172. if (_buttonnumber < 2) {
  2173. //如果是click事件的处理
  2174. if (event.type == "click") {
  2175. //如果元素在mousemove事件中没有移动则出发click事件
  2176. if (!U.MD.D.I.IsDrag) {
  2177. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2178. U.alert("请先登录您的账号!");
  2179. setTimeout(() => {
  2180. U.MD.U.L.login();
  2181. }, 2000);
  2182. } else {
  2183. //打开应用处理
  2184. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2185. }
  2186. }
  2187. }
  2188. //如果是mouse事件的处理
  2189. else {
  2190. if (US.Config.type == '1') {
  2191. //拖动处理,添加拖动和拖动结束事件
  2192. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2193. }
  2194. }
  2195. U.MD.D.I.IsDrag = false;
  2196. }
  2197. }
  2198. /**
  2199. * 拖动的处理
  2200. *
  2201. */
  2202. U.MD.D.iconMove = function () {
  2203. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2204. U.MD.D.I.IsDrag = true;
  2205. }
  2206. /**
  2207. * 拖动结束后,这里是定位处理,以网状的形式定位
  2208. *
  2209. * @param {element} 拖动的元素
  2210. * @return {object} 命名空间
  2211. */
  2212. U.MD.D.iconUp = function (el) {
  2213. var _top = 15,
  2214. _left = 20,
  2215. _margin,
  2216. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2217. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2218. if (_positioninfo["OT"] > 15) {
  2219. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2220. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2221. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2222. }
  2223. if (_positioninfo["OL"] > 20) {
  2224. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2225. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2226. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2227. }
  2228. //while循环判断么一个重叠的元素
  2229. do {
  2230. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2231. _top = _positioninfo[0] + 95; //得到定位后的top
  2232. _left = _positioninfo[1]; //得到定位后的left
  2233. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2234. }
  2235. /**
  2236. * 判断拖动后图标是否重叠
  2237. *
  2238. * @param {element} 拖动的元素
  2239. * @param {element} 桌面所有的元素
  2240. * @param {array} 拖动元素的位置
  2241. ----------[0] 上 top
  2242. ----------[1] 左 left
  2243. * @return {object} 命名空间
  2244. */
  2245. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2246. //循环所有的图标
  2247. for (var i = 0; i < childs.length; i++) {
  2248. //判断有没有和该图标诶子重叠的元素
  2249. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2250. return childs[i]; //如果有返回
  2251. }
  2252. }
  2253. }
  2254. //#endregion
  2255. //#endregion
  2256. //#region 桌面应用
  2257. /**
  2258. * 打开应用
  2259. *
  2260. * @param {string} 类型
  2261. -----------------Disk 网盘系统
  2262. -----------------PDisk 学习系统网盘
  2263. -----------------Poto 图片
  2264. -----------------Video 视频
  2265. -----------------Music 音乐
  2266. -----------------Word word
  2267. -----------------Excel excel
  2268. -----------------Txt 记事本
  2269. -----------------PB 学习系统
  2270. -----------------Blog 朋友圈系统
  2271. -----------------FTP ftp系统
  2272. -----------------Group 好友群
  2273. -----------------SY 首页系统
  2274. -----------------Set 个人设置
  2275. -----------------XSet 系统设置
  2276. -----------------App 我们所有的app
  2277. -----------------BC c.1473.cn 平台
  2278. -----------------CWeb d.1473.cn 变成平台
  2279. -----------------其他的外联系统 我们统一用iframe打开
  2280. * @param {array} 类型
  2281. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2282. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2283. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2284. 如果第一个参数为其他,则无第二个参数
  2285. * @returns {array}
  2286. */
  2287. window.addEventListener('message', function (e) { // 监听 message 事件
  2288. // alert(e.data.type);
  2289. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2290. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2291. //3是展示全部阶段 2学生 1老师 4专家
  2292. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2293. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2294. //3是展示全部阶段 2学生 1老师 4专家
  2295. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2296. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2297. //3是展示全部阶段 2学生 1老师 4专家
  2298. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2299. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2300. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2301. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2302. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2303. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2304. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2305. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2306. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2307. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2308. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2309. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2310. //3是展示全部阶段 2学生 1老师 4专家
  2311. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2312. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2313. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2314. U.MD.D.I.selectUser();
  2315. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2316. var _formel = document.getElementById("study");
  2317. U.UF.F.windowZooming(_formel);
  2318. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2319. var _formel = document.getElementById("studyDetail");
  2320. U.UF.F.windowZooming(_formel);
  2321. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2322. var _formel = document.getElementById("studyDetail");
  2323. U.UF.F.windowZooming(_formel);
  2324. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2325. var _formel = document.getElementById("studentStudy");
  2326. U.UF.F.windowZooming(_formel);
  2327. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2328. // var _formel = document.getElementById("study");
  2329. //如果最大化了,那么就把他缩小
  2330. // if (_formel.ismaximize) {
  2331. // return;
  2332. // }
  2333. // U.UF.F.windowZooming(_formel);
  2334. // U.UF.F.topWindow(_formel);
  2335. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2336. // var _formel = document.getElementById("studyDetail");
  2337. //如果最大化了,那么就把他缩小
  2338. // if (_formel.ismaximize) {
  2339. // return;
  2340. // }
  2341. // U.UF.F.windowZooming(_formel);
  2342. // U.UF.F.topWindow(_formel);
  2343. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2344. // var _formel = document.getElementById("studentStudy");
  2345. // if (_formel.ismaximize) {
  2346. // return;
  2347. // }
  2348. // U.UF.F.windowZooming(_formel);
  2349. // U.UF.F.topWindow(_formel);
  2350. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2351. var _formel = document.getElementById("study");
  2352. // if (_formel.ismaximize) {
  2353. // return;
  2354. // }
  2355. // U.UF.F.windowZooming(_formel);
  2356. U.UF.F.topWindow(_formel);
  2357. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2358. var _formel = document.getElementById("studentIndex");
  2359. U.UF.F.windowZooming(_formel);
  2360. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2361. var _formel = document.getElementById("studyDetailS");
  2362. U.UF.F.windowZooming(_formel);
  2363. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2364. var _formel = document.getElementById("studioIndex");
  2365. U.UF.F.windowZooming(_formel);
  2366. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2367. var _formel = document.getElementById("studyDetailStudio");
  2368. U.UF.F.windowZooming(_formel);
  2369. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2370. var _formel = document.getElementById("studyDetailStudio");
  2371. U.UF.F.windowZooming(_formel);
  2372. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2373. var _formel = document.getElementById("studyDetailNT");
  2374. U.UF.F.windowZooming(_formel);
  2375. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2376. var _formel = document.getElementById("studyDetailS");
  2377. U.UF.F.windowZooming(_formel);
  2378. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2379. var _formel = document.getElementById("studyDetailS");
  2380. U.UF.F.topWindow(_formel);
  2381. } else if (e.data.tools && e.data.tools == "1") {
  2382. // U.MD.D.I.openApplication("whiteboard")
  2383. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2384. } else if (e.data.tools && e.data.tools == "2") {
  2385. U.MD.D.I.openApplication("note")
  2386. } else if (e.data.tools && e.data.tools == "3") {
  2387. // U.MD.D.I.openApplication("mind")
  2388. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2389. } else if (e.data.tools && e.data.tools == "4") {
  2390. U.MD.D.I.openApplication("investigation")
  2391. } else if (e.data.tools && e.data.tools == "6") {
  2392. // U.MD.D.I.openApplication("doc")
  2393. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2394. } else if (e.data.tools && e.data.tools == "7") {
  2395. // U.MD.D.I.openApplication("mindNetwork")
  2396. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2397. } else if (e.data.tools && e.data.tools == "8") {
  2398. U.MD.D.I.openApplication("library")
  2399. } else if (e.data.tools && e.data.tools == "17") {
  2400. U.MD.D.I.openApplication("stuLibrary")
  2401. } else if (e.data.tools && e.data.tools == "18") {
  2402. U.MD.D.I.openApplication("train")
  2403. } else if (e.data.tools && e.data.tools == "21") {
  2404. U.MD.D.I.openApplication("program")
  2405. } else if (e.data.tools && e.data.tools == "22") {
  2406. U.MD.D.I.openApplication("AIprogram2")
  2407. } else if (e.data.tools && e.data.tools == "23") {
  2408. U.MD.D.I.openApplication("Pythonprogram")
  2409. } else if (e.data.tools && e.data.tools == "24") {
  2410. U.MD.D.I.openApplication("AIprogram")
  2411. } else if (e.data.tools && e.data.tools == "25") {
  2412. U.MD.D.I.openApplication("sys")
  2413. } else if (e.data.tools && e.data.tools == "26") {
  2414. // U.MD.D.I.openApplication("courseDesign")
  2415. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2416. } else if (e.data.tools && e.data.tools == "31") {
  2417. U.MD.D.I.openApplication("netWorkPanel")
  2418. } else if (e.data.tools && e.data.tools == "32") {
  2419. U.MD.D.I.openApplication("codeEdit")
  2420. } else if (e.data.tools && e.data.tools == "57") {
  2421. U.MD.D.I.openApplication("CocoPi")
  2422. } else if (e.data.tools && e.data.tools == "63") {
  2423. U.MD.D.I.openApplication("Wood")
  2424. } else if (e.data.tools && e.data.tools == "58") {
  2425. U.MD.D.I.openApplication("car")
  2426. } else if (e.data.tools && e.data.tools == "59") {
  2427. U.MD.D.I.openApplication("lineSearch")
  2428. } else if (e.data.tools && e.data.tools == "60") {
  2429. U.MD.D.I.openApplication("deepLearning")
  2430. } else if (e.data.tools && e.data.tools == "61") {
  2431. U.MD.D.I.openApplication("allHistory")
  2432. } else if (e.data.tools && e.data.tools == "28") {
  2433. U.MD.D.I.openApplication("translation")
  2434. } else if (e.data.tools && e.data.tools == "37") {
  2435. U.MD.D.I.openApplication("mohe")
  2436. } else if (e.data.tools && e.data.tools == "38") {
  2437. U.MD.D.I.openApplication("24game")
  2438. } else if (e.data.tools && e.data.tools == "39") {
  2439. U.MD.D.I.openApplication("GeoGebra")
  2440. } else if (e.data.tools && e.data.tools == "43") {
  2441. U.MD.D.I.openApplication("studentEvaluate")
  2442. } else if (e.data.tools && e.data.tools == "44") {
  2443. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2444. } else if (e.data.tools && e.data.tools == "46") {
  2445. U.MD.D.I.openApplication("project")
  2446. } else if (e.data.tools && e.data.tools == "1s") {
  2447. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2448. } else if (e.data.tools && e.data.tools == "3s") {
  2449. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2450. } else if (e.data.tools && e.data.tools == "6s") {
  2451. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2452. } else if (e.data.tools && e.data.tools == "1studio") {
  2453. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2454. } else if (e.data.tools && e.data.tools == "3studio") {
  2455. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2456. } else if (e.data.tools && e.data.tools == "6studio") {
  2457. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2458. } else if (e.data.tools && e.data.tools == "3y") {
  2459. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2460. } else if (e.data.tools && e.data.tools == "1y") {
  2461. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2462. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2463. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2464. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2465. U.MD.D.I.openApplication("AIAnalyse")
  2466. } else if (e.data.tools && e.data.tools == "1teacher") {
  2467. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2468. } else if (e.data.tools && e.data.tools == "3teacher") {
  2469. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2470. } else if (e.data.tools && e.data.tools == "7teacher") {
  2471. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2472. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2473. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2474. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2475. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2476. } else if (e.data.tools && e.data.tools == "1E") {
  2477. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2478. } else if (e.data.tools && e.data.tools == "3E") {
  2479. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2480. } else if (e.data.tools && e.data.tools == "57y") {
  2481. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2482. } else if (e.data.tools && e.data.tools == "57u") {
  2483. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2484. } else if (e.data.tools && e.data.tools == "57teacher") {
  2485. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2486. } else if (e.data.tools && e.data.tools == "64") {
  2487. U.MD.D.I.openApplication("AIChat")
  2488. } else if (e.data.tools && e.data.tools == "66") {
  2489. U.MD.D.I.openApplication("formulaEdi")
  2490. } else if (e.data.tools && e.data.tools == "67") {
  2491. U.MD.D.I.openApplication("molStr")
  2492. } else if (e.data.tools && e.data.tools == "68") {
  2493. U.MD.D.I.openApplication("timeAxis")
  2494. } else if (e.data.tools && e.data.tools == "openCourse") {
  2495. let _data = {
  2496. typea: e.data.typea || '',
  2497. typeb: e.data.typeb || '',
  2498. typed: e.data.typed || '',
  2499. }
  2500. U.MD.D.I.openInApplication("index", _data)
  2501. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2502. let _data = {
  2503. classid: e.data.classid || '',
  2504. }
  2505. U.MD.D.I.openInApplication("dataClass", _data)
  2506. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2507. let _data = {
  2508. cid: e.data.cid || '',
  2509. gid: e.data.gid || '',
  2510. }
  2511. U.MD.D.I.openInApplication("opencCscl", _data)
  2512. }
  2513. });
  2514. U.MD.D.I.selectUser = function () {
  2515. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2516. if (res.value[0].length > 0) {
  2517. US.userInfo = res.value[0][0];
  2518. $(".userName")[0].innerHTML = US.userInfo.username;
  2519. }
  2520. }, [], { "type": "GET", "withCredentials": true });
  2521. }
  2522. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2523. var _userinfo = US.userInfo, //登录用户信息
  2524. _userid = US.userInfo.userid, //登录用户id
  2525. _oid = _userinfo.organizeid,
  2526. _type = US.userInfo.type,
  2527. _org = US.userInfo.org,
  2528. _role = US.userInfo.role,
  2529. _classId = US.userInfo.classid;
  2530. if (_type == 4) {
  2531. tType = 4
  2532. }
  2533. switch (str) {
  2534. case "studyDetailNT": //无终端模式
  2535. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2536. setTimeout(() => {
  2537. U.MD.U.L.login();
  2538. }, 2000);
  2539. } else {
  2540. _formdiv = new U.UF.UI.form(
  2541. "课程详情",
  2542. $$("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 }), {
  2543. "id": "studyDetailNT",
  2544. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2545. "onresize": function () { }
  2546. }, {
  2547. closecallback: function () { }
  2548. }, { "style": { "height": "36px" } }).form; //创建窗体
  2549. _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); } }
  2550. break;
  2551. }
  2552. case "studyDetail":
  2553. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2554. setTimeout(() => {
  2555. U.MD.U.L.login();
  2556. }, 2000);
  2557. } else {
  2558. _formdiv = new U.UF.UI.form(
  2559. "课程详情",
  2560. $$("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 }), {
  2561. "id": "studyDetail",
  2562. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2563. "onresize": function () { }
  2564. }, {
  2565. closecallback: function () { }
  2566. }, { "style": { "height": "36px" } }).form; //创建窗体
  2567. _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); } }
  2568. break;
  2569. }
  2570. case "studyDetailS":
  2571. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2572. setTimeout(() => {
  2573. U.MD.U.L.login();
  2574. }, 2000);
  2575. } else {
  2576. _formdiv = new U.UF.UI.form(
  2577. "项目详情",
  2578. $$("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 }), {
  2579. "id": "studyDetailS",
  2580. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2581. "onresize": function () { }
  2582. }, {
  2583. closecallback: function () { }
  2584. }, { "style": { "height": "36px" } }).form; //创建窗体
  2585. _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); } }
  2586. break;
  2587. }
  2588. case "studyDetailStudio":
  2589. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2590. setTimeout(() => {
  2591. U.MD.U.L.login();
  2592. }, 2000);
  2593. } else {
  2594. _formdiv = new U.UF.UI.form(
  2595. "工作详情",
  2596. $$("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 }), {
  2597. "id": "studyDetailStudio",
  2598. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2599. "onresize": function () { }
  2600. }, {
  2601. closecallback: function () { }
  2602. }, { "style": { "height": "36px" } }).form; //创建窗体
  2603. _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); } }
  2604. break;
  2605. }
  2606. case "studyDetailS5":
  2607. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2608. setTimeout(() => {
  2609. U.MD.U.L.login();
  2610. }, 2000);
  2611. } else {
  2612. _formdiv = new U.UF.UI.form(
  2613. "项目详情",
  2614. $$("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 }), {
  2615. "id": "studyDetailS",
  2616. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2617. "onresize": function () { }
  2618. }, {
  2619. closecallback: function () { }
  2620. }, { "style": { "height": "36px" } }).form; //创建窗体
  2621. _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); } }
  2622. break;
  2623. }
  2624. case "studyDetailGM":
  2625. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2626. setTimeout(() => {
  2627. U.MD.U.L.login();
  2628. }, 2000);
  2629. } else {
  2630. _formdiv = new U.UF.UI.form(
  2631. "课程详情",
  2632. $$("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 }), {
  2633. "id": "studyDetail",
  2634. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2635. "onresize": function () { }
  2636. }, {
  2637. closecallback: function () { }
  2638. }, { "style": { "height": "36px" } }).form; //创建窗体
  2639. _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); } }
  2640. break;
  2641. }
  2642. case "hanUrl":
  2643. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2644. setTimeout(() => {
  2645. U.MD.U.L.login();
  2646. }, 2000);
  2647. } else {
  2648. _formdiv = new U.UF.UI.form(
  2649. "汉字宫",
  2650. $$("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" }), {
  2651. "id": "hanUrl",
  2652. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2653. "onresize": function () { }
  2654. }, {
  2655. closecallback: function () { }
  2656. }, { "style": { "height": "36px" } }).form; //创建窗体
  2657. _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); } }
  2658. break;
  2659. }
  2660. case "index":
  2661. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2662. setTimeout(() => {
  2663. U.MD.U.L.login();
  2664. }, 2000);
  2665. } else {
  2666. _formdiv = new U.UF.UI.form(
  2667. "课程中心",
  2668. $$("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 }), {
  2669. "id": "study",
  2670. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2671. "onresize": function () { }
  2672. }, {
  2673. closecallback: function () { }
  2674. }, { "style": { "height": "36px" } }).form; //创建窗体
  2675. _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); } }
  2676. break;
  2677. }
  2678. case "dataClass":
  2679. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2680. setTimeout(() => {
  2681. U.MD.U.L.login();
  2682. }, 2000);
  2683. } else {
  2684. _formdiv = new U.UF.UI.form(
  2685. "数据报告",
  2686. $$("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 }), {
  2687. "id": "dataClass",
  2688. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2689. "onresize": function () { }
  2690. }, {
  2691. closecallback: function () { }
  2692. }, { "style": { "height": "36px" } }).form; //创建窗体
  2693. _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); } }
  2694. break;
  2695. }
  2696. case "opencCscl":
  2697. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2698. setTimeout(() => {
  2699. U.MD.U.L.login();
  2700. }, 2000);
  2701. } else {
  2702. _formdiv = new U.UF.UI.form(
  2703. "协同建构",
  2704. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  2705. "id": "futureClass",
  2706. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2707. "onresize": function () { }
  2708. }, {
  2709. closecallback: function () { }
  2710. }, { "style": { "height": "36px" } }).form; //创建窗体
  2711. _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); } }
  2712. break;
  2713. }
  2714. }
  2715. }
  2716. U.MD.D.I.openApplication = function (str, obj, info) {
  2717. obj = obj || {};
  2718. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2719. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2720. _userinfo = US.userInfo, //登录用户信息
  2721. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2722. _oid = obj.organizeid || _userinfo.organizeid,
  2723. _type = US.userInfo.type,
  2724. _org = US.userInfo.org,
  2725. _role = US.userInfo.role,
  2726. _classId = US.userInfo.classid,
  2727. _TscreenType = 1
  2728. _screenType = 2,
  2729. _SscreenType = 3;
  2730. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2731. return;
  2732. }
  2733. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2734. switch (str) {
  2735. case "studnetProject": //好友打开
  2736. _formdiv = new U.UF.UI.form(
  2737. "我的项目",
  2738. $$("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 }), {
  2739. "id": "studnetProject",
  2740. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2741. "onresize": function () { }
  2742. }, {
  2743. closecallback: function () { }
  2744. }, { "style": { "height": "36px" } }).form; //创建窗体
  2745. _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); } }
  2746. break;
  2747. case "studentEvaluate": //好友打开
  2748. _formdiv = new U.UF.UI.form(
  2749. "我的评价",
  2750. $$("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 }), {
  2751. "id": "studentEvaluate",
  2752. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2753. "onresize": function () { }
  2754. }, {
  2755. closecallback: function () { }
  2756. }, { "style": { "height": "36px" } }).form; //创建窗体
  2757. _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); } }
  2758. break;
  2759. case "my":
  2760. _formdiv = new U.UF.UI.form(
  2761. "我的资料",
  2762. $$("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 }), {
  2763. "id": "my",
  2764. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2765. "onresize": function () { }
  2766. }, {
  2767. closecallback: function () { }
  2768. }, { "style": { "height": "36px" } }).form; //创建窗体
  2769. _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); } }
  2770. break;
  2771. case "program":
  2772. _formdiv = new U.UF.UI.form(
  2773. "编程平台",
  2774. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2775. "id": "program",
  2776. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2777. "onresize": function () { }
  2778. }, {
  2779. closecallback: function () { }
  2780. }, { "style": { "height": "36px" } }).form; //创建窗体
  2781. _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); } }
  2782. break;
  2783. case "library":
  2784. _formdiv = new U.UF.UI.form(
  2785. "素材库",
  2786. $$("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 }), {
  2787. "id": "library",
  2788. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2789. "onresize": function () { }
  2790. }, {
  2791. closecallback: function () { }
  2792. }, { "style": { "height": "36px" } }).form; //创建窗体
  2793. _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); } }
  2794. break;
  2795. case "whiteboard":
  2796. _formdiv = new U.UF.UI.form(
  2797. "电子白板",
  2798. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2799. "id": "whiteboard",
  2800. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2801. "onresize": function () { }
  2802. }, {
  2803. closecallback: function () { }
  2804. }, { "style": { "height": "36px" } }).form; //创建窗体
  2805. _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); } }
  2806. break;
  2807. case "investigation":
  2808. _formdiv = new U.UF.UI.form(
  2809. "问卷调查",
  2810. $$("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 }), {
  2811. "id": "investigation",
  2812. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2813. "onresize": function () { }
  2814. }, {
  2815. closecallback: function () { }
  2816. }, { "style": { "height": "36px" } }).form; //创建窗体
  2817. _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); } }
  2818. break;
  2819. case "note":
  2820. _formdiv = new U.UF.UI.form(
  2821. "便签分类",
  2822. $$("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 }), {
  2823. "id": "note",
  2824. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2825. "onresize": function () { }
  2826. }, {
  2827. closecallback: function () { }
  2828. }, { "style": { "height": "36px" } }).form; //创建窗体
  2829. _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); } }
  2830. break;
  2831. // case "score":
  2832. // _formdiv = new U.UF.UI.form(
  2833. // "量规评分",
  2834. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2835. // "id": "score",
  2836. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2837. // "onresize": function() {}
  2838. // }, {
  2839. // closecallback: function() {}
  2840. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2841. // _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); } }
  2842. // break;
  2843. case "mind":
  2844. _formdiv = new U.UF.UI.form(
  2845. "思维导图",
  2846. $$("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"
  2847. "id": "mind",
  2848. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2849. "onresize": function () { }
  2850. }, {
  2851. closecallback: function () { }
  2852. }, { "style": { "height": "36px" } }).form; //创建窗体
  2853. _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); } }
  2854. break;
  2855. case "doc":
  2856. // U.MD.D.I.isRoom();
  2857. _formdiv = new U.UF.UI.form(
  2858. "协同文档",
  2859. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2860. "id": "doc",
  2861. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2862. "onresize": function () { }
  2863. }, {
  2864. closecallback: function () { }
  2865. }, { "style": { "height": "36px" } }).form; //创建窗体
  2866. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2867. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2868. // })
  2869. _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); } }
  2870. break;
  2871. case "studentStudy":
  2872. _formdiv = new U.UF.UI.form(
  2873. "课程中心",
  2874. $$("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
  2875. "id": "studentStudy",
  2876. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2877. "onresize": function () { }
  2878. }, {
  2879. closecallback: function () { }
  2880. }, { "style": { "height": "36px" } }).form; //创建窗体
  2881. _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); } }
  2882. break;
  2883. case "train": //好友打开
  2884. _formdiv = new U.UF.UI.form(
  2885. "训练平台",
  2886. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2887. "id": "train",
  2888. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2889. "onresize": function () { }
  2890. }, {
  2891. closecallback: function () { }
  2892. }, { "style": { "height": "36px" } }).form; //创建窗体
  2893. _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); } }
  2894. break;
  2895. case "mindNetwork": //好友打开
  2896. _formdiv = new U.UF.UI.form(
  2897. "思维网格",
  2898. $$("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 }), {
  2899. "id": "mindNetwork",
  2900. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2901. "onresize": function () { }
  2902. }, {
  2903. closecallback: function () { }
  2904. }, { "style": { "height": "36px" } }).form; //创建窗体
  2905. _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); } }
  2906. break;
  2907. case "studentClassRoom": //好友打开
  2908. _formdiv = new U.UF.UI.form(
  2909. "实时课堂",
  2910. $$("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 }), {
  2911. "id": "studentClassRoom",
  2912. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2913. "onresize": function () { }
  2914. }, {
  2915. closecallback: function () { }
  2916. }, { "style": { "height": "36px" } }).form; //创建窗体
  2917. _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); } }
  2918. setTimeout(() => {
  2919. U.UF.F.windowZooming(_formdiv)
  2920. }, 0);
  2921. break;
  2922. }
  2923. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2924. switch (str) {
  2925. case "studnetProject": //好友打开
  2926. _formdiv = new U.UF.UI.form(
  2927. "我的项目",
  2928. $$("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 }), {
  2929. "id": "studnetProject",
  2930. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2931. "onresize": function () { }
  2932. }, {
  2933. closecallback: function () { }
  2934. }, { "style": { "height": "36px" } }).form; //创建窗体
  2935. _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); } }
  2936. break;
  2937. case "studentEvaluate": //好友打开
  2938. _formdiv = new U.UF.UI.form(
  2939. "我的评价",
  2940. $$("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 }), {
  2941. "id": "studentEvaluate",
  2942. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2943. "onresize": function () { }
  2944. }, {
  2945. closecallback: function () { }
  2946. }, { "style": { "height": "36px" } }).form; //创建窗体
  2947. _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); } }
  2948. break;
  2949. case "my":
  2950. _formdiv = new U.UF.UI.form(
  2951. "我的资料",
  2952. $$("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 }), {
  2953. "id": "my",
  2954. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2955. "onresize": function () { }
  2956. }, {
  2957. closecallback: function () { }
  2958. }, { "style": { "height": "36px" } }).form; //创建窗体
  2959. _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); } }
  2960. break;
  2961. case "program":
  2962. _formdiv = new U.UF.UI.form(
  2963. "编程平台",
  2964. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2965. "id": "program",
  2966. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2967. "onresize": function () { }
  2968. }, {
  2969. closecallback: function () { }
  2970. }, { "style": { "height": "36px" } }).form; //创建窗体
  2971. _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); } }
  2972. break;
  2973. case "library":
  2974. _formdiv = new U.UF.UI.form(
  2975. "素材库",
  2976. $$("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 }), {
  2977. "id": "library",
  2978. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2979. "onresize": function () { }
  2980. }, {
  2981. closecallback: function () { }
  2982. }, { "style": { "height": "36px" } }).form; //创建窗体
  2983. _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); } }
  2984. break;
  2985. case "whiteboard":
  2986. _formdiv = new U.UF.UI.form(
  2987. "电子白板",
  2988. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2989. "id": "whiteboard",
  2990. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2991. "onresize": function () { }
  2992. }, {
  2993. closecallback: function () { }
  2994. }, { "style": { "height": "36px" } }).form; //创建窗体
  2995. _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); } }
  2996. break;
  2997. case "investigation":
  2998. _formdiv = new U.UF.UI.form(
  2999. "问卷调查",
  3000. $$("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 }), {
  3001. "id": "investigation",
  3002. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3003. "onresize": function () { }
  3004. }, {
  3005. closecallback: function () { }
  3006. }, { "style": { "height": "36px" } }).form; //创建窗体
  3007. _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); } }
  3008. break;
  3009. case "note":
  3010. _formdiv = new U.UF.UI.form(
  3011. "便签分类",
  3012. $$("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 }), {
  3013. "id": "note",
  3014. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3015. "onresize": function () { }
  3016. }, {
  3017. closecallback: function () { }
  3018. }, { "style": { "height": "36px" } }).form; //创建窗体
  3019. _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); } }
  3020. break;
  3021. // case "score":
  3022. // _formdiv = new U.UF.UI.form(
  3023. // "量规评分",
  3024. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3025. // "id": "score",
  3026. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3027. // "onresize": function() {}
  3028. // }, {
  3029. // closecallback: function() {}
  3030. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3031. // _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); } }
  3032. // break;
  3033. case "mind":
  3034. _formdiv = new U.UF.UI.form(
  3035. "思维导图",
  3036. $$("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"
  3037. "id": "mind",
  3038. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3039. "onresize": function () { }
  3040. }, {
  3041. closecallback: function () { }
  3042. }, { "style": { "height": "36px" } }).form; //创建窗体
  3043. _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); } }
  3044. break;
  3045. case "doc":
  3046. // U.MD.D.I.isRoom();
  3047. _formdiv = new U.UF.UI.form(
  3048. "协同文档",
  3049. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3050. "id": "doc",
  3051. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3052. "onresize": function () { }
  3053. }, {
  3054. closecallback: function () { }
  3055. }, { "style": { "height": "36px" } }).form; //创建窗体
  3056. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3057. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3058. })
  3059. _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); } }
  3060. break;
  3061. case "train": //好友打开
  3062. _formdiv = new U.UF.UI.form(
  3063. "训练平台",
  3064. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3065. "id": "train",
  3066. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3067. "onresize": function () { }
  3068. }, {
  3069. closecallback: function () { }
  3070. }, { "style": { "height": "36px" } }).form; //创建窗体
  3071. _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); } }
  3072. break;
  3073. case "studentStudy":
  3074. _formdiv = new U.UF.UI.form(
  3075. "课程中心",
  3076. $$("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
  3077. "id": "studentStudy",
  3078. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3079. "onresize": function () { }
  3080. }, {
  3081. closecallback: function () { }
  3082. }, { "style": { "height": "36px" } }).form; //创建窗体
  3083. _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); } }
  3084. break;
  3085. case "mindNetwork": //好友打开
  3086. _formdiv = new U.UF.UI.form(
  3087. "思维网格",
  3088. $$("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 }), {
  3089. "id": "mindNetwork",
  3090. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3091. "onresize": function () { }
  3092. }, {
  3093. closecallback: function () { }
  3094. }, { "style": { "height": "36px" } }).form; //创建窗体
  3095. _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); } }
  3096. break;
  3097. case "studentClassRoom": //好友打开
  3098. _formdiv = new U.UF.UI.form(
  3099. "实时课堂",
  3100. $$("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 }), {
  3101. "id": "studentClassRoom",
  3102. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3103. "onresize": function () { }
  3104. }, {
  3105. closecallback: function () { }
  3106. }, { "style": { "height": "36px" } }).form; //创建窗体
  3107. _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); } }
  3108. setTimeout(() => {
  3109. U.UF.F.windowZooming(_formdiv)
  3110. }, 0);
  3111. break;
  3112. }
  3113. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3114. //选择应用处理
  3115. switch (str) {
  3116. case "project": //好友打开
  3117. _formdiv = new U.UF.UI.form(
  3118. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3119. $$("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 }), {
  3120. "id": "project",
  3121. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3122. "onresize": function () { }
  3123. }, {
  3124. closecallback: function () { }
  3125. }, { "style": { "height": "36px" } }).form; //创建窗体
  3126. _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); } }
  3127. break;
  3128. case "student":
  3129. _formdiv = new U.UF.UI.form(
  3130. "学生管理",
  3131. $$("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 }), {
  3132. "id": "student",
  3133. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3134. "onresize": function () { }
  3135. }, {
  3136. closecallback: function () { }
  3137. }, { "style": { "height": "36px" } }).form; //创建窗体
  3138. _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); } }
  3139. break;
  3140. case "evaluate":
  3141. _formdiv = new U.UF.UI.form(
  3142. "学生评价",
  3143. $$("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 }), {
  3144. "id": "evaluate",
  3145. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3146. "onresize": function () { }
  3147. }, {
  3148. closecallback: function () { }
  3149. }, { "style": { "height": "36px" } }).form; //创建窗体
  3150. _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); } }
  3151. break;
  3152. case "sys":
  3153. _formdiv = new U.UF.UI.form(
  3154. "目标管理",
  3155. $$("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 }), {
  3156. "id": "sys",
  3157. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3158. "onresize": function () { }
  3159. }, {
  3160. closecallback: function () { }
  3161. }, { "style": { "height": "36px" } }).form; //创建窗体
  3162. _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); } }
  3163. break;
  3164. case "courseDesign":
  3165. _formdiv = new U.UF.UI.form(
  3166. "项目设计",
  3167. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3168. "id": "courseDesign",
  3169. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3170. "onresize": function () { }
  3171. }, {
  3172. closecallback: function () { }
  3173. }, { "style": { "height": "36px" } }).form; //创建窗体
  3174. _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); } }
  3175. break;
  3176. case "program":
  3177. _formdiv = new U.UF.UI.form(
  3178. "编程平台",
  3179. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3180. "id": "program",
  3181. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3182. "onresize": function () { }
  3183. }, {
  3184. closecallback: function () { }
  3185. }, { "style": { "height": "36px" } }).form; //创建窗体
  3186. _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); } }
  3187. break;
  3188. case "class":
  3189. _formdiv = new U.UF.UI.form(
  3190. "班级管理",
  3191. $$("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 }), {
  3192. "id": "class",
  3193. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3194. "onresize": function () { }
  3195. }, {
  3196. closecallback: function () { }
  3197. }, { "style": { "height": "36px" } }).form; //创建窗体
  3198. _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); } }
  3199. break;
  3200. case "Grade":
  3201. _formdiv = new U.UF.UI.form(
  3202. "年级管理",
  3203. $$("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 }), {
  3204. "id": "Grade",
  3205. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3206. "onresize": function () { }
  3207. }, {
  3208. closecallback: function () { }
  3209. }, { "style": { "height": "36px" } }).form; //创建窗体
  3210. _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); } }
  3211. break;
  3212. case "teacherOffice":
  3213. _formdiv = new U.UF.UI.form(
  3214. "教研室",
  3215. $$("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 }), {
  3216. "id": "teacherOffice",
  3217. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3218. "onresize": function () { }
  3219. }, {
  3220. closecallback: function () { }
  3221. }, { "style": { "height": "36px" } }).form; //创建窗体
  3222. _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); } }
  3223. break;
  3224. case "my":
  3225. _formdiv = new U.UF.UI.form(
  3226. "我的资料",
  3227. $$("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 }), {
  3228. "id": "my",
  3229. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3230. "onresize": function () { }
  3231. }, {
  3232. closecallback: function () { }
  3233. }, { "style": { "height": "36px" } }).form; //创建窗体
  3234. _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); } }
  3235. break;
  3236. case "notice":
  3237. _formdiv = new U.UF.UI.form(
  3238. "通知公告",
  3239. $$("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 }), {
  3240. "id": "notice",
  3241. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3242. "onresize": function () { }
  3243. }, {
  3244. closecallback: function () { }
  3245. }, { "style": { "height": "36px" } }).form; //创建窗体
  3246. _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); } }
  3247. break;
  3248. case "library":
  3249. _formdiv = new U.UF.UI.form(
  3250. "素材库",
  3251. $$("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 }), {
  3252. "id": "library",
  3253. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3254. "onresize": function () { }
  3255. }, {
  3256. closecallback: function () { }
  3257. }, { "style": { "height": "36px" } }).form; //创建窗体
  3258. _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); } }
  3259. break;
  3260. case "whiteboard":
  3261. _formdiv = new U.UF.UI.form(
  3262. "电子白板",
  3263. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3264. "id": "whiteboard",
  3265. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3266. "onresize": function () { }
  3267. }, {
  3268. closecallback: function () { }
  3269. }, { "style": { "height": "36px" } }).form; //创建窗体
  3270. _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); } }
  3271. break;
  3272. case "investigation":
  3273. _formdiv = new U.UF.UI.form(
  3274. "问卷调查",
  3275. $$("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 }), {
  3276. "id": "investigation",
  3277. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3278. "onresize": function () { }
  3279. }, {
  3280. closecallback: function () { }
  3281. }, { "style": { "height": "36px" } }).form; //创建窗体
  3282. _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); } }
  3283. break;
  3284. case "note":
  3285. _formdiv = new U.UF.UI.form(
  3286. "便签分类",
  3287. $$("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 }), {
  3288. "id": "note",
  3289. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3290. "onresize": function () { }
  3291. }, {
  3292. closecallback: function () { }
  3293. }, { "style": { "height": "36px" } }).form; //创建窗体
  3294. _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); } }
  3295. break;
  3296. // case "score":
  3297. // _formdiv = new U.UF.UI.form(
  3298. // "量规评分",
  3299. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3300. // "id": "score",
  3301. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3302. // "onresize": function() {}
  3303. // }, {
  3304. // closecallback: function() {}
  3305. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3306. // _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); } }
  3307. // break;
  3308. case "mind":
  3309. _formdiv = new U.UF.UI.form(
  3310. "思维导图",
  3311. $$("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"
  3312. "id": "mind",
  3313. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3314. "onresize": function () { }
  3315. }, {
  3316. closecallback: function () { }
  3317. }, { "style": { "height": "36px" } }).form; //创建窗体
  3318. _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); } }
  3319. break;
  3320. case "doc":
  3321. // U.MD.D.I.isRoom();
  3322. _formdiv = new U.UF.UI.form(
  3323. "协同文档",
  3324. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3325. "id": "doc",
  3326. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3327. "onresize": function () { }
  3328. }, {
  3329. closecallback: function () { }
  3330. }, { "style": { "height": "36px" } }).form; //创建窗体
  3331. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3332. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3333. })
  3334. _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); } }
  3335. break;
  3336. case "study":
  3337. _formdiv = new U.UF.UI.form(
  3338. "课程中心",
  3339. $$("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
  3340. "id": "study",
  3341. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3342. "onresize": function () { }
  3343. }, {
  3344. closecallback: function () { }
  3345. }, { "style": { "height": "36px" } }).form; //创建窗体
  3346. _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); } }
  3347. break;
  3348. case "mindNetwork": //好友打开
  3349. _formdiv = new U.UF.UI.form(
  3350. "思维网格",
  3351. $$("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 }), {
  3352. "id": "mindNetwork",
  3353. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3354. "onresize": function () { }
  3355. }, {
  3356. closecallback: function () { }
  3357. }, { "style": { "height": "36px" } }).form; //创建窗体
  3358. _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); } }
  3359. break;
  3360. case "train": //好友打开
  3361. _formdiv = new U.UF.UI.form(
  3362. "训练平台",
  3363. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3364. "id": "mindNetwork",
  3365. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3366. "onresize": function () { }
  3367. }, {
  3368. closecallback: function () { }
  3369. }, { "style": { "height": "36px" } }).form; //创建窗体
  3370. _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); } }
  3371. break;
  3372. case "teacherClassRoom": //好友打开
  3373. _formdiv = new U.UF.UI.form(
  3374. "实时课堂",
  3375. $$("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 }), {
  3376. "id": "teacherClassRoom",
  3377. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3378. "onresize": function () { }
  3379. }, {
  3380. closecallback: function () { }
  3381. }, { "style": { "height": "36px" } }).form; //创建窗体
  3382. _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); } }
  3383. setTimeout(() => {
  3384. U.UF.F.windowZooming(_formdiv)
  3385. }, 0);
  3386. break;
  3387. }
  3388. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3389. switch (str) {
  3390. case "project": //好友打开
  3391. _formdiv = new U.UF.UI.form(
  3392. "课程管理",
  3393. $$("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 }), {
  3394. "id": "project",
  3395. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3396. "onresize": function () { }
  3397. }, {
  3398. closecallback: function () { }
  3399. }, { "style": { "height": "36px" } }).form; //创建窗体
  3400. _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); } }
  3401. break;
  3402. case "evaluate":
  3403. _formdiv = new U.UF.UI.form(
  3404. "学生评价",
  3405. $$("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 }), {
  3406. "id": "evaluate",
  3407. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3408. "onresize": function () { }
  3409. }, {
  3410. closecallback: function () { }
  3411. }, { "style": { "height": "36px" } }).form; //创建窗体
  3412. _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); } }
  3413. break;
  3414. case "notice":
  3415. _formdiv = new U.UF.UI.form(
  3416. "通知公告",
  3417. $$("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 }), {
  3418. "id": "notice",
  3419. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3420. "onresize": function () { }
  3421. }, {
  3422. closecallback: function () { }
  3423. }, { "style": { "height": "36px" } }).form; //创建窗体
  3424. _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); } }
  3425. break;
  3426. case "stuLibrary":
  3427. _formdiv = new U.UF.UI.form(
  3428. "学习资料",
  3429. $$("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 }), {
  3430. "id": "stuLibrary",
  3431. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3432. "onresize": function () { }
  3433. }, {
  3434. closecallback: function () { }
  3435. }, { "style": { "height": "36px" } }).form; //创建窗体
  3436. _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); } }
  3437. break;
  3438. case "program":
  3439. _formdiv = new U.UF.UI.form(
  3440. "编程平台",
  3441. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3442. "id": "program",
  3443. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3444. "onresize": function () { }
  3445. }, {
  3446. closecallback: function () { }
  3447. }, { "style": { "height": "36px" } }).form; //创建窗体
  3448. _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); } }
  3449. break;
  3450. case "whiteboard":
  3451. _formdiv = new U.UF.UI.form(
  3452. "电子白板",
  3453. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3454. "id": "whiteboard",
  3455. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3456. "onresize": function () { }
  3457. }, {
  3458. closecallback: function () { }
  3459. }, { "style": { "height": "36px" } }).form; //创建窗体
  3460. _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); } }
  3461. break;
  3462. case "investigation":
  3463. _formdiv = new U.UF.UI.form(
  3464. "问卷调查",
  3465. $$("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 }), {
  3466. "id": "investigation",
  3467. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3468. "onresize": function () { }
  3469. }, {
  3470. closecallback: function () { }
  3471. }, { "style": { "height": "36px" } }).form; //创建窗体
  3472. _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); } }
  3473. break;
  3474. case "mind":
  3475. _formdiv = new U.UF.UI.form(
  3476. "思维导图",
  3477. $$("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"
  3478. "id": "mind",
  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/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3485. break;
  3486. case "doc":
  3487. // U.MD.D.I.isRoom();
  3488. _formdiv = new U.UF.UI.form(
  3489. "协同文档",
  3490. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3491. "id": "doc",
  3492. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3493. "onresize": function () { }
  3494. }, {
  3495. closecallback: function () { }
  3496. }, { "style": { "height": "36px" } }).form; //创建窗体
  3497. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3498. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3499. })
  3500. _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); } }
  3501. break;
  3502. case "study":
  3503. _formdiv = new U.UF.UI.form(
  3504. "课程中心",
  3505. $$("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
  3506. "id": "study",
  3507. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3508. "onresize": function () { }
  3509. }, {
  3510. closecallback: function () { }
  3511. }, { "style": { "height": "36px" } }).form; //创建窗体
  3512. _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); } }
  3513. break;
  3514. case "mindNetwork": //好友打开
  3515. _formdiv = new U.UF.UI.form(
  3516. "思维网格",
  3517. $$("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 }), {
  3518. "id": "mindNetwork",
  3519. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3520. "onresize": function () { }
  3521. }, {
  3522. closecallback: function () { }
  3523. }, { "style": { "height": "36px" } }).form; //创建窗体
  3524. _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); } }
  3525. break;
  3526. case "train": //好友打开
  3527. _formdiv = new U.UF.UI.form(
  3528. "训练平台",
  3529. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3530. "id": "train",
  3531. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3532. "onresize": function () { }
  3533. }, {
  3534. closecallback: function () { }
  3535. }, { "style": { "height": "36px" } }).form; //创建窗体
  3536. _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); } }
  3537. break;
  3538. case "sys":
  3539. _formdiv = new U.UF.UI.form(
  3540. "目标管理",
  3541. $$("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 }), {
  3542. "id": "sys",
  3543. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3544. "onresize": function () { }
  3545. }, {
  3546. closecallback: function () { }
  3547. }, { "style": { "height": "36px" } }).form; //创建窗体
  3548. _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); } }
  3549. break;
  3550. case "courseDesign":
  3551. _formdiv = new U.UF.UI.form(
  3552. "项目设计",
  3553. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3554. "id": "courseDesign",
  3555. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3556. "onresize": function () { }
  3557. }, {
  3558. closecallback: function () { }
  3559. }, { "style": { "height": "36px" } }).form; //创建窗体
  3560. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3561. break;
  3562. }
  3563. } else if (!_type) {
  3564. switch (str) {
  3565. case "my":
  3566. _formdiv = new U.UF.UI.form(
  3567. "我的资料",
  3568. $$("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 }), {
  3569. "id": "my",
  3570. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3571. "onresize": function () { }
  3572. }, {
  3573. closecallback: function () { }
  3574. }, { "style": { "height": "36px" } }).form; //创建窗体
  3575. _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); } }
  3576. break;
  3577. }
  3578. }
  3579. switch (str) {
  3580. // AIprogram2 AI体验 aihub.cocorobo.cn
  3581. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3582. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3583. case "formulaEdi": //公式编辑
  3584. _formdiv = new U.UF.UI.form(
  3585. "公式编辑",
  3586. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3587. "id": "formulaEdi",
  3588. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3589. "onresize": function () { }
  3590. }, {
  3591. closecallback: function () { }
  3592. }, { "style": { "height": "36px" } }).form; //创建窗体
  3593. _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); } }
  3594. break;
  3595. case "molStr": //分子结构
  3596. _formdiv = new U.UF.UI.form(
  3597. "分子结构",
  3598. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3599. "id": "molStr",
  3600. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3601. "onresize": function () { }
  3602. }, {
  3603. closecallback: function () { }
  3604. }, { "style": { "height": "36px" } }).form; //创建窗体
  3605. _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); } }
  3606. break;
  3607. case "timeAxis": //时间轴
  3608. _formdiv = new U.UF.UI.form(
  3609. "时间轴",
  3610. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3611. "id": "timeAxis",
  3612. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3613. "onresize": function () { }
  3614. }, {
  3615. closecallback: function () { }
  3616. }, { "style": { "height": "36px" } }).form; //创建窗体
  3617. _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); } }
  3618. break;
  3619. case "AIprogram2": //AI体验
  3620. _formdiv = new U.UF.UI.form(
  3621. "AI体验",
  3622. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3623. "id": "AIprogram2",
  3624. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3625. "onresize": function () { }
  3626. }, {
  3627. closecallback: function () { }
  3628. }, { "style": { "height": "36px" } }).form; //创建窗体
  3629. _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); } }
  3630. break;
  3631. case "Pythonprogram": //python编程
  3632. _formdiv = new U.UF.UI.form(
  3633. "Python编程",
  3634. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3635. "id": "Pythonprogram",
  3636. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3637. "onresize": function () { }
  3638. }, {
  3639. closecallback: function () { }
  3640. }, { "style": { "height": "36px" } }).form; //创建窗体
  3641. _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); } }
  3642. break;
  3643. case "AIprogram": //ai编程
  3644. _formdiv = new U.UF.UI.form(
  3645. "AI编程平台",
  3646. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3647. "id": "AIprogram",
  3648. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3649. "onresize": function () { }
  3650. }, {
  3651. closecallback: function () { }
  3652. }, { "style": { "height": "36px" } }).form; //创建窗体
  3653. _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); } }
  3654. break;
  3655. case "CocoPi": //CocoPi
  3656. _formdiv = new U.UF.UI.form(
  3657. "CocoPi",
  3658. $$("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" }), {
  3659. "id": "CocoPi",
  3660. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3661. "onresize": function () { }
  3662. }, {
  3663. closecallback: function () { }
  3664. }, { "style": { "height": "36px" } }).form; //创建窗体
  3665. _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); } }
  3666. break;
  3667. case "Wood": //Wood
  3668. _formdiv = new U.UF.UI.form(
  3669. "海龟编程",
  3670. $$("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/" }), {
  3671. "id": "Wood",
  3672. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3673. "onresize": function () { }
  3674. }, {
  3675. closecallback: function () { }
  3676. }, { "style": { "height": "36px" } }).form; //创建窗体
  3677. _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); } }
  3678. break;
  3679. case "car": //模拟驾驶
  3680. _formdiv = new U.UF.UI.form(
  3681. "模拟驾驶",
  3682. $$("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/" }), {
  3683. "id": "car",
  3684. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3685. "onresize": function () { }
  3686. }, {
  3687. closecallback: function () { }
  3688. }, { "style": { "height": "36px" } }).form; //创建窗体
  3689. _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); } }
  3690. break;
  3691. case "lineSearch": //路径搜索
  3692. _formdiv = new U.UF.UI.form(
  3693. "路径搜索",
  3694. $$("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/" }), {
  3695. "id": "lineSearch",
  3696. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3697. "onresize": function () { }
  3698. }, {
  3699. closecallback: function () { }
  3700. }, { "style": { "height": "36px" } }).form; //创建窗体
  3701. _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); } }
  3702. break;
  3703. case "deepLearning": //深度学习
  3704. _formdiv = new U.UF.UI.form(
  3705. "深度学习",
  3706. $$("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/#" }), {
  3707. "id": "deepLearning",
  3708. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3709. "onresize": function () { }
  3710. }, {
  3711. closecallback: function () { }
  3712. }, { "style": { "height": "36px" } }).form; //创建窗体
  3713. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/deepLearning.png)" }, "name": "深度学习", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3714. break;
  3715. case "allHistory": //深度学习
  3716. _formdiv = new U.UF.UI.form(
  3717. "全历史",
  3718. $$("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/" }), {
  3719. "id": "allHistory",
  3720. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3721. "onresize": function () { }
  3722. }, {
  3723. closecallback: function () { }
  3724. }, { "style": { "height": "36px" } }).form; //创建窗体
  3725. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/allHistory.png)" }, "name": "全历史", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3726. break;
  3727. case "chatPDF": //ai编程
  3728. _formdiv = new U.UF.UI.form(
  3729. "chatPDF",
  3730. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3731. "id": "chatPDF",
  3732. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3733. "onresize": function () { }
  3734. }, {
  3735. closecallback: function () { }
  3736. }, { "style": { "height": "36px" } }).form; //创建窗体
  3737. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3738. break;
  3739. case "resources": //国家教育
  3740. _formdiv = new U.UF.UI.form(
  3741. "国家教育",
  3742. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3743. "id": "resources",
  3744. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3745. "onresize": function () { }
  3746. }, {
  3747. closecallback: function () { }
  3748. }, { "style": { "height": "36px" } }).form; //创建窗体
  3749. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/resources.png)" }, "name": "国家教育", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3750. break;
  3751. case "codeEdit": //源码编辑
  3752. _formdiv = new U.UF.UI.form(
  3753. "源码编辑",
  3754. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3755. "id": "codeEdit",
  3756. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3757. "onresize": function () { }
  3758. }, {
  3759. closecallback: function () { }
  3760. }, { "style": { "height": "36px" } }).form; //创建窗体
  3761. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/code.png)" }, "name": "源码编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3762. break; //
  3763. case "MindMap": //MindMap
  3764. _formdiv = new U.UF.UI.form(
  3765. "MindMap",
  3766. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3767. "id": "MindMap",
  3768. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3769. "onresize": function () { }
  3770. }, {
  3771. closecallback: function () { }
  3772. }, { "style": { "height": "36px" } }).form; //创建窗体
  3773. _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); } }
  3774. break;
  3775. case "netWorkPanel": //netWorkPanel
  3776. _formdiv = new U.UF.UI.form(
  3777. "netWorkPanel",
  3778. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3779. "id": "netWorkPanel",
  3780. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3781. "onresize": function () { }
  3782. }, {
  3783. closecallback: function () { }
  3784. }, { "style": { "height": "36px" } }).form; //创建窗体
  3785. _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); } }
  3786. break;
  3787. case "GeoGebra": //GeoGebra
  3788. _formdiv = new U.UF.UI.form(
  3789. "GeoGebra",
  3790. $$("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" }), {
  3791. "id": "GeoGebra",
  3792. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3793. "onresize": function () { }
  3794. }, {
  3795. closecallback: function () { }
  3796. }, { "style": { "height": "36px" } }).form; //创建窗体
  3797. _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); } }
  3798. break;
  3799. case "translation": //翻译
  3800. _formdiv = new U.UF.UI.form(
  3801. "翻译",
  3802. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3803. "id": "translation",
  3804. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3805. "onresize": function () { }
  3806. }, {
  3807. closecallback: function () { }
  3808. }, { "style": { "height": "36px" } }).form; //创建窗体
  3809. _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); } }
  3810. break;
  3811. case "mohe": //魔盒
  3812. _formdiv = new U.UF.UI.form(
  3813. "魔盒识字",
  3814. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3815. "id": "mohe",
  3816. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3817. "onresize": function () { }
  3818. }, {
  3819. closecallback: function () { }
  3820. }, { "style": { "height": "36px" } }).form; //创建窗体
  3821. _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); } }
  3822. break;
  3823. case "24game": //24点
  3824. _formdiv = new U.UF.UI.form(
  3825. "24点",
  3826. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3827. "id": "24game",
  3828. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3829. "onresize": function () { }
  3830. }, {
  3831. closecallback: function () { }
  3832. }, { "style": { "height": "36px" } }).form; //创建窗体
  3833. _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); } }
  3834. break;
  3835. case "case":
  3836. _formdiv = new U.UF.UI.form(
  3837. "课程进展",
  3838. $$("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 }), {
  3839. "id": "case",
  3840. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3841. "onresize": function () { }
  3842. }, {
  3843. closecallback: function () { }
  3844. }, { "style": { "height": "36px" } }).form; //创建窗体
  3845. _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); } }
  3846. break;
  3847. case "snf":
  3848. _formdiv = new U.UF.UI.form(
  3849. "赛诺梵",
  3850. $$("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" }), {
  3851. "id": "snf",
  3852. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3853. "onresize": function () { }
  3854. }, {
  3855. closecallback: function () { }
  3856. }, { "style": { "height": "36px" } }).form; //创建窗体
  3857. _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); } }
  3858. break;
  3859. case "hanFamily":
  3860. _formdiv = new U.UF.UI.form(
  3861. "汉字家族",
  3862. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3863. "id": "hanFamily",
  3864. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3865. "onresize": function () { }
  3866. }, {
  3867. closecallback: function () { }
  3868. }, { "style": { "height": "36px" } }).form; //创建窗体
  3869. _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); } }
  3870. break;
  3871. case "hanClassics":
  3872. _formdiv = new U.UF.UI.form(
  3873. "国学经典",
  3874. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3875. "id": "hanClassics",
  3876. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3877. "onresize": function () { }
  3878. }, {
  3879. closecallback: function () { }
  3880. }, { "style": { "height": "36px" } }).form; //创建窗体
  3881. _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); } }
  3882. break;
  3883. case "hanTraining":
  3884. _formdiv = new U.UF.UI.form(
  3885. "笔画训练",
  3886. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3887. "id": "hanTraining",
  3888. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3889. "onresize": function () { }
  3890. }, {
  3891. closecallback: function () { }
  3892. }, { "style": { "height": "36px" } }).form; //创建窗体
  3893. _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); } }
  3894. break;
  3895. case "hanClass":
  3896. _formdiv = new U.UF.UI.form(
  3897. "书法课堂",
  3898. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3899. "id": "hanClass",
  3900. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3901. "onresize": function () { }
  3902. }, {
  3903. closecallback: function () { }
  3904. }, { "style": { "height": "36px" } }).form; //创建窗体
  3905. _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); } }
  3906. break;
  3907. case "han":
  3908. _formdiv = new U.UF.UI.form(
  3909. "汉字宫",
  3910. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3911. "id": "han",
  3912. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3913. "onresize": function () { }
  3914. }, {
  3915. closecallback: function () { }
  3916. }, { "style": { "height": "36px" } }).form; //创建窗体
  3917. _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); } }
  3918. break;
  3919. case "projectGM": //课程管理
  3920. _formdiv = new U.UF.UI.form(
  3921. "课程管理",
  3922. $$("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 }), {
  3923. "id": "projectGM",
  3924. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3925. "onresize": function () { }
  3926. }, {
  3927. closecallback: function () { }
  3928. }, { "style": { "height": "36px" } }).form; //创建窗体
  3929. _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); } }
  3930. break;
  3931. case "studyGM": //课程中心
  3932. _formdiv = new U.UF.UI.form(
  3933. "课程中心",
  3934. $$("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
  3935. "id": "study",
  3936. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3937. "onresize": function () { }
  3938. }, {
  3939. closecallback: function () { }
  3940. }, { "style": { "height": "36px" } }).form; //创建窗体
  3941. _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); } }
  3942. break;
  3943. // studentGM
  3944. case "studentGM": //学生管理
  3945. _formdiv = new U.UF.UI.form(
  3946. "学生管理",
  3947. $$("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 }), {
  3948. "id": "studentGM",
  3949. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3950. "onresize": function () { }
  3951. }, {
  3952. closecallback: function () { }
  3953. }, { "style": { "height": "36px" } }).form; //创建窗体
  3954. _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); } }
  3955. break;
  3956. case "evaluateGM": //学生评价
  3957. _formdiv = new U.UF.UI.form(
  3958. "学生评价",
  3959. $$("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 }), {
  3960. "id": "evaluateGM",
  3961. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3962. "onresize": function () { }
  3963. }, {
  3964. closecallback: function () { }
  3965. }, { "style": { "height": "36px" } }).form; //创建窗体
  3966. _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); } }
  3967. break;
  3968. // classGM
  3969. case "classGM": //班级管理
  3970. _formdiv = new U.UF.UI.form(
  3971. "班级管理",
  3972. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/classGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3973. "id": "classGM",
  3974. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3975. "onresize": function () { }
  3976. }, {
  3977. closecallback: function () { }
  3978. }, { "style": { "height": "36px" } }).form; //创建窗体
  3979. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3980. break;
  3981. // dataGM
  3982. case "dataGM":
  3983. _formdiv = new U.UF.UI.form(
  3984. "我的资料",
  3985. $$("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 }), {
  3986. "id": "dataGM",
  3987. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3988. "onresize": function () { }
  3989. }, {
  3990. closecallback: function () { }
  3991. }, { "style": { "height": "36px" } }).form; //创建窗体
  3992. _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); } }
  3993. break;
  3994. // caseGM
  3995. case "caseGM": //课程进展
  3996. _formdiv = new U.UF.UI.form(
  3997. "课程进展",
  3998. $$("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 }), {
  3999. "id": "caseGM",
  4000. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4001. "onresize": function () { }
  4002. }, {
  4003. closecallback: function () { }
  4004. }, { "style": { "height": "36px" } }).form; //创建窗体
  4005. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4006. break;
  4007. // meterialGM
  4008. case "meterialGM": //素材库
  4009. _formdiv = new U.UF.UI.form(
  4010. "素材库",
  4011. $$("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 }), {
  4012. "id": "meterialGM",
  4013. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4014. "onresize": function () { }
  4015. }, {
  4016. closecallback: function () { }
  4017. }, { "style": { "height": "36px" } }).form; //创建窗体
  4018. _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); } }
  4019. break;
  4020. // evaluateSGM
  4021. case "evaluateSGM": //我的评价
  4022. _formdiv = new U.UF.UI.form(
  4023. "我的评价",
  4024. $$("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 }), {
  4025. "id": "evaluateSGM",
  4026. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4027. "onresize": function () { }
  4028. }, {
  4029. closecallback: function () { }
  4030. }, { "style": { "height": "36px" } }).form; //创建窗体
  4031. _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); } }
  4032. break;
  4033. case "jupyter": //jupyter
  4034. _formdiv = new U.UF.UI.form(
  4035. "jupyter",
  4036. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4037. "id": "jupyter",
  4038. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4039. "onresize": function () { }
  4040. }, {
  4041. closecallback: function () { }
  4042. }, { "style": { "height": "36px" } }).form; //创建窗体
  4043. _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); } }
  4044. break;
  4045. case "number": //数字实验室
  4046. _formdiv = new U.UF.UI.form(
  4047. "数字实验室",
  4048. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4049. "id": "number",
  4050. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4051. "onresize": function () { }
  4052. }, {
  4053. closecallback: function () { }
  4054. }, { "style": { "height": "36px" } }).form; //创建窗体
  4055. _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); } }
  4056. break;
  4057. case "studentCourse": //项目管理 学生
  4058. _formdiv = new U.UF.UI.form(
  4059. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4060. $$("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 }), {
  4061. "id": "studentCourse",
  4062. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4063. "onresize": function () { }
  4064. }, {
  4065. closecallback: function () { }
  4066. }, { "style": { "height": "36px" } }).form; //创建窗体
  4067. _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); } }
  4068. break;
  4069. case "studentCourseS": //项目管理 老师
  4070. _formdiv = new U.UF.UI.form(
  4071. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4072. $$("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 }), {
  4073. "id": "studentCourseS",
  4074. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4075. "onresize": function () { }
  4076. }, {
  4077. closecallback: function () { }
  4078. }, { "style": { "height": "36px" } }).form; //创建窗体
  4079. _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); } }
  4080. break;
  4081. case "studentIndex": //项目中心
  4082. _formdiv = new U.UF.UI.form(
  4083. "项目中心",
  4084. $$("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 }), {
  4085. "id": "studentIndex",
  4086. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4087. "onresize": function () { }
  4088. }, {
  4089. closecallback: function () { }
  4090. }, { "style": { "height": "36px" } }).form; //创建窗体
  4091. _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); } }
  4092. break;
  4093. case "CaseDesignS":
  4094. _formdiv = new U.UF.UI.form(
  4095. "项目进展",
  4096. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4097. "id": "case",
  4098. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4099. "onresize": function () { }
  4100. }, {
  4101. closecallback: function () { }
  4102. }, { "style": { "height": "36px" } }).form; //创建窗体
  4103. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/CaseDesignS.png)" }, "name": "项目进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4104. break;
  4105. case "tcStudent": //腾讯学生管理
  4106. _formdiv = new U.UF.UI.form(
  4107. "学生管理",
  4108. $$("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 }), {
  4109. "id": "tcStudent",
  4110. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4111. "onresize": function () { }
  4112. }, {
  4113. closecallback: function () { }
  4114. }, { "style": { "height": "36px" } }).form; //创建窗体
  4115. _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); } }
  4116. break;
  4117. case "tcSchool": //腾讯学校管理
  4118. _formdiv = new U.UF.UI.form(
  4119. "学校管理",
  4120. $$("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 }), {
  4121. "id": "tcSchool",
  4122. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4123. "onresize": function () { }
  4124. }, {
  4125. closecallback: function () { }
  4126. }, { "style": { "height": "36px" } }).form; //创建窗体
  4127. _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); } }
  4128. break;
  4129. case "tcTeacher": //腾讯学校管理
  4130. _formdiv = new U.UF.UI.form(
  4131. "教师管理",
  4132. $$("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 }), {
  4133. "id": "tcTeacher",
  4134. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4135. "onresize": function () { }
  4136. }, {
  4137. closecallback: function () { }
  4138. }, { "style": { "height": "36px" } }).form; //创建窗体
  4139. _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); } }
  4140. break;
  4141. case "tcData": //腾讯我的资料
  4142. _formdiv = new U.UF.UI.form(
  4143. "我的资料",
  4144. $$("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 }), {
  4145. "id": "tcData",
  4146. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4147. "onresize": function () { }
  4148. }, {
  4149. closecallback: function () { }
  4150. }, { "style": { "height": "36px" } }).form; //创建窗体
  4151. _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); } }
  4152. break;
  4153. case "tcNotice": //腾讯消息通知
  4154. _formdiv = new U.UF.UI.form(
  4155. "消息通知",
  4156. $$("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 }), {
  4157. "id": "tcNotice",
  4158. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4159. "onresize": function () { }
  4160. }, {
  4161. closecallback: function () { }
  4162. }, { "style": { "height": "36px" } }).form; //创建窗体
  4163. _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); } }
  4164. break;
  4165. case "myReport": //好友打开
  4166. _formdiv = new U.UF.UI.form(
  4167. "我的评价",
  4168. $$("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 }), {
  4169. "id": "myReport",
  4170. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4171. "onresize": function () { }
  4172. }, {
  4173. closecallback: function () { }
  4174. }, { "style": { "height": "36px" } }).form; //创建窗体
  4175. _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); } }
  4176. break;
  4177. case "learnAna": //好友打开
  4178. _formdiv = new U.UF.UI.form(
  4179. "学习分析",
  4180. $$("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 }), {
  4181. "id": "learnAna",
  4182. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4183. "onresize": function () { }
  4184. }, {
  4185. closecallback: function () { }
  4186. }, { "style": { "height": "36px" } }).form; //创建窗体
  4187. _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); } }
  4188. break;
  4189. case "AIChat": //AI共创
  4190. _formdiv = new U.UF.UI.form(
  4191. "AI共创",
  4192. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4193. "id": "AIChat",
  4194. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4195. "onresize": function () { }
  4196. }, {
  4197. istop: true,
  4198. closecallback: function () { $("#aichat_icon").remove(); },
  4199. narrowcallback: function () {
  4200. if (!$("#aichat_icon")[0]) {
  4201. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4202. }
  4203. },
  4204. }, { "style": { "height": "36px" } }).form; //创建窗体
  4205. _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); } }
  4206. break;
  4207. case "ainew": //AI共创
  4208. _formdiv = new U.UF.UI.form(
  4209. "AI协同",
  4210. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4211. "id": "ainew",
  4212. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4213. "onresize": function () { }
  4214. }, {
  4215. closecallback: function () { }
  4216. }, { "style": { "height": "36px" } }).form; //创建窗体
  4217. _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); } }
  4218. break;
  4219. case "futureClass": //AI共创
  4220. _formdiv = new U.UF.UI.form(
  4221. "协同建构",
  4222. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://cscl.cocorobo.cn
  4223. "id": "synergyCourse",
  4224. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4225. "onresize": function () { }
  4226. }, {
  4227. closecallback: function () { }
  4228. }, { "style": { "height": "36px" } }).form; //创建窗体
  4229. _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); } }
  4230. break;
  4231. case "aiagent": //ai agent
  4232. _formdiv = new U.UF.UI.form(
  4233. "AI Agent",
  4234. $$("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" }), {
  4235. "id": "AIAgent",
  4236. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4237. "onresize": function () { }
  4238. }, {
  4239. closecallback: function () { }
  4240. }, { "style": { "height": "36px" } }).form; //创建窗体
  4241. _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); } }
  4242. break;
  4243. case "dataBoard": //数据看板
  4244. _formdiv = new U.UF.UI.form(
  4245. "数据看板",
  4246. $$("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 }), {
  4247. "id": "dataBoard",
  4248. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4249. "onresize": function () { }
  4250. }, {
  4251. closecallback: function () { }
  4252. }, { "style": { "height": "36px" } }).form; //创建窗体
  4253. _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); } }
  4254. break;
  4255. case "AIAnalyse": //AI共创
  4256. _formdiv = new U.UF.UI.form(
  4257. "AI分析",
  4258. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4259. "id": "AIAnalyse",
  4260. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4261. "onresize": function () { }
  4262. }, {
  4263. closecallback: function () { }
  4264. }, { "style": { "height": "36px" } }).form; //创建窗体
  4265. _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); } }
  4266. break;
  4267. case "studioCourse": //AI共创
  4268. _formdiv = new U.UF.UI.form(
  4269. "工作管理",
  4270. $$("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 }), {
  4271. "id": "studioCourse",
  4272. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4273. "onresize": function () { }
  4274. }, {
  4275. closecallback: function () { }
  4276. }, { "style": { "height": "36px" } }).form; //创建窗体
  4277. _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); } }
  4278. break;
  4279. case "studioIndex": //AI共创
  4280. _formdiv = new U.UF.UI.form(
  4281. "工作中心",
  4282. $$("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 }), {
  4283. "id": "studioIndex",
  4284. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4285. "onresize": function () { }
  4286. }, {
  4287. closecallback: function () { }
  4288. }, { "style": { "height": "36px" } }).form; //创建窗体
  4289. _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); } }
  4290. break;
  4291. case "source":
  4292. _formdiv = new U.UF.UI.form(
  4293. "教学资源",
  4294. $$("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 }), {
  4295. "id": "source",
  4296. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4297. "onresize": function () { }
  4298. }, {
  4299. closecallback: function () { }
  4300. }, { "style": { "height": "36px" } }).form; //创建窗体
  4301. _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); } }
  4302. break;
  4303. case "testTeacher":
  4304. _formdiv = new U.UF.UI.form(
  4305. "评测管理",
  4306. $$("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 }), {
  4307. "id": "testTeacher",
  4308. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4309. "onresize": function () { }
  4310. }, {
  4311. closecallback: function () { }
  4312. }, { "style": { "height": "36px" } }).form; //创建窗体
  4313. _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); } }
  4314. break;
  4315. case "testStudent":
  4316. _formdiv = new U.UF.UI.form(
  4317. "评测中心",
  4318. $$("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 }), {
  4319. "id": "testStudent",
  4320. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4321. "onresize": function () { }
  4322. }, {
  4323. closecallback: function () { }
  4324. }, { "style": { "height": "36px" } }).form; //创建窗体
  4325. _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); } }
  4326. break;
  4327. }
  4328. //U.MD.D.I.openClick(str);
  4329. //如果有任务栏信息
  4330. if (_taskbar) {
  4331. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4332. }
  4333. }
  4334. // U.MD.D.I.openClick = function(str){
  4335. // var click = '';
  4336. // switch(str){
  4337. // case 'friend':
  4338. // click = '我的好友';
  4339. // break;
  4340. // case 'domain':
  4341. // click = '域名管理';
  4342. // break;
  4343. // case 'disk':
  4344. // click = '我的云盘';
  4345. // break;
  4346. // case 'word':
  4347. // click = 'Word';
  4348. // break;
  4349. // case 'excel':
  4350. // click = 'Execl';
  4351. // break;
  4352. // case 'txt':
  4353. // click = '文本文件';
  4354. // break;
  4355. // case 'lookupFriend':
  4356. // click = '查找好友';
  4357. // break;
  4358. // case 'ftp':
  4359. // click = 'FTP';
  4360. // break;
  4361. // case 'group':
  4362. // click = '群组';
  4363. // break;
  4364. // case 'set':
  4365. // click = '我的设置';
  4366. // break;
  4367. // case 'systemSet':
  4368. // click = '系统设置';
  4369. // break;
  4370. // case 'boomYun':
  4371. // click = '互联办公';
  4372. // break;
  4373. // case 'xz':
  4374. // click = '云端下载';
  4375. // break;
  4376. // case 'client':
  4377. // click = '有思浏览器';
  4378. // break;
  4379. // case 'backEndProgramming':
  4380. // click = '在线后台编程';
  4381. // break;
  4382. // case 'frontEndProgramming':
  4383. // click = '在线前端编程';
  4384. // break;
  4385. // default: break;
  4386. // }
  4387. // if(U.MD.D.I.Ip && click){
  4388. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4389. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4390. // })
  4391. // }
  4392. // }
  4393. /**
  4394. *函数作用:ajax简易函数,使用post格式
  4395. *@param url {data} 后台地址
  4396. *@param data {data} 参数json
  4397. *@param fn {data} 回调函数
  4398. *
  4399. */
  4400. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4401. // var xhr = new XMLHttpRequest();
  4402. // xhr.open("GET",url,true);
  4403. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4404. // xhr.onreadystatechange = function(){
  4405. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4406. // fn.call(this,xhr.responseText);
  4407. // }
  4408. // };
  4409. // xhr.send();
  4410. // }
  4411. /*判断是否是内网IP*/
  4412. // U.MD.D.I.isInnerIPFn = function(str){
  4413. // var curPageUrl = str;
  4414. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4415. // curPageUrl =curPageUrl.replace(reg1,'');
  4416. // // console.log('curPageUrl-1 '+curPageUrl);
  4417. // var reg2 = /\:+/g;//替换冒号为一点
  4418. // curPageUrl =curPageUrl.replace(reg2,'.');
  4419. // // console.log('curPageUrl-2 '+curPageUrl);
  4420. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4421. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4422. // if(curPageUrl[2] != '16'){
  4423. // return ipAddress;
  4424. // }else{
  4425. // return false;
  4426. // }
  4427. // }
  4428. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4429. // //compatibility for firefox and chrome
  4430. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4431. // var pc = new myPeerConnection({
  4432. // iceServers: []
  4433. // }),
  4434. // noop = function() {},
  4435. // localIPs = {},
  4436. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4437. // key;
  4438. // function iterateIP(ip) {
  4439. // if (!localIPs[ip]) onNewIP(ip);
  4440. // localIPs[ip] = true;
  4441. // }
  4442. // //create a bogus data channel
  4443. // pc.createDataChannel("");
  4444. // // create offer and set local description
  4445. // pc.createOffer().then(function(sdp) {
  4446. // sdp.sdp.split('\n').forEach(function(line) {
  4447. // if (line.indexOf('candidate') < 0) return;
  4448. // line.match(ipRegex).forEach(iterateIP);
  4449. // });
  4450. // pc.setLocalDescription(sdp, noop, noop);
  4451. // }).catch(function(reason) {
  4452. // // An error occurred, so handle the failure to connect
  4453. // });
  4454. // //sten for candidate events
  4455. // pc.onicecandidate = function(ice) {
  4456. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4457. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4458. // };
  4459. // }
  4460. // U.MD.D.I.getUserIpBool = function(callback){
  4461. // U.MD.D.I.getUserIP(function(ip){
  4462. // alert("Got IP! :" + ip);
  4463. // });
  4464. //}
  4465. //#endregion
  4466. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4467. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4468. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4469. _userinfo = US.userInfo, //登录用户信息
  4470. _userid = US.userInfo.userid //登录用户id
  4471. let _iframe;
  4472. let _cid = cid,
  4473. _stage = stage,
  4474. _task = task,
  4475. _tool = tool;
  4476. var _jie = $$("div", {
  4477. "style": {
  4478. "position": "absolute",
  4479. "bottom": "50px",
  4480. "right": "50px",
  4481. "zIndex": "9999",
  4482. "backgroundColor": "#2268bc",
  4483. "color": "#fff",
  4484. "padding": "12px 20px",
  4485. "cursor": "pointer",
  4486. "borderRadius": "4px",
  4487. },
  4488. "innerHTML": "提交作业"
  4489. })
  4490. let aTool = ''
  4491. let _loading = document.createElement('div')
  4492. _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;"
  4493. // _loading.id = "";
  4494. let _lchild = document.createElement('div')
  4495. let _limg = document.createElement('img')
  4496. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4497. _limg.style = "width: 26px;margin-right: 10px;"
  4498. _lchild.appendChild(_limg)
  4499. let _lspan = document.createElement('span')
  4500. _lspan.innerHTML = "上传中..."
  4501. _lchild.appendChild(_lspan)
  4502. _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%);"
  4503. _loading.appendChild(_lchild)
  4504. var _box = $$('div', {
  4505. "style": {
  4506. "position": "relative",
  4507. "width": "100%",
  4508. "height": "100%",
  4509. },
  4510. })
  4511. _box.appendChild(_loading)
  4512. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4513. switch (str) {
  4514. case "whiteboard":
  4515. aTool = 1;
  4516. _iframe = $$("iframe", {
  4517. "frameborder": "no",
  4518. "border": "0",
  4519. "scrolling ": "no",
  4520. "style": {
  4521. "cssText": "border:0;width:100%;height:100%"
  4522. },
  4523. "src": "https://iwb.cocorobo.cn/"
  4524. })
  4525. _box.appendChild(_iframe);
  4526. _box.appendChild(_jie);
  4527. _formdiv = new U.UF.UI.form(
  4528. "电子白板",
  4529. _box, {
  4530. "id": "whiteboard" + cid + stage + task + tool,
  4531. "style": {
  4532. "width": "90%",
  4533. "height": "90%",
  4534. "overflow": 'hidden'
  4535. },
  4536. "onresize": function () { }
  4537. }, {
  4538. closecallback: function () { }
  4539. }, {
  4540. "style": {
  4541. "height": "36px"
  4542. }
  4543. }).form; //创建窗体
  4544. _taskbar = {
  4545. "id": str + _formdiv.id,
  4546. "style": {
  4547. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4548. },
  4549. "name": "电子白板",
  4550. "forms": _formdiv,
  4551. "click": function () {
  4552. U.MD.D.I.openApplication(str, obj, info);
  4553. }
  4554. }
  4555. break;
  4556. case "mind":
  4557. aTool = 3;
  4558. _iframe = $$("iframe", {
  4559. "frameborder": "no",
  4560. "border": "0",
  4561. "scrolling ": "no",
  4562. "style": {
  4563. "cssText": "border:0;width:100%;height:100%"
  4564. },
  4565. "src": "/kityminder-editor/dist/index.html"
  4566. })
  4567. _box.appendChild(_iframe);
  4568. _box.appendChild(_jie);
  4569. _formdiv = new U.UF.UI.form(
  4570. "思维导图",
  4571. _box, { //"/jsmind/example/demo.html"
  4572. "id": "mind" + cid + stage + task + tool,
  4573. "style": {
  4574. "width": "90%",
  4575. "height": "90%",
  4576. "overflow": 'hidden'
  4577. },
  4578. "onresize": function () { }
  4579. }, {
  4580. closecallback: function () { }
  4581. }, {
  4582. "style": {
  4583. "height": "36px"
  4584. }
  4585. }).form; //创建窗体
  4586. _taskbar = {
  4587. "id": str + _formdiv.id,
  4588. "style": {
  4589. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4590. },
  4591. "name": "思维导图",
  4592. "forms": _formdiv,
  4593. "click": function () {
  4594. U.MD.D.I.openApplication(str, obj, info);
  4595. }
  4596. }
  4597. break;
  4598. case "MindMap":
  4599. aTool = 3;
  4600. _iframe = $$("iframe", {
  4601. "frameborder": "no",
  4602. "border": "0",
  4603. "scrolling ": "no",
  4604. "style": {
  4605. "cssText": "border:0;width:100%;height:100%"
  4606. },
  4607. "src": "//cloud.cocorobo.cn/mind/"
  4608. })
  4609. _box.appendChild(_iframe);
  4610. _box.appendChild(_jie);
  4611. _formdiv = new U.UF.UI.form(
  4612. "思维导图",
  4613. _box, { //"/jsmind/example/demo.html"
  4614. "id": "mind" + cid + stage + task + tool,
  4615. "style": {
  4616. "width": "90%",
  4617. "height": "90%",
  4618. "overflow": 'hidden'
  4619. },
  4620. "onresize": function () { }
  4621. }, {
  4622. closecallback: function () { }
  4623. }, {
  4624. "style": {
  4625. "height": "36px"
  4626. }
  4627. }).form; //创建窗体
  4628. _taskbar = {
  4629. "id": str + _formdiv.id,
  4630. "style": {
  4631. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4632. },
  4633. "name": "思维导图",
  4634. "forms": _formdiv,
  4635. "click": function () {
  4636. U.MD.D.I.openApplication(str, obj, info);
  4637. }
  4638. }
  4639. break;
  4640. case "doc":
  4641. aTool = 6;
  4642. _iframe = $$("iframe", {
  4643. "frameborder": "no",
  4644. "border": "0",
  4645. "scrolling ": "no",
  4646. "style": {
  4647. "cssText": "border:0;width:100%;height:100%"
  4648. },
  4649. "src": "/Office/Word/WordEditArea.htm"
  4650. })
  4651. _box.appendChild(_iframe);
  4652. _box.appendChild(_jie);
  4653. _formdiv = new U.UF.UI.form(
  4654. "协同文档",
  4655. _box, {
  4656. "id": "doc" + cid + stage + task + tool,
  4657. "style": {
  4658. "width": "90%",
  4659. "height": "90%",
  4660. "overflow": 'hidden'
  4661. },
  4662. "onresize": function () { }
  4663. }, {
  4664. closecallback: function () { }
  4665. }, {
  4666. "style": {
  4667. "height": "36px"
  4668. }
  4669. }).form; //创建窗体
  4670. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4671. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4672. })
  4673. _taskbar = {
  4674. "id": str + _formdiv.id,
  4675. "style": {
  4676. "backgroundImage": "url(/img/icon/doc.png)"
  4677. },
  4678. "name": "协同文档",
  4679. "forms": _formdiv,
  4680. "click": function () {
  4681. U.MD.D.I.openApplication(str, obj, info);
  4682. }
  4683. }
  4684. break;
  4685. case "mindNetwork": //好友打开
  4686. aTool = 7;
  4687. _iframe = $$("iframe", {
  4688. "webkitallowfullscreen": "",
  4689. "mozallowfullscreen": "",
  4690. "allowfullscreen": "",
  4691. "frameborder": "no",
  4692. "border": "0",
  4693. "scrolling ": "no",
  4694. "style": {
  4695. "cssText": "border:0; width:100%; height:100%;"
  4696. },
  4697. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4698. })
  4699. _box.appendChild(_iframe);
  4700. _box.appendChild(_jie);
  4701. _formdiv = new U.UF.UI.form(
  4702. "思维网格",
  4703. _box, {
  4704. "id": "mindNetwork" + cid + stage + task + tool,
  4705. "style": {
  4706. "width": "90%",
  4707. "height": "90%",
  4708. "overflow": 'hidden'
  4709. },
  4710. "onresize": function () { }
  4711. }, {
  4712. closecallback: function () { }
  4713. }, {
  4714. "style": {
  4715. "height": "36px"
  4716. }
  4717. }).form; //创建窗体
  4718. _taskbar = {
  4719. "id": str + _formdiv.id,
  4720. "style": {
  4721. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4722. },
  4723. "name": "思维网格",
  4724. "forms": _formdiv,
  4725. "click": function () {
  4726. U.MD.D.I.openApplication(str, obj, info);
  4727. }
  4728. }
  4729. break;
  4730. case "courseDesign":
  4731. _iframe = $$("iframe", {
  4732. "webkitallowfullscreen": "",
  4733. "mozallowfullscreen": "",
  4734. "allowfullscreen": "",
  4735. "frameborder": "no",
  4736. "border": "0",
  4737. "scrolling ": "no",
  4738. "style": {
  4739. "cssText": "border:0; width:100%; height:100%;"
  4740. },
  4741. "src": "/course-design-vue"
  4742. })
  4743. _box.appendChild(_iframe);
  4744. _box.appendChild(_jie);
  4745. _formdiv = new U.UF.UI.form(
  4746. "项目设计",
  4747. _box, {
  4748. "id": "courseDesign" + cid + stage + task + tool,
  4749. "style": {
  4750. "width": "90%",
  4751. "height": "90%",
  4752. "overflow": 'hidden'
  4753. },
  4754. "onresize": function () { }
  4755. }, {
  4756. closecallback: function () { }
  4757. }, {
  4758. "style": {
  4759. "height": "36px"
  4760. }
  4761. }).form; //创建窗体
  4762. _taskbar = {
  4763. "id": str + _formdiv.id,
  4764. "style": {
  4765. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4766. },
  4767. "name": "项目设计",
  4768. "forms": _formdiv,
  4769. "click": function () {
  4770. U.MD.D.I.openApplication(str, obj, info);
  4771. }
  4772. }
  4773. break;
  4774. }
  4775. const script1 = document.createElement("script");
  4776. script1.type = "text/javascript";
  4777. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4778. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4779. const script2 = document.createElement("script");
  4780. script2.type = "text/javascript";
  4781. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4782. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4783. const script3 = document.createElement("script");
  4784. script3.type = "text/javascript";
  4785. script3.charset = "UTF-8";
  4786. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4787. const script4 = document.createElement("script");
  4788. script4.type = "text/javascript";
  4789. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4790. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4791. if (_iframe) {
  4792. if (str == 'doc') {
  4793. _iframe = _formdiv.querySelector('iframe')
  4794. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4795. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4796. _iframe.contentWindow.document.body.appendChild(script1);
  4797. _iframe.contentWindow.document.body.appendChild(script2);
  4798. // _iframe.contentWindow.document.body.appendChild(script3);
  4799. _iframe.contentWindow.document.body.appendChild(script4);
  4800. })
  4801. if (onloadListener) {
  4802. _iframe.contentDocument.location.reload()
  4803. } else {
  4804. _iframe.contentDocument.location.reload()
  4805. }
  4806. } else if (str == 'courseDesign') {
  4807. U.UF.DL.iframeLoad(_iframe, function () {
  4808. // _iframe.contentWindow.U.MD.O.W.load();
  4809. // _iframe.contentWindow.document.body.appendChild(script1);
  4810. _iframe.contentWindow.document.body.appendChild(script2);
  4811. _iframe.contentWindow.document.body.appendChild(script4);
  4812. })
  4813. } else if (str == 'mind') {
  4814. _iframe = _formdiv.querySelector('iframe')
  4815. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4816. //
  4817. _iframe.contentWindow.document.body.appendChild(script1);
  4818. _iframe.contentWindow.document.body.appendChild(script2);
  4819. _iframe.contentWindow.document.body.appendChild(script4);
  4820. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4821. })
  4822. if (onloadListener) {
  4823. _iframe.contentDocument.location.reload()
  4824. } else {
  4825. _iframe.contentDocument.location.reload()
  4826. }
  4827. } else if (str == 'whiteboard') {
  4828. _iframe = _formdiv.querySelector('iframe')
  4829. let onloadListener = _iframe.onload = () => {
  4830. _iframe.contentWindow.document.body.appendChild(script1);
  4831. _iframe.contentWindow.document.body.appendChild(script2);
  4832. _iframe.contentWindow.document.body.appendChild(script4);
  4833. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4834. };
  4835. if (onloadListener) {
  4836. _iframe.contentDocument.location.reload()
  4837. } else {
  4838. _iframe.contentDocument.location.reload()
  4839. }
  4840. } else {
  4841. _iframe.onload = () => {
  4842. _iframe.contentWindow.document.body.appendChild(script1);
  4843. _iframe.contentWindow.document.body.appendChild(script2);
  4844. // _iframe.contentWindow.document.body.appendChild(script3);
  4845. _iframe.contentWindow.document.body.appendChild(script4);
  4846. };
  4847. }
  4848. _jie.onclick = async () => {
  4849. let text = ''
  4850. if (aTool == 1) {
  4851. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4852. } else if (aTool == 6) {
  4853. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4854. } else if (aTool == 3) {
  4855. text = await U.MD.D.I.getEditorContent(_iframe);
  4856. }
  4857. _loading.style.display = 'flex'
  4858. console.log(_loading);
  4859. var _ajs = _iframe.contentWindow.document.createElement("script");
  4860. _ajs.type = "text/javascript";
  4861. _ajs.innerHTML =
  4862. // 'console.log(' + _loading + ');\n' +
  4863. 'var _js = document.createElement("script");\n' +
  4864. '_js.type="text/javascript";\n' +
  4865. '_js.charset="UTF-8";\n' +
  4866. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4867. "_js.onload = function(){\n" +
  4868. ' var a = document.getElementsByTagName("img")\n' +
  4869. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4870. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4871. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4872. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4873. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4874. "beforeUpload_shishi(file," +
  4875. "'" +
  4876. _userid +
  4877. "'" +
  4878. ", " +
  4879. "'" +
  4880. _cid +
  4881. "'" +
  4882. ", " +
  4883. "'" +
  4884. _stage +
  4885. "'" +
  4886. ", " +
  4887. "'" +
  4888. _task +
  4889. "'" +
  4890. ", " +
  4891. "'" +
  4892. _tool +
  4893. "'" +
  4894. ", " +
  4895. "'" +
  4896. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  4897. "'" +
  4898. ", " +
  4899. "'" +
  4900. aTool +
  4901. "'" +
  4902. ", " +
  4903. "`" +
  4904. text +
  4905. "`" +
  4906. ")\n" +
  4907. " });\n" +
  4908. "}\n" +
  4909. "document.head.appendChild(_js);\n";
  4910. _iframe.contentWindow.document.head.appendChild(_ajs);
  4911. }
  4912. }
  4913. //U.MD.D.I.openClick(str);
  4914. //如果有任务栏信息
  4915. // if (_taskbar) {
  4916. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4917. // }
  4918. }
  4919. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  4920. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4921. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4922. _userinfo = US.userInfo, //登录用户信息
  4923. _userid = US.userInfo.userid //登录用户id
  4924. let _iframe;
  4925. let _cid = cid,
  4926. _stage = stage,
  4927. _task = task,
  4928. _tool = tool;
  4929. var _jie = $$("div", {
  4930. "style": {
  4931. "position": "absolute",
  4932. "bottom": "50px",
  4933. "right": "50px",
  4934. "zIndex": "9999",
  4935. "backgroundColor": "#2268bc",
  4936. "color": "#fff",
  4937. "padding": "12px 20px",
  4938. "cursor": "pointer",
  4939. "borderRadius": "4px",
  4940. },
  4941. "innerHTML": "提交作业"
  4942. })
  4943. let aTool = ''
  4944. let _loading = document.createElement('div')
  4945. _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;"
  4946. // _loading.id = "";
  4947. let _lchild = document.createElement('div')
  4948. let _limg = document.createElement('img')
  4949. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4950. _limg.style = "width: 26px;margin-right: 10px;"
  4951. _lchild.appendChild(_limg)
  4952. let _lspan = document.createElement('span')
  4953. _lspan.innerHTML = "上传中..."
  4954. _lchild.appendChild(_lspan)
  4955. _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%);"
  4956. _loading.appendChild(_lchild)
  4957. var _box = $$('div', {
  4958. "style": {
  4959. "position": "relative",
  4960. "width": "100%",
  4961. "height": "100%",
  4962. },
  4963. })
  4964. _box.appendChild(_loading)
  4965. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  4966. switch (str) {
  4967. case "whiteboard":
  4968. aTool = 1;
  4969. _iframe = $$("iframe", {
  4970. "frameborder": "no",
  4971. "border": "0",
  4972. "scrolling ": "no",
  4973. "style": {
  4974. "cssText": "border:0;width:100%;height:100%"
  4975. },
  4976. "src": "https://iwb.cocorobo.cn/"
  4977. })
  4978. _box.appendChild(_iframe);
  4979. _box.appendChild(_jie);
  4980. _formdiv = new U.UF.UI.form(
  4981. "电子白板",
  4982. _box, {
  4983. "id": "whiteboard" + cid + stage + task + tool,
  4984. "style": {
  4985. "width": "90%",
  4986. "height": "90%",
  4987. "overflow": 'hidden'
  4988. },
  4989. "onresize": function () { }
  4990. }, {
  4991. closecallback: function () { }
  4992. }, {
  4993. "style": {
  4994. "height": "36px"
  4995. }
  4996. }).form; //创建窗体
  4997. _taskbar = {
  4998. "id": str + _formdiv.id,
  4999. "style": {
  5000. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5001. },
  5002. "name": "电子白板",
  5003. "forms": _formdiv,
  5004. "click": function () {
  5005. U.MD.D.I.openApplication(str, obj, info);
  5006. }
  5007. }
  5008. break;
  5009. case "mind":
  5010. aTool = 3;
  5011. _iframe = $$("iframe", {
  5012. "frameborder": "no",
  5013. "border": "0",
  5014. "scrolling ": "no",
  5015. "style": {
  5016. "cssText": "border:0;width:100%;height:100%"
  5017. },
  5018. "src": "/kityminder-editor/dist/index.html"
  5019. })
  5020. _box.appendChild(_iframe);
  5021. _box.appendChild(_jie);
  5022. _formdiv = new U.UF.UI.form(
  5023. "思维导图",
  5024. _box, { //"/jsmind/example/demo.html"
  5025. "id": "mind" + cid + stage + task + tool,
  5026. "style": {
  5027. "width": "90%",
  5028. "height": "90%",
  5029. "overflow": 'hidden'
  5030. },
  5031. "onresize": function () { }
  5032. }, {
  5033. closecallback: function () { }
  5034. }, {
  5035. "style": {
  5036. "height": "36px"
  5037. }
  5038. }).form; //创建窗体
  5039. _taskbar = {
  5040. "id": str + _formdiv.id,
  5041. "style": {
  5042. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5043. },
  5044. "name": "思维导图",
  5045. "forms": _formdiv,
  5046. "click": function () {
  5047. U.MD.D.I.openApplication(str, obj, info);
  5048. }
  5049. }
  5050. break;
  5051. case "MindMap":
  5052. aTool = 3;
  5053. _iframe = $$("iframe", {
  5054. "frameborder": "no",
  5055. "border": "0",
  5056. "scrolling ": "no",
  5057. "style": {
  5058. "cssText": "border:0;width:100%;height:100%"
  5059. },
  5060. "src": "//cloud.cocorobo.cn/mind/"
  5061. })
  5062. _box.appendChild(_iframe);
  5063. _box.appendChild(_jie);
  5064. _formdiv = new U.UF.UI.form(
  5065. "思维导图",
  5066. _box, { //"/jsmind/example/demo.html"
  5067. "id": "mind" + cid + stage + task + tool,
  5068. "style": {
  5069. "width": "90%",
  5070. "height": "90%",
  5071. "overflow": 'hidden'
  5072. },
  5073. "onresize": function () { }
  5074. }, {
  5075. closecallback: function () { }
  5076. }, {
  5077. "style": {
  5078. "height": "36px"
  5079. }
  5080. }).form; //创建窗体
  5081. _taskbar = {
  5082. "id": str + _formdiv.id,
  5083. "style": {
  5084. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5085. },
  5086. "name": "思维导图",
  5087. "forms": _formdiv,
  5088. "click": function () {
  5089. U.MD.D.I.openApplication(str, obj, info);
  5090. }
  5091. }
  5092. break;
  5093. case "doc":
  5094. aTool = 6;
  5095. _iframe = $$("iframe", {
  5096. "frameborder": "no",
  5097. "border": "0",
  5098. "scrolling ": "no",
  5099. "style": {
  5100. "cssText": "border:0;width:100%;height:100%"
  5101. },
  5102. "src": "/Office/Word/WordEditArea.htm"
  5103. })
  5104. _box.appendChild(_iframe);
  5105. _box.appendChild(_jie);
  5106. _formdiv = new U.UF.UI.form(
  5107. "协同文档",
  5108. _box, {
  5109. "id": "doc" + cid + stage + task + tool,
  5110. "style": {
  5111. "width": "90%",
  5112. "height": "90%",
  5113. "overflow": 'hidden'
  5114. },
  5115. "onresize": function () { }
  5116. }, {
  5117. closecallback: function () { }
  5118. }, {
  5119. "style": {
  5120. "height": "36px"
  5121. }
  5122. }).form; //创建窗体
  5123. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5124. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5125. })
  5126. _taskbar = {
  5127. "id": str + _formdiv.id,
  5128. "style": {
  5129. "backgroundImage": "url(/img/icon/doc.png)"
  5130. },
  5131. "name": "协同文档",
  5132. "forms": _formdiv,
  5133. "click": function () {
  5134. U.MD.D.I.openApplication(str, obj, info);
  5135. }
  5136. }
  5137. break;
  5138. case "mindNetwork": //好友打开
  5139. aTool = 7;
  5140. _iframe = $$("iframe", {
  5141. "webkitallowfullscreen": "",
  5142. "mozallowfullscreen": "",
  5143. "allowfullscreen": "",
  5144. "frameborder": "no",
  5145. "border": "0",
  5146. "scrolling ": "no",
  5147. "style": {
  5148. "cssText": "border:0; width:100%; height:100%;"
  5149. },
  5150. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5151. })
  5152. _box.appendChild(_iframe);
  5153. _box.appendChild(_jie);
  5154. _formdiv = new U.UF.UI.form(
  5155. "思维网格",
  5156. _box, {
  5157. "id": "mindNetwork" + cid + stage + task + tool,
  5158. "style": {
  5159. "width": "90%",
  5160. "height": "90%",
  5161. "overflow": 'hidden'
  5162. },
  5163. "onresize": function () { }
  5164. }, {
  5165. closecallback: function () { }
  5166. }, {
  5167. "style": {
  5168. "height": "36px"
  5169. }
  5170. }).form; //创建窗体
  5171. _taskbar = {
  5172. "id": str + _formdiv.id,
  5173. "style": {
  5174. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5175. },
  5176. "name": "思维网格",
  5177. "forms": _formdiv,
  5178. "click": function () {
  5179. U.MD.D.I.openApplication(str, obj, info);
  5180. }
  5181. }
  5182. break;
  5183. case "courseDesign":
  5184. _iframe = $$("iframe", {
  5185. "webkitallowfullscreen": "",
  5186. "mozallowfullscreen": "",
  5187. "allowfullscreen": "",
  5188. "frameborder": "no",
  5189. "border": "0",
  5190. "scrolling ": "no",
  5191. "style": {
  5192. "cssText": "border:0; width:100%; height:100%;"
  5193. },
  5194. "src": "/course-design-vue"
  5195. })
  5196. _box.appendChild(_iframe);
  5197. _box.appendChild(_jie);
  5198. _formdiv = new U.UF.UI.form(
  5199. "项目设计",
  5200. _box, {
  5201. "id": "courseDesign" + cid + stage + task + tool,
  5202. "style": {
  5203. "width": "90%",
  5204. "height": "90%",
  5205. "overflow": 'hidden'
  5206. },
  5207. "onresize": function () { }
  5208. }, {
  5209. closecallback: function () { }
  5210. }, {
  5211. "style": {
  5212. "height": "36px"
  5213. }
  5214. }).form; //创建窗体
  5215. _taskbar = {
  5216. "id": str + _formdiv.id,
  5217. "style": {
  5218. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5219. },
  5220. "name": "项目设计",
  5221. "forms": _formdiv,
  5222. "click": function () {
  5223. U.MD.D.I.openApplication(str, obj, info);
  5224. }
  5225. }
  5226. break;
  5227. }
  5228. const script1 = document.createElement("script");
  5229. script1.type = "text/javascript";
  5230. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5231. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5232. const script2 = document.createElement("script");
  5233. script2.type = "text/javascript";
  5234. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5235. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5236. const script3 = document.createElement("script");
  5237. script3.type = "text/javascript";
  5238. script3.charset = "UTF-8";
  5239. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5240. const script4 = document.createElement("script");
  5241. script4.type = "text/javascript";
  5242. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5243. script4.src = window.origin + "/js/Common/jietu2E.js";
  5244. if (_iframe) {
  5245. if (str == 'doc') {
  5246. _iframe = _formdiv.querySelector('iframe')
  5247. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5248. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5249. _iframe.contentWindow.document.body.appendChild(script1);
  5250. _iframe.contentWindow.document.body.appendChild(script2);
  5251. // _iframe.contentWindow.document.body.appendChild(script3);
  5252. _iframe.contentWindow.document.body.appendChild(script4);
  5253. })
  5254. if (onloadListener) {
  5255. _iframe.contentDocument.location.reload()
  5256. } else {
  5257. _iframe.contentDocument.location.reload()
  5258. }
  5259. } else if (str == 'courseDesign') {
  5260. U.UF.DL.iframeLoad(_iframe, function () {
  5261. // _iframe.contentWindow.U.MD.O.W.load();
  5262. // _iframe.contentWindow.document.body.appendChild(script1);
  5263. _iframe.contentWindow.document.body.appendChild(script2);
  5264. _iframe.contentWindow.document.body.appendChild(script4);
  5265. })
  5266. } else if (str == 'mind') {
  5267. _iframe = _formdiv.querySelector('iframe')
  5268. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5269. //
  5270. _iframe.contentWindow.document.body.appendChild(script1);
  5271. _iframe.contentWindow.document.body.appendChild(script2);
  5272. _iframe.contentWindow.document.body.appendChild(script4);
  5273. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5274. })
  5275. if (onloadListener) {
  5276. _iframe.contentDocument.location.reload()
  5277. } else {
  5278. _iframe.contentDocument.location.reload()
  5279. }
  5280. } else if (str == 'whiteboard') {
  5281. _iframe = _formdiv.querySelector('iframe')
  5282. let onloadListener = _iframe.onload = () => {
  5283. _iframe.contentWindow.document.body.appendChild(script1);
  5284. _iframe.contentWindow.document.body.appendChild(script2);
  5285. _iframe.contentWindow.document.body.appendChild(script4);
  5286. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5287. };
  5288. if (onloadListener) {
  5289. _iframe.contentDocument.location.reload()
  5290. } else {
  5291. _iframe.contentDocument.location.reload()
  5292. }
  5293. } else {
  5294. _iframe.onload = () => {
  5295. _iframe.contentWindow.document.body.appendChild(script1);
  5296. _iframe.contentWindow.document.body.appendChild(script2);
  5297. // _iframe.contentWindow.document.body.appendChild(script3);
  5298. _iframe.contentWindow.document.body.appendChild(script4);
  5299. };
  5300. }
  5301. _jie.onclick = async () => {
  5302. let text = ''
  5303. if (aTool == 1) {
  5304. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5305. } else if (aTool == 6) {
  5306. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5307. } else if (aTool == 3) {
  5308. text = await U.MD.D.I.getEditorContent(_iframe);
  5309. }
  5310. _loading.style.display = 'flex'
  5311. console.log(_loading);
  5312. var _ajs = _iframe.contentWindow.document.createElement("script");
  5313. _ajs.type = "text/javascript";
  5314. _ajs.innerHTML =
  5315. // 'console.log(' + _loading + ');\n' +
  5316. 'var _js = document.createElement("script");\n' +
  5317. '_js.type="text/javascript";\n' +
  5318. '_js.charset="UTF-8";\n' +
  5319. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5320. "_js.onload = function(){\n" +
  5321. ' var a = document.getElementsByTagName("img")\n' +
  5322. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5323. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5324. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5325. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5326. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5327. "beforeUpload_shishi(file," +
  5328. "'" +
  5329. _userid +
  5330. "'" +
  5331. ", " +
  5332. "'" +
  5333. _cid +
  5334. "'" +
  5335. ", " +
  5336. "'" +
  5337. _stage +
  5338. "'" +
  5339. ", " +
  5340. "'" +
  5341. _task +
  5342. "'" +
  5343. ", " +
  5344. "'" +
  5345. _tool +
  5346. "'" +
  5347. ", " +
  5348. "'" +
  5349. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5350. "'" +
  5351. ", " +
  5352. "'" +
  5353. aTool +
  5354. "'" +
  5355. ", " +
  5356. "`" +
  5357. text +
  5358. "`" +
  5359. ")\n" +
  5360. " });\n" +
  5361. "}\n" +
  5362. "document.head.appendChild(_js);\n";
  5363. _iframe.contentWindow.document.head.appendChild(_ajs);
  5364. }
  5365. }
  5366. //U.MD.D.I.openClick(str);
  5367. //如果有任务栏信息
  5368. // if (_taskbar) {
  5369. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5370. // }
  5371. }
  5372. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5373. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5374. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5375. _userid = student.userid, //登录用户id
  5376. _username = student.student //用户名字
  5377. let _iframe;
  5378. let _cid = cid,
  5379. _stage = stage,
  5380. _task = task,
  5381. _tool = tool;
  5382. var _jie = $$("div", {
  5383. "style": {
  5384. "position": "absolute",
  5385. "bottom": "50px",
  5386. "right": "50px",
  5387. "zIndex": "9999",
  5388. "backgroundColor": "#2268bc",
  5389. "color": "#fff",
  5390. "padding": "12px 20px",
  5391. "cursor": "pointer",
  5392. "borderRadius": "4px",
  5393. },
  5394. "innerHTML": "提交作业"
  5395. })
  5396. let aTool = ''
  5397. let _loading = document.createElement('div')
  5398. _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;"
  5399. // _loading.id = "";
  5400. let _lchild = document.createElement('div')
  5401. let _limg = document.createElement('img')
  5402. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5403. _limg.style = "width: 26px;margin-right: 10px;"
  5404. _lchild.appendChild(_limg)
  5405. let _lspan = document.createElement('span')
  5406. _lspan.innerHTML = "上传中..."
  5407. _lchild.appendChild(_lspan)
  5408. _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%);"
  5409. _loading.appendChild(_lchild)
  5410. var _box = $$('div', {
  5411. "style": {
  5412. "position": "relative",
  5413. "width": "100%",
  5414. "height": "100%",
  5415. },
  5416. })
  5417. _box.appendChild(_loading)
  5418. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5419. switch (str) {
  5420. case "whiteboard":
  5421. aTool = 1;
  5422. _iframe = $$("iframe", {
  5423. "frameborder": "no",
  5424. "border": "0",
  5425. "scrolling ": "no",
  5426. "style": {
  5427. "cssText": "border:0;width:100%;height:100%"
  5428. },
  5429. "src": "https://iwb.cocorobo.cn/"
  5430. })
  5431. _box.appendChild(_iframe);
  5432. _box.appendChild(_jie);
  5433. _formdiv = new U.UF.UI.form(
  5434. "电子白板-" + _username,
  5435. _box, {
  5436. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5437. "style": {
  5438. "width": "90%",
  5439. "height": "90%",
  5440. "overflow": 'hidden'
  5441. },
  5442. "onresize": function () { }
  5443. }, {
  5444. closecallback: function () { }
  5445. }, {
  5446. "style": {
  5447. "height": "36px"
  5448. }
  5449. }).form; //创建窗体
  5450. _taskbar = {
  5451. "id": str + _formdiv.id,
  5452. "style": {
  5453. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5454. },
  5455. "name": "电子白板",
  5456. "forms": _formdiv,
  5457. "click": function () {
  5458. U.MD.D.I.openApplication(str, obj, info);
  5459. }
  5460. }
  5461. break;
  5462. case "mind":
  5463. aTool = 3;
  5464. _iframe = $$("iframe", {
  5465. "frameborder": "no",
  5466. "border": "0",
  5467. "scrolling ": "no",
  5468. "style": {
  5469. "cssText": "border:0;width:100%;height:100%"
  5470. },
  5471. "src": "/kityminder-editor/dist/index.html"
  5472. })
  5473. _box.appendChild(_iframe);
  5474. _box.appendChild(_jie);
  5475. _formdiv = new U.UF.UI.form(
  5476. "思维导图-" + _username,
  5477. _box, { //"/jsmind/example/demo.html"
  5478. "id": "mind" + cid + stage + task + tool + _userid,
  5479. "style": {
  5480. "width": "90%",
  5481. "height": "90%",
  5482. "overflow": 'hidden'
  5483. },
  5484. "onresize": function () { }
  5485. }, {
  5486. closecallback: function () { }
  5487. }, {
  5488. "style": {
  5489. "height": "36px"
  5490. }
  5491. }).form; //创建窗体
  5492. _taskbar = {
  5493. "id": str + _formdiv.id,
  5494. "style": {
  5495. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5496. },
  5497. "name": "思维导图",
  5498. "forms": _formdiv,
  5499. "click": function () {
  5500. U.MD.D.I.openApplication(str, obj, info);
  5501. }
  5502. }
  5503. break;
  5504. case "MindMap":
  5505. aTool = 3;
  5506. _iframe = $$("iframe", {
  5507. "frameborder": "no",
  5508. "border": "0",
  5509. "scrolling ": "no",
  5510. "style": {
  5511. "cssText": "border:0;width:100%;height:100%"
  5512. },
  5513. "src": "//cloud.cocorobo.cn/mind/"
  5514. })
  5515. _box.appendChild(_iframe);
  5516. _box.appendChild(_jie);
  5517. _formdiv = new U.UF.UI.form(
  5518. "思维导图-" + _username,
  5519. _box, { //"/jsmind/example/demo.html"
  5520. "id": "mind" + cid + stage + task + tool + _userid,
  5521. "style": {
  5522. "width": "90%",
  5523. "height": "90%",
  5524. "overflow": 'hidden'
  5525. },
  5526. "onresize": function () { }
  5527. }, {
  5528. closecallback: function () { }
  5529. }, {
  5530. "style": {
  5531. "height": "36px"
  5532. }
  5533. }).form; //创建窗体
  5534. _taskbar = {
  5535. "id": str + _formdiv.id,
  5536. "style": {
  5537. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5538. },
  5539. "name": "思维导图",
  5540. "forms": _formdiv,
  5541. "click": function () {
  5542. U.MD.D.I.openApplication(str, obj, info);
  5543. }
  5544. }
  5545. break;
  5546. case "doc":
  5547. aTool = 6;
  5548. _iframe = $$("iframe", {
  5549. "frameborder": "no",
  5550. "border": "0",
  5551. "scrolling ": "no",
  5552. "style": {
  5553. "cssText": "border:0;width:100%;height:100%"
  5554. },
  5555. "src": "/Office/Word/WordEditArea.htm"
  5556. })
  5557. _box.appendChild(_iframe);
  5558. _box.appendChild(_jie);
  5559. _formdiv = new U.UF.UI.form(
  5560. "协同文档-" + _username,
  5561. _box, {
  5562. "id": "doc" + cid + stage + task + tool + _userid,
  5563. "style": {
  5564. "width": "90%",
  5565. "height": "90%",
  5566. "overflow": 'hidden'
  5567. },
  5568. "onresize": function () { }
  5569. }, {
  5570. closecallback: function () { }
  5571. }, {
  5572. "style": {
  5573. "height": "36px"
  5574. }
  5575. }).form; //创建窗体
  5576. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5577. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5578. })
  5579. _taskbar = {
  5580. "id": str + _formdiv.id,
  5581. "style": {
  5582. "backgroundImage": "url(/img/icon/doc.png)"
  5583. },
  5584. "name": "协同文档",
  5585. "forms": _formdiv,
  5586. "click": function () {
  5587. U.MD.D.I.openApplication(str, obj, info);
  5588. }
  5589. }
  5590. break;
  5591. case "mindNetwork": //好友打开
  5592. aTool = 7;
  5593. _iframe = $$("iframe", {
  5594. "webkitallowfullscreen": "",
  5595. "mozallowfullscreen": "",
  5596. "allowfullscreen": "",
  5597. "frameborder": "no",
  5598. "border": "0",
  5599. "scrolling ": "no",
  5600. "style": {
  5601. "cssText": "border:0; width:100%; height:100%;"
  5602. },
  5603. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5604. })
  5605. _box.appendChild(_iframe);
  5606. _box.appendChild(_jie);
  5607. _formdiv = new U.UF.UI.form(
  5608. "思维网格-" + _username,
  5609. _box, {
  5610. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5611. "style": {
  5612. "width": "90%",
  5613. "height": "90%",
  5614. "overflow": 'hidden'
  5615. },
  5616. "onresize": function () { }
  5617. }, {
  5618. closecallback: function () { }
  5619. }, {
  5620. "style": {
  5621. "height": "36px"
  5622. }
  5623. }).form; //创建窗体
  5624. _taskbar = {
  5625. "id": str + _formdiv.id,
  5626. "style": {
  5627. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5628. },
  5629. "name": "思维网格",
  5630. "forms": _formdiv,
  5631. "click": function () {
  5632. U.MD.D.I.openApplication(str, obj, info);
  5633. }
  5634. }
  5635. break;
  5636. case "courseDesign":
  5637. _iframe = $$("iframe", {
  5638. "webkitallowfullscreen": "",
  5639. "mozallowfullscreen": "",
  5640. "allowfullscreen": "",
  5641. "frameborder": "no",
  5642. "border": "0",
  5643. "scrolling ": "no",
  5644. "style": {
  5645. "cssText": "border:0; width:100%; height:100%;"
  5646. },
  5647. "src": "/course-design-vue"
  5648. })
  5649. _box.appendChild(_iframe);
  5650. _box.appendChild(_jie);
  5651. _formdiv = new U.UF.UI.form(
  5652. "项目设计-" + _username,
  5653. _box, {
  5654. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5655. "style": {
  5656. "width": "90%",
  5657. "height": "90%",
  5658. "overflow": 'hidden'
  5659. },
  5660. "onresize": function () { }
  5661. }, {
  5662. closecallback: function () { }
  5663. }, {
  5664. "style": {
  5665. "height": "36px"
  5666. }
  5667. }).form; //创建窗体
  5668. _taskbar = {
  5669. "id": str + _formdiv.id,
  5670. "style": {
  5671. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5672. },
  5673. "name": "项目设计",
  5674. "forms": _formdiv,
  5675. "click": function () {
  5676. U.MD.D.I.openApplication(str, obj, info);
  5677. }
  5678. }
  5679. break;
  5680. }
  5681. const script1 = document.createElement("script");
  5682. script1.type = "text/javascript";
  5683. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5684. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5685. const script2 = document.createElement("script");
  5686. script2.type = "text/javascript";
  5687. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5688. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5689. const script3 = document.createElement("script");
  5690. script3.type = "text/javascript";
  5691. script3.charset = "UTF-8";
  5692. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5693. const script4 = document.createElement("script");
  5694. script4.type = "text/javascript";
  5695. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5696. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5697. if (_iframe) {
  5698. if (str == 'doc') {
  5699. _iframe = _formdiv.querySelector('iframe')
  5700. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5701. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5702. _iframe.contentWindow.document.body.appendChild(script1);
  5703. _iframe.contentWindow.document.body.appendChild(script2);
  5704. // _iframe.contentWindow.document.body.appendChild(script3);
  5705. _iframe.contentWindow.document.body.appendChild(script4);
  5706. })
  5707. if (onloadListener) {
  5708. _iframe.contentDocument.location.reload()
  5709. } else {
  5710. _iframe.contentDocument.location.reload()
  5711. }
  5712. } else if (str == 'courseDesign') {
  5713. U.UF.DL.iframeLoad(_iframe, function () {
  5714. // _iframe.contentWindow.U.MD.O.W.load();
  5715. // _iframe.contentWindow.document.body.appendChild(script1);
  5716. _iframe.contentWindow.document.body.appendChild(script2);
  5717. _iframe.contentWindow.document.body.appendChild(script4);
  5718. })
  5719. } else if (str == 'mind') {
  5720. _iframe = _formdiv.querySelector('iframe')
  5721. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5722. //
  5723. _iframe.contentWindow.document.body.appendChild(script1);
  5724. _iframe.contentWindow.document.body.appendChild(script2);
  5725. _iframe.contentWindow.document.body.appendChild(script4);
  5726. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5727. })
  5728. if (onloadListener) {
  5729. _iframe.contentDocument.location.reload()
  5730. } else {
  5731. _iframe.contentDocument.location.reload()
  5732. }
  5733. } else if (str == 'whiteboard') {
  5734. _iframe = _formdiv.querySelector('iframe')
  5735. let onloadListener = _iframe.onload = () => {
  5736. _iframe.contentWindow.document.body.appendChild(script1);
  5737. _iframe.contentWindow.document.body.appendChild(script2);
  5738. _iframe.contentWindow.document.body.appendChild(script4);
  5739. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5740. };
  5741. if (onloadListener) {
  5742. _iframe.contentDocument.location.reload()
  5743. } else {
  5744. _iframe.contentDocument.location.reload()
  5745. }
  5746. } else {
  5747. _iframe.onload = () => {
  5748. _iframe.contentWindow.document.body.appendChild(script1);
  5749. _iframe.contentWindow.document.body.appendChild(script2);
  5750. // _iframe.contentWindow.document.body.appendChild(script3);
  5751. _iframe.contentWindow.document.body.appendChild(script4);
  5752. };
  5753. }
  5754. _jie.onclick = async () => {
  5755. let text = ''
  5756. if (aTool == 1) {
  5757. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5758. } else if (aTool == 6) {
  5759. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5760. } else if (aTool == 3) {
  5761. text = await U.MD.D.I.getEditorContent(_iframe);
  5762. }
  5763. _loading.style.display = 'flex'
  5764. console.log(_loading);
  5765. var _ajs = _iframe.contentWindow.document.createElement("script");
  5766. _ajs.type = "text/javascript";
  5767. _ajs.innerHTML =
  5768. // 'console.log(' + _loading + ');\n' +
  5769. 'var _js = document.createElement("script");\n' +
  5770. '_js.type="text/javascript";\n' +
  5771. '_js.charset="UTF-8";\n' +
  5772. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5773. "_js.onload = function(){\n" +
  5774. ' var a = document.getElementsByTagName("img")\n' +
  5775. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5776. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5777. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5778. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5779. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5780. "beforeUpload_shishi(file," +
  5781. "'" +
  5782. _userid +
  5783. "'" +
  5784. ", " +
  5785. "'" +
  5786. _cid +
  5787. "'" +
  5788. ", " +
  5789. "'" +
  5790. _stage +
  5791. "'" +
  5792. ", " +
  5793. "'" +
  5794. _task +
  5795. "'" +
  5796. ", " +
  5797. "'" +
  5798. _tool +
  5799. "'" +
  5800. ", " +
  5801. "'" +
  5802. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5803. "'" +
  5804. ", " +
  5805. "'" +
  5806. aTool +
  5807. "'" +
  5808. ", " +
  5809. "`" +
  5810. text +
  5811. "`" +
  5812. ")\n" +
  5813. " });\n" +
  5814. "}\n" +
  5815. "document.head.appendChild(_js);\n";
  5816. _iframe.contentWindow.document.head.appendChild(_ajs);
  5817. }
  5818. }
  5819. }
  5820. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  5821. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5822. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5823. _userid = student.userid, //登录用户id
  5824. _username = student.student //用户名字
  5825. let _iframe;
  5826. let _cid = cid,
  5827. _stage = stage,
  5828. _task = task,
  5829. _tool = tool;
  5830. var _jie = $$("div", {
  5831. "style": {
  5832. "position": "absolute",
  5833. "bottom": "50px",
  5834. "right": "50px",
  5835. "zIndex": "9999",
  5836. "backgroundColor": "#2268bc",
  5837. "color": "#fff",
  5838. "padding": "12px 20px",
  5839. "cursor": "pointer",
  5840. "borderRadius": "4px",
  5841. },
  5842. "innerHTML": "提交作业"
  5843. })
  5844. let aTool = ''
  5845. let _loading = document.createElement('div')
  5846. _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;"
  5847. // _loading.id = "";
  5848. let _lchild = document.createElement('div')
  5849. let _limg = document.createElement('img')
  5850. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5851. _limg.style = "width: 26px;margin-right: 10px;"
  5852. _lchild.appendChild(_limg)
  5853. let _lspan = document.createElement('span')
  5854. _lspan.innerHTML = "上传中..."
  5855. _lchild.appendChild(_lspan)
  5856. _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%);"
  5857. _loading.appendChild(_lchild)
  5858. var _box = $$('div', {
  5859. "style": {
  5860. "position": "relative",
  5861. "width": "100%",
  5862. "height": "100%",
  5863. },
  5864. })
  5865. _box.appendChild(_loading)
  5866. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5867. switch (str) {
  5868. case "whiteboard":
  5869. aTool = 1;
  5870. _iframe = $$("iframe", {
  5871. "frameborder": "no",
  5872. "border": "0",
  5873. "scrolling ": "no",
  5874. "style": {
  5875. "cssText": "border:0;width:100%;height:100%"
  5876. },
  5877. "src": "https://iwb.cocorobo.cn/"
  5878. })
  5879. _box.appendChild(_iframe);
  5880. _box.appendChild(_jie);
  5881. _formdiv = new U.UF.UI.form(
  5882. "电子白板-" + _username,
  5883. _box, {
  5884. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5885. "style": {
  5886. "width": "90%",
  5887. "height": "90%",
  5888. "overflow": 'hidden'
  5889. },
  5890. "onresize": function () { }
  5891. }, {
  5892. closecallback: function () { }
  5893. }, {
  5894. "style": {
  5895. "height": "36px"
  5896. }
  5897. }).form; //创建窗体
  5898. _taskbar = {
  5899. "id": str + _formdiv.id,
  5900. "style": {
  5901. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5902. },
  5903. "name": "电子白板",
  5904. "forms": _formdiv,
  5905. "click": function () {
  5906. U.MD.D.I.openApplication(str, obj, info);
  5907. }
  5908. }
  5909. break;
  5910. case "mind":
  5911. aTool = 3;
  5912. _iframe = $$("iframe", {
  5913. "frameborder": "no",
  5914. "border": "0",
  5915. "scrolling ": "no",
  5916. "style": {
  5917. "cssText": "border:0;width:100%;height:100%"
  5918. },
  5919. "src": "/kityminder-editor/dist/index.html"
  5920. })
  5921. _box.appendChild(_iframe);
  5922. _box.appendChild(_jie);
  5923. _formdiv = new U.UF.UI.form(
  5924. "思维导图-" + _username,
  5925. _box, { //"/jsmind/example/demo.html"
  5926. "id": "mind" + cid + stage + task + tool + _userid,
  5927. "style": {
  5928. "width": "90%",
  5929. "height": "90%",
  5930. "overflow": 'hidden'
  5931. },
  5932. "onresize": function () { }
  5933. }, {
  5934. closecallback: function () { }
  5935. }, {
  5936. "style": {
  5937. "height": "36px"
  5938. }
  5939. }).form; //创建窗体
  5940. _taskbar = {
  5941. "id": str + _formdiv.id,
  5942. "style": {
  5943. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5944. },
  5945. "name": "思维导图",
  5946. "forms": _formdiv,
  5947. "click": function () {
  5948. U.MD.D.I.openApplication(str, obj, info);
  5949. }
  5950. }
  5951. break;
  5952. case "MindMap":
  5953. aTool = 3;
  5954. _iframe = $$("iframe", {
  5955. "frameborder": "no",
  5956. "border": "0",
  5957. "scrolling ": "no",
  5958. "style": {
  5959. "cssText": "border:0;width:100%;height:100%"
  5960. },
  5961. "src": "//cloud.cocorobo.cn/mind/"
  5962. })
  5963. _box.appendChild(_iframe);
  5964. _box.appendChild(_jie);
  5965. _formdiv = new U.UF.UI.form(
  5966. "思维导图-" + _username,
  5967. _box, { //"/jsmind/example/demo.html"
  5968. "id": "mind" + cid + stage + task + tool + _userid,
  5969. "style": {
  5970. "width": "90%",
  5971. "height": "90%",
  5972. "overflow": 'hidden'
  5973. },
  5974. "onresize": function () { }
  5975. }, {
  5976. closecallback: function () { }
  5977. }, {
  5978. "style": {
  5979. "height": "36px"
  5980. }
  5981. }).form; //创建窗体
  5982. _taskbar = {
  5983. "id": str + _formdiv.id,
  5984. "style": {
  5985. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5986. },
  5987. "name": "思维导图",
  5988. "forms": _formdiv,
  5989. "click": function () {
  5990. U.MD.D.I.openApplication(str, obj, info);
  5991. }
  5992. }
  5993. break;
  5994. case "doc":
  5995. aTool = 6;
  5996. _iframe = $$("iframe", {
  5997. "frameborder": "no",
  5998. "border": "0",
  5999. "scrolling ": "no",
  6000. "style": {
  6001. "cssText": "border:0;width:100%;height:100%"
  6002. },
  6003. "src": "/Office/Word/WordEditArea.htm"
  6004. })
  6005. _box.appendChild(_iframe);
  6006. _box.appendChild(_jie);
  6007. _formdiv = new U.UF.UI.form(
  6008. "协同文档-" + _username,
  6009. _box, {
  6010. "id": "doc" + cid + stage + task + tool + _userid,
  6011. "style": {
  6012. "width": "90%",
  6013. "height": "90%",
  6014. "overflow": 'hidden'
  6015. },
  6016. "onresize": function () { }
  6017. }, {
  6018. closecallback: function () { }
  6019. }, {
  6020. "style": {
  6021. "height": "36px"
  6022. }
  6023. }).form; //创建窗体
  6024. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6025. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6026. })
  6027. _taskbar = {
  6028. "id": str + _formdiv.id,
  6029. "style": {
  6030. "backgroundImage": "url(/img/icon/doc.png)"
  6031. },
  6032. "name": "协同文档",
  6033. "forms": _formdiv,
  6034. "click": function () {
  6035. U.MD.D.I.openApplication(str, obj, info);
  6036. }
  6037. }
  6038. break;
  6039. case "mindNetwork": //好友打开
  6040. aTool = 7;
  6041. _iframe = $$("iframe", {
  6042. "webkitallowfullscreen": "",
  6043. "mozallowfullscreen": "",
  6044. "allowfullscreen": "",
  6045. "frameborder": "no",
  6046. "border": "0",
  6047. "scrolling ": "no",
  6048. "style": {
  6049. "cssText": "border:0; width:100%; height:100%;"
  6050. },
  6051. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6052. })
  6053. _box.appendChild(_iframe);
  6054. _box.appendChild(_jie);
  6055. _formdiv = new U.UF.UI.form(
  6056. "思维网格-" + _username,
  6057. _box, {
  6058. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6059. "style": {
  6060. "width": "90%",
  6061. "height": "90%",
  6062. "overflow": 'hidden'
  6063. },
  6064. "onresize": function () { }
  6065. }, {
  6066. closecallback: function () { }
  6067. }, {
  6068. "style": {
  6069. "height": "36px"
  6070. }
  6071. }).form; //创建窗体
  6072. _taskbar = {
  6073. "id": str + _formdiv.id,
  6074. "style": {
  6075. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6076. },
  6077. "name": "思维网格",
  6078. "forms": _formdiv,
  6079. "click": function () {
  6080. U.MD.D.I.openApplication(str, obj, info);
  6081. }
  6082. }
  6083. break;
  6084. case "courseDesign":
  6085. _iframe = $$("iframe", {
  6086. "webkitallowfullscreen": "",
  6087. "mozallowfullscreen": "",
  6088. "allowfullscreen": "",
  6089. "frameborder": "no",
  6090. "border": "0",
  6091. "scrolling ": "no",
  6092. "style": {
  6093. "cssText": "border:0; width:100%; height:100%;"
  6094. },
  6095. "src": "/course-design-vue"
  6096. })
  6097. _box.appendChild(_iframe);
  6098. _box.appendChild(_jie);
  6099. _formdiv = new U.UF.UI.form(
  6100. "项目设计-" + _username,
  6101. _box, {
  6102. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6103. "style": {
  6104. "width": "90%",
  6105. "height": "90%",
  6106. "overflow": 'hidden'
  6107. },
  6108. "onresize": function () { }
  6109. }, {
  6110. closecallback: function () { }
  6111. }, {
  6112. "style": {
  6113. "height": "36px"
  6114. }
  6115. }).form; //创建窗体
  6116. _taskbar = {
  6117. "id": str + _formdiv.id,
  6118. "style": {
  6119. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6120. },
  6121. "name": "项目设计",
  6122. "forms": _formdiv,
  6123. "click": function () {
  6124. U.MD.D.I.openApplication(str, obj, info);
  6125. }
  6126. }
  6127. break;
  6128. }
  6129. const script1 = document.createElement("script");
  6130. script1.type = "text/javascript";
  6131. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6132. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6133. const script2 = document.createElement("script");
  6134. script2.type = "text/javascript";
  6135. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6136. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6137. const script3 = document.createElement("script");
  6138. script3.type = "text/javascript";
  6139. script3.charset = "UTF-8";
  6140. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6141. const script4 = document.createElement("script");
  6142. script4.type = "text/javascript";
  6143. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6144. script4.src = window.origin + "/js/Common/jietu2E.js";
  6145. if (_iframe) {
  6146. if (str == 'doc') {
  6147. _iframe = _formdiv.querySelector('iframe')
  6148. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6149. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6150. _iframe.contentWindow.document.body.appendChild(script1);
  6151. _iframe.contentWindow.document.body.appendChild(script2);
  6152. // _iframe.contentWindow.document.body.appendChild(script3);
  6153. _iframe.contentWindow.document.body.appendChild(script4);
  6154. })
  6155. if (onloadListener) {
  6156. _iframe.contentDocument.location.reload()
  6157. } else {
  6158. _iframe.contentDocument.location.reload()
  6159. }
  6160. } else if (str == 'courseDesign') {
  6161. U.UF.DL.iframeLoad(_iframe, function () {
  6162. // _iframe.contentWindow.U.MD.O.W.load();
  6163. // _iframe.contentWindow.document.body.appendChild(script1);
  6164. _iframe.contentWindow.document.body.appendChild(script2);
  6165. _iframe.contentWindow.document.body.appendChild(script4);
  6166. })
  6167. } else if (str == 'mind') {
  6168. _iframe = _formdiv.querySelector('iframe')
  6169. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6170. //
  6171. _iframe.contentWindow.document.body.appendChild(script1);
  6172. _iframe.contentWindow.document.body.appendChild(script2);
  6173. _iframe.contentWindow.document.body.appendChild(script4);
  6174. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6175. })
  6176. if (onloadListener) {
  6177. _iframe.contentDocument.location.reload()
  6178. } else {
  6179. _iframe.contentDocument.location.reload()
  6180. }
  6181. } else if (str == 'whiteboard') {
  6182. _iframe = _formdiv.querySelector('iframe')
  6183. let onloadListener = _iframe.onload = () => {
  6184. _iframe.contentWindow.document.body.appendChild(script1);
  6185. _iframe.contentWindow.document.body.appendChild(script2);
  6186. _iframe.contentWindow.document.body.appendChild(script4);
  6187. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6188. };
  6189. if (onloadListener) {
  6190. _iframe.contentDocument.location.reload()
  6191. } else {
  6192. _iframe.contentDocument.location.reload()
  6193. }
  6194. } else {
  6195. _iframe.onload = () => {
  6196. _iframe.contentWindow.document.body.appendChild(script1);
  6197. _iframe.contentWindow.document.body.appendChild(script2);
  6198. // _iframe.contentWindow.document.body.appendChild(script3);
  6199. _iframe.contentWindow.document.body.appendChild(script4);
  6200. };
  6201. }
  6202. _jie.onclick = async () => {
  6203. let text = ''
  6204. if (aTool == 1) {
  6205. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6206. } else if (aTool == 6) {
  6207. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6208. } else if (aTool == 3) {
  6209. text = await U.MD.D.I.getEditorContent(_iframe);
  6210. }
  6211. _loading.style.display = 'flex'
  6212. console.log(_loading);
  6213. var _ajs = _iframe.contentWindow.document.createElement("script");
  6214. _ajs.type = "text/javascript";
  6215. _ajs.innerHTML =
  6216. // 'console.log(' + _loading + ');\n' +
  6217. 'var _js = document.createElement("script");\n' +
  6218. '_js.type="text/javascript";\n' +
  6219. '_js.charset="UTF-8";\n' +
  6220. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6221. "_js.onload = function(){\n" +
  6222. ' var a = document.getElementsByTagName("img")\n' +
  6223. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6224. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6225. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6226. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6227. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6228. "beforeUpload_shishi(file," +
  6229. "'" +
  6230. _userid +
  6231. "'" +
  6232. ", " +
  6233. "'" +
  6234. _cid +
  6235. "'" +
  6236. ", " +
  6237. "'" +
  6238. _stage +
  6239. "'" +
  6240. ", " +
  6241. "'" +
  6242. _task +
  6243. "'" +
  6244. ", " +
  6245. "'" +
  6246. _tool +
  6247. "'" +
  6248. ", " +
  6249. "'" +
  6250. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6251. "'" +
  6252. ", " +
  6253. "'" +
  6254. aTool +
  6255. "'" +
  6256. ", " +
  6257. "`" +
  6258. text +
  6259. "`" +
  6260. ")\n" +
  6261. " });\n" +
  6262. "}\n" +
  6263. "document.head.appendChild(_js);\n";
  6264. _iframe.contentWindow.document.head.appendChild(_ajs);
  6265. }
  6266. }
  6267. }
  6268. U.MD.D.I.getEditorContent = function (iframe) {
  6269. return new Promise((resolve, reject) => {
  6270. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6271. console.log(content);
  6272. resolve(content)
  6273. });
  6274. });
  6275. }
  6276. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6277. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6278. // if (res.value[0].length > 0) {
  6279. // // resolve(res.value[0][0].text);
  6280. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6281. // $(fileInput).val('');
  6282. // });
  6283. // }
  6284. // }, [], { "type": "GET", "withCredentials": true });
  6285. var xmlhttp;
  6286. var Mac, Sn, DeviceId
  6287. if (window.XMLHttpRequest) {
  6288. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6289. xmlhttp = new XMLHttpRequest();
  6290. } else {
  6291. // IE6, IE5 浏览器执行代码
  6292. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6293. }
  6294. xmlhttp.onreadystatechange = function () {
  6295. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6296. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6297. // resolve(res.value[0][0].text);
  6298. if (type == '2') {
  6299. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6300. } else if (type == '3') {
  6301. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6302. }
  6303. } else {
  6304. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6305. }
  6306. }
  6307. }
  6308. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6309. xmlhttp.send();
  6310. }
  6311. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6312. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6313. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6314. _userinfo = US.userInfo, //登录用户信息
  6315. _userid = US.userInfo.userid //登录用户id
  6316. let _iframe;
  6317. let _cid = cid,
  6318. _stage = stage,
  6319. _task = task,
  6320. _tool = tool;
  6321. var _jie = $$("div", {
  6322. "style": {
  6323. "position": "absolute",
  6324. "bottom": "50px",
  6325. "right": "50px",
  6326. "zIndex": "9999",
  6327. "backgroundColor": "#2268bc",
  6328. "color": "#fff",
  6329. "padding": "12px 20px",
  6330. "cursor": "pointer",
  6331. "borderRadius": "4px",
  6332. },
  6333. "innerHTML": "确认并提交"
  6334. })
  6335. let aTool = ''
  6336. let _loading = document.createElement('div')
  6337. _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;"
  6338. // _loading.id = "";
  6339. let _lchild = document.createElement('div')
  6340. let _limg = document.createElement('img')
  6341. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6342. _limg.style = "width: 26px;margin-right: 10px;"
  6343. _lchild.appendChild(_limg)
  6344. let _lspan = document.createElement('span')
  6345. _lspan.innerHTML = "上传中..."
  6346. _lchild.appendChild(_lspan)
  6347. _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%);"
  6348. _loading.appendChild(_lchild)
  6349. var _box = $$('div', {
  6350. "style": {
  6351. "position": "relative",
  6352. "width": "100%",
  6353. "height": "100%",
  6354. },
  6355. })
  6356. _box.appendChild(_loading)
  6357. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6358. switch (str) {
  6359. case "whiteboard":
  6360. aTool = 1;
  6361. _iframe = $$("iframe", {
  6362. "frameborder": "no",
  6363. "border": "0",
  6364. "scrolling ": "no",
  6365. "style": {
  6366. "cssText": "border:0;width:100%;height:100%"
  6367. },
  6368. "src": "https://iwb.cocorobo.cn/"
  6369. })
  6370. _box.appendChild(_iframe);
  6371. _box.appendChild(_jie);
  6372. _formdiv = new U.UF.UI.form(
  6373. "电子白板",
  6374. _box, {
  6375. "id": "whiteboards" + cid + stage + task + tool,
  6376. "style": {
  6377. "width": "90%",
  6378. "height": "90%",
  6379. "overflow": 'hidden'
  6380. },
  6381. "onresize": function () { }
  6382. }, {
  6383. closecallback: function () { }
  6384. }, {
  6385. "style": {
  6386. "height": "36px"
  6387. }
  6388. }).form; //创建窗体
  6389. _taskbar = {
  6390. "id": str + _formdiv.id,
  6391. "style": {
  6392. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6393. },
  6394. "name": "电子白板",
  6395. "forms": _formdiv,
  6396. "click": function () {
  6397. U.MD.D.I.openApplication(str, obj, info);
  6398. }
  6399. }
  6400. break;
  6401. case "mind":
  6402. aTool = 3;
  6403. _iframe = $$("iframe", {
  6404. "frameborder": "no",
  6405. "border": "0",
  6406. "scrolling ": "no",
  6407. "style": {
  6408. "cssText": "border:0;width:100%;height:100%"
  6409. },
  6410. "src": "/kityminder-editor/dist/index.html"
  6411. });
  6412. _box.appendChild(_iframe);
  6413. _box.appendChild(_jie);
  6414. _formdiv = new U.UF.UI.form(
  6415. "思维导图",
  6416. _box, { //"/jsmind/example/demo.html"
  6417. "id": "minds" + cid + stage + task + tool,
  6418. "style": {
  6419. "width": "90%",
  6420. "height": "90%",
  6421. "overflow": 'hidden'
  6422. },
  6423. "onresize": function () { }
  6424. }, {
  6425. closecallback: function () { }
  6426. }, {
  6427. "style": {
  6428. "height": "36px"
  6429. }
  6430. }).form; //创建窗体
  6431. _taskbar = {
  6432. "id": str + _formdiv.id,
  6433. "style": {
  6434. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6435. },
  6436. "name": "思维导图",
  6437. "forms": _formdiv,
  6438. "click": function () {
  6439. U.MD.D.I.openApplication(str, obj, info);
  6440. }
  6441. }
  6442. break;
  6443. case "doc":
  6444. aTool = 6;
  6445. _iframe = $$("iframe", {
  6446. "frameborder": "no",
  6447. "border": "0",
  6448. "scrolling ": "no",
  6449. "style": {
  6450. "cssText": "border:0;width:100%;height:100%"
  6451. },
  6452. "src": "/Office/Word/WordEditArea.htm"
  6453. })
  6454. _box.appendChild(_iframe);
  6455. _box.appendChild(_jie);
  6456. _formdiv = new U.UF.UI.form(
  6457. "协同文档",
  6458. _box, {
  6459. "id": "docs" + cid + stage + task + tool,
  6460. "style": {
  6461. "width": "90%",
  6462. "height": "90%",
  6463. "overflow": 'hidden'
  6464. },
  6465. "onresize": function () { }
  6466. }, {
  6467. closecallback: function () { }
  6468. }, {
  6469. "style": {
  6470. "height": "36px"
  6471. }
  6472. }).form; //创建窗体
  6473. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6474. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6475. })
  6476. _taskbar = {
  6477. "id": str + _formdiv.id,
  6478. "style": {
  6479. "backgroundImage": "url(/img/icon/doc.png)"
  6480. },
  6481. "name": "协同文档",
  6482. "forms": _formdiv,
  6483. "click": function () {
  6484. U.MD.D.I.openApplication(str, obj, info);
  6485. }
  6486. }
  6487. break;
  6488. }
  6489. const script1 = document.createElement("script");
  6490. script1.type = "text/javascript";
  6491. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6492. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6493. const script2 = document.createElement("script");
  6494. script2.type = "text/javascript";
  6495. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6496. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6497. const script3 = document.createElement("script");
  6498. script3.type = "text/javascript";
  6499. script3.charset = "UTF-8";
  6500. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6501. const script4 = document.createElement("script");
  6502. script4.type = "text/javascript";
  6503. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6504. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6505. if (_iframe) {
  6506. if (str == 'doc') {
  6507. _iframe = _formdiv.querySelector('iframe')
  6508. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6509. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6510. _iframe.contentWindow.document.body.appendChild(script1);
  6511. _iframe.contentWindow.document.body.appendChild(script2);
  6512. // _iframe.contentWindow.document.body.appendChild(script3);
  6513. _iframe.contentWindow.document.body.appendChild(script4);
  6514. })
  6515. if (onloadListener) {
  6516. _iframe.contentDocument.location.reload()
  6517. } else {
  6518. _iframe.contentDocument.location.reload()
  6519. }
  6520. } else if (str == 'mind') {
  6521. _iframe = _formdiv.querySelector('iframe')
  6522. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6523. _iframe.contentWindow.document.body.appendChild(script1);
  6524. _iframe.contentWindow.document.body.appendChild(script2);
  6525. _iframe.contentWindow.document.body.appendChild(script4);
  6526. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6527. })
  6528. if (onloadListener) {
  6529. _iframe.contentDocument.location.reload()
  6530. } else {
  6531. _iframe.contentDocument.location.reload()
  6532. }
  6533. } else {
  6534. _iframe.onload = () => {
  6535. _iframe.contentWindow.document.body.appendChild(script1);
  6536. _iframe.contentWindow.document.body.appendChild(script2);
  6537. // _iframe.contentWindow.document.body.appendChild(script3);
  6538. _iframe.contentWindow.document.body.appendChild(script4);
  6539. };
  6540. }
  6541. _jie.onclick = async () => {
  6542. let text = ''
  6543. if (aTool == 6) {
  6544. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6545. } else if (aTool == 3) {
  6546. text = await U.MD.D.I.getEditorContent(_iframe);
  6547. }
  6548. _loading.style.display = 'flex'
  6549. console.log(_loading);
  6550. var _ajs = _iframe.contentWindow.document.createElement("script");
  6551. _ajs.type = "text/javascript";
  6552. _ajs.innerHTML =
  6553. // 'console.log(' + _loading + ');\n' +
  6554. 'var _js = document.createElement("script");\n' +
  6555. '_js.type="text/javascript";\n' +
  6556. '_js.charset="UTF-8";\n' +
  6557. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6558. "_js.onload = function(){\n" +
  6559. ' var a = document.getElementsByTagName("img")\n' +
  6560. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6561. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6562. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6563. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6564. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6565. "beforeUpload_shishi(file," +
  6566. "'" +
  6567. _userid +
  6568. "'" +
  6569. ", " +
  6570. "'" +
  6571. _cid +
  6572. "'" +
  6573. ", " +
  6574. "'" +
  6575. _stage +
  6576. "'" +
  6577. ", " +
  6578. "'" +
  6579. _task +
  6580. "'" +
  6581. ", " +
  6582. "'" +
  6583. _tool +
  6584. "'" +
  6585. ", " +
  6586. "'" +
  6587. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6588. "'" +
  6589. ", " +
  6590. "'" +
  6591. aTool +
  6592. "'" +
  6593. ", " +
  6594. "`" +
  6595. text +
  6596. "`" +
  6597. ")\n" +
  6598. " });\n" +
  6599. "}\n" +
  6600. "document.head.appendChild(_js);\n";
  6601. _iframe.contentWindow.document.head.appendChild(_ajs);
  6602. }
  6603. }
  6604. //U.MD.D.I.openClick(str);
  6605. //如果有任务栏信息
  6606. // if (_taskbar) {
  6607. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6608. // }
  6609. }
  6610. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6611. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6612. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6613. _userinfo = US.userInfo, //登录用户信息
  6614. _userid = US.userInfo.userid //登录用户id
  6615. let _iframe;
  6616. let _cid = cid,
  6617. _stage = stage,
  6618. _task = task,
  6619. _tool = tool;
  6620. var _jie = $$("div", {
  6621. "style": {
  6622. "position": "absolute",
  6623. "bottom": "50px",
  6624. "right": "50px",
  6625. "zIndex": "9999",
  6626. "backgroundColor": "#2268bc",
  6627. "color": "#fff",
  6628. "padding": "12px 20px",
  6629. "cursor": "pointer",
  6630. "borderRadius": "4px",
  6631. },
  6632. "innerHTML": "确认并提交"
  6633. })
  6634. let aTool = ''
  6635. let _loading = document.createElement('div')
  6636. _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;"
  6637. // _loading.id = "";
  6638. let _lchild = document.createElement('div')
  6639. let _limg = document.createElement('img')
  6640. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6641. _limg.style = "width: 26px;margin-right: 10px;"
  6642. _lchild.appendChild(_limg)
  6643. let _lspan = document.createElement('span')
  6644. _lspan.innerHTML = "上传中..."
  6645. _lchild.appendChild(_lspan)
  6646. _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%);"
  6647. _loading.appendChild(_lchild)
  6648. var _box = $$('div', {
  6649. "style": {
  6650. "position": "relative",
  6651. "width": "100%",
  6652. "height": "100%",
  6653. },
  6654. })
  6655. _box.appendChild(_loading)
  6656. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6657. switch (str) {
  6658. case "whiteboard":
  6659. aTool = 1;
  6660. _iframe = $$("iframe", {
  6661. "frameborder": "no",
  6662. "border": "0",
  6663. "scrolling ": "no",
  6664. "style": {
  6665. "cssText": "border:0;width:100%;height:100%"
  6666. },
  6667. "src": "https://iwb.cocorobo.cn/"
  6668. })
  6669. _box.appendChild(_iframe);
  6670. _box.appendChild(_jie);
  6671. _formdiv = new U.UF.UI.form(
  6672. "电子白板",
  6673. _box, {
  6674. "id": "whiteboards" + cid + stage + task + tool,
  6675. "style": {
  6676. "width": "90%",
  6677. "height": "90%",
  6678. "overflow": 'hidden'
  6679. },
  6680. "onresize": function () { }
  6681. }, {
  6682. closecallback: function () { }
  6683. }, {
  6684. "style": {
  6685. "height": "36px"
  6686. }
  6687. }).form; //创建窗体
  6688. _taskbar = {
  6689. "id": str + _formdiv.id,
  6690. "style": {
  6691. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6692. },
  6693. "name": "电子白板",
  6694. "forms": _formdiv,
  6695. "click": function () {
  6696. U.MD.D.I.openApplication(str, obj, info);
  6697. }
  6698. }
  6699. break;
  6700. case "mind":
  6701. aTool = 3;
  6702. _iframe = $$("iframe", {
  6703. "frameborder": "no",
  6704. "border": "0",
  6705. "scrolling ": "no",
  6706. "style": {
  6707. "cssText": "border:0;width:100%;height:100%"
  6708. },
  6709. "src": "/kityminder-editor/dist/index.html"
  6710. });
  6711. _box.appendChild(_iframe);
  6712. _box.appendChild(_jie);
  6713. _formdiv = new U.UF.UI.form(
  6714. "思维导图",
  6715. _box, { //"/jsmind/example/demo.html"
  6716. "id": "minds" + cid + stage + task + tool,
  6717. "style": {
  6718. "width": "90%",
  6719. "height": "90%",
  6720. "overflow": 'hidden'
  6721. },
  6722. "onresize": function () { }
  6723. }, {
  6724. closecallback: function () { }
  6725. }, {
  6726. "style": {
  6727. "height": "36px"
  6728. }
  6729. }).form; //创建窗体
  6730. _taskbar = {
  6731. "id": str + _formdiv.id,
  6732. "style": {
  6733. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6734. },
  6735. "name": "思维导图",
  6736. "forms": _formdiv,
  6737. "click": function () {
  6738. U.MD.D.I.openApplication(str, obj, info);
  6739. }
  6740. }
  6741. break;
  6742. case "doc":
  6743. aTool = 6;
  6744. _iframe = $$("iframe", {
  6745. "frameborder": "no",
  6746. "border": "0",
  6747. "scrolling ": "no",
  6748. "style": {
  6749. "cssText": "border:0;width:100%;height:100%"
  6750. },
  6751. "src": "/Office/Word/WordEditArea.htm"
  6752. })
  6753. _box.appendChild(_iframe);
  6754. _box.appendChild(_jie);
  6755. _formdiv = new U.UF.UI.form(
  6756. "协同文档",
  6757. _box, {
  6758. "id": "docs" + cid + stage + task + tool,
  6759. "style": {
  6760. "width": "90%",
  6761. "height": "90%",
  6762. "overflow": 'hidden'
  6763. },
  6764. "onresize": function () { }
  6765. }, {
  6766. closecallback: function () { }
  6767. }, {
  6768. "style": {
  6769. "height": "36px"
  6770. }
  6771. }).form; //创建窗体
  6772. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6773. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6774. })
  6775. _taskbar = {
  6776. "id": str + _formdiv.id,
  6777. "style": {
  6778. "backgroundImage": "url(/img/icon/doc.png)"
  6779. },
  6780. "name": "协同文档",
  6781. "forms": _formdiv,
  6782. "click": function () {
  6783. U.MD.D.I.openApplication(str, obj, info);
  6784. }
  6785. }
  6786. break;
  6787. }
  6788. const script1 = document.createElement("script");
  6789. script1.type = "text/javascript";
  6790. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6791. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6792. const script2 = document.createElement("script");
  6793. script2.type = "text/javascript";
  6794. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6795. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6796. const script3 = document.createElement("script");
  6797. script3.type = "text/javascript";
  6798. script3.charset = "UTF-8";
  6799. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6800. const script4 = document.createElement("script");
  6801. script4.type = "text/javascript";
  6802. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6803. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6804. if (_iframe) {
  6805. if (str == 'doc') {
  6806. _iframe = _formdiv.querySelector('iframe')
  6807. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6808. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6809. _iframe.contentWindow.document.body.appendChild(script1);
  6810. _iframe.contentWindow.document.body.appendChild(script2);
  6811. // _iframe.contentWindow.document.body.appendChild(script3);
  6812. _iframe.contentWindow.document.body.appendChild(script4);
  6813. })
  6814. if (onloadListener) {
  6815. _iframe.contentDocument.location.reload()
  6816. } else {
  6817. _iframe.contentDocument.location.reload()
  6818. }
  6819. } else if (str == 'mind') {
  6820. _iframe = _formdiv.querySelector('iframe')
  6821. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6822. _iframe.contentWindow.document.body.appendChild(script1);
  6823. _iframe.contentWindow.document.body.appendChild(script2);
  6824. _iframe.contentWindow.document.body.appendChild(script4);
  6825. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6826. })
  6827. if (onloadListener) {
  6828. _iframe.contentDocument.location.reload()
  6829. } else {
  6830. _iframe.contentDocument.location.reload()
  6831. }
  6832. } else {
  6833. _iframe.onload = () => {
  6834. _iframe.contentWindow.document.body.appendChild(script1);
  6835. _iframe.contentWindow.document.body.appendChild(script2);
  6836. // _iframe.contentWindow.document.body.appendChild(script3);
  6837. _iframe.contentWindow.document.body.appendChild(script4);
  6838. };
  6839. }
  6840. _jie.onclick = async () => {
  6841. let text = ''
  6842. if (aTool == 6) {
  6843. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6844. } else if (aTool == 3) {
  6845. text = await U.MD.D.I.getEditorContent(_iframe);
  6846. }
  6847. _loading.style.display = 'flex'
  6848. console.log(_loading);
  6849. var _ajs = _iframe.contentWindow.document.createElement("script");
  6850. _ajs.type = "text/javascript";
  6851. _ajs.innerHTML =
  6852. // 'console.log(' + _loading + ');\n' +
  6853. 'var _js = document.createElement("script");\n' +
  6854. '_js.type="text/javascript";\n' +
  6855. '_js.charset="UTF-8";\n' +
  6856. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6857. "_js.onload = function(){\n" +
  6858. ' var a = document.getElementsByTagName("img")\n' +
  6859. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6860. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6861. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6862. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6863. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6864. "beforeUpload_shishi(file," +
  6865. "'" +
  6866. _userid +
  6867. "'" +
  6868. ", " +
  6869. "'" +
  6870. _cid +
  6871. "'" +
  6872. ", " +
  6873. "'" +
  6874. _stage +
  6875. "'" +
  6876. ", " +
  6877. "'" +
  6878. _task +
  6879. "'" +
  6880. ", " +
  6881. "'" +
  6882. _tool +
  6883. "'" +
  6884. ", " +
  6885. "'" +
  6886. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6887. "'" +
  6888. ", " +
  6889. "'" +
  6890. aTool +
  6891. "'" +
  6892. ", " +
  6893. "`" +
  6894. text +
  6895. "`" +
  6896. ")\n" +
  6897. " });\n" +
  6898. "}\n" +
  6899. "document.head.appendChild(_js);\n";
  6900. _iframe.contentWindow.document.head.appendChild(_ajs);
  6901. }
  6902. }
  6903. //U.MD.D.I.openClick(str);
  6904. //如果有任务栏信息
  6905. // if (_taskbar) {
  6906. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6907. // }
  6908. }
  6909. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  6910. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6911. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6912. _userinfo = US.userInfo, //登录用户信息
  6913. _userid = US.userInfo.userid //登录用户id
  6914. let _iframe;
  6915. let _cid = cid,
  6916. _stage = stage,
  6917. _task = task,
  6918. _tool = tool;
  6919. var _jie = $$("div", {
  6920. "style": {
  6921. "position": "absolute",
  6922. "bottom": "50px",
  6923. "right": "50px",
  6924. "zIndex": "9999",
  6925. "backgroundColor": "#2268bc",
  6926. "color": "#fff",
  6927. "padding": "12px 20px",
  6928. "cursor": "pointer",
  6929. "borderRadius": "4px",
  6930. },
  6931. "innerHTML": "上传模板"
  6932. })
  6933. let aTool = ''
  6934. let _loading = document.createElement('div')
  6935. _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;"
  6936. // _loading.id = "";
  6937. let _lchild = document.createElement('div')
  6938. let _limg = document.createElement('img')
  6939. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6940. _limg.style = "width: 26px;margin-right: 10px;"
  6941. _lchild.appendChild(_limg)
  6942. let _lspan = document.createElement('span')
  6943. _lspan.innerHTML = "上传中..."
  6944. _lchild.appendChild(_lspan)
  6945. _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%);"
  6946. _loading.appendChild(_lchild)
  6947. var _box = $$('div', {
  6948. "style": {
  6949. "position": "relative",
  6950. "width": "100%",
  6951. "height": "100%",
  6952. },
  6953. })
  6954. _box.appendChild(_loading)
  6955. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  6956. switch (str) {
  6957. case "whiteboard":
  6958. aTool = 1;
  6959. _iframe = $$("iframe", {
  6960. "frameborder": "no",
  6961. "border": "0",
  6962. "scrolling ": "no",
  6963. "style": {
  6964. "cssText": "border:0;width:100%;height:100%"
  6965. },
  6966. "src": "https://iwb.cocorobo.cn/"
  6967. })
  6968. _box.appendChild(_iframe);
  6969. _box.appendChild(_jie);
  6970. _formdiv = new U.UF.UI.form(
  6971. "电子白板",
  6972. _box, {
  6973. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6974. "style": {
  6975. "width": "90%",
  6976. "height": "90%",
  6977. "overflow": 'hidden'
  6978. },
  6979. "onresize": function () { }
  6980. }, {
  6981. closecallback: function () { }
  6982. }, {
  6983. "style": {
  6984. "height": "36px"
  6985. }
  6986. }).form; //创建窗体
  6987. _taskbar = {
  6988. "id": str + _formdiv.id,
  6989. "style": {
  6990. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6991. },
  6992. "name": "电子白板",
  6993. "forms": _formdiv,
  6994. "click": function () {
  6995. U.MD.D.I.openApplication(str, obj, info);
  6996. }
  6997. }
  6998. break;
  6999. case "mind":
  7000. aTool = 3;
  7001. _iframe = $$("iframe", {
  7002. "frameborder": "no",
  7003. "border": "0",
  7004. "scrolling ": "no",
  7005. "style": {
  7006. "cssText": "border:0;width:100%;height:100%"
  7007. },
  7008. "src": "/kityminder-editor/dist/index.html"
  7009. });
  7010. _box.appendChild(_iframe);
  7011. _box.appendChild(_jie);
  7012. _formdiv = new U.UF.UI.form(
  7013. "思维导图",
  7014. _box, { //"/jsmind/example/demo.html"
  7015. "id": "minds_Yu" + cid + stage + task + tool,
  7016. "style": {
  7017. "width": "90%",
  7018. "height": "90%",
  7019. "overflow": 'hidden'
  7020. },
  7021. "onresize": function () { }
  7022. }, {
  7023. closecallback: function () { }
  7024. }, {
  7025. "style": {
  7026. "height": "36px"
  7027. }
  7028. }).form; //创建窗体
  7029. _taskbar = {
  7030. "id": str + _formdiv.id,
  7031. "style": {
  7032. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7033. },
  7034. "name": "思维导图",
  7035. "forms": _formdiv,
  7036. "click": function () {
  7037. U.MD.D.I.openApplication(str, obj, info);
  7038. }
  7039. }
  7040. break;
  7041. case "doc":
  7042. aTool = 6;
  7043. _iframe = $$("iframe", {
  7044. "frameborder": "no",
  7045. "border": "0",
  7046. "scrolling ": "no",
  7047. "style": {
  7048. "cssText": "border:0;width:100%;height:100%"
  7049. },
  7050. "src": "/Office/Word/WordEditArea.htm"
  7051. })
  7052. _box.appendChild(_iframe);
  7053. _box.appendChild(_jie);
  7054. _formdiv = new U.UF.UI.form(
  7055. "协同文档",
  7056. _box, {
  7057. "id": "docs_Yu" + cid + stage + task + tool,
  7058. "style": {
  7059. "width": "90%",
  7060. "height": "90%",
  7061. "overflow": 'hidden'
  7062. },
  7063. "onresize": function () { }
  7064. }, {
  7065. closecallback: function () { }
  7066. }, {
  7067. "style": {
  7068. "height": "36px"
  7069. }
  7070. }).form; //创建窗体
  7071. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7072. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7073. })
  7074. _taskbar = {
  7075. "id": str + _formdiv.id,
  7076. "style": {
  7077. "backgroundImage": "url(/img/icon/doc.png)"
  7078. },
  7079. "name": "协同文档",
  7080. "forms": _formdiv,
  7081. "click": function () {
  7082. U.MD.D.I.openApplication(str, obj, info);
  7083. }
  7084. }
  7085. break;
  7086. case "CocoPi":
  7087. aTool = 57;
  7088. _iframe = $$("iframe", {
  7089. "allowpaymentrequest": "allowpaymentrequest",
  7090. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7091. "webkitallowfullscreen": "",
  7092. "mozallowfullscreen": "",
  7093. "frameborder": "no",
  7094. "border": "0",
  7095. "scrolling ": "no",
  7096. "style": {
  7097. "cssText": "border:0;width:100%;height:100%"
  7098. },
  7099. "src": "https://pi.cocorobo.cn/"
  7100. })
  7101. _box.appendChild(_iframe);
  7102. _box.appendChild(_jie);
  7103. _formdiv = new U.UF.UI.form(
  7104. "CocoPi",
  7105. _box, {
  7106. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7107. "style": {
  7108. "width": "90%",
  7109. "height": "90%",
  7110. "overflow": 'hidden'
  7111. },
  7112. "onresize": function () { }
  7113. }, {
  7114. closecallback: function () { }
  7115. }, {
  7116. "style": {
  7117. "height": "36px"
  7118. }
  7119. }).form; //创建窗体
  7120. _taskbar = {
  7121. "id": str + _formdiv.id,
  7122. "style": {
  7123. "backgroundImage": "url(/img/icon/cocopi.png)"
  7124. },
  7125. "name": "CocoPi",
  7126. "forms": _formdiv,
  7127. "click": function () {
  7128. U.MD.D.I.openApplication(str, obj, info);
  7129. }
  7130. }
  7131. break;
  7132. }
  7133. if (_iframe) {
  7134. if (str == 'doc') {
  7135. _iframe = _formdiv.querySelector('iframe')
  7136. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7137. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7138. })
  7139. if (onloadListener) {
  7140. _iframe.contentDocument.location.reload()
  7141. } else {
  7142. _iframe.contentDocument.location.reload()
  7143. }
  7144. } else if (str == 'mind') {
  7145. _iframe = _formdiv.querySelector('iframe')
  7146. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7147. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7148. })
  7149. if (onloadListener) {
  7150. _iframe.contentDocument.location.reload()
  7151. } else {
  7152. _iframe.contentDocument.location.reload()
  7153. }
  7154. } else if (str == 'whiteboard') {
  7155. _iframe = _formdiv.querySelector('iframe')
  7156. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7157. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7158. })
  7159. if (onloadListener) {
  7160. _iframe.contentDocument.location.reload()
  7161. } else {
  7162. _iframe.contentDocument.location.reload()
  7163. }
  7164. } else if (str == 'CocoPi') {
  7165. _iframe = _formdiv.querySelector('iframe')
  7166. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7167. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7168. })
  7169. if (onloadListener) {
  7170. _iframe.contentDocument.location.reload()
  7171. } else {
  7172. _iframe.contentDocument.location.reload()
  7173. }
  7174. } else {
  7175. _iframe.onload = () => { };
  7176. }
  7177. _jie.onclick = async () => {
  7178. let text = ''
  7179. let type = '2'
  7180. if (aTool == 1) {
  7181. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7182. type = '3'
  7183. } else if (aTool == 6) {
  7184. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7185. type = '1'
  7186. } else if (aTool == 3) {
  7187. text = await U.MD.D.I.getEditorContent(_iframe);
  7188. type = '2'
  7189. } else if (aTool == 57) {
  7190. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7191. type = '4'
  7192. }
  7193. _loading.style.display = 'flex'
  7194. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7195. }
  7196. }
  7197. //U.MD.D.I.openClick(str);
  7198. //如果有任务栏信息
  7199. // if (_taskbar) {
  7200. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7201. // }
  7202. }
  7203. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7204. var xmlhttp;
  7205. var Mac, Sn, DeviceId
  7206. if (window.XMLHttpRequest) {
  7207. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7208. xmlhttp = new XMLHttpRequest();
  7209. } else {
  7210. // IE6, IE5 浏览器执行代码
  7211. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7212. }
  7213. xmlhttp.onreadystatechange = function () {
  7214. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7215. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7216. // resolve(res.value[0][0].text);
  7217. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7218. }
  7219. }
  7220. }
  7221. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7222. xmlhttp.send();
  7223. }
  7224. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7225. var xmlhttp;
  7226. var Mac, Sn, DeviceId
  7227. if (window.XMLHttpRequest) {
  7228. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7229. xmlhttp = new XMLHttpRequest();
  7230. } else {
  7231. // IE6, IE5 浏览器执行代码
  7232. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7233. }
  7234. xmlhttp.onreadystatechange = function () {
  7235. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7236. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7237. // resolve(res.value[0][0].text);
  7238. if (type == '2') {
  7239. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7240. } else if (type == '3') {
  7241. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7242. } else if (type == '4') {
  7243. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7244. }
  7245. } else {
  7246. if (type == '2') {
  7247. iframe.contentWindow.editor.minder.importData('json', '')
  7248. } else if (type == '3') {
  7249. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7250. } else if (type == '4') {
  7251. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7252. }
  7253. }
  7254. }
  7255. }
  7256. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7257. xmlhttp.send();
  7258. }
  7259. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7260. var xmlhttp;
  7261. var Mac, Sn, DeviceId
  7262. if (window.XMLHttpRequest) {
  7263. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7264. xmlhttp = new XMLHttpRequest();
  7265. } else {
  7266. // IE6, IE5 浏览器执行代码
  7267. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7268. }
  7269. xmlhttp.onreadystatechange = function () {
  7270. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7271. if (xmlhttp.response) {
  7272. // resolve(res.value[0][0].text);
  7273. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7274. // $(fileInput).val('');
  7275. // });
  7276. span.innerHTML = '上传成功'
  7277. setTimeout(() => {
  7278. loading.style.display = 'none'
  7279. }, 1000);
  7280. }
  7281. }
  7282. }
  7283. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7284. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7285. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7286. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7287. // 设置请求头,表示请求体的编码格式
  7288. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7289. // 设置请求体,使用url-encoded格式的数据
  7290. }
  7291. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7292. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7293. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7294. _userinfo = US.userInfo, //登录用户信息
  7295. _userid = US.userInfo.userid //登录用户id
  7296. let _iframe;
  7297. let _cid = cid,
  7298. _stage = stage,
  7299. _task = task,
  7300. _tool = tool;
  7301. var _jie = $$("div", {
  7302. "style": {
  7303. "position": "absolute",
  7304. "bottom": "50px",
  7305. "right": "50px",
  7306. "zIndex": "9999",
  7307. "backgroundColor": "#2268bc",
  7308. "color": "#fff",
  7309. "padding": "12px 20px",
  7310. "cursor": "pointer",
  7311. "borderRadius": "4px",
  7312. },
  7313. "innerHTML": "提交作业"
  7314. })
  7315. let aTool = ''
  7316. let _loading = document.createElement('div')
  7317. _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;"
  7318. // _loading.id = "";
  7319. let _lchild = document.createElement('div')
  7320. let _limg = document.createElement('img')
  7321. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7322. _limg.style = "width: 26px;margin-right: 10px;"
  7323. _lchild.appendChild(_limg)
  7324. let _lspan = document.createElement('span')
  7325. _lspan.innerHTML = "上传中..."
  7326. _lchild.appendChild(_lspan)
  7327. _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%);"
  7328. _loading.appendChild(_lchild)
  7329. var _box = $$('div', {
  7330. "style": {
  7331. "position": "relative",
  7332. "width": "100%",
  7333. "height": "100%",
  7334. },
  7335. })
  7336. _box.appendChild(_loading)
  7337. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7338. switch (str) {
  7339. case "CocoPi":
  7340. aTool = 57;
  7341. _iframe = $$("iframe", {
  7342. "allowpaymentrequest": "allowpaymentrequest",
  7343. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7344. "webkitallowfullscreen": "",
  7345. "mozallowfullscreen": "",
  7346. "frameborder": "no",
  7347. "border": "0",
  7348. "scrolling ": "no",
  7349. "style": {
  7350. "cssText": "border:0;width:100%;height:100%"
  7351. },
  7352. "src": "https://pi.cocorobo.cn/"
  7353. })
  7354. _box.appendChild(_iframe);
  7355. _box.appendChild(_jie);
  7356. _formdiv = new U.UF.UI.form(
  7357. "CocoPi",
  7358. _box, {
  7359. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7360. "style": {
  7361. "width": "90%",
  7362. "height": "90%",
  7363. "overflow": 'hidden'
  7364. },
  7365. "onresize": function () { }
  7366. }, {
  7367. closecallback: function () { }
  7368. }, {
  7369. "style": {
  7370. "height": "36px"
  7371. }
  7372. }).form; //创建窗体
  7373. _taskbar = {
  7374. "id": str + _formdiv.id,
  7375. "style": {
  7376. "backgroundImage": "url(/img/icon/cocopi.png)"
  7377. },
  7378. "name": "CocoPi",
  7379. "forms": _formdiv,
  7380. "click": function () {
  7381. U.MD.D.I.openApplication(str, obj, info);
  7382. }
  7383. }
  7384. break;
  7385. }
  7386. if (_iframe) {
  7387. if (str == 'CocoPi') {
  7388. _iframe = _formdiv.querySelector('iframe')
  7389. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7390. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7391. })
  7392. if (onloadListener) {
  7393. _iframe.contentDocument.location.reload()
  7394. } else {
  7395. _iframe.contentDocument.location.reload()
  7396. }
  7397. }
  7398. _jie.onclick = async () => {
  7399. let text = ''
  7400. if (aTool == 57) {
  7401. text = _iframe.contentWindow.getLoadXmlStr()
  7402. }
  7403. _loading.style.display = 'flex'
  7404. console.log(_loading);
  7405. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7406. _loading.style.display = 'none'
  7407. let _div = document.createElement('div')
  7408. _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;"
  7409. let _inner = document.createElement('div')
  7410. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7411. _inner.innerHTML = "上传成功"
  7412. _div.appendChild(_inner)
  7413. _iframe.contentWindow.window.document.body.appendChild(_div)
  7414. _div.onclick = () => {
  7415. _iframe.contentWindow.window.document.body.removeChild(_div)
  7416. }
  7417. setTimeout(() => {
  7418. _iframe.contentWindow.window.document.body.removeChild(_div)
  7419. }, 1000);
  7420. }, [], { "type": "POST", "withCredentials": true });
  7421. }
  7422. }
  7423. }
  7424. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7425. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7426. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7427. _userid = student.userid, //登录用户id
  7428. _username = student.student //用户名字
  7429. let _iframe;
  7430. let _cid = cid,
  7431. _stage = stage,
  7432. _task = task,
  7433. _tool = tool;
  7434. var _jie = $$("div", {
  7435. "style": {
  7436. "position": "absolute",
  7437. "bottom": "50px",
  7438. "right": "50px",
  7439. "zIndex": "9999",
  7440. "backgroundColor": "#2268bc",
  7441. "color": "#fff",
  7442. "padding": "12px 20px",
  7443. "cursor": "pointer",
  7444. "borderRadius": "4px",
  7445. },
  7446. "innerHTML": "提交作业"
  7447. })
  7448. let aTool = ''
  7449. let _loading = document.createElement('div')
  7450. _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;"
  7451. // _loading.id = "";
  7452. let _lchild = document.createElement('div')
  7453. let _limg = document.createElement('img')
  7454. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7455. _limg.style = "width: 26px;margin-right: 10px;"
  7456. _lchild.appendChild(_limg)
  7457. let _lspan = document.createElement('span')
  7458. _lspan.innerHTML = "上传中..."
  7459. _lchild.appendChild(_lspan)
  7460. _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%);"
  7461. _loading.appendChild(_lchild)
  7462. var _box = $$('div', {
  7463. "style": {
  7464. "position": "relative",
  7465. "width": "100%",
  7466. "height": "100%",
  7467. },
  7468. })
  7469. _box.appendChild(_loading)
  7470. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7471. switch (str) {
  7472. case "CocoPi":
  7473. aTool = 57;
  7474. _iframe = $$("iframe", {
  7475. "allowpaymentrequest": "allowpaymentrequest",
  7476. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7477. "webkitallowfullscreen": "",
  7478. "mozallowfullscreen": "",
  7479. "frameborder": "no",
  7480. "border": "0",
  7481. "scrolling ": "no",
  7482. "style": {
  7483. "cssText": "border:0;width:100%;height:100%"
  7484. },
  7485. "src": "https://pi.cocorobo.cn/"
  7486. })
  7487. _box.appendChild(_iframe);
  7488. _box.appendChild(_jie);
  7489. _formdiv = new U.UF.UI.form(
  7490. "CocoPi-" + _username,
  7491. _box, {
  7492. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7493. "style": {
  7494. "width": "90%",
  7495. "height": "90%",
  7496. "overflow": 'hidden'
  7497. },
  7498. "onresize": function () { }
  7499. }, {
  7500. closecallback: function () { }
  7501. }, {
  7502. "style": {
  7503. "height": "36px"
  7504. }
  7505. }).form; //创建窗体
  7506. _taskbar = {
  7507. "id": str + _formdiv.id,
  7508. "style": {
  7509. "backgroundImage": "url(/img/icon/cocopi.png)"
  7510. },
  7511. "name": "CocoPi",
  7512. "forms": _formdiv,
  7513. "click": function () {
  7514. U.MD.D.I.openApplication(str, obj, info);
  7515. }
  7516. }
  7517. break;
  7518. }
  7519. if (_iframe) {
  7520. if (str == 'CocoPi') {
  7521. _iframe = _formdiv.querySelector('iframe')
  7522. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7523. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7524. })
  7525. if (onloadListener) {
  7526. _iframe.contentDocument.location.reload()
  7527. } else {
  7528. _iframe.contentDocument.location.reload()
  7529. }
  7530. }
  7531. _jie.onclick = async () => {
  7532. let text = ''
  7533. if (aTool == 57) {
  7534. text = _iframe.contentWindow.getLoadXmlStr()
  7535. }
  7536. _loading.style.display = 'flex'
  7537. console.log(_loading);
  7538. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7539. _loading.style.display = 'none'
  7540. let _div = document.createElement('div')
  7541. _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;"
  7542. let _inner = document.createElement('div')
  7543. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7544. _inner.innerHTML = "上传成功"
  7545. _div.appendChild(_inner)
  7546. _iframe.contentWindow.window.document.body.appendChild(_div)
  7547. _div.onclick = () => {
  7548. _iframe.contentWindow.window.document.body.removeChild(_div)
  7549. }
  7550. setTimeout(() => {
  7551. _iframe.contentWindow.window.document.body.removeChild(_div)
  7552. }, 1000);
  7553. }, [], { "type": "POST", "withCredentials": true });
  7554. }
  7555. }
  7556. }
  7557. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7558. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7559. if (res.value[0].length > 0) {
  7560. if (atool == 57) {
  7561. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7562. }
  7563. } else {
  7564. if (atool == 57) {
  7565. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7566. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7567. }
  7568. }
  7569. }, [], { "type": "POST", "withCredentials": true });
  7570. }