DeskTop.js 438 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564
  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": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. ];
  176. U.MD.D.I.orgStemDeskIcon = [
  177. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  178. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  179. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  180. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  181. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  182. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  183. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  184. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  185. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  186. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  187. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  188. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  189. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  190. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  191. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  192. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  193. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  194. ];
  195. U.MD.D.I.szulsDeskIcon = [
  196. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  197. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  198. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  199. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  200. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  201. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  202. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  203. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  204. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  205. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  206. ];
  207. U.MD.D.I.hanDeskIcon = [
  208. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  209. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  210. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  211. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  212. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  213. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  214. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  215. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  216. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  217. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  218. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  219. ];
  220. U.MD.D.I.GMteacherDeskIcon = [
  221. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  222. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  223. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  224. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  225. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  226. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  227. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  228. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  229. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  230. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  231. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  232. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  233. ];
  234. U.MD.D.I.GMstudentDeskIcon = [
  235. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  236. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  237. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  238. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  239. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  240. ];
  241. //北师大
  242. U.MD.D.I.BSDNSteacherDeskIcon = [
  243. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  244. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  245. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  246. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  247. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  248. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  249. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  250. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  251. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  252. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  253. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  254. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  255. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  256. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  257. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  258. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  259. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  260. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  261. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  262. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  263. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  264. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  265. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  266. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  267. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  268. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  269. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  270. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  271. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  272. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  273. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  274. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  275. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  276. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  277. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  278. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  279. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  280. ];
  281. //松山湖
  282. U.MD.D.I.SONGteacherDeskIcon = [
  283. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  284. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  285. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  286. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  287. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  288. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  289. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  290. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  291. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  292. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  293. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  294. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  295. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  296. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  297. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  298. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  299. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  300. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  301. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  302. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  303. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  304. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  305. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  306. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  307. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  308. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  309. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  310. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  311. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  312. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  313. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  314. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  315. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  316. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  317. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  318. ];
  319. U.MD.D.I.tcStudentDeskIcon = [
  320. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  321. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  322. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  323. ];
  324. U.MD.D.I.tcTeacherDeskIcon = [
  325. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  326. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  327. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  328. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  329. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  330. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  331. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  332. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  333. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  334. ];
  335. U.MD.D.I.tcOrganizerDeskIcon = [
  336. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  337. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  338. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  339. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  340. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  341. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  342. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  343. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  344. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  345. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  346. ];
  347. U.MD.D.I.szscStudentDeskIcon = [
  348. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  349. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  350. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  351. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  352. ];
  353. U.MD.D.I.szscTeacherDeskIcon = [
  354. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  355. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  356. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  357. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  358. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  359. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  360. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  361. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  362. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  363. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  364. ];
  365. U.MD.D.I.szscOrganizerDeskIcon = [
  366. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  367. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  368. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  369. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  370. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  371. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  372. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  373. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  374. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  375. ];
  376. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  377. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  378. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  379. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  380. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  381. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  382. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  383. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  384. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  385. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  386. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  387. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  388. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  389. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  390. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  391. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  392. ];
  393. U.MD.D.I.wankeAdminDeskIcon = [
  394. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  395. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  396. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  397. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  398. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  399. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  400. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  401. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  402. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  403. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  404. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  405. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  406. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  407. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  408. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  409. ];
  410. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  411. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  412. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  413. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  414. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  415. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  416. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  417. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  418. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  419. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  420. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  421. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  422. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  423. ];
  424. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  425. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  426. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  427. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  428. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  429. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  430. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  431. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  432. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  433. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  434. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  435. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  436. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  437. ];
  438. //明德教师桌面图标的全局变量
  439. U.MD.D.I.MingdeTeacherDeskIcon = [
  440. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  441. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  442. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  443. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  444. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  445. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  446. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  447. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  448. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  449. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  450. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  451. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  452. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  453. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  454. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  455. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  456. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  457. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  458. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  459. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  460. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  461. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  462. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  463. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  464. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  465. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  466. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  467. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  468. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  469. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  470. ];
  471. //97c4ee8b-d010-4042-986d-e9d3c217264f
  472. //教师桌面图标的全局变量
  473. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  474. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  475. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  476. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  477. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  478. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  479. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  480. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  481. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  482. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  483. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  484. ];
  485. //福田
  486. U.MD.D.I.futianTeacherDeskIcon = [
  487. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  488. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  489. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  490. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  491. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  492. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  493. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  494. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  495. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  496. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  497. ];
  498. //福田
  499. U.MD.D.I.futianAdminDeskIcon = [
  500. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  501. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  502. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  503. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  504. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  505. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  506. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  507. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  508. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  509. ];
  510. //lotech
  511. U.MD.D.I.lotechTeacherDeskIcon = [
  512. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  513. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  514. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  515. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  516. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  517. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  518. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  519. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  520. ];
  521. //龙华中心小学教师桌面图标的全局变量
  522. U.MD.D.I.longhuateacherDeskIcon = [
  523. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  524. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  525. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  526. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  527. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  528. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  529. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  530. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  531. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  532. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  533. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  534. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  535. ];
  536. //教科院实小教师桌面图标的全局变量
  537. U.MD.D.I.siesteacherDeskIcon = [
  538. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  539. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  540. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  541. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  542. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  543. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  544. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  545. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  546. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  547. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  548. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  549. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  550. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  551. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  552. ];
  553. //教科院实小教师桌面图标的全局变量
  554. U.MD.D.I.siesStudentDeskIcon = [
  555. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  556. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  557. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  558. ];
  559. //福田
  560. U.MD.D.I.gdjgTeacherDeskIcon = [
  561. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  562. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  563. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  564. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  565. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  566. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  567. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  568. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  569. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  570. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  571. ];
  572. //gdjg
  573. U.MD.D.I.gdjgAdminDeskIcon = [
  574. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  575. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  576. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  577. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  578. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  579. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  580. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  581. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  582. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  583. ];
  584. //hk
  585. U.MD.D.I.hkteacherDeskIcon = [
  586. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  587. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  588. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  589. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  590. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  591. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  592. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  593. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  594. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  595. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  596. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  597. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  598. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  599. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  600. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  601. ];
  602. //hk
  603. U.MD.D.I.hkStudentDeskIcon = [
  604. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  605. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  606. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  607. ];
  608. //香海正覺蓮社佛教正覺中學
  609. U.MD.D.I.hkZJLSteacherDeskIcon = [
  610. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  611. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  612. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  613. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  614. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  615. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  616. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  617. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  618. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  619. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  620. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  621. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  622. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  623. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  624. ];
  625. //香海正覺蓮社佛教正覺中學
  626. U.MD.D.I.hkZJLSStudentDeskIcon = [
  627. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  628. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  629. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  630. ];
  631. //云海
  632. U.MD.D.I.yunhaiTeacherDeskIcon = [
  633. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  634. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  635. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  636. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  637. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  638. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  639. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  640. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  641. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  642. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  643. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  644. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  645. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  646. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  647. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  648. ];
  649. //福田
  650. U.MD.D.I.heyuanTeacherDeskIcon = [
  651. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  652. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  653. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  654. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  655. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  656. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  657. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  658. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  659. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  660. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  661. ];
  662. //福田
  663. U.MD.D.I.heyuanAdminDeskIcon = [
  664. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  665. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  666. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  667. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  668. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  669. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  670. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  671. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  672. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  673. ];
  674. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  675. U.MD.D.I.szherTeacherDeskIcon = [
  676. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  677. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  678. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  679. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  680. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  681. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  682. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  683. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  684. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  685. ];
  686. //dsei
  687. U.MD.D.I.dseiTeacherDeskIcon = [
  688. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  689. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  690. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  691. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  692. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  693. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  694. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  695. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  696. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  697. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  698. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  699. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  700. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  701. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  702. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  703. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  704. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  705. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  706. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  707. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  708. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  709. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  710. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  711. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  712. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  713. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  714. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  715. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  716. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  717. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  718. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  719. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  720. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  721. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  722. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  723. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  724. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  725. ];
  726. //dsei
  727. U.MD.D.I.dseiAdminDeskIcon = [
  728. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  729. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  730. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  731. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  732. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  733. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  734. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  735. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  736. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  737. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  738. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  739. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  740. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  741. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  742. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  743. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  744. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  745. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  746. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  747. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  748. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  749. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  750. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  751. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  752. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  753. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  754. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  755. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  756. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  757. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  758. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  759. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  760. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  761. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  762. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  763. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  764. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  765. ];
  766. //dsei
  767. U.MD.D.I.dseiStudentDeskIcon = [
  768. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  769. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  770. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  771. ];
  772. //未来教育基地
  773. U.MD.D.I.szjkyTeacherDeskIcon = [
  774. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  775. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  776. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  777. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  778. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  779. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  780. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  781. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  782. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  783. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  784. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  785. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  786. ];
  787. //未来教育基地
  788. U.MD.D.I.szjkyAdminDeskIcon = [
  789. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  790. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  791. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  792. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  793. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  794. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  795. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  796. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  797. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  798. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  799. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  800. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  801. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  802. ];
  803. //未来教育基地
  804. U.MD.D.I.szjkyStudentDeskIcon = [
  805. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  806. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  807. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  808. ];
  809. //成华教育局
  810. U.MD.D.I.chjyjTeacherDeskIcon = [
  811. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  812. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  813. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  814. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  815. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  816. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  817. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  818. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  819. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  820. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  821. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  822. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  823. ];
  824. //成华教育局chjyj
  825. U.MD.D.I.chjyjAdminDeskIcon = [
  826. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  827. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  828. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  829. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  830. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  831. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  832. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  833. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  834. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  835. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  836. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  837. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  838. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  839. ];
  840. //成华教育局chjyj
  841. U.MD.D.I.chjyjStudentDeskIcon = [
  842. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  843. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  844. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  845. ];
  846. //#region 桌面初始化a
  847. /**
  848. * 初始化桌面的起始函数
  849. *
  850. */
  851. U.MD.D.I.init = function() {
  852. if ($("#U_MD_D_K")[0]) {
  853. //初始化桌面图标
  854. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  855. // var clickUrl = ':12588/requestIp.php';
  856. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  857. // U.MD.D.I.Ip = data;
  858. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  859. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  860. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  861. // })
  862. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  863. // })
  864. }
  865. }
  866. /**
  867. * 模式切换
  868. *
  869. */
  870. U.MD.D.I.ModeCheck = function(type) {
  871. if (US.Config.type == type) {
  872. return
  873. }
  874. US.Config.type = type
  875. $('.U_PBL_Check .active')[0].className = ''
  876. if (type == 1) {
  877. $('.U_PBL_Check div')[0].className = 'active'
  878. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  879. } else {
  880. $('.U_PBL_Check div')[1].className = 'active'
  881. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  882. }
  883. //初始化桌面图标
  884. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  885. if (type == 2) {
  886. U.MD.D.I.openApplication("project")
  887. }
  888. }
  889. /**
  890. * 隐藏任务栏
  891. *
  892. * @param {element} 桌面元素
  893. */
  894. U.MD.D.I.hiddenTaskbar = function(el) {
  895. //任务栏位置变小
  896. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  897. //桌面的位置变大
  898. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  899. }
  900. /**
  901. * 隐藏任务栏
  902. *
  903. * @param {element} 桌面元素
  904. */
  905. U.MD.D.I.hiddenTaskbarout = function(el) {
  906. //任务栏位置变小
  907. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  908. //任务栏位置变化
  909. U.selectEl(el).css({ "bottom": "-60px" });
  910. //桌面的位置变大
  911. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  912. }
  913. }
  914. /**
  915. * 初始化打印桌面图标
  916. *
  917. * @param {element} 桌面元素
  918. */
  919. U.MD.D.I.initDesktopIcons = function(el, type) {
  920. var i, //用于循环
  921. _content, //桌面图标元素
  922. _iconcontent, //桌面图标元素
  923. _frag = $$("frag"), //定义一个碎片元素
  924. _type = US.userInfo.type,
  925. _org = US.userInfo.org,
  926. _oid = US.userInfo.organizeid,
  927. _role = US.userInfo.role,
  928. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  929. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  930. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  931. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  932. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  933. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  934. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  935. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  936. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  937. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  938. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  939. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  940. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  941. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  942. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  943. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  944. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  945. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  946. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  947. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  948. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  949. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  950. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  951. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  952. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  953. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  954. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  955. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  956. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  957. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  958. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  959. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  960. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  961. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  962. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  963. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  964. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  965. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  966. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  967. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  968. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  969. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  970. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  971. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  972. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  973. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  974. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  975. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  976. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  977. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  978. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  979. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  980. 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'];
  981. 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'];
  982. //清楚桌面图标
  983. el.innerHTML = "";
  984. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  985. _teacherDesktopIconInfo.push(
  986. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  987. { "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)" } },
  988. )
  989. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  990. }
  991. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  992. _teacherDesktopIconInfo.push(
  993. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  994. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  995. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  996. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  997. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  998. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  999. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }
  1000. )
  1001. }
  1002. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1003. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1004. if (el.Name == '项目管理') {
  1005. el.Name = 'PBL项目'
  1006. }
  1007. return el
  1008. })
  1009. }
  1010. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1011. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1012. return el.Name != '魔盒识字' && el.Name != '24点'
  1013. })
  1014. }
  1015. 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) {
  1016. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, )
  1017. }
  1018. //循环创建桌面图标
  1019. if (type == 1) {
  1020. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1021. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1022. _content = $$("div", {
  1023. className: "U_MD_D_KO",
  1024. "onmousedown": U.UF.C.closure(function(obj) {
  1025. //防止拖动图标即打开了桌面应用
  1026. U.MD.D.click(this, obj);
  1027. }, [_studentDesktopIconInfo[i]]),
  1028. "onclick": U.UF.C.closure(function(obj) {
  1029. //防止拖动图标即打开了桌面应用
  1030. U.MD.D.click(this, obj);
  1031. }, [_studentDesktopIconInfo[i]])
  1032. }, _frag); //
  1033. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1034. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1035. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1036. }
  1037. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1038. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1039. _content = $$("div", {
  1040. className: "U_MD_D_KO",
  1041. "onmousedown": U.UF.C.closure(function(obj) {
  1042. //防止拖动图标即打开了桌面应用
  1043. U.MD.D.click(this, obj);
  1044. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1045. "onclick": U.UF.C.closure(function(obj) {
  1046. //防止拖动图标即打开了桌面应用
  1047. U.MD.D.click(this, obj);
  1048. }, [_hkZJLSStudentDeskIconInfo[i]])
  1049. }, _frag); //
  1050. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1051. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1052. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1053. } //
  1054. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1055. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1056. _content = $$("div", {
  1057. className: "U_MD_D_KO",
  1058. "onmousedown": U.UF.C.closure(function(obj) {
  1059. //防止拖动图标即打开了桌面应用
  1060. U.MD.D.click(this, obj);
  1061. }, [_chjyjStudentDeskIconInfo[i]]),
  1062. "onclick": U.UF.C.closure(function(obj) {
  1063. //防止拖动图标即打开了桌面应用
  1064. U.MD.D.click(this, obj);
  1065. }, [_chjyjStudentDeskIconInfo[i]])
  1066. }, _frag); //
  1067. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1068. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1069. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1070. }
  1071. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1072. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1073. _content = $$("div", {
  1074. className: "U_MD_D_KO",
  1075. "onmousedown": U.UF.C.closure(function(obj) {
  1076. //防止拖动图标即打开了桌面应用
  1077. U.MD.D.click(this, obj);
  1078. }, [_szjkyStudentDeskIconInfo[i]]),
  1079. "onclick": U.UF.C.closure(function(obj) {
  1080. //防止拖动图标即打开了桌面应用
  1081. U.MD.D.click(this, obj);
  1082. }, [_szjkyStudentDeskIconInfo[i]])
  1083. }, _frag); //
  1084. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1085. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1086. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1087. }
  1088. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1089. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1090. _content = $$("div", {
  1091. className: "U_MD_D_KO",
  1092. "onmousedown": U.UF.C.closure(function(obj) {
  1093. //防止拖动图标即打开了桌面应用
  1094. U.MD.D.click(this, obj);
  1095. }, [_dseiStudentDeskIconInfo[i]]),
  1096. "onclick": U.UF.C.closure(function(obj) {
  1097. //防止拖动图标即打开了桌面应用
  1098. U.MD.D.click(this, obj);
  1099. }, [_dseiStudentDeskIconInfo[i]])
  1100. }, _frag); //
  1101. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1102. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1103. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1104. }
  1105. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1106. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1107. _content = $$("div", {
  1108. className: "U_MD_D_KO",
  1109. "onmousedown": U.UF.C.closure(function(obj) {
  1110. //防止拖动图标即打开了桌面应用
  1111. U.MD.D.click(this, obj);
  1112. }, [_siesStudentDeskIconInfo[i]]),
  1113. "onclick": U.UF.C.closure(function(obj) {
  1114. //防止拖动图标即打开了桌面应用
  1115. U.MD.D.click(this, obj);
  1116. }, [_siesStudentDeskIconInfo[i]])
  1117. }, _frag); //
  1118. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1119. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1120. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1121. }
  1122. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1123. for (i = 0; i < _hkStudentDeskIconInfo.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. }, [_hkStudentDeskIconInfo[i]]),
  1130. "onclick": U.UF.C.closure(function(obj) {
  1131. //防止拖动图标即打开了桌面应用
  1132. U.MD.D.click(this, obj);
  1133. }, [_hkStudentDeskIconInfo[i]])
  1134. }, _frag); //
  1135. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1136. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1137. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1138. }
  1139. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1140. for (i = 0; i < _studentDesktopIconInfo.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. }, [_studentDesktopIconInfo[i]]),
  1147. "onclick": U.UF.C.closure(function(obj) {
  1148. //防止拖动图标即打开了桌面应用
  1149. U.MD.D.click(this, obj);
  1150. }, [_studentDesktopIconInfo[i]])
  1151. }, _frag); //
  1152. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1153. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1154. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1155. }
  1156. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1157. for (i = 0; i < _tcStudentDeskIconInfo.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. }, [_tcStudentDeskIconInfo[i]]),
  1164. "onclick": U.UF.C.closure(function(obj) {
  1165. //防止拖动图标即打开了桌面应用
  1166. U.MD.D.click(this, obj);
  1167. }, [_tcStudentDeskIconInfo[i]])
  1168. }, _frag); //
  1169. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1170. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1171. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1172. }
  1173. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1174. for (i = 0; i < _szscStudentDeskIconInfo.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. }, [_szscStudentDeskIconInfo[i]]),
  1181. "onclick": U.UF.C.closure(function(obj) {
  1182. //防止拖动图标即打开了桌面应用
  1183. U.MD.D.click(this, obj);
  1184. }, [_szscStudentDeskIconInfo[i]])
  1185. }, _frag); //
  1186. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1187. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1188. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1189. }
  1190. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1191. for (i = 0; i < _studentDesktopIconInfo3.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. }, [_studentDesktopIconInfo3[i]]),
  1198. "onclick": U.UF.C.closure(function(obj) {
  1199. //防止拖动图标即打开了桌面应用
  1200. U.MD.D.click(this, obj);
  1201. }, [_studentDesktopIconInfo3[i]])
  1202. }, _frag); //
  1203. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1204. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1205. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1206. }
  1207. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1208. for (i = 0; i < _studentDesktopIconInfo2.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. }, [_studentDesktopIconInfo2[i]]),
  1215. "onclick": U.UF.C.closure(function(obj) {
  1216. //防止拖动图标即打开了桌面应用
  1217. U.MD.D.click(this, obj);
  1218. }, [_studentDesktopIconInfo2[i]])
  1219. }, _frag); //
  1220. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1221. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1222. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1223. }
  1224. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1225. for (i = 0; i < _wanketeacherDesktopIconInfo.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. }, [_wanketeacherDesktopIconInfo[i]]),
  1232. "onclick": U.UF.C.closure(function(obj) {
  1233. //防止拖动图标即打开了桌面应用
  1234. U.MD.D.click(this, obj);
  1235. }, [_wanketeacherDesktopIconInfo[i]])
  1236. }, _frag); //
  1237. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1238. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1239. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1240. }
  1241. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1242. for (i = 0; i < _wankeAdminDesktopIconInfo.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. }, [_wankeAdminDesktopIconInfo[i]]),
  1249. "onclick": U.UF.C.closure(function(obj) {
  1250. //防止拖动图标即打开了桌面应用
  1251. U.MD.D.click(this, obj);
  1252. }, [_wankeAdminDesktopIconInfo[i]])
  1253. }, _frag); //
  1254. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1255. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1256. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1257. }
  1258. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1259. for (i = 0; i < _teacherDesktopIconInfo2.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. }, [_teacherDesktopIconInfo2[i]]),
  1266. "onclick": U.UF.C.closure(function(obj) {
  1267. //防止拖动图标即打开了桌面应用
  1268. U.MD.D.click(this, obj);
  1269. }, [_teacherDesktopIconInfo2[i]])
  1270. }, _frag); //
  1271. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1272. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1273. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1274. }
  1275. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1276. for (i = 0; i < _lotechTeacherDeskIconInfo.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. }, [_lotechTeacherDeskIconInfo[i]]),
  1283. "onclick": U.UF.C.closure(function(obj) {
  1284. //防止拖动图标即打开了桌面应用
  1285. U.MD.D.click(this, obj);
  1286. }, [_lotechTeacherDeskIconInfo[i]])
  1287. }, _frag); //
  1288. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1289. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1290. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1291. }
  1292. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1293. for (i = 0; i < _siesTeacherDeskIconInfo.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. }, [_siesTeacherDeskIconInfo[i]]),
  1300. "onclick": U.UF.C.closure(function(obj) {
  1301. //防止拖动图标即打开了桌面应用
  1302. U.MD.D.click(this, obj);
  1303. }, [_siesTeacherDeskIconInfo[i]])
  1304. }, _frag); //
  1305. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1306. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1307. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1308. }
  1309. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1310. for (i = 0; i < _longhuaTeacherDeskIconInfo.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. }, [_longhuaTeacherDeskIconInfo[i]]),
  1317. "onclick": U.UF.C.closure(function(obj) {
  1318. //防止拖动图标即打开了桌面应用
  1319. U.MD.D.click(this, obj);
  1320. }, [_longhuaTeacherDeskIconInfo[i]])
  1321. }, _frag); //
  1322. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1323. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1324. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1325. }
  1326. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1327. for (i = 0; i < _yunhaiTeacherDeskIconInfo.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. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1334. "onclick": U.UF.C.closure(function(obj) {
  1335. //防止拖动图标即打开了桌面应用
  1336. U.MD.D.click(this, obj);
  1337. }, [_yunhaiTeacherDeskIconInfo[i]])
  1338. }, _frag); //
  1339. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1340. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1341. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1342. } //_hkStudentDeskIconInfo
  1343. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1344. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.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. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1351. "onclick": U.UF.C.closure(function(obj) {
  1352. //防止拖动图标即打开了桌面应用
  1353. U.MD.D.click(this, obj);
  1354. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1355. }, _frag); //
  1356. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1357. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1358. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1359. }
  1360. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1361. for (i = 0; i < _hkTeacherDeskIconInfo.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. }, [_hkTeacherDeskIconInfo[i]]),
  1368. "onclick": U.UF.C.closure(function(obj) {
  1369. //防止拖动图标即打开了桌面应用
  1370. U.MD.D.click(this, obj);
  1371. }, [_hkTeacherDeskIconInfo[i]])
  1372. }, _frag); //
  1373. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1374. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1375. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1376. }
  1377. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1378. for (i = 0; i < _gdjgAdminDeskIconInfo.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. }, [_gdjgAdminDeskIconInfo[i]]),
  1385. "onclick": U.UF.C.closure(function(obj) {
  1386. //防止拖动图标即打开了桌面应用
  1387. U.MD.D.click(this, obj);
  1388. }, [_gdjgAdminDeskIconInfo[i]])
  1389. }, _frag); //
  1390. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1391. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1392. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1393. }
  1394. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1395. for (i = 0; i < _gdjgTeacherDeskIconInfo.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. }, [_gdjgTeacherDeskIconInfo[i]]),
  1402. "onclick": U.UF.C.closure(function(obj) {
  1403. //防止拖动图标即打开了桌面应用
  1404. U.MD.D.click(this, obj);
  1405. }, [_gdjgTeacherDeskIconInfo[i]])
  1406. }, _frag); //
  1407. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1408. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1409. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1410. }
  1411. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1412. for (i = 0; i < _szherTeacherDeskIconInfo.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. }, [_szherTeacherDeskIconInfo[i]]),
  1419. "onclick": U.UF.C.closure(function(obj) {
  1420. //防止拖动图标即打开了桌面应用
  1421. U.MD.D.click(this, obj);
  1422. }, [_szherTeacherDeskIconInfo[i]])
  1423. }, _frag); //
  1424. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1425. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1426. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1427. }
  1428. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1429. for (i = 0; i < _heyuannAdminDeskIconInfo.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. }, [_heyuannAdminDeskIconInfo[i]]),
  1436. "onclick": U.UF.C.closure(function(obj) {
  1437. //防止拖动图标即打开了桌面应用
  1438. U.MD.D.click(this, obj);
  1439. }, [_heyuannAdminDeskIconInfo[i]])
  1440. }, _frag); //
  1441. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1442. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1443. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1444. }
  1445. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1446. for (i = 0; i < _heyuanTeacherDeskIconInfo.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. }, [_heyuanTeacherDeskIconInfo[i]]),
  1453. "onclick": U.UF.C.closure(function(obj) {
  1454. //防止拖动图标即打开了桌面应用
  1455. U.MD.D.click(this, obj);
  1456. }, [_heyuanTeacherDeskIconInfo[i]])
  1457. }, _frag); //
  1458. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1459. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1460. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1461. } //
  1462. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1463. for (i = 0; i < _dseiAdminDeskIconInfo.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. }, [_dseiAdminDeskIconInfo[i]]),
  1470. "onclick": U.UF.C.closure(function(obj) {
  1471. //防止拖动图标即打开了桌面应用
  1472. U.MD.D.click(this, obj);
  1473. }, [_dseiAdminDeskIconInfo[i]])
  1474. }, _frag); //
  1475. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1476. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1477. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1478. }
  1479. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1480. for (i = 0; i < _dseiTeacherDeskIconInfo.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. }, [_dseiTeacherDeskIconInfo[i]]),
  1487. "onclick": U.UF.C.closure(function(obj) {
  1488. //防止拖动图标即打开了桌面应用
  1489. U.MD.D.click(this, obj);
  1490. }, [_dseiTeacherDeskIconInfo[i]])
  1491. }, _frag); //
  1492. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1493. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1494. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1495. } //
  1496. }else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1497. for (i = 0; i < _chjyjAdminDeskIconInfo.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. }, [_chjyjAdminDeskIconInfo[i]]),
  1504. "onclick": U.UF.C.closure(function(obj) {
  1505. //防止拖动图标即打开了桌面应用
  1506. U.MD.D.click(this, obj);
  1507. }, [_chjyjAdminDeskIconInfo[i]])
  1508. }, _frag); //
  1509. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1510. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1511. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1512. }//
  1513. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1514. for (i = 0; i < _chjyjTeacherDeskIconInfo.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. }, [_chjyjTeacherDeskIconInfo[i]]),
  1521. "onclick": U.UF.C.closure(function(obj) {
  1522. //防止拖动图标即打开了桌面应用
  1523. U.MD.D.click(this, obj);
  1524. }, [_chjyjTeacherDeskIconInfo[i]])
  1525. }, _frag); //
  1526. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1527. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1528. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1529. }
  1530. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1531. for (i = 0; i < _szjkyAdminDeskIconInfo.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. }, [_szjkyAdminDeskIconInfo[i]]),
  1538. "onclick": U.UF.C.closure(function(obj) {
  1539. //防止拖动图标即打开了桌面应用
  1540. U.MD.D.click(this, obj);
  1541. }, [_szjkyAdminDeskIconInfo[i]])
  1542. }, _frag); //
  1543. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1544. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1545. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1546. }//
  1547. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1548. for (i = 0; i < _szjkyTeacherDeskIconInfo.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. }, [_szjkyTeacherDeskIconInfo[i]]),
  1555. "onclick": U.UF.C.closure(function(obj) {
  1556. //防止拖动图标即打开了桌面应用
  1557. U.MD.D.click(this, obj);
  1558. }, [_szjkyTeacherDeskIconInfo[i]])
  1559. }, _frag); //
  1560. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1561. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1562. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1563. }
  1564. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1565. for (i = 0; i < _futianAdminDeskIconInfo.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. }, [_futianAdminDeskIconInfo[i]]),
  1572. "onclick": U.UF.C.closure(function(obj) {
  1573. //防止拖动图标即打开了桌面应用
  1574. U.MD.D.click(this, obj);
  1575. }, [_futianAdminDeskIconInfo[i]])
  1576. }, _frag); //
  1577. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1578. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1579. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1580. }
  1581. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1582. for (i = 0; i < _futianTeacherDeskIconInfo.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. }, [_futianTeacherDeskIconInfo[i]]),
  1589. "onclick": U.UF.C.closure(function(obj) {
  1590. //防止拖动图标即打开了桌面应用
  1591. U.MD.D.click(this, obj);
  1592. }, [_futianTeacherDeskIconInfo[i]])
  1593. }, _frag); //
  1594. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1595. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1596. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1597. }
  1598. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1599. for (i = 0; i < _MingdeTeacherDeskIcon.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. }, [_MingdeTeacherDeskIcon[i]]),
  1606. "onclick": U.UF.C.closure(function(obj) {
  1607. //防止拖动图标即打开了桌面应用
  1608. U.MD.D.click(this, obj);
  1609. }, [_MingdeTeacherDeskIcon[i]])
  1610. }, _frag); //
  1611. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1612. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1613. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1614. }
  1615. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1616. for (i = 0; i < _lhsAdminDesktopIconInfo.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. }, [_lhsAdminDesktopIconInfo[i]]),
  1623. "onclick": U.UF.C.closure(function(obj) {
  1624. //防止拖动图标即打开了桌面应用
  1625. U.MD.D.click(this, obj);
  1626. }, [_lhsAdminDesktopIconInfo[i]])
  1627. }, _frag); //
  1628. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1629. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1630. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1631. }
  1632. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1633. for (i = 0; i < _lhsteacherDesktopIconInfo.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. }, [_lhsteacherDesktopIconInfo[i]]),
  1640. "onclick": U.UF.C.closure(function(obj) {
  1641. //防止拖动图标即打开了桌面应用
  1642. U.MD.D.click(this, obj);
  1643. }, [_lhsteacherDesktopIconInfo[i]])
  1644. }, _frag); //
  1645. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1646. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1647. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1648. }
  1649. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1650. for (i = 0; i < _zhoujiateacherDesktopIconInfo.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. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1657. "onclick": U.UF.C.closure(function(obj) {
  1658. //防止拖动图标即打开了桌面应用
  1659. U.MD.D.click(this, obj);
  1660. }, [_zhoujiateacherDesktopIconInfo[i]])
  1661. }, _frag); //
  1662. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1663. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1664. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1665. }
  1666. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1667. for (i = 0; i < _hanDeskIcon.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. }, [_hanDeskIcon[i]]),
  1674. "onclick": U.UF.C.closure(function(obj) {
  1675. //防止拖动图标即打开了桌面应用
  1676. U.MD.D.click(this, obj);
  1677. }, [_hanDeskIcon[i]])
  1678. }, _frag); //
  1679. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1680. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1681. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1682. }
  1683. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1684. for (i = 0; i < _orgStemDeskIcon.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. }, [_orgStemDeskIcon[i]]),
  1691. "onclick": U.UF.C.closure(function(obj) {
  1692. //防止拖动图标即打开了桌面应用
  1693. U.MD.D.click(this, obj);
  1694. }, [_orgStemDeskIcon[i]])
  1695. }, _frag); //
  1696. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1697. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1698. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1699. }
  1700. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1701. for (i = 0; i < _szulsDeskIcon.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. }, [_szulsDeskIcon[i]]),
  1708. "onclick": U.UF.C.closure(function(obj) {
  1709. //防止拖动图标即打开了桌面应用
  1710. U.MD.D.click(this, obj);
  1711. }, [_szulsDeskIcon[i]])
  1712. }, _frag); //
  1713. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1714. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1715. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1716. }
  1717. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1718. for (i = 0; i < _orgDesktopIconInfo.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. }, [_orgDesktopIconInfo[i]]),
  1725. "onclick": U.UF.C.closure(function(obj) {
  1726. //防止拖动图标即打开了桌面应用
  1727. U.MD.D.click(this, obj);
  1728. }, [_orgDesktopIconInfo[i]])
  1729. }, _frag); //
  1730. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1731. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1732. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1733. }
  1734. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1735. for (i = 0; i < _schoolDesktopIconInfo.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. }, [_schoolDesktopIconInfo[i]]),
  1742. "onclick": U.UF.C.closure(function(obj) {
  1743. //防止拖动图标即打开了桌面应用
  1744. U.MD.D.click(this, obj);
  1745. }, [_schoolDesktopIconInfo[i]])
  1746. }, _frag); //
  1747. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1748. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1749. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1750. }
  1751. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1752. for (i = 0; i < _GMteacherDesktopIconInfo.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. }, [_GMteacherDesktopIconInfo[i]]),
  1759. "onclick": U.UF.C.closure(function(obj) {
  1760. //防止拖动图标即打开了桌面应用
  1761. U.MD.D.click(this, obj);
  1762. }, [_GMteacherDesktopIconInfo[i]])
  1763. }, _frag); //
  1764. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1765. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1766. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1767. }
  1768. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1769. for (i = 0; i < _SONGteacherDesktopIconInfo.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. }, [_SONGteacherDesktopIconInfo[i]]),
  1776. "onclick": U.UF.C.closure(function(obj) {
  1777. //防止拖动图标即打开了桌面应用
  1778. U.MD.D.click(this, obj);
  1779. }, [_SONGteacherDesktopIconInfo[i]])
  1780. }, _frag); //
  1781. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1782. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1783. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1784. }
  1785. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1786. for (i = 0; i < _GMstudentDesktopIconInfo.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. }, [_GMstudentDesktopIconInfo[i]]),
  1793. "onclick": U.UF.C.closure(function(obj) {
  1794. //防止拖动图标即打开了桌面应用
  1795. U.MD.D.click(this, obj);
  1796. }, [_GMstudentDesktopIconInfo[i]])
  1797. }, _frag); //
  1798. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1799. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1800. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1801. }
  1802. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1803. for (i = 0; i < _tcTeacherDeskIconInfo.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. }, [_tcTeacherDeskIconInfo[i]]),
  1810. "onclick": U.UF.C.closure(function(obj) {
  1811. //防止拖动图标即打开了桌面应用
  1812. U.MD.D.click(this, obj);
  1813. }, [_tcTeacherDeskIconInfo[i]])
  1814. }, _frag); //
  1815. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1816. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1817. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1818. }
  1819. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1820. for (i = 0; i < _tcOrganizerDeskIconInfo.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. }, [_tcOrganizerDeskIconInfo[i]]),
  1827. "onclick": U.UF.C.closure(function(obj) {
  1828. //防止拖动图标即打开了桌面应用
  1829. U.MD.D.click(this, obj);
  1830. }, [_tcOrganizerDeskIconInfo[i]])
  1831. }, _frag); //
  1832. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1833. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1834. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1835. }
  1836. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  1837. for (i = 0; i < _szscTeacherDeskIconInfo.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. }, [_szscTeacherDeskIconInfo[i]]),
  1844. "onclick": U.UF.C.closure(function(obj) {
  1845. //防止拖动图标即打开了桌面应用
  1846. U.MD.D.click(this, obj);
  1847. }, [_szscTeacherDeskIconInfo[i]])
  1848. }, _frag); //
  1849. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1850. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  1851. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  1852. }
  1853. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  1854. for (i = 0; i < _szscOrganizerDeskIconInfo.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. }, [_szscOrganizerDeskIconInfo[i]]),
  1861. "onclick": U.UF.C.closure(function(obj) {
  1862. //防止拖动图标即打开了桌面应用
  1863. U.MD.D.click(this, obj);
  1864. }, [_szscOrganizerDeskIconInfo[i]])
  1865. }, _frag); //
  1866. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1867. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  1868. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1869. }
  1870. } else {
  1871. for (i = 0; i < _teacherDesktopIconInfo.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. }, [_teacherDesktopIconInfo[i]]),
  1878. "onclick": U.UF.C.closure(function(obj) {
  1879. //防止拖动图标即打开了桌面应用
  1880. U.MD.D.click(this, obj);
  1881. }, [_teacherDesktopIconInfo[i]])
  1882. }, _frag); //
  1883. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1884. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  1885. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  1886. }
  1887. }
  1888. } else {
  1889. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  1890. _content = $$("div", {
  1891. className: "U_MD_D_KO",
  1892. style: { 'width': '124px', 'height': '145px' },
  1893. "onmousedown": U.UF.C.closure(function(obj) {
  1894. //防止拖动图标即打开了桌面应用
  1895. U.MD.D.click(this, obj);
  1896. }, [_easyDesktopIconInfo[i]]),
  1897. "onclick": U.UF.C.closure(function(obj) {
  1898. //防止拖动图标即打开了桌面应用
  1899. U.MD.D.click(this, obj);
  1900. }, [_easyDesktopIconInfo[i]])
  1901. }, _frag); //
  1902. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  1903. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  1904. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  1905. }
  1906. }
  1907. if (type == 1) {
  1908. //加载好后给图标定位
  1909. U.MD.D.iconPostion($(_frag).Child());
  1910. } else {
  1911. //加载好后给图标定位
  1912. U.MD.D.iconPostion2($(_frag).Child());
  1913. }
  1914. //把图标加载到页面
  1915. el.appendChild(_frag);
  1916. }
  1917. /**
  1918. * 显示任务栏
  1919. *
  1920. * @param {element} 桌面元素
  1921. */
  1922. U.MD.D.I.displayTaskbar = function(el) {
  1923. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  1924. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  1925. //任务栏位置变化
  1926. U.selectEl(el).css({ "bottom": "0px" });
  1927. //桌面位置变话
  1928. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  1929. }
  1930. }
  1931. //#region 桌面图标拖动逻辑
  1932. /**
  1933. * 桌面排列图标
  1934. *
  1935. * @param {element} 桌面元素
  1936. * @param {object} 上下相距的距离
  1937. * @param {object} 左右相距的距离
  1938. * @return {object} 命名空间
  1939. */
  1940. U.MD.D.iconPostion = function(childs, top, left) {
  1941. var i; //用于循环处理
  1942. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  1943. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  1944. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1945. for (i = 0; i < childs.length; i++) {
  1946. //如果竖排top超过了范围处理
  1947. if (top + 95 > US.height - 10) {
  1948. //left超过了页面范围处理,则向上重叠打印处理
  1949. if ((left + 180) > US.width) {
  1950. top -= 110;
  1951. left -= 90;
  1952. }
  1953. //没有超过范围,那么left+90添加到下一个竖排打印
  1954. else {
  1955. left += 90;
  1956. top = 15;
  1957. };
  1958. }
  1959. //给图标的位置赋值
  1960. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  1961. if (i < childs.length - 1) {
  1962. //页面图标每次向下加95
  1963. top += 95;
  1964. }
  1965. }
  1966. //返回最后调用的图标的位置
  1967. return [top, left];
  1968. }
  1969. /**
  1970. * 桌面排列图标
  1971. *
  1972. * @param {element} 桌面元素
  1973. * @param {object} 上下相距的距离
  1974. * @param {object} 左右相距的距离
  1975. * @return {object} 命名空间
  1976. */
  1977. U.MD.D.iconPostion2 = function(childs, top, left) {
  1978. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  1979. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  1980. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  1981. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1982. for (i = 0; i < childs.length; i++) {
  1983. //如果竖排top超过了范围处理
  1984. if (left + 150 > US.width - 10) {
  1985. //left超过了页面范围处理,则向上重叠打印处理
  1986. if ((top + 180) > US.Height) {
  1987. top -= 150;
  1988. left -= 150;
  1989. }
  1990. //没有超过范围,那么left+90添加到下一个竖排打印
  1991. else {
  1992. top += 150;
  1993. left = ol;
  1994. };
  1995. }
  1996. //给图标的位置赋值
  1997. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  1998. if (i < childs.length - 1) {
  1999. //页面图标每次向下加95
  2000. left += 150;
  2001. }
  2002. }
  2003. //返回最后调用的图标的位置
  2004. return [top, left];
  2005. }
  2006. /**
  2007. * 桌面点击事件逻辑
  2008. *
  2009. * @param {element} 桌面元素
  2010. * @param {object} 上下相距的距离
  2011. * @param {object} 左右相距的距离
  2012. * @return {object} 命名空间
  2013. */
  2014. U.MD.D.click = function(el, obj) {
  2015. var _buttonnumber = event.button; //点击的按钮的事件值
  2016. var _userinfo = US.userInfo;
  2017. U.UF.EV.stopBubble(); //阻止向上冒泡
  2018. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2019. if (_buttonnumber < 2) {
  2020. //如果是click事件的处理
  2021. if (event.type == "click") {
  2022. //如果元素在mousemove事件中没有移动则出发click事件
  2023. if (!U.MD.D.I.IsDrag) {
  2024. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2025. U.alert("请先登录您的账号!");
  2026. setTimeout(() => {
  2027. U.MD.U.L.login();
  2028. }, 2000);
  2029. } else {
  2030. //打开应用处理
  2031. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2032. }
  2033. }
  2034. }
  2035. //如果是mouse事件的处理
  2036. else {
  2037. if (US.Config.type == '1') {
  2038. //拖动处理,添加拖动和拖动结束事件
  2039. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2040. }
  2041. }
  2042. U.MD.D.I.IsDrag = false;
  2043. }
  2044. }
  2045. /**
  2046. * 拖动的处理
  2047. *
  2048. */
  2049. U.MD.D.iconMove = function() {
  2050. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2051. U.MD.D.I.IsDrag = true;
  2052. }
  2053. /**
  2054. * 拖动结束后,这里是定位处理,以网状的形式定位
  2055. *
  2056. * @param {element} 拖动的元素
  2057. * @return {object} 命名空间
  2058. */
  2059. U.MD.D.iconUp = function(el) {
  2060. var _top = 15,
  2061. _left = 20,
  2062. _margin,
  2063. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2064. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2065. if (_positioninfo["OT"] > 15) {
  2066. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2067. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2068. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2069. }
  2070. if (_positioninfo["OL"] > 20) {
  2071. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2072. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2073. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2074. }
  2075. //while循环判断么一个重叠的元素
  2076. do {
  2077. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2078. _top = _positioninfo[0] + 95; //得到定位后的top
  2079. _left = _positioninfo[1]; //得到定位后的left
  2080. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2081. }
  2082. /**
  2083. * 判断拖动后图标是否重叠
  2084. *
  2085. * @param {element} 拖动的元素
  2086. * @param {element} 桌面所有的元素
  2087. * @param {array} 拖动元素的位置
  2088. ----------[0] 上 top
  2089. ----------[1] 左 left
  2090. * @return {object} 命名空间
  2091. */
  2092. U.MD.D.isOverlap = function(el, childs, postionarray) {
  2093. //循环所有的图标
  2094. for (var i = 0; i < childs.length; i++) {
  2095. //判断有没有和该图标诶子重叠的元素
  2096. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2097. return childs[i]; //如果有返回
  2098. }
  2099. }
  2100. }
  2101. //#endregion
  2102. //#endregion
  2103. //#region 桌面应用
  2104. /**
  2105. * 打开应用
  2106. *
  2107. * @param {string} 类型
  2108. -----------------Disk 网盘系统
  2109. -----------------PDisk 学习系统网盘
  2110. -----------------Poto 图片
  2111. -----------------Video 视频
  2112. -----------------Music 音乐
  2113. -----------------Word word
  2114. -----------------Excel excel
  2115. -----------------Txt 记事本
  2116. -----------------PB 学习系统
  2117. -----------------Blog 朋友圈系统
  2118. -----------------FTP ftp系统
  2119. -----------------Group 好友群
  2120. -----------------SY 首页系统
  2121. -----------------Set 个人设置
  2122. -----------------XSet 系统设置
  2123. -----------------App 我们所有的app
  2124. -----------------BC c.1473.cn 平台
  2125. -----------------CWeb d.1473.cn 变成平台
  2126. -----------------其他的外联系统 我们统一用iframe打开
  2127. * @param {array} 类型
  2128. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2129. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2130. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2131. 如果第一个参数为其他,则无第二个参数
  2132. * @returns {array}
  2133. */
  2134. window.addEventListener('message', function(e) { // 监听 message 事件
  2135. // alert(e.data.type);
  2136. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2137. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2138. //3是展示全部阶段 2学生 1老师 4专家
  2139. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2140. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2141. //3是展示全部阶段 2学生 1老师 4专家
  2142. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2143. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2144. //3是展示全部阶段 2学生 1老师 4专家
  2145. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2146. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2147. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2148. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2149. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2150. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2151. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2152. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2153. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2154. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2155. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2156. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2157. //3是展示全部阶段 2学生 1老师 4专家
  2158. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2159. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2160. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2161. U.MD.D.I.selectUser();
  2162. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2163. var _formel = document.getElementById("study");
  2164. U.UF.F.windowZooming(_formel);
  2165. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2166. var _formel = document.getElementById("studyDetail");
  2167. U.UF.F.windowZooming(_formel);
  2168. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2169. var _formel = document.getElementById("studyDetail");
  2170. U.UF.F.windowZooming(_formel);
  2171. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2172. var _formel = document.getElementById("studentStudy");
  2173. U.UF.F.windowZooming(_formel);
  2174. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2175. // var _formel = document.getElementById("study");
  2176. //如果最大化了,那么就把他缩小
  2177. // if (_formel.ismaximize) {
  2178. // return;
  2179. // }
  2180. // U.UF.F.windowZooming(_formel);
  2181. // U.UF.F.topWindow(_formel);
  2182. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2183. // var _formel = document.getElementById("studyDetail");
  2184. //如果最大化了,那么就把他缩小
  2185. // if (_formel.ismaximize) {
  2186. // return;
  2187. // }
  2188. // U.UF.F.windowZooming(_formel);
  2189. // U.UF.F.topWindow(_formel);
  2190. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2191. // var _formel = document.getElementById("studentStudy");
  2192. // if (_formel.ismaximize) {
  2193. // return;
  2194. // }
  2195. // U.UF.F.windowZooming(_formel);
  2196. // U.UF.F.topWindow(_formel);
  2197. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2198. var _formel = document.getElementById("study");
  2199. // if (_formel.ismaximize) {
  2200. // return;
  2201. // }
  2202. // U.UF.F.windowZooming(_formel);
  2203. U.UF.F.topWindow(_formel);
  2204. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2205. var _formel = document.getElementById("studentIndex");
  2206. U.UF.F.windowZooming(_formel);
  2207. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2208. var _formel = document.getElementById("studyDetailS");
  2209. U.UF.F.windowZooming(_formel);
  2210. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2211. var _formel = document.getElementById("studioIndex");
  2212. U.UF.F.windowZooming(_formel);
  2213. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2214. var _formel = document.getElementById("studyDetailStudio");
  2215. U.UF.F.windowZooming(_formel);
  2216. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2217. var _formel = document.getElementById("studyDetailStudio");
  2218. U.UF.F.windowZooming(_formel);
  2219. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2220. var _formel = document.getElementById("studyDetailNT");
  2221. U.UF.F.windowZooming(_formel);
  2222. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2223. var _formel = document.getElementById("studyDetailS");
  2224. U.UF.F.windowZooming(_formel);
  2225. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2226. var _formel = document.getElementById("studyDetailS");
  2227. U.UF.F.topWindow(_formel);
  2228. } else if (e.data.tools && e.data.tools == "1") {
  2229. // U.MD.D.I.openApplication("whiteboard")
  2230. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2231. } else if (e.data.tools && e.data.tools == "2") {
  2232. U.MD.D.I.openApplication("note")
  2233. } else if (e.data.tools && e.data.tools == "3") {
  2234. // U.MD.D.I.openApplication("mind")
  2235. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2236. } else if (e.data.tools && e.data.tools == "4") {
  2237. U.MD.D.I.openApplication("investigation")
  2238. } else if (e.data.tools && e.data.tools == "6") {
  2239. // U.MD.D.I.openApplication("doc")
  2240. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2241. } else if (e.data.tools && e.data.tools == "7") {
  2242. // U.MD.D.I.openApplication("mindNetwork")
  2243. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2244. } else if (e.data.tools && e.data.tools == "8") {
  2245. U.MD.D.I.openApplication("library")
  2246. } else if (e.data.tools && e.data.tools == "17") {
  2247. U.MD.D.I.openApplication("stuLibrary")
  2248. } else if (e.data.tools && e.data.tools == "18") {
  2249. U.MD.D.I.openApplication("train")
  2250. } else if (e.data.tools && e.data.tools == "21") {
  2251. U.MD.D.I.openApplication("program")
  2252. } else if (e.data.tools && e.data.tools == "22") {
  2253. U.MD.D.I.openApplication("AIprogram2")
  2254. } else if (e.data.tools && e.data.tools == "23") {
  2255. U.MD.D.I.openApplication("Pythonprogram")
  2256. } else if (e.data.tools && e.data.tools == "24") {
  2257. U.MD.D.I.openApplication("AIprogram")
  2258. } else if (e.data.tools && e.data.tools == "25") {
  2259. U.MD.D.I.openApplication("sys")
  2260. } else if (e.data.tools && e.data.tools == "26") {
  2261. // U.MD.D.I.openApplication("courseDesign")
  2262. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2263. } else if (e.data.tools && e.data.tools == "31") {
  2264. U.MD.D.I.openApplication("netWorkPanel")
  2265. } else if (e.data.tools && e.data.tools == "32") {
  2266. U.MD.D.I.openApplication("codeEdit")
  2267. } else if (e.data.tools && e.data.tools == "57") {
  2268. U.MD.D.I.openApplication("CocoPi")
  2269. } else if (e.data.tools && e.data.tools == "63") {
  2270. U.MD.D.I.openApplication("Wood")
  2271. } else if (e.data.tools && e.data.tools == "58") {
  2272. U.MD.D.I.openApplication("car")
  2273. } else if (e.data.tools && e.data.tools == "59") {
  2274. U.MD.D.I.openApplication("lineSearch")
  2275. } else if (e.data.tools && e.data.tools == "60") {
  2276. U.MD.D.I.openApplication("deepLearning")
  2277. } else if (e.data.tools && e.data.tools == "61") {
  2278. U.MD.D.I.openApplication("allHistory")
  2279. } else if (e.data.tools && e.data.tools == "28") {
  2280. U.MD.D.I.openApplication("translation")
  2281. } else if (e.data.tools && e.data.tools == "37") {
  2282. U.MD.D.I.openApplication("mohe")
  2283. } else if (e.data.tools && e.data.tools == "38") {
  2284. U.MD.D.I.openApplication("24game")
  2285. } else if (e.data.tools && e.data.tools == "39") {
  2286. U.MD.D.I.openApplication("GeoGebra")
  2287. } else if (e.data.tools && e.data.tools == "43") {
  2288. U.MD.D.I.openApplication("studentEvaluate")
  2289. } else if (e.data.tools && e.data.tools == "44") {
  2290. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2291. } else if (e.data.tools && e.data.tools == "46") {
  2292. U.MD.D.I.openApplication("project")
  2293. } else if (e.data.tools && e.data.tools == "1s") {
  2294. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2295. } else if (e.data.tools && e.data.tools == "3s") {
  2296. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2297. } else if (e.data.tools && e.data.tools == "6s") {
  2298. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2299. } else if (e.data.tools && e.data.tools == "1studio") {
  2300. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2301. } else if (e.data.tools && e.data.tools == "3studio") {
  2302. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2303. } else if (e.data.tools && e.data.tools == "6studio") {
  2304. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2305. } else if (e.data.tools && e.data.tools == "3y") {
  2306. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2307. } else if (e.data.tools && e.data.tools == "1y") {
  2308. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2309. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2310. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2311. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2312. U.MD.D.I.openApplication("AIAnalyse")
  2313. } else if (e.data.tools && e.data.tools == "1teacher") {
  2314. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2315. } else if (e.data.tools && e.data.tools == "3teacher") {
  2316. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2317. } else if (e.data.tools && e.data.tools == "7teacher") {
  2318. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2319. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2320. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2321. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2322. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2323. } else if (e.data.tools && e.data.tools == "1E") {
  2324. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2325. } else if (e.data.tools && e.data.tools == "3E") {
  2326. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2327. } else if (e.data.tools && e.data.tools == "57y") {
  2328. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2329. } else if (e.data.tools && e.data.tools == "57u") {
  2330. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2331. } else if (e.data.tools && e.data.tools == "57teacher") {
  2332. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2333. } else if (e.data.tools && e.data.tools == "64") {
  2334. U.MD.D.I.openApplication("AIChat")
  2335. } else if (e.data.tools && e.data.tools == "66") {
  2336. U.MD.D.I.openApplication("formulaEdi")
  2337. } else if (e.data.tools && e.data.tools == "67") {
  2338. U.MD.D.I.openApplication("molStr")
  2339. } else if (e.data.tools && e.data.tools == "68") {
  2340. U.MD.D.I.openApplication("timeAxis")
  2341. }
  2342. });
  2343. U.MD.D.I.selectUser = function() {
  2344. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid
  2345. if (res.value[0].length > 0) {
  2346. US.userInfo = res.value[0][0];
  2347. $(".userName")[0].innerHTML = US.userInfo.username;
  2348. }
  2349. }, [], { "type": "GET", "withCredentials": true });
  2350. }
  2351. U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
  2352. var _userinfo = US.userInfo, //登录用户信息
  2353. _userid = US.userInfo.userid, //登录用户id
  2354. _oid = _userinfo.organizeid,
  2355. _type = US.userInfo.type,
  2356. _org = US.userInfo.org,
  2357. _role = US.userInfo.role,
  2358. _classId = US.userInfo.classid;
  2359. if (_type == 4) {
  2360. tType = 4
  2361. }
  2362. switch (str) {
  2363. case "studyDetailNT": //无终端模式
  2364. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2365. setTimeout(() => {
  2366. U.MD.U.L.login();
  2367. }, 2000);
  2368. } else {
  2369. _formdiv = new U.UF.UI.form(
  2370. "课程详情",
  2371. $$("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 }), {
  2372. "id": "studyDetailNT",
  2373. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2374. "onresize": function() {}
  2375. }, {
  2376. closecallback: function() {}
  2377. }, { "style": { "height": "36px" } }).form; //创建窗体
  2378. _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); } }
  2379. break;
  2380. }
  2381. case "studyDetail":
  2382. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2383. setTimeout(() => {
  2384. U.MD.U.L.login();
  2385. }, 2000);
  2386. } else {
  2387. _formdiv = new U.UF.UI.form(
  2388. "课程详情",
  2389. $$("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 }), {
  2390. "id": "studyDetail",
  2391. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2392. "onresize": function() {}
  2393. }, {
  2394. closecallback: function() {}
  2395. }, { "style": { "height": "36px" } }).form; //创建窗体
  2396. _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); } }
  2397. break;
  2398. }
  2399. case "studyDetailS":
  2400. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2401. setTimeout(() => {
  2402. U.MD.U.L.login();
  2403. }, 2000);
  2404. } else {
  2405. _formdiv = new U.UF.UI.form(
  2406. "项目详情",
  2407. $$("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 }), {
  2408. "id": "studyDetailS",
  2409. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2410. "onresize": function() {}
  2411. }, {
  2412. closecallback: function() {}
  2413. }, { "style": { "height": "36px" } }).form; //创建窗体
  2414. _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); } }
  2415. break;
  2416. }
  2417. case "studyDetailStudio":
  2418. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2419. setTimeout(() => {
  2420. U.MD.U.L.login();
  2421. }, 2000);
  2422. } else {
  2423. _formdiv = new U.UF.UI.form(
  2424. "工作详情",
  2425. $$("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 }), {
  2426. "id": "studyDetailStudio",
  2427. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2428. "onresize": function() {}
  2429. }, {
  2430. closecallback: function() {}
  2431. }, { "style": { "height": "36px" } }).form; //创建窗体
  2432. _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); } }
  2433. break;
  2434. }
  2435. case "studyDetailS5":
  2436. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2437. setTimeout(() => {
  2438. U.MD.U.L.login();
  2439. }, 2000);
  2440. } else {
  2441. _formdiv = new U.UF.UI.form(
  2442. "项目详情",
  2443. $$("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 }), {
  2444. "id": "studyDetailS",
  2445. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2446. "onresize": function() {}
  2447. }, {
  2448. closecallback: function() {}
  2449. }, { "style": { "height": "36px" } }).form; //创建窗体
  2450. _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); } }
  2451. break;
  2452. }
  2453. case "studyDetailGM":
  2454. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2455. setTimeout(() => {
  2456. U.MD.U.L.login();
  2457. }, 2000);
  2458. } else {
  2459. _formdiv = new U.UF.UI.form(
  2460. "课程详情",
  2461. $$("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 }), {
  2462. "id": "studyDetail",
  2463. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2464. "onresize": function() {}
  2465. }, {
  2466. closecallback: function() {}
  2467. }, { "style": { "height": "36px" } }).form; //创建窗体
  2468. _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); } }
  2469. break;
  2470. }
  2471. case "hanUrl":
  2472. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2473. setTimeout(() => {
  2474. U.MD.U.L.login();
  2475. }, 2000);
  2476. } else {
  2477. _formdiv = new U.UF.UI.form(
  2478. "汉字宫",
  2479. $$("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" }), {
  2480. "id": "hanUrl",
  2481. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2482. "onresize": function() {}
  2483. }, {
  2484. closecallback: function() {}
  2485. }, { "style": { "height": "36px" } }).form; //创建窗体
  2486. _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); } }
  2487. break;
  2488. }
  2489. }
  2490. }
  2491. U.MD.D.I.openApplication = function(str, obj, info) {
  2492. obj = obj || {};
  2493. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2494. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2495. _userinfo = US.userInfo, //登录用户信息
  2496. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2497. _oid = obj.organizeid || _userinfo.organizeid,
  2498. _type = US.userInfo.type,
  2499. _org = US.userInfo.org,
  2500. _role = US.userInfo.role,
  2501. _classId = US.userInfo.classid,
  2502. _TscreenType = 1
  2503. _screenType = 2,
  2504. _SscreenType = 3;
  2505. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2506. return;
  2507. }
  2508. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2509. switch (str) {
  2510. case "studnetProject": //好友打开
  2511. _formdiv = new U.UF.UI.form(
  2512. "我的项目",
  2513. $$("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 }), {
  2514. "id": "studnetProject",
  2515. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2516. "onresize": function() {}
  2517. }, {
  2518. closecallback: function() {}
  2519. }, { "style": { "height": "36px" } }).form; //创建窗体
  2520. _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); } }
  2521. break;
  2522. case "studentEvaluate": //好友打开
  2523. _formdiv = new U.UF.UI.form(
  2524. "我的评价",
  2525. $$("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 }), {
  2526. "id": "studentEvaluate",
  2527. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2528. "onresize": function() {}
  2529. }, {
  2530. closecallback: function() {}
  2531. }, { "style": { "height": "36px" } }).form; //创建窗体
  2532. _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); } }
  2533. break;
  2534. case "my":
  2535. _formdiv = new U.UF.UI.form(
  2536. "我的资料",
  2537. $$("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 }), {
  2538. "id": "my",
  2539. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2540. "onresize": function() {}
  2541. }, {
  2542. closecallback: function() {}
  2543. }, { "style": { "height": "36px" } }).form; //创建窗体
  2544. _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); } }
  2545. break;
  2546. case "program":
  2547. _formdiv = new U.UF.UI.form(
  2548. "编程平台",
  2549. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2550. "id": "program",
  2551. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2552. "onresize": function() {}
  2553. }, {
  2554. closecallback: function() {}
  2555. }, { "style": { "height": "36px" } }).form; //创建窗体
  2556. _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); } }
  2557. break;
  2558. case "library":
  2559. _formdiv = new U.UF.UI.form(
  2560. "素材库",
  2561. $$("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 }), {
  2562. "id": "library",
  2563. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2564. "onresize": function() {}
  2565. }, {
  2566. closecallback: function() {}
  2567. }, { "style": { "height": "36px" } }).form; //创建窗体
  2568. _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); } }
  2569. break;
  2570. case "whiteboard":
  2571. _formdiv = new U.UF.UI.form(
  2572. "电子白板",
  2573. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2574. "id": "whiteboard",
  2575. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2576. "onresize": function() {}
  2577. }, {
  2578. closecallback: function() {}
  2579. }, { "style": { "height": "36px" } }).form; //创建窗体
  2580. _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); } }
  2581. break;
  2582. case "investigation":
  2583. _formdiv = new U.UF.UI.form(
  2584. "问卷调查",
  2585. $$("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 }), {
  2586. "id": "investigation",
  2587. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2588. "onresize": function() {}
  2589. }, {
  2590. closecallback: function() {}
  2591. }, { "style": { "height": "36px" } }).form; //创建窗体
  2592. _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); } }
  2593. break;
  2594. case "note":
  2595. _formdiv = new U.UF.UI.form(
  2596. "便签分类",
  2597. $$("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 }), {
  2598. "id": "note",
  2599. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2600. "onresize": function() {}
  2601. }, {
  2602. closecallback: function() {}
  2603. }, { "style": { "height": "36px" } }).form; //创建窗体
  2604. _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); } }
  2605. break;
  2606. // case "score":
  2607. // _formdiv = new U.UF.UI.form(
  2608. // "量规评分",
  2609. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2610. // "id": "score",
  2611. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2612. // "onresize": function() {}
  2613. // }, {
  2614. // closecallback: function() {}
  2615. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2616. // _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); } }
  2617. // break;
  2618. case "mind":
  2619. _formdiv = new U.UF.UI.form(
  2620. "思维导图",
  2621. $$("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"
  2622. "id": "mind",
  2623. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2624. "onresize": function() {}
  2625. }, {
  2626. closecallback: function() {}
  2627. }, { "style": { "height": "36px" } }).form; //创建窗体
  2628. _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); } }
  2629. break;
  2630. case "doc":
  2631. // U.MD.D.I.isRoom();
  2632. _formdiv = new U.UF.UI.form(
  2633. "协同文档",
  2634. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2635. "id": "doc",
  2636. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2637. "onresize": function() {}
  2638. }, {
  2639. closecallback: function() {}
  2640. }, { "style": { "height": "36px" } }).form; //创建窗体
  2641. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2642. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2643. // })
  2644. _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); } }
  2645. break;
  2646. case "studentStudy":
  2647. _formdiv = new U.UF.UI.form(
  2648. "课程中心",
  2649. $$("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
  2650. "id": "studentStudy",
  2651. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2652. "onresize": function() {}
  2653. }, {
  2654. closecallback: function() {}
  2655. }, { "style": { "height": "36px" } }).form; //创建窗体
  2656. _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); } }
  2657. break;
  2658. case "train": //好友打开
  2659. _formdiv = new U.UF.UI.form(
  2660. "训练平台",
  2661. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2662. "id": "train",
  2663. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2664. "onresize": function() {}
  2665. }, {
  2666. closecallback: function() {}
  2667. }, { "style": { "height": "36px" } }).form; //创建窗体
  2668. _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); } }
  2669. break;
  2670. case "mindNetwork": //好友打开
  2671. _formdiv = new U.UF.UI.form(
  2672. "思维网格",
  2673. $$("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 }), {
  2674. "id": "mindNetwork",
  2675. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2676. "onresize": function() {}
  2677. }, {
  2678. closecallback: function() {}
  2679. }, { "style": { "height": "36px" } }).form; //创建窗体
  2680. _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); } }
  2681. break;
  2682. case "studentClassRoom": //好友打开
  2683. _formdiv = new U.UF.UI.form(
  2684. "实时课堂",
  2685. $$("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 }), {
  2686. "id": "studentClassRoom",
  2687. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2688. "onresize": function() {}
  2689. }, {
  2690. closecallback: function() {}
  2691. }, { "style": { "height": "36px" } }).form; //创建窗体
  2692. _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); } }
  2693. setTimeout(() => {
  2694. U.UF.F.windowZooming(_formdiv)
  2695. }, 0);
  2696. break;
  2697. }
  2698. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2699. switch (str) {
  2700. case "studnetProject": //好友打开
  2701. _formdiv = new U.UF.UI.form(
  2702. "我的项目",
  2703. $$("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 }), {
  2704. "id": "studnetProject",
  2705. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2706. "onresize": function() {}
  2707. }, {
  2708. closecallback: function() {}
  2709. }, { "style": { "height": "36px" } }).form; //创建窗体
  2710. _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); } }
  2711. break;
  2712. case "studentEvaluate": //好友打开
  2713. _formdiv = new U.UF.UI.form(
  2714. "我的评价",
  2715. $$("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 }), {
  2716. "id": "studentEvaluate",
  2717. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2718. "onresize": function() {}
  2719. }, {
  2720. closecallback: function() {}
  2721. }, { "style": { "height": "36px" } }).form; //创建窗体
  2722. _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); } }
  2723. break;
  2724. case "my":
  2725. _formdiv = new U.UF.UI.form(
  2726. "我的资料",
  2727. $$("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 }), {
  2728. "id": "my",
  2729. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2730. "onresize": function() {}
  2731. }, {
  2732. closecallback: function() {}
  2733. }, { "style": { "height": "36px" } }).form; //创建窗体
  2734. _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); } }
  2735. break;
  2736. case "program":
  2737. _formdiv = new U.UF.UI.form(
  2738. "编程平台",
  2739. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2740. "id": "program",
  2741. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2742. "onresize": function() {}
  2743. }, {
  2744. closecallback: function() {}
  2745. }, { "style": { "height": "36px" } }).form; //创建窗体
  2746. _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); } }
  2747. break;
  2748. case "library":
  2749. _formdiv = new U.UF.UI.form(
  2750. "素材库",
  2751. $$("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 }), {
  2752. "id": "library",
  2753. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2754. "onresize": function() {}
  2755. }, {
  2756. closecallback: function() {}
  2757. }, { "style": { "height": "36px" } }).form; //创建窗体
  2758. _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); } }
  2759. break;
  2760. case "whiteboard":
  2761. _formdiv = new U.UF.UI.form(
  2762. "电子白板",
  2763. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2764. "id": "whiteboard",
  2765. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2766. "onresize": function() {}
  2767. }, {
  2768. closecallback: function() {}
  2769. }, { "style": { "height": "36px" } }).form; //创建窗体
  2770. _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); } }
  2771. break;
  2772. case "investigation":
  2773. _formdiv = new U.UF.UI.form(
  2774. "问卷调查",
  2775. $$("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 }), {
  2776. "id": "investigation",
  2777. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2778. "onresize": function() {}
  2779. }, {
  2780. closecallback: function() {}
  2781. }, { "style": { "height": "36px" } }).form; //创建窗体
  2782. _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); } }
  2783. break;
  2784. case "note":
  2785. _formdiv = new U.UF.UI.form(
  2786. "便签分类",
  2787. $$("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 }), {
  2788. "id": "note",
  2789. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2790. "onresize": function() {}
  2791. }, {
  2792. closecallback: function() {}
  2793. }, { "style": { "height": "36px" } }).form; //创建窗体
  2794. _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); } }
  2795. break;
  2796. // case "score":
  2797. // _formdiv = new U.UF.UI.form(
  2798. // "量规评分",
  2799. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2800. // "id": "score",
  2801. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2802. // "onresize": function() {}
  2803. // }, {
  2804. // closecallback: function() {}
  2805. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2806. // _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); } }
  2807. // break;
  2808. case "mind":
  2809. _formdiv = new U.UF.UI.form(
  2810. "思维导图",
  2811. $$("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"
  2812. "id": "mind",
  2813. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2814. "onresize": function() {}
  2815. }, {
  2816. closecallback: function() {}
  2817. }, { "style": { "height": "36px" } }).form; //创建窗体
  2818. _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); } }
  2819. break;
  2820. case "doc":
  2821. // U.MD.D.I.isRoom();
  2822. _formdiv = new U.UF.UI.form(
  2823. "协同文档",
  2824. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  2825. "id": "doc",
  2826. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2827. "onresize": function() {}
  2828. }, {
  2829. closecallback: function() {}
  2830. }, { "style": { "height": "36px" } }).form; //创建窗体
  2831. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  2832. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2833. })
  2834. _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); } }
  2835. break;
  2836. case "train": //好友打开
  2837. _formdiv = new U.UF.UI.form(
  2838. "训练平台",
  2839. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2840. "id": "train",
  2841. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2842. "onresize": function() {}
  2843. }, {
  2844. closecallback: function() {}
  2845. }, { "style": { "height": "36px" } }).form; //创建窗体
  2846. _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); } }
  2847. break;
  2848. case "studentStudy":
  2849. _formdiv = new U.UF.UI.form(
  2850. "课程中心",
  2851. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": 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
  2852. "id": "studentStudy",
  2853. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2854. "onresize": function() {}
  2855. }, {
  2856. closecallback: function() {}
  2857. }, { "style": { "height": "36px" } }).form; //创建窗体
  2858. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2859. break;
  2860. case "mindNetwork": //好友打开
  2861. _formdiv = new U.UF.UI.form(
  2862. "思维网格",
  2863. $$("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 }), {
  2864. "id": "mindNetwork",
  2865. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2866. "onresize": function() {}
  2867. }, {
  2868. closecallback: function() {}
  2869. }, { "style": { "height": "36px" } }).form; //创建窗体
  2870. _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); } }
  2871. break;
  2872. case "studentClassRoom": //好友打开
  2873. _formdiv = new U.UF.UI.form(
  2874. "实时课堂",
  2875. $$("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 }), {
  2876. "id": "studentClassRoom",
  2877. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2878. "onresize": function() {}
  2879. }, {
  2880. closecallback: function() {}
  2881. }, { "style": { "height": "36px" } }).form; //创建窗体
  2882. _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); } }
  2883. setTimeout(() => {
  2884. U.UF.F.windowZooming(_formdiv)
  2885. }, 0);
  2886. break;
  2887. }
  2888. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2889. //选择应用处理
  2890. switch (str) {
  2891. case "project": //好友打开
  2892. _formdiv = new U.UF.UI.form(
  2893. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  2894. $$("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 }), {
  2895. "id": "project",
  2896. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2897. "onresize": function() {}
  2898. }, {
  2899. closecallback: function() {}
  2900. }, { "style": { "height": "36px" } }).form; //创建窗体
  2901. _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); } }
  2902. break;
  2903. case "student":
  2904. _formdiv = new U.UF.UI.form(
  2905. "学生管理",
  2906. $$("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 }), {
  2907. "id": "student",
  2908. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2909. "onresize": function() {}
  2910. }, {
  2911. closecallback: function() {}
  2912. }, { "style": { "height": "36px" } }).form; //创建窗体
  2913. _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); } }
  2914. break;
  2915. case "evaluate":
  2916. _formdiv = new U.UF.UI.form(
  2917. "学生评价",
  2918. $$("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 }), {
  2919. "id": "evaluate",
  2920. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2921. "onresize": function() {}
  2922. }, {
  2923. closecallback: function() {}
  2924. }, { "style": { "height": "36px" } }).form; //创建窗体
  2925. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2926. break;
  2927. case "sys":
  2928. _formdiv = new U.UF.UI.form(
  2929. "目标管理",
  2930. $$("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 }), {
  2931. "id": "sys",
  2932. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2933. "onresize": function() {}
  2934. }, {
  2935. closecallback: function() {}
  2936. }, { "style": { "height": "36px" } }).form; //创建窗体
  2937. _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); } }
  2938. break;
  2939. case "courseDesign":
  2940. _formdiv = new U.UF.UI.form(
  2941. "项目设计",
  2942. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  2943. "id": "courseDesign",
  2944. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2945. "onresize": function() {}
  2946. }, {
  2947. closecallback: function() {}
  2948. }, { "style": { "height": "36px" } }).form; //创建窗体
  2949. _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); } }
  2950. break;
  2951. case "program":
  2952. _formdiv = new U.UF.UI.form(
  2953. "编程平台",
  2954. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2955. "id": "program",
  2956. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2957. "onresize": function() {}
  2958. }, {
  2959. closecallback: function() {}
  2960. }, { "style": { "height": "36px" } }).form; //创建窗体
  2961. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2962. break;
  2963. case "class":
  2964. _formdiv = new U.UF.UI.form(
  2965. "班级管理",
  2966. $$("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 }), {
  2967. "id": "class",
  2968. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2969. "onresize": function() {}
  2970. }, {
  2971. closecallback: function() {}
  2972. }, { "style": { "height": "36px" } }).form; //创建窗体
  2973. _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); } }
  2974. break;
  2975. case "Grade":
  2976. _formdiv = new U.UF.UI.form(
  2977. "年级管理",
  2978. $$("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 }), {
  2979. "id": "Grade",
  2980. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2981. "onresize": function() {}
  2982. }, {
  2983. closecallback: function() {}
  2984. }, { "style": { "height": "36px" } }).form; //创建窗体
  2985. _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); } }
  2986. break;
  2987. case "teacherOffice":
  2988. _formdiv = new U.UF.UI.form(
  2989. "教研室",
  2990. $$("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 }), {
  2991. "id": "teacherOffice",
  2992. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2993. "onresize": function() {}
  2994. }, {
  2995. closecallback: function() {}
  2996. }, { "style": { "height": "36px" } }).form; //创建窗体
  2997. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "教研室", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2998. break;
  2999. case "my":
  3000. _formdiv = new U.UF.UI.form(
  3001. "我的资料",
  3002. $$("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 }), {
  3003. "id": "my",
  3004. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3005. "onresize": function() {}
  3006. }, {
  3007. closecallback: function() {}
  3008. }, { "style": { "height": "36px" } }).form; //创建窗体
  3009. _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); } }
  3010. break;
  3011. case "notice":
  3012. _formdiv = new U.UF.UI.form(
  3013. "通知公告",
  3014. $$("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 }), {
  3015. "id": "notice",
  3016. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3017. "onresize": function() {}
  3018. }, {
  3019. closecallback: function() {}
  3020. }, { "style": { "height": "36px" } }).form; //创建窗体
  3021. _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); } }
  3022. break;
  3023. case "library":
  3024. _formdiv = new U.UF.UI.form(
  3025. "素材库",
  3026. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  3027. "id": "library",
  3028. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3029. "onresize": function() {}
  3030. }, {
  3031. closecallback: function() {}
  3032. }, { "style": { "height": "36px" } }).form; //创建窗体
  3033. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3034. break;
  3035. case "whiteboard":
  3036. _formdiv = new U.UF.UI.form(
  3037. "电子白板",
  3038. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3039. "id": "whiteboard",
  3040. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3041. "onresize": function() {}
  3042. }, {
  3043. closecallback: function() {}
  3044. }, { "style": { "height": "36px" } }).form; //创建窗体
  3045. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3046. break;
  3047. case "investigation":
  3048. _formdiv = new U.UF.UI.form(
  3049. "问卷调查",
  3050. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3051. "id": "investigation",
  3052. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3053. "onresize": function() {}
  3054. }, {
  3055. closecallback: function() {}
  3056. }, { "style": { "height": "36px" } }).form; //创建窗体
  3057. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3058. break;
  3059. case "note":
  3060. _formdiv = new U.UF.UI.form(
  3061. "便签分类",
  3062. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3063. "id": "note",
  3064. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3065. "onresize": function() {}
  3066. }, {
  3067. closecallback: function() {}
  3068. }, { "style": { "height": "36px" } }).form; //创建窗体
  3069. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3070. break;
  3071. // case "score":
  3072. // _formdiv = new U.UF.UI.form(
  3073. // "量规评分",
  3074. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3075. // "id": "score",
  3076. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3077. // "onresize": function() {}
  3078. // }, {
  3079. // closecallback: function() {}
  3080. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3081. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3082. // break;
  3083. case "mind":
  3084. _formdiv = new U.UF.UI.form(
  3085. "思维导图",
  3086. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3087. "id": "mind",
  3088. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3089. "onresize": function() {}
  3090. }, {
  3091. closecallback: function() {}
  3092. }, { "style": { "height": "36px" } }).form; //创建窗体
  3093. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3094. break;
  3095. case "doc":
  3096. // U.MD.D.I.isRoom();
  3097. _formdiv = new U.UF.UI.form(
  3098. "协同文档",
  3099. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3100. "id": "doc",
  3101. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3102. "onresize": function() {}
  3103. }, {
  3104. closecallback: function() {}
  3105. }, { "style": { "height": "36px" } }).form; //创建窗体
  3106. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3107. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3108. })
  3109. _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); } }
  3110. break;
  3111. case "study":
  3112. _formdiv = new U.UF.UI.form(
  3113. "课程中心",
  3114. $$("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
  3115. "id": "study",
  3116. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3117. "onresize": function() {}
  3118. }, {
  3119. closecallback: function() {}
  3120. }, { "style": { "height": "36px" } }).form; //创建窗体
  3121. _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); } }
  3122. break;
  3123. case "mindNetwork": //好友打开
  3124. _formdiv = new U.UF.UI.form(
  3125. "思维网格",
  3126. $$("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 }), {
  3127. "id": "mindNetwork",
  3128. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3129. "onresize": function() {}
  3130. }, {
  3131. closecallback: function() {}
  3132. }, { "style": { "height": "36px" } }).form; //创建窗体
  3133. _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); } }
  3134. break;
  3135. case "train": //好友打开
  3136. _formdiv = new U.UF.UI.form(
  3137. "训练平台",
  3138. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3139. "id": "mindNetwork",
  3140. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3141. "onresize": function() {}
  3142. }, {
  3143. closecallback: function() {}
  3144. }, { "style": { "height": "36px" } }).form; //创建窗体
  3145. _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); } }
  3146. break;
  3147. case "teacherClassRoom": //好友打开
  3148. _formdiv = new U.UF.UI.form(
  3149. "实时课堂",
  3150. $$("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 }), {
  3151. "id": "teacherClassRoom",
  3152. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3153. "onresize": function() {}
  3154. }, {
  3155. closecallback: function() {}
  3156. }, { "style": { "height": "36px" } }).form; //创建窗体
  3157. _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); } }
  3158. setTimeout(() => {
  3159. U.UF.F.windowZooming(_formdiv)
  3160. }, 0);
  3161. break;
  3162. }
  3163. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3164. switch (str) {
  3165. case "project": //好友打开
  3166. _formdiv = new U.UF.UI.form(
  3167. "课程管理",
  3168. $$("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 }), {
  3169. "id": "project",
  3170. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3171. "onresize": function() {}
  3172. }, {
  3173. closecallback: function() {}
  3174. }, { "style": { "height": "36px" } }).form; //创建窗体
  3175. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3176. break;
  3177. case "evaluate":
  3178. _formdiv = new U.UF.UI.form(
  3179. "学生评价",
  3180. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3181. "id": "evaluate",
  3182. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3183. "onresize": function() {}
  3184. }, {
  3185. closecallback: function() {}
  3186. }, { "style": { "height": "36px" } }).form; //创建窗体
  3187. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3188. break;
  3189. case "notice":
  3190. _formdiv = new U.UF.UI.form(
  3191. "通知公告",
  3192. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  3193. "id": "notice",
  3194. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3195. "onresize": function() {}
  3196. }, {
  3197. closecallback: function() {}
  3198. }, { "style": { "height": "36px" } }).form; //创建窗体
  3199. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3200. break;
  3201. case "stuLibrary":
  3202. _formdiv = new U.UF.UI.form(
  3203. "学习资料",
  3204. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studyLibrary?userid=" + _userid + "&org=" + _org }), {
  3205. "id": "stuLibrary",
  3206. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3207. "onresize": function() {}
  3208. }, {
  3209. closecallback: function() {}
  3210. }, { "style": { "height": "36px" } }).form; //创建窗体
  3211. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3212. break;
  3213. case "program":
  3214. _formdiv = new U.UF.UI.form(
  3215. "编程平台",
  3216. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3217. "id": "program",
  3218. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3219. "onresize": function() {}
  3220. }, {
  3221. closecallback: function() {}
  3222. }, { "style": { "height": "36px" } }).form; //创建窗体
  3223. _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); } }
  3224. break;
  3225. case "whiteboard":
  3226. _formdiv = new U.UF.UI.form(
  3227. "电子白板",
  3228. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3229. "id": "whiteboard",
  3230. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3231. "onresize": function() {}
  3232. }, {
  3233. closecallback: function() {}
  3234. }, { "style": { "height": "36px" } }).form; //创建窗体
  3235. _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); } }
  3236. break;
  3237. case "investigation":
  3238. _formdiv = new U.UF.UI.form(
  3239. "问卷调查",
  3240. $$("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 }), {
  3241. "id": "investigation",
  3242. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3243. "onresize": function() {}
  3244. }, {
  3245. closecallback: function() {}
  3246. }, { "style": { "height": "36px" } }).form; //创建窗体
  3247. _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); } }
  3248. break;
  3249. case "mind":
  3250. _formdiv = new U.UF.UI.form(
  3251. "思维导图",
  3252. $$("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"
  3253. "id": "mind",
  3254. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3255. "onresize": function() {}
  3256. }, {
  3257. closecallback: function() {}
  3258. }, { "style": { "height": "36px" } }).form; //创建窗体
  3259. _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); } }
  3260. break;
  3261. case "doc":
  3262. // U.MD.D.I.isRoom();
  3263. _formdiv = new U.UF.UI.form(
  3264. "协同文档",
  3265. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3266. "id": "doc",
  3267. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3268. "onresize": function() {}
  3269. }, {
  3270. closecallback: function() {}
  3271. }, { "style": { "height": "36px" } }).form; //创建窗体
  3272. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3273. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3274. })
  3275. _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); } }
  3276. break;
  3277. case "study":
  3278. _formdiv = new U.UF.UI.form(
  3279. "课程中心",
  3280. $$("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
  3281. "id": "study",
  3282. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3283. "onresize": function() {}
  3284. }, {
  3285. closecallback: function() {}
  3286. }, { "style": { "height": "36px" } }).form; //创建窗体
  3287. _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); } }
  3288. break;
  3289. case "mindNetwork": //好友打开
  3290. _formdiv = new U.UF.UI.form(
  3291. "思维网格",
  3292. $$("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 }), {
  3293. "id": "mindNetwork",
  3294. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3295. "onresize": function() {}
  3296. }, {
  3297. closecallback: function() {}
  3298. }, { "style": { "height": "36px" } }).form; //创建窗体
  3299. _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); } }
  3300. break;
  3301. case "train": //好友打开
  3302. _formdiv = new U.UF.UI.form(
  3303. "训练平台",
  3304. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3305. "id": "train",
  3306. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3307. "onresize": function() {}
  3308. }, {
  3309. closecallback: function() {}
  3310. }, { "style": { "height": "36px" } }).form; //创建窗体
  3311. _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); } }
  3312. break;
  3313. case "sys":
  3314. _formdiv = new U.UF.UI.form(
  3315. "目标管理",
  3316. $$("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 }), {
  3317. "id": "sys",
  3318. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3319. "onresize": function() {}
  3320. }, {
  3321. closecallback: function() {}
  3322. }, { "style": { "height": "36px" } }).form; //创建窗体
  3323. _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); } }
  3324. break;
  3325. case "courseDesign":
  3326. _formdiv = new U.UF.UI.form(
  3327. "项目设计",
  3328. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3329. "id": "courseDesign",
  3330. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3331. "onresize": function() {}
  3332. }, {
  3333. closecallback: function() {}
  3334. }, { "style": { "height": "36px" } }).form; //创建窗体
  3335. _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); } }
  3336. break;
  3337. }
  3338. } else if (!_type) {
  3339. switch (str) {
  3340. case "my":
  3341. _formdiv = new U.UF.UI.form(
  3342. "我的资料",
  3343. $$("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 }), {
  3344. "id": "my",
  3345. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3346. "onresize": function() {}
  3347. }, {
  3348. closecallback: function() {}
  3349. }, { "style": { "height": "36px" } }).form; //创建窗体
  3350. _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); } }
  3351. break;
  3352. }
  3353. }
  3354. switch (str) {
  3355. // AIprogram2 AI体验 aihub.cocorobo.cn
  3356. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3357. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3358. case "formulaEdi": //公式编辑
  3359. _formdiv = new U.UF.UI.form(
  3360. "公式编辑",
  3361. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3362. "id": "formulaEdi",
  3363. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3364. "onresize": function() {}
  3365. }, {
  3366. closecallback: function() {}
  3367. }, { "style": { "height": "36px" } }).form; //创建窗体
  3368. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3369. break;
  3370. case "molStr": //分子结构
  3371. _formdiv = new U.UF.UI.form(
  3372. "分子结构",
  3373. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3374. "id": "molStr",
  3375. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3376. "onresize": function() {}
  3377. }, {
  3378. closecallback: function() {}
  3379. }, { "style": { "height": "36px" } }).form; //创建窗体
  3380. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3381. break;
  3382. case "timeAxis": //时间轴
  3383. _formdiv = new U.UF.UI.form(
  3384. "时间轴",
  3385. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3386. "id": "timeAxis",
  3387. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3388. "onresize": function() {}
  3389. }, {
  3390. closecallback: function() {}
  3391. }, { "style": { "height": "36px" } }).form; //创建窗体
  3392. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3393. break;
  3394. case "AIprogram2": //AI体验
  3395. _formdiv = new U.UF.UI.form(
  3396. "AI体验",
  3397. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3398. "id": "AIprogram2",
  3399. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3400. "onresize": function() {}
  3401. }, {
  3402. closecallback: function() {}
  3403. }, { "style": { "height": "36px" } }).form; //创建窗体
  3404. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI体验", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3405. break;
  3406. case "Pythonprogram": //python编程
  3407. _formdiv = new U.UF.UI.form(
  3408. "Python编程",
  3409. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3410. "id": "Pythonprogram",
  3411. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3412. "onresize": function() {}
  3413. }, {
  3414. closecallback: function() {}
  3415. }, { "style": { "height": "36px" } }).form; //创建窗体
  3416. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Pythonprogram.png)" }, "name": "Python编程", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3417. break;
  3418. case "AIprogram": //ai编程
  3419. _formdiv = new U.UF.UI.form(
  3420. "AI编程平台",
  3421. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3422. "id": "AIprogram",
  3423. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3424. "onresize": function() {}
  3425. }, {
  3426. closecallback: function() {}
  3427. }, { "style": { "height": "36px" } }).form; //创建窗体
  3428. _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); } }
  3429. break;
  3430. case "CocoPi": //CocoPi
  3431. _formdiv = new U.UF.UI.form(
  3432. "CocoPi",
  3433. $$("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" }), {
  3434. "id": "CocoPi",
  3435. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3436. "onresize": function() {}
  3437. }, {
  3438. closecallback: function() {}
  3439. }, { "style": { "height": "36px" } }).form; //创建窗体
  3440. _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); } }
  3441. break;
  3442. case "Wood": //Wood
  3443. _formdiv = new U.UF.UI.form(
  3444. "海龟编程",
  3445. $$("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/" }), {
  3446. "id": "Wood",
  3447. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3448. "onresize": function() {}
  3449. }, {
  3450. closecallback: function() {}
  3451. }, { "style": { "height": "36px" } }).form; //创建窗体
  3452. _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); } }
  3453. break;
  3454. case "car": //模拟驾驶
  3455. _formdiv = new U.UF.UI.form(
  3456. "模拟驾驶",
  3457. $$("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/" }), {
  3458. "id": "car",
  3459. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3460. "onresize": function() {}
  3461. }, {
  3462. closecallback: function() {}
  3463. }, { "style": { "height": "36px" } }).form; //创建窗体
  3464. _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); } }
  3465. break;
  3466. case "lineSearch": //路径搜索
  3467. _formdiv = new U.UF.UI.form(
  3468. "路径搜索",
  3469. $$("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/" }), {
  3470. "id": "lineSearch",
  3471. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3472. "onresize": function() {}
  3473. }, {
  3474. closecallback: function() {}
  3475. }, { "style": { "height": "36px" } }).form; //创建窗体
  3476. _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); } }
  3477. break;
  3478. case "deepLearning": //深度学习
  3479. _formdiv = new U.UF.UI.form(
  3480. "深度学习",
  3481. $$("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/#" }), {
  3482. "id": "deepLearning",
  3483. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3484. "onresize": function() {}
  3485. }, {
  3486. closecallback: function() {}
  3487. }, { "style": { "height": "36px" } }).form; //创建窗体
  3488. _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); } }
  3489. break;
  3490. case "allHistory": //深度学习
  3491. _formdiv = new U.UF.UI.form(
  3492. "全历史",
  3493. $$("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/" }), {
  3494. "id": "allHistory",
  3495. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3496. "onresize": function() {}
  3497. }, {
  3498. closecallback: function() {}
  3499. }, { "style": { "height": "36px" } }).form; //创建窗体
  3500. _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); } }
  3501. break;
  3502. case "chatPDF": //ai编程
  3503. _formdiv = new U.UF.UI.form(
  3504. "chatPDF",
  3505. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3506. "id": "chatPDF",
  3507. "style": { "width": "70%", "height": "90%", "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/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3513. break;
  3514. case "resources": //国家教育
  3515. _formdiv = new U.UF.UI.form(
  3516. "国家教育",
  3517. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3518. "id": "resources",
  3519. "style": { "width": "80%", "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/resources.png)" }, "name": "国家教育", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3525. break;
  3526. case "codeEdit": //源码编辑
  3527. _formdiv = new U.UF.UI.form(
  3528. "源码编辑",
  3529. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3530. "id": "codeEdit",
  3531. "style": { "width": "80%", "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/code.png)" }, "name": "源码编辑", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3537. break; //
  3538. case "MindMap": //MindMap
  3539. _formdiv = new U.UF.UI.form(
  3540. "MindMap",
  3541. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3542. "id": "MindMap",
  3543. "style": { "width": "80%", "height": "90%", "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/MIndMap.png)" }, "name": "MindMap", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3549. break;
  3550. case "netWorkPanel": //netWorkPanel
  3551. _formdiv = new U.UF.UI.form(
  3552. "netWorkPanel",
  3553. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3554. "id": "netWorkPanel",
  3555. "style": { "width": "80%", "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/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3561. break;
  3562. case "GeoGebra": //GeoGebra
  3563. _formdiv = new U.UF.UI.form(
  3564. "GeoGebra",
  3565. $$("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" }), {
  3566. "id": "GeoGebra",
  3567. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3568. "onresize": function() {}
  3569. }, {
  3570. closecallback: function() {}
  3571. }, { "style": { "height": "36px" } }).form; //创建窗体
  3572. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3573. break;
  3574. case "translation": //翻译
  3575. _formdiv = new U.UF.UI.form(
  3576. "翻译",
  3577. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3578. "id": "translation",
  3579. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3580. "onresize": function() {}
  3581. }, {
  3582. closecallback: function() {}
  3583. }, { "style": { "height": "36px" } }).form; //创建窗体
  3584. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3585. break;
  3586. case "mohe": //魔盒
  3587. _formdiv = new U.UF.UI.form(
  3588. "魔盒识字",
  3589. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3590. "id": "mohe",
  3591. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3592. "onresize": function() {}
  3593. }, {
  3594. closecallback: function() {}
  3595. }, { "style": { "height": "36px" } }).form; //创建窗体
  3596. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3597. break;
  3598. case "24game": //24点
  3599. _formdiv = new U.UF.UI.form(
  3600. "24点",
  3601. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3602. "id": "24game",
  3603. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3604. "onresize": function() {}
  3605. }, {
  3606. closecallback: function() {}
  3607. }, { "style": { "height": "36px" } }).form; //创建窗体
  3608. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3609. break;
  3610. case "case":
  3611. _formdiv = new U.UF.UI.form(
  3612. "课程进展",
  3613. $$("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 }), {
  3614. "id": "case",
  3615. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3616. "onresize": function() {}
  3617. }, {
  3618. closecallback: function() {}
  3619. }, { "style": { "height": "36px" } }).form; //创建窗体
  3620. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3621. break;
  3622. case "snf":
  3623. _formdiv = new U.UF.UI.form(
  3624. "赛诺梵",
  3625. $$("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" }), {
  3626. "id": "snf",
  3627. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3628. "onresize": function() {}
  3629. }, {
  3630. closecallback: function() {}
  3631. }, { "style": { "height": "36px" } }).form; //创建窗体
  3632. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3633. break;
  3634. case "hanFamily":
  3635. _formdiv = new U.UF.UI.form(
  3636. "汉字家族",
  3637. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3638. "id": "hanFamily",
  3639. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3640. "onresize": function() {}
  3641. }, {
  3642. closecallback: function() {}
  3643. }, { "style": { "height": "36px" } }).form; //创建窗体
  3644. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3645. break;
  3646. case "hanClassics":
  3647. _formdiv = new U.UF.UI.form(
  3648. "国学经典",
  3649. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3650. "id": "hanClassics",
  3651. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3652. "onresize": function() {}
  3653. }, {
  3654. closecallback: function() {}
  3655. }, { "style": { "height": "36px" } }).form; //创建窗体
  3656. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3657. break;
  3658. case "hanTraining":
  3659. _formdiv = new U.UF.UI.form(
  3660. "笔画训练",
  3661. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3662. "id": "hanTraining",
  3663. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3664. "onresize": function() {}
  3665. }, {
  3666. closecallback: function() {}
  3667. }, { "style": { "height": "36px" } }).form; //创建窗体
  3668. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3669. break;
  3670. case "hanClass":
  3671. _formdiv = new U.UF.UI.form(
  3672. "书法课堂",
  3673. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3674. "id": "hanClass",
  3675. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3676. "onresize": function() {}
  3677. }, {
  3678. closecallback: function() {}
  3679. }, { "style": { "height": "36px" } }).form; //创建窗体
  3680. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3681. break;
  3682. case "han":
  3683. _formdiv = new U.UF.UI.form(
  3684. "汉字宫",
  3685. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3686. "id": "han",
  3687. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3688. "onresize": function() {}
  3689. }, {
  3690. closecallback: function() {}
  3691. }, { "style": { "height": "36px" } }).form; //创建窗体
  3692. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3693. break;
  3694. case "projectGM": //课程管理
  3695. _formdiv = new U.UF.UI.form(
  3696. "课程管理",
  3697. $$("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 }), {
  3698. "id": "projectGM",
  3699. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3700. "onresize": function() {}
  3701. }, {
  3702. closecallback: function() {}
  3703. }, { "style": { "height": "36px" } }).form; //创建窗体
  3704. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "课程管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3705. break;
  3706. case "studyGM": //课程中心
  3707. _formdiv = new U.UF.UI.form(
  3708. "课程中心",
  3709. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-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
  3710. "id": "study",
  3711. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3712. "onresize": function() {}
  3713. }, {
  3714. closecallback: function() {}
  3715. }, { "style": { "height": "36px" } }).form; //创建窗体
  3716. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3717. break;
  3718. // studentGM
  3719. case "studentGM": //学生管理
  3720. _formdiv = new U.UF.UI.form(
  3721. "学生管理",
  3722. $$("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 }), {
  3723. "id": "studentGM",
  3724. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3725. "onresize": function() {}
  3726. }, {
  3727. closecallback: function() {}
  3728. }, { "style": { "height": "36px" } }).form; //创建窗体
  3729. _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); } }
  3730. break;
  3731. case "evaluateGM": //学生评价
  3732. _formdiv = new U.UF.UI.form(
  3733. "学生评价",
  3734. $$("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 }), {
  3735. "id": "evaluateGM",
  3736. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3737. "onresize": function() {}
  3738. }, {
  3739. closecallback: function() {}
  3740. }, { "style": { "height": "36px" } }).form; //创建窗体
  3741. _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); } }
  3742. break;
  3743. // classGM
  3744. case "classGM": //班级管理
  3745. _formdiv = new U.UF.UI.form(
  3746. "班级管理",
  3747. $$("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 }), {
  3748. "id": "classGM",
  3749. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3750. "onresize": function() {}
  3751. }, {
  3752. closecallback: function() {}
  3753. }, { "style": { "height": "36px" } }).form; //创建窗体
  3754. _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); } }
  3755. break;
  3756. // dataGM
  3757. case "dataGM":
  3758. _formdiv = new U.UF.UI.form(
  3759. "我的资料",
  3760. $$("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 }), {
  3761. "id": "dataGM",
  3762. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3763. "onresize": function() {}
  3764. }, {
  3765. closecallback: function() {}
  3766. }, { "style": { "height": "36px" } }).form; //创建窗体
  3767. _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); } }
  3768. break;
  3769. // caseGM
  3770. case "caseGM": //课程进展
  3771. _formdiv = new U.UF.UI.form(
  3772. "课程进展",
  3773. $$("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 }), {
  3774. "id": "caseGM",
  3775. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3776. "onresize": function() {}
  3777. }, {
  3778. closecallback: function() {}
  3779. }, { "style": { "height": "36px" } }).form; //创建窗体
  3780. _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); } }
  3781. break;
  3782. // meterialGM
  3783. case "meterialGM": //素材库
  3784. _formdiv = new U.UF.UI.form(
  3785. "素材库",
  3786. $$("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 }), {
  3787. "id": "meterialGM",
  3788. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3789. "onresize": function() {}
  3790. }, {
  3791. closecallback: function() {}
  3792. }, { "style": { "height": "36px" } }).form; //创建窗体
  3793. _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); } }
  3794. break;
  3795. // evaluateSGM
  3796. case "evaluateSGM": //我的评价
  3797. _formdiv = new U.UF.UI.form(
  3798. "我的评价",
  3799. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3800. "id": "evaluateSGM",
  3801. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3802. "onresize": function() {}
  3803. }, {
  3804. closecallback: function() {}
  3805. }, { "style": { "height": "36px" } }).form; //创建窗体
  3806. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3807. break;
  3808. case "jupyter": //jupyter
  3809. _formdiv = new U.UF.UI.form(
  3810. "jupyter",
  3811. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  3812. "id": "jupyter",
  3813. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3814. "onresize": function() {}
  3815. }, {
  3816. closecallback: function() {}
  3817. }, { "style": { "height": "36px" } }).form; //创建窗体
  3818. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/jupyter.png)" }, "name": "jupyter", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3819. break;
  3820. case "number": //数字实验室
  3821. _formdiv = new U.UF.UI.form(
  3822. "数字实验室",
  3823. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  3824. "id": "number",
  3825. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3826. "onresize": function() {}
  3827. }, {
  3828. closecallback: function() {}
  3829. }, { "style": { "height": "36px" } }).form; //创建窗体
  3830. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/number.png)" }, "name": "数字实验室", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3831. break;
  3832. case "studentCourse": //项目管理 学生
  3833. _formdiv = new U.UF.UI.form(
  3834. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3835. $$("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/#/studentCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3836. "id": "studentCourse",
  3837. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3838. "onresize": function() {}
  3839. }, {
  3840. closecallback: function() {}
  3841. }, { "style": { "height": "36px" } }).form; //创建窗体
  3842. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3843. break;
  3844. case "studentCourseS": //项目管理 老师
  3845. _formdiv = new U.UF.UI.form(
  3846. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3847. $$("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/#/scourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3848. "id": "studentCourseS",
  3849. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3850. "onresize": function() {}
  3851. }, {
  3852. closecallback: function() {}
  3853. }, { "style": { "height": "36px" } }).form; //创建窗体
  3854. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3855. break;
  3856. case "studentIndex": //项目中心
  3857. _formdiv = new U.UF.UI.form(
  3858. "项目中心",
  3859. $$("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 }), {
  3860. "id": "studentIndex",
  3861. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3862. "onresize": function() {}
  3863. }, {
  3864. closecallback: function() {}
  3865. }, { "style": { "height": "36px" } }).form; //创建窗体
  3866. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "项目管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3867. break;
  3868. case "CaseDesignS":
  3869. _formdiv = new U.UF.UI.form(
  3870. "项目进展",
  3871. $$("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 }), {
  3872. "id": "case",
  3873. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3874. "onresize": function() {}
  3875. }, {
  3876. closecallback: function() {}
  3877. }, { "style": { "height": "36px" } }).form; //创建窗体
  3878. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/CaseDesignS.png)" }, "name": "项目进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3879. break;
  3880. case "tcStudent": //腾讯学生管理
  3881. _formdiv = new U.UF.UI.form(
  3882. "学生管理",
  3883. $$("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 }), {
  3884. "id": "tcStudent",
  3885. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3886. "onresize": function() {}
  3887. }, {
  3888. closecallback: function() {}
  3889. }, { "style": { "height": "36px" } }).form; //创建窗体
  3890. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3891. break;
  3892. case "tcSchool": //腾讯学校管理
  3893. _formdiv = new U.UF.UI.form(
  3894. "学校管理",
  3895. $$("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 }), {
  3896. "id": "tcSchool",
  3897. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3898. "onresize": function() {}
  3899. }, {
  3900. closecallback: function() {}
  3901. }, { "style": { "height": "36px" } }).form; //创建窗体
  3902. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/school.png)" }, "name": "学校管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3903. break;
  3904. case "tcTeacher": //腾讯学校管理
  3905. _formdiv = new U.UF.UI.form(
  3906. "教师管理",
  3907. $$("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 }), {
  3908. "id": "tcTeacher",
  3909. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3910. "onresize": function() {}
  3911. }, {
  3912. closecallback: function() {}
  3913. }, { "style": { "height": "36px" } }).form; //创建窗体
  3914. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacher.png)" }, "name": "教师管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3915. break;
  3916. case "tcData": //腾讯我的资料
  3917. _formdiv = new U.UF.UI.form(
  3918. "我的资料",
  3919. $$("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 }), {
  3920. "id": "tcData",
  3921. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3922. "onresize": function() {}
  3923. }, {
  3924. closecallback: function() {}
  3925. }, { "style": { "height": "36px" } }).form; //创建窗体
  3926. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3927. break;
  3928. case "tcNotice": //腾讯消息通知
  3929. _formdiv = new U.UF.UI.form(
  3930. "消息通知",
  3931. $$("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 }), {
  3932. "id": "tcNotice",
  3933. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3934. "onresize": function() {}
  3935. }, {
  3936. closecallback: function() {}
  3937. }, { "style": { "height": "36px" } }).form; //创建窗体
  3938. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "消息通知", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3939. break;
  3940. case "myReport": //好友打开
  3941. _formdiv = new U.UF.UI.form(
  3942. "我的评价",
  3943. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/myReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId }), {
  3944. "id": "myReport",
  3945. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3946. "onresize": function() {}
  3947. }, {
  3948. closecallback: function() {}
  3949. }, { "style": { "height": "36px" } }).form; //创建窗体
  3950. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3951. break;
  3952. case "learnAna": //好友打开
  3953. _formdiv = new U.UF.UI.form(
  3954. "学习分析",
  3955. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/learnAna?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3956. "id": "learnAna",
  3957. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3958. "onresize": function() {}
  3959. }, {
  3960. closecallback: function() {}
  3961. }, { "style": { "height": "36px" } }).form; //创建窗体
  3962. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "学习分析", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3963. break;
  3964. case "AIChat": //AI共创
  3965. _formdiv = new U.UF.UI.form(
  3966. "AI共创",
  3967. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  3968. "id": "AIChat",
  3969. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  3970. "onresize": function() {}
  3971. }, {
  3972. istop: true,
  3973. closecallback: function() { $("#aichat_icon").remove(); },
  3974. narrowcallback: function() {
  3975. if (!$("#aichat_icon")[0]) {
  3976. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function() { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  3977. }
  3978. },
  3979. }, { "style": { "height": "36px" } }).form; //创建窗体
  3980. _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); } }
  3981. break;
  3982. case "ainew": //AI共创
  3983. _formdiv = new U.UF.UI.form(
  3984. "AI协同",
  3985. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  3986. "id": "ainew",
  3987. "style": { "width": "100%", "height": "100%", "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/AIChat.png)" }, "name": "AI协同", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3993. break;
  3994. case "futureClass": //AI共创
  3995. _formdiv = new U.UF.UI.form(
  3996. "知识建构",
  3997. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn" }), {
  3998. "id": "futureClass",
  3999. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4000. "onresize": function() {}
  4001. }, {
  4002. closecallback: function() {}
  4003. }, { "style": { "height": "36px" } }).form; //创建窗体
  4004. _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); } }
  4005. break;
  4006. case "AIAnalyse": //AI共创
  4007. _formdiv = new U.UF.UI.form(
  4008. "AI分析",
  4009. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4010. "id": "AIAnalyse",
  4011. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4012. "onresize": function() {}
  4013. }, {
  4014. closecallback: function() {}
  4015. }, { "style": { "height": "36px" } }).form; //创建窗体
  4016. _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); } }
  4017. break;
  4018. case "studioCourse": //AI共创
  4019. _formdiv = new U.UF.UI.form(
  4020. "工作管理",
  4021. $$("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 }), {
  4022. "id": "studioCourse",
  4023. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4024. "onresize": function() {}
  4025. }, {
  4026. closecallback: function() {}
  4027. }, { "style": { "height": "36px" } }).form; //创建窗体
  4028. _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); } }
  4029. break;
  4030. case "studioIndex": //AI共创
  4031. _formdiv = new U.UF.UI.form(
  4032. "工作中心",
  4033. $$("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 }), {
  4034. "id": "studioIndex",
  4035. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4036. "onresize": function() {}
  4037. }, {
  4038. closecallback: function() {}
  4039. }, { "style": { "height": "36px" } }).form; //创建窗体
  4040. _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); } }
  4041. break;
  4042. case "source":
  4043. _formdiv = new U.UF.UI.form(
  4044. "教学资源",
  4045. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherSource?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4046. "id": "source",
  4047. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4048. "onresize": function() {}
  4049. }, {
  4050. closecallback: function() {}
  4051. }, { "style": { "height": "36px" } }).form; //创建窗体
  4052. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/source.png)" }, "name": "教学资源", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4053. break;
  4054. }
  4055. //U.MD.D.I.openClick(str);
  4056. //如果有任务栏信息
  4057. if (_taskbar) {
  4058. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4059. }
  4060. }
  4061. // U.MD.D.I.openClick = function(str){
  4062. // var click = '';
  4063. // switch(str){
  4064. // case 'friend':
  4065. // click = '我的好友';
  4066. // break;
  4067. // case 'domain':
  4068. // click = '域名管理';
  4069. // break;
  4070. // case 'disk':
  4071. // click = '我的云盘';
  4072. // break;
  4073. // case 'word':
  4074. // click = 'Word';
  4075. // break;
  4076. // case 'excel':
  4077. // click = 'Execl';
  4078. // break;
  4079. // case 'txt':
  4080. // click = '文本文件';
  4081. // break;
  4082. // case 'lookupFriend':
  4083. // click = '查找好友';
  4084. // break;
  4085. // case 'ftp':
  4086. // click = 'FTP';
  4087. // break;
  4088. // case 'group':
  4089. // click = '群组';
  4090. // break;
  4091. // case 'set':
  4092. // click = '我的设置';
  4093. // break;
  4094. // case 'systemSet':
  4095. // click = '系统设置';
  4096. // break;
  4097. // case 'boomYun':
  4098. // click = '互联办公';
  4099. // break;
  4100. // case 'xz':
  4101. // click = '云端下载';
  4102. // break;
  4103. // case 'client':
  4104. // click = '有思浏览器';
  4105. // break;
  4106. // case 'backEndProgramming':
  4107. // click = '在线后台编程';
  4108. // break;
  4109. // case 'frontEndProgramming':
  4110. // click = '在线前端编程';
  4111. // break;
  4112. // default: break;
  4113. // }
  4114. // if(U.MD.D.I.Ip && click){
  4115. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4116. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4117. // })
  4118. // }
  4119. // }
  4120. /**
  4121. *函数作用:ajax简易函数,使用post格式
  4122. *@param url {data} 后台地址
  4123. *@param data {data} 参数json
  4124. *@param fn {data} 回调函数
  4125. *
  4126. */
  4127. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4128. // var xhr = new XMLHttpRequest();
  4129. // xhr.open("GET",url,true);
  4130. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4131. // xhr.onreadystatechange = function(){
  4132. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4133. // fn.call(this,xhr.responseText);
  4134. // }
  4135. // };
  4136. // xhr.send();
  4137. // }
  4138. /*判断是否是内网IP*/
  4139. // U.MD.D.I.isInnerIPFn = function(str){
  4140. // var curPageUrl = str;
  4141. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4142. // curPageUrl =curPageUrl.replace(reg1,'');
  4143. // // console.log('curPageUrl-1 '+curPageUrl);
  4144. // var reg2 = /\:+/g;//替换冒号为一点
  4145. // curPageUrl =curPageUrl.replace(reg2,'.');
  4146. // // console.log('curPageUrl-2 '+curPageUrl);
  4147. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4148. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4149. // if(curPageUrl[2] != '16'){
  4150. // return ipAddress;
  4151. // }else{
  4152. // return false;
  4153. // }
  4154. // }
  4155. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4156. // //compatibility for firefox and chrome
  4157. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4158. // var pc = new myPeerConnection({
  4159. // iceServers: []
  4160. // }),
  4161. // noop = function() {},
  4162. // localIPs = {},
  4163. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4164. // key;
  4165. // function iterateIP(ip) {
  4166. // if (!localIPs[ip]) onNewIP(ip);
  4167. // localIPs[ip] = true;
  4168. // }
  4169. // //create a bogus data channel
  4170. // pc.createDataChannel("");
  4171. // // create offer and set local description
  4172. // pc.createOffer().then(function(sdp) {
  4173. // sdp.sdp.split('\n').forEach(function(line) {
  4174. // if (line.indexOf('candidate') < 0) return;
  4175. // line.match(ipRegex).forEach(iterateIP);
  4176. // });
  4177. // pc.setLocalDescription(sdp, noop, noop);
  4178. // }).catch(function(reason) {
  4179. // // An error occurred, so handle the failure to connect
  4180. // });
  4181. // //sten for candidate events
  4182. // pc.onicecandidate = function(ice) {
  4183. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4184. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4185. // };
  4186. // }
  4187. // U.MD.D.I.getUserIpBool = function(callback){
  4188. // U.MD.D.I.getUserIP(function(ip){
  4189. // alert("Got IP! :" + ip);
  4190. // });
  4191. //}
  4192. //#endregion
  4193. U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
  4194. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4195. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4196. _userinfo = US.userInfo, //登录用户信息
  4197. _userid = US.userInfo.userid //登录用户id
  4198. let _iframe;
  4199. let _cid = cid,
  4200. _stage = stage,
  4201. _task = task,
  4202. _tool = tool;
  4203. var _jie = $$("div", {
  4204. "style": {
  4205. "position": "absolute",
  4206. "bottom": "50px",
  4207. "right": "50px",
  4208. "zIndex": "9999",
  4209. "backgroundColor": "#2268bc",
  4210. "color": "#fff",
  4211. "padding": "12px 20px",
  4212. "cursor": "pointer",
  4213. "borderRadius": "4px",
  4214. },
  4215. "innerHTML": "提交作业"
  4216. })
  4217. let aTool = ''
  4218. let _loading = document.createElement('div')
  4219. _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;"
  4220. // _loading.id = "";
  4221. let _lchild = document.createElement('div')
  4222. let _limg = document.createElement('img')
  4223. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4224. _limg.style = "width: 26px;margin-right: 10px;"
  4225. _lchild.appendChild(_limg)
  4226. let _lspan = document.createElement('span')
  4227. _lspan.innerHTML = "上传中..."
  4228. _lchild.appendChild(_lspan)
  4229. _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%);"
  4230. _loading.appendChild(_lchild)
  4231. var _box = $$('div', {
  4232. "style": {
  4233. "position": "relative",
  4234. "width": "100%",
  4235. "height": "100%",
  4236. },
  4237. })
  4238. _box.appendChild(_loading)
  4239. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4240. switch (str) {
  4241. case "whiteboard":
  4242. aTool = 1;
  4243. _iframe = $$("iframe", {
  4244. "frameborder": "no",
  4245. "border": "0",
  4246. "scrolling ": "no",
  4247. "style": {
  4248. "cssText": "border:0;width:100%;height:100%"
  4249. },
  4250. "src": "https://iwb.cocorobo.cn/"
  4251. })
  4252. _box.appendChild(_iframe);
  4253. _box.appendChild(_jie);
  4254. _formdiv = new U.UF.UI.form(
  4255. "电子白板",
  4256. _box, {
  4257. "id": "whiteboard" + cid + stage + task + tool,
  4258. "style": {
  4259. "width": "90%",
  4260. "height": "90%",
  4261. "overflow": 'hidden'
  4262. },
  4263. "onresize": function() {}
  4264. }, {
  4265. closecallback: function() {}
  4266. }, {
  4267. "style": {
  4268. "height": "36px"
  4269. }
  4270. }).form; //创建窗体
  4271. _taskbar = {
  4272. "id": str + _formdiv.id,
  4273. "style": {
  4274. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4275. },
  4276. "name": "电子白板",
  4277. "forms": _formdiv,
  4278. "click": function() {
  4279. U.MD.D.I.openApplication(str, obj, info);
  4280. }
  4281. }
  4282. break;
  4283. case "mind":
  4284. aTool = 3;
  4285. _iframe = $$("iframe", {
  4286. "frameborder": "no",
  4287. "border": "0",
  4288. "scrolling ": "no",
  4289. "style": {
  4290. "cssText": "border:0;width:100%;height:100%"
  4291. },
  4292. "src": "/kityminder-editor/dist/index.html"
  4293. })
  4294. _box.appendChild(_iframe);
  4295. _box.appendChild(_jie);
  4296. _formdiv = new U.UF.UI.form(
  4297. "思维导图",
  4298. _box, { //"/jsmind/example/demo.html"
  4299. "id": "mind" + cid + stage + task + tool,
  4300. "style": {
  4301. "width": "90%",
  4302. "height": "90%",
  4303. "overflow": 'hidden'
  4304. },
  4305. "onresize": function() {}
  4306. }, {
  4307. closecallback: function() {}
  4308. }, {
  4309. "style": {
  4310. "height": "36px"
  4311. }
  4312. }).form; //创建窗体
  4313. _taskbar = {
  4314. "id": str + _formdiv.id,
  4315. "style": {
  4316. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4317. },
  4318. "name": "思维导图",
  4319. "forms": _formdiv,
  4320. "click": function() {
  4321. U.MD.D.I.openApplication(str, obj, info);
  4322. }
  4323. }
  4324. break;
  4325. case "MindMap":
  4326. aTool = 3;
  4327. _iframe = $$("iframe", {
  4328. "frameborder": "no",
  4329. "border": "0",
  4330. "scrolling ": "no",
  4331. "style": {
  4332. "cssText": "border:0;width:100%;height:100%"
  4333. },
  4334. "src": "//cloud.cocorobo.cn/mind/"
  4335. })
  4336. _box.appendChild(_iframe);
  4337. _box.appendChild(_jie);
  4338. _formdiv = new U.UF.UI.form(
  4339. "思维导图",
  4340. _box, { //"/jsmind/example/demo.html"
  4341. "id": "mind" + cid + stage + task + tool,
  4342. "style": {
  4343. "width": "90%",
  4344. "height": "90%",
  4345. "overflow": 'hidden'
  4346. },
  4347. "onresize": function() {}
  4348. }, {
  4349. closecallback: function() {}
  4350. }, {
  4351. "style": {
  4352. "height": "36px"
  4353. }
  4354. }).form; //创建窗体
  4355. _taskbar = {
  4356. "id": str + _formdiv.id,
  4357. "style": {
  4358. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4359. },
  4360. "name": "思维导图",
  4361. "forms": _formdiv,
  4362. "click": function() {
  4363. U.MD.D.I.openApplication(str, obj, info);
  4364. }
  4365. }
  4366. break;
  4367. case "doc":
  4368. aTool = 6;
  4369. _iframe = $$("iframe", {
  4370. "frameborder": "no",
  4371. "border": "0",
  4372. "scrolling ": "no",
  4373. "style": {
  4374. "cssText": "border:0;width:100%;height:100%"
  4375. },
  4376. "src": "/Office/Word/WordEditArea.htm"
  4377. })
  4378. _box.appendChild(_iframe);
  4379. _box.appendChild(_jie);
  4380. _formdiv = new U.UF.UI.form(
  4381. "协同文档",
  4382. _box, {
  4383. "id": "doc" + cid + stage + task + tool,
  4384. "style": {
  4385. "width": "90%",
  4386. "height": "90%",
  4387. "overflow": 'hidden'
  4388. },
  4389. "onresize": function() {}
  4390. }, {
  4391. closecallback: function() {}
  4392. }, {
  4393. "style": {
  4394. "height": "36px"
  4395. }
  4396. }).form; //创建窗体
  4397. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4398. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4399. })
  4400. _taskbar = {
  4401. "id": str + _formdiv.id,
  4402. "style": {
  4403. "backgroundImage": "url(/img/icon/doc.png)"
  4404. },
  4405. "name": "协同文档",
  4406. "forms": _formdiv,
  4407. "click": function() {
  4408. U.MD.D.I.openApplication(str, obj, info);
  4409. }
  4410. }
  4411. break;
  4412. case "mindNetwork": //好友打开
  4413. aTool = 7;
  4414. _iframe = $$("iframe", {
  4415. "webkitallowfullscreen": "",
  4416. "mozallowfullscreen": "",
  4417. "allowfullscreen": "",
  4418. "frameborder": "no",
  4419. "border": "0",
  4420. "scrolling ": "no",
  4421. "style": {
  4422. "cssText": "border:0; width:100%; height:100%;"
  4423. },
  4424. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4425. })
  4426. _box.appendChild(_iframe);
  4427. _box.appendChild(_jie);
  4428. _formdiv = new U.UF.UI.form(
  4429. "思维网格",
  4430. _box, {
  4431. "id": "mindNetwork" + cid + stage + task + tool,
  4432. "style": {
  4433. "width": "90%",
  4434. "height": "90%",
  4435. "overflow": 'hidden'
  4436. },
  4437. "onresize": function() {}
  4438. }, {
  4439. closecallback: function() {}
  4440. }, {
  4441. "style": {
  4442. "height": "36px"
  4443. }
  4444. }).form; //创建窗体
  4445. _taskbar = {
  4446. "id": str + _formdiv.id,
  4447. "style": {
  4448. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4449. },
  4450. "name": "思维网格",
  4451. "forms": _formdiv,
  4452. "click": function() {
  4453. U.MD.D.I.openApplication(str, obj, info);
  4454. }
  4455. }
  4456. break;
  4457. case "courseDesign":
  4458. _iframe = $$("iframe", {
  4459. "webkitallowfullscreen": "",
  4460. "mozallowfullscreen": "",
  4461. "allowfullscreen": "",
  4462. "frameborder": "no",
  4463. "border": "0",
  4464. "scrolling ": "no",
  4465. "style": {
  4466. "cssText": "border:0; width:100%; height:100%;"
  4467. },
  4468. "src": "/course-design-vue"
  4469. })
  4470. _box.appendChild(_iframe);
  4471. _box.appendChild(_jie);
  4472. _formdiv = new U.UF.UI.form(
  4473. "项目设计",
  4474. _box, {
  4475. "id": "courseDesign" + cid + stage + task + tool,
  4476. "style": {
  4477. "width": "90%",
  4478. "height": "90%",
  4479. "overflow": 'hidden'
  4480. },
  4481. "onresize": function() {}
  4482. }, {
  4483. closecallback: function() {}
  4484. }, {
  4485. "style": {
  4486. "height": "36px"
  4487. }
  4488. }).form; //创建窗体
  4489. _taskbar = {
  4490. "id": str + _formdiv.id,
  4491. "style": {
  4492. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4493. },
  4494. "name": "项目设计",
  4495. "forms": _formdiv,
  4496. "click": function() {
  4497. U.MD.D.I.openApplication(str, obj, info);
  4498. }
  4499. }
  4500. break;
  4501. }
  4502. const script1 = document.createElement("script");
  4503. script1.type = "text/javascript";
  4504. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4505. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4506. const script2 = document.createElement("script");
  4507. script2.type = "text/javascript";
  4508. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4509. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4510. const script3 = document.createElement("script");
  4511. script3.type = "text/javascript";
  4512. script3.charset = "UTF-8";
  4513. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4514. const script4 = document.createElement("script");
  4515. script4.type = "text/javascript";
  4516. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4517. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4518. if (_iframe) {
  4519. if (str == 'doc') {
  4520. _iframe = _formdiv.querySelector('iframe')
  4521. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4522. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4523. _iframe.contentWindow.document.body.appendChild(script1);
  4524. _iframe.contentWindow.document.body.appendChild(script2);
  4525. // _iframe.contentWindow.document.body.appendChild(script3);
  4526. _iframe.contentWindow.document.body.appendChild(script4);
  4527. })
  4528. if (onloadListener) {
  4529. _iframe.contentDocument.location.reload()
  4530. } else {
  4531. _iframe.contentDocument.location.reload()
  4532. }
  4533. } else if (str == 'courseDesign') {
  4534. U.UF.DL.iframeLoad(_iframe, function() {
  4535. // _iframe.contentWindow.U.MD.O.W.load();
  4536. // _iframe.contentWindow.document.body.appendChild(script1);
  4537. _iframe.contentWindow.document.body.appendChild(script2);
  4538. _iframe.contentWindow.document.body.appendChild(script4);
  4539. })
  4540. } else if (str == 'mind') {
  4541. _iframe = _formdiv.querySelector('iframe')
  4542. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4543. //
  4544. _iframe.contentWindow.document.body.appendChild(script1);
  4545. _iframe.contentWindow.document.body.appendChild(script2);
  4546. _iframe.contentWindow.document.body.appendChild(script4);
  4547. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4548. })
  4549. if (onloadListener) {
  4550. _iframe.contentDocument.location.reload()
  4551. } else {
  4552. _iframe.contentDocument.location.reload()
  4553. }
  4554. } else if (str == 'whiteboard') {
  4555. _iframe = _formdiv.querySelector('iframe')
  4556. let onloadListener = _iframe.onload = () => {
  4557. _iframe.contentWindow.document.body.appendChild(script1);
  4558. _iframe.contentWindow.document.body.appendChild(script2);
  4559. _iframe.contentWindow.document.body.appendChild(script4);
  4560. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4561. };
  4562. if (onloadListener) {
  4563. _iframe.contentDocument.location.reload()
  4564. } else {
  4565. _iframe.contentDocument.location.reload()
  4566. }
  4567. } else {
  4568. _iframe.onload = () => {
  4569. _iframe.contentWindow.document.body.appendChild(script1);
  4570. _iframe.contentWindow.document.body.appendChild(script2);
  4571. // _iframe.contentWindow.document.body.appendChild(script3);
  4572. _iframe.contentWindow.document.body.appendChild(script4);
  4573. };
  4574. }
  4575. _jie.onclick = async() => {
  4576. let text = ''
  4577. if (aTool == 1) {
  4578. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4579. } else if (aTool == 6) {
  4580. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4581. } else if (aTool == 3) {
  4582. text = await U.MD.D.I.getEditorContent(_iframe);
  4583. }
  4584. _loading.style.display = 'flex'
  4585. console.log(_loading);
  4586. var _ajs = _iframe.contentWindow.document.createElement("script");
  4587. _ajs.type = "text/javascript";
  4588. _ajs.innerHTML =
  4589. // 'console.log(' + _loading + ');\n' +
  4590. 'var _js = document.createElement("script");\n' +
  4591. '_js.type="text/javascript";\n' +
  4592. '_js.charset="UTF-8";\n' +
  4593. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4594. "_js.onload = function(){\n" +
  4595. ' var a = document.getElementsByTagName("img")\n' +
  4596. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4597. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4598. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4599. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4600. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4601. "beforeUpload_shishi(file," +
  4602. "'" +
  4603. _userid +
  4604. "'" +
  4605. ", " +
  4606. "'" +
  4607. _cid +
  4608. "'" +
  4609. ", " +
  4610. "'" +
  4611. _stage +
  4612. "'" +
  4613. ", " +
  4614. "'" +
  4615. _task +
  4616. "'" +
  4617. ", " +
  4618. "'" +
  4619. _tool +
  4620. "'" +
  4621. ", " +
  4622. "'" +
  4623. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  4624. "'" +
  4625. ", " +
  4626. "'" +
  4627. aTool +
  4628. "'" +
  4629. ", " +
  4630. "`" +
  4631. text +
  4632. "`" +
  4633. ")\n" +
  4634. " });\n" +
  4635. "}\n" +
  4636. "document.head.appendChild(_js);\n";
  4637. _iframe.contentWindow.document.head.appendChild(_ajs);
  4638. }
  4639. }
  4640. //U.MD.D.I.openClick(str);
  4641. //如果有任务栏信息
  4642. // if (_taskbar) {
  4643. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4644. // }
  4645. }
  4646. U.MD.D.I.openApplicationJieE = function(str, cid, stage, task, tool) {
  4647. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4648. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4649. _userinfo = US.userInfo, //登录用户信息
  4650. _userid = US.userInfo.userid //登录用户id
  4651. let _iframe;
  4652. let _cid = cid,
  4653. _stage = stage,
  4654. _task = task,
  4655. _tool = tool;
  4656. var _jie = $$("div", {
  4657. "style": {
  4658. "position": "absolute",
  4659. "bottom": "50px",
  4660. "right": "50px",
  4661. "zIndex": "9999",
  4662. "backgroundColor": "#2268bc",
  4663. "color": "#fff",
  4664. "padding": "12px 20px",
  4665. "cursor": "pointer",
  4666. "borderRadius": "4px",
  4667. },
  4668. "innerHTML": "提交作业"
  4669. })
  4670. let aTool = ''
  4671. let _loading = document.createElement('div')
  4672. _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;"
  4673. // _loading.id = "";
  4674. let _lchild = document.createElement('div')
  4675. let _limg = document.createElement('img')
  4676. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4677. _limg.style = "width: 26px;margin-right: 10px;"
  4678. _lchild.appendChild(_limg)
  4679. let _lspan = document.createElement('span')
  4680. _lspan.innerHTML = "上传中..."
  4681. _lchild.appendChild(_lspan)
  4682. _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%);"
  4683. _loading.appendChild(_lchild)
  4684. var _box = $$('div', {
  4685. "style": {
  4686. "position": "relative",
  4687. "width": "100%",
  4688. "height": "100%",
  4689. },
  4690. })
  4691. _box.appendChild(_loading)
  4692. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  4693. switch (str) {
  4694. case "whiteboard":
  4695. aTool = 1;
  4696. _iframe = $$("iframe", {
  4697. "frameborder": "no",
  4698. "border": "0",
  4699. "scrolling ": "no",
  4700. "style": {
  4701. "cssText": "border:0;width:100%;height:100%"
  4702. },
  4703. "src": "https://iwb.cocorobo.cn/"
  4704. })
  4705. _box.appendChild(_iframe);
  4706. _box.appendChild(_jie);
  4707. _formdiv = new U.UF.UI.form(
  4708. "电子白板",
  4709. _box, {
  4710. "id": "whiteboard" + cid + stage + task + tool,
  4711. "style": {
  4712. "width": "90%",
  4713. "height": "90%",
  4714. "overflow": 'hidden'
  4715. },
  4716. "onresize": function() {}
  4717. }, {
  4718. closecallback: function() {}
  4719. }, {
  4720. "style": {
  4721. "height": "36px"
  4722. }
  4723. }).form; //创建窗体
  4724. _taskbar = {
  4725. "id": str + _formdiv.id,
  4726. "style": {
  4727. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4728. },
  4729. "name": "电子白板",
  4730. "forms": _formdiv,
  4731. "click": function() {
  4732. U.MD.D.I.openApplication(str, obj, info);
  4733. }
  4734. }
  4735. break;
  4736. case "mind":
  4737. aTool = 3;
  4738. _iframe = $$("iframe", {
  4739. "frameborder": "no",
  4740. "border": "0",
  4741. "scrolling ": "no",
  4742. "style": {
  4743. "cssText": "border:0;width:100%;height:100%"
  4744. },
  4745. "src": "/kityminder-editor/dist/index.html"
  4746. })
  4747. _box.appendChild(_iframe);
  4748. _box.appendChild(_jie);
  4749. _formdiv = new U.UF.UI.form(
  4750. "思维导图",
  4751. _box, { //"/jsmind/example/demo.html"
  4752. "id": "mind" + cid + stage + task + tool,
  4753. "style": {
  4754. "width": "90%",
  4755. "height": "90%",
  4756. "overflow": 'hidden'
  4757. },
  4758. "onresize": function() {}
  4759. }, {
  4760. closecallback: function() {}
  4761. }, {
  4762. "style": {
  4763. "height": "36px"
  4764. }
  4765. }).form; //创建窗体
  4766. _taskbar = {
  4767. "id": str + _formdiv.id,
  4768. "style": {
  4769. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4770. },
  4771. "name": "思维导图",
  4772. "forms": _formdiv,
  4773. "click": function() {
  4774. U.MD.D.I.openApplication(str, obj, info);
  4775. }
  4776. }
  4777. break;
  4778. case "MindMap":
  4779. aTool = 3;
  4780. _iframe = $$("iframe", {
  4781. "frameborder": "no",
  4782. "border": "0",
  4783. "scrolling ": "no",
  4784. "style": {
  4785. "cssText": "border:0;width:100%;height:100%"
  4786. },
  4787. "src": "//cloud.cocorobo.cn/mind/"
  4788. })
  4789. _box.appendChild(_iframe);
  4790. _box.appendChild(_jie);
  4791. _formdiv = new U.UF.UI.form(
  4792. "思维导图",
  4793. _box, { //"/jsmind/example/demo.html"
  4794. "id": "mind" + cid + stage + task + tool,
  4795. "style": {
  4796. "width": "90%",
  4797. "height": "90%",
  4798. "overflow": 'hidden'
  4799. },
  4800. "onresize": function() {}
  4801. }, {
  4802. closecallback: function() {}
  4803. }, {
  4804. "style": {
  4805. "height": "36px"
  4806. }
  4807. }).form; //创建窗体
  4808. _taskbar = {
  4809. "id": str + _formdiv.id,
  4810. "style": {
  4811. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4812. },
  4813. "name": "思维导图",
  4814. "forms": _formdiv,
  4815. "click": function() {
  4816. U.MD.D.I.openApplication(str, obj, info);
  4817. }
  4818. }
  4819. break;
  4820. case "doc":
  4821. aTool = 6;
  4822. _iframe = $$("iframe", {
  4823. "frameborder": "no",
  4824. "border": "0",
  4825. "scrolling ": "no",
  4826. "style": {
  4827. "cssText": "border:0;width:100%;height:100%"
  4828. },
  4829. "src": "/Office/Word/WordEditArea.htm"
  4830. })
  4831. _box.appendChild(_iframe);
  4832. _box.appendChild(_jie);
  4833. _formdiv = new U.UF.UI.form(
  4834. "协同文档",
  4835. _box, {
  4836. "id": "doc" + cid + stage + task + tool,
  4837. "style": {
  4838. "width": "90%",
  4839. "height": "90%",
  4840. "overflow": 'hidden'
  4841. },
  4842. "onresize": function() {}
  4843. }, {
  4844. closecallback: function() {}
  4845. }, {
  4846. "style": {
  4847. "height": "36px"
  4848. }
  4849. }).form; //创建窗体
  4850. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4851. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4852. })
  4853. _taskbar = {
  4854. "id": str + _formdiv.id,
  4855. "style": {
  4856. "backgroundImage": "url(/img/icon/doc.png)"
  4857. },
  4858. "name": "协同文档",
  4859. "forms": _formdiv,
  4860. "click": function() {
  4861. U.MD.D.I.openApplication(str, obj, info);
  4862. }
  4863. }
  4864. break;
  4865. case "mindNetwork": //好友打开
  4866. aTool = 7;
  4867. _iframe = $$("iframe", {
  4868. "webkitallowfullscreen": "",
  4869. "mozallowfullscreen": "",
  4870. "allowfullscreen": "",
  4871. "frameborder": "no",
  4872. "border": "0",
  4873. "scrolling ": "no",
  4874. "style": {
  4875. "cssText": "border:0; width:100%; height:100%;"
  4876. },
  4877. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4878. })
  4879. _box.appendChild(_iframe);
  4880. _box.appendChild(_jie);
  4881. _formdiv = new U.UF.UI.form(
  4882. "思维网格",
  4883. _box, {
  4884. "id": "mindNetwork" + cid + stage + task + tool,
  4885. "style": {
  4886. "width": "90%",
  4887. "height": "90%",
  4888. "overflow": 'hidden'
  4889. },
  4890. "onresize": function() {}
  4891. }, {
  4892. closecallback: function() {}
  4893. }, {
  4894. "style": {
  4895. "height": "36px"
  4896. }
  4897. }).form; //创建窗体
  4898. _taskbar = {
  4899. "id": str + _formdiv.id,
  4900. "style": {
  4901. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4902. },
  4903. "name": "思维网格",
  4904. "forms": _formdiv,
  4905. "click": function() {
  4906. U.MD.D.I.openApplication(str, obj, info);
  4907. }
  4908. }
  4909. break;
  4910. case "courseDesign":
  4911. _iframe = $$("iframe", {
  4912. "webkitallowfullscreen": "",
  4913. "mozallowfullscreen": "",
  4914. "allowfullscreen": "",
  4915. "frameborder": "no",
  4916. "border": "0",
  4917. "scrolling ": "no",
  4918. "style": {
  4919. "cssText": "border:0; width:100%; height:100%;"
  4920. },
  4921. "src": "/course-design-vue"
  4922. })
  4923. _box.appendChild(_iframe);
  4924. _box.appendChild(_jie);
  4925. _formdiv = new U.UF.UI.form(
  4926. "项目设计",
  4927. _box, {
  4928. "id": "courseDesign" + cid + stage + task + tool,
  4929. "style": {
  4930. "width": "90%",
  4931. "height": "90%",
  4932. "overflow": 'hidden'
  4933. },
  4934. "onresize": function() {}
  4935. }, {
  4936. closecallback: function() {}
  4937. }, {
  4938. "style": {
  4939. "height": "36px"
  4940. }
  4941. }).form; //创建窗体
  4942. _taskbar = {
  4943. "id": str + _formdiv.id,
  4944. "style": {
  4945. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4946. },
  4947. "name": "项目设计",
  4948. "forms": _formdiv,
  4949. "click": function() {
  4950. U.MD.D.I.openApplication(str, obj, info);
  4951. }
  4952. }
  4953. break;
  4954. }
  4955. const script1 = document.createElement("script");
  4956. script1.type = "text/javascript";
  4957. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4958. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4959. const script2 = document.createElement("script");
  4960. script2.type = "text/javascript";
  4961. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4962. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4963. const script3 = document.createElement("script");
  4964. script3.type = "text/javascript";
  4965. script3.charset = "UTF-8";
  4966. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4967. const script4 = document.createElement("script");
  4968. script4.type = "text/javascript";
  4969. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4970. script4.src = window.origin + "/js/Common/jietu2E.js";
  4971. if (_iframe) {
  4972. if (str == 'doc') {
  4973. _iframe = _formdiv.querySelector('iframe')
  4974. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4975. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4976. _iframe.contentWindow.document.body.appendChild(script1);
  4977. _iframe.contentWindow.document.body.appendChild(script2);
  4978. // _iframe.contentWindow.document.body.appendChild(script3);
  4979. _iframe.contentWindow.document.body.appendChild(script4);
  4980. })
  4981. if (onloadListener) {
  4982. _iframe.contentDocument.location.reload()
  4983. } else {
  4984. _iframe.contentDocument.location.reload()
  4985. }
  4986. } else if (str == 'courseDesign') {
  4987. U.UF.DL.iframeLoad(_iframe, function() {
  4988. // _iframe.contentWindow.U.MD.O.W.load();
  4989. // _iframe.contentWindow.document.body.appendChild(script1);
  4990. _iframe.contentWindow.document.body.appendChild(script2);
  4991. _iframe.contentWindow.document.body.appendChild(script4);
  4992. })
  4993. } else if (str == 'mind') {
  4994. _iframe = _formdiv.querySelector('iframe')
  4995. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4996. //
  4997. _iframe.contentWindow.document.body.appendChild(script1);
  4998. _iframe.contentWindow.document.body.appendChild(script2);
  4999. _iframe.contentWindow.document.body.appendChild(script4);
  5000. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5001. })
  5002. if (onloadListener) {
  5003. _iframe.contentDocument.location.reload()
  5004. } else {
  5005. _iframe.contentDocument.location.reload()
  5006. }
  5007. } else if (str == 'whiteboard') {
  5008. _iframe = _formdiv.querySelector('iframe')
  5009. let onloadListener = _iframe.onload = () => {
  5010. _iframe.contentWindow.document.body.appendChild(script1);
  5011. _iframe.contentWindow.document.body.appendChild(script2);
  5012. _iframe.contentWindow.document.body.appendChild(script4);
  5013. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5014. };
  5015. if (onloadListener) {
  5016. _iframe.contentDocument.location.reload()
  5017. } else {
  5018. _iframe.contentDocument.location.reload()
  5019. }
  5020. } else {
  5021. _iframe.onload = () => {
  5022. _iframe.contentWindow.document.body.appendChild(script1);
  5023. _iframe.contentWindow.document.body.appendChild(script2);
  5024. // _iframe.contentWindow.document.body.appendChild(script3);
  5025. _iframe.contentWindow.document.body.appendChild(script4);
  5026. };
  5027. }
  5028. _jie.onclick = async() => {
  5029. let text = ''
  5030. if (aTool == 1) {
  5031. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5032. } else if (aTool == 6) {
  5033. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5034. } else if (aTool == 3) {
  5035. text = await U.MD.D.I.getEditorContent(_iframe);
  5036. }
  5037. _loading.style.display = 'flex'
  5038. console.log(_loading);
  5039. var _ajs = _iframe.contentWindow.document.createElement("script");
  5040. _ajs.type = "text/javascript";
  5041. _ajs.innerHTML =
  5042. // 'console.log(' + _loading + ');\n' +
  5043. 'var _js = document.createElement("script");\n' +
  5044. '_js.type="text/javascript";\n' +
  5045. '_js.charset="UTF-8";\n' +
  5046. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5047. "_js.onload = function(){\n" +
  5048. ' var a = document.getElementsByTagName("img")\n' +
  5049. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5050. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5051. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5052. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5053. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5054. "beforeUpload_shishi(file," +
  5055. "'" +
  5056. _userid +
  5057. "'" +
  5058. ", " +
  5059. "'" +
  5060. _cid +
  5061. "'" +
  5062. ", " +
  5063. "'" +
  5064. _stage +
  5065. "'" +
  5066. ", " +
  5067. "'" +
  5068. _task +
  5069. "'" +
  5070. ", " +
  5071. "'" +
  5072. _tool +
  5073. "'" +
  5074. ", " +
  5075. "'" +
  5076. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5077. "'" +
  5078. ", " +
  5079. "'" +
  5080. aTool +
  5081. "'" +
  5082. ", " +
  5083. "`" +
  5084. text +
  5085. "`" +
  5086. ")\n" +
  5087. " });\n" +
  5088. "}\n" +
  5089. "document.head.appendChild(_js);\n";
  5090. _iframe.contentWindow.document.head.appendChild(_ajs);
  5091. }
  5092. }
  5093. //U.MD.D.I.openClick(str);
  5094. //如果有任务栏信息
  5095. // if (_taskbar) {
  5096. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5097. // }
  5098. }
  5099. U.MD.D.I.openApplicationJieTeacher = function(str, cid, stage, task, tool, student) {
  5100. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5101. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5102. _userid = student.userid, //登录用户id
  5103. _username = student.student //用户名字
  5104. let _iframe;
  5105. let _cid = cid,
  5106. _stage = stage,
  5107. _task = task,
  5108. _tool = tool;
  5109. var _jie = $$("div", {
  5110. "style": {
  5111. "position": "absolute",
  5112. "bottom": "50px",
  5113. "right": "50px",
  5114. "zIndex": "9999",
  5115. "backgroundColor": "#2268bc",
  5116. "color": "#fff",
  5117. "padding": "12px 20px",
  5118. "cursor": "pointer",
  5119. "borderRadius": "4px",
  5120. },
  5121. "innerHTML": "提交作业"
  5122. })
  5123. let aTool = ''
  5124. let _loading = document.createElement('div')
  5125. _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;"
  5126. // _loading.id = "";
  5127. let _lchild = document.createElement('div')
  5128. let _limg = document.createElement('img')
  5129. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5130. _limg.style = "width: 26px;margin-right: 10px;"
  5131. _lchild.appendChild(_limg)
  5132. let _lspan = document.createElement('span')
  5133. _lspan.innerHTML = "上传中..."
  5134. _lchild.appendChild(_lspan)
  5135. _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%);"
  5136. _loading.appendChild(_lchild)
  5137. var _box = $$('div', {
  5138. "style": {
  5139. "position": "relative",
  5140. "width": "100%",
  5141. "height": "100%",
  5142. },
  5143. })
  5144. _box.appendChild(_loading)
  5145. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5146. switch (str) {
  5147. case "whiteboard":
  5148. aTool = 1;
  5149. _iframe = $$("iframe", {
  5150. "frameborder": "no",
  5151. "border": "0",
  5152. "scrolling ": "no",
  5153. "style": {
  5154. "cssText": "border:0;width:100%;height:100%"
  5155. },
  5156. "src": "https://iwb.cocorobo.cn/"
  5157. })
  5158. _box.appendChild(_iframe);
  5159. _box.appendChild(_jie);
  5160. _formdiv = new U.UF.UI.form(
  5161. "电子白板-" + _username,
  5162. _box, {
  5163. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5164. "style": {
  5165. "width": "90%",
  5166. "height": "90%",
  5167. "overflow": 'hidden'
  5168. },
  5169. "onresize": function() {}
  5170. }, {
  5171. closecallback: function() {}
  5172. }, {
  5173. "style": {
  5174. "height": "36px"
  5175. }
  5176. }).form; //创建窗体
  5177. _taskbar = {
  5178. "id": str + _formdiv.id,
  5179. "style": {
  5180. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5181. },
  5182. "name": "电子白板",
  5183. "forms": _formdiv,
  5184. "click": function() {
  5185. U.MD.D.I.openApplication(str, obj, info);
  5186. }
  5187. }
  5188. break;
  5189. case "mind":
  5190. aTool = 3;
  5191. _iframe = $$("iframe", {
  5192. "frameborder": "no",
  5193. "border": "0",
  5194. "scrolling ": "no",
  5195. "style": {
  5196. "cssText": "border:0;width:100%;height:100%"
  5197. },
  5198. "src": "/kityminder-editor/dist/index.html"
  5199. })
  5200. _box.appendChild(_iframe);
  5201. _box.appendChild(_jie);
  5202. _formdiv = new U.UF.UI.form(
  5203. "思维导图-" + _username,
  5204. _box, { //"/jsmind/example/demo.html"
  5205. "id": "mind" + cid + stage + task + tool + _userid,
  5206. "style": {
  5207. "width": "90%",
  5208. "height": "90%",
  5209. "overflow": 'hidden'
  5210. },
  5211. "onresize": function() {}
  5212. }, {
  5213. closecallback: function() {}
  5214. }, {
  5215. "style": {
  5216. "height": "36px"
  5217. }
  5218. }).form; //创建窗体
  5219. _taskbar = {
  5220. "id": str + _formdiv.id,
  5221. "style": {
  5222. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5223. },
  5224. "name": "思维导图",
  5225. "forms": _formdiv,
  5226. "click": function() {
  5227. U.MD.D.I.openApplication(str, obj, info);
  5228. }
  5229. }
  5230. break;
  5231. case "MindMap":
  5232. aTool = 3;
  5233. _iframe = $$("iframe", {
  5234. "frameborder": "no",
  5235. "border": "0",
  5236. "scrolling ": "no",
  5237. "style": {
  5238. "cssText": "border:0;width:100%;height:100%"
  5239. },
  5240. "src": "//cloud.cocorobo.cn/mind/"
  5241. })
  5242. _box.appendChild(_iframe);
  5243. _box.appendChild(_jie);
  5244. _formdiv = new U.UF.UI.form(
  5245. "思维导图-" + _username,
  5246. _box, { //"/jsmind/example/demo.html"
  5247. "id": "mind" + cid + stage + task + tool + _userid,
  5248. "style": {
  5249. "width": "90%",
  5250. "height": "90%",
  5251. "overflow": 'hidden'
  5252. },
  5253. "onresize": function() {}
  5254. }, {
  5255. closecallback: function() {}
  5256. }, {
  5257. "style": {
  5258. "height": "36px"
  5259. }
  5260. }).form; //创建窗体
  5261. _taskbar = {
  5262. "id": str + _formdiv.id,
  5263. "style": {
  5264. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5265. },
  5266. "name": "思维导图",
  5267. "forms": _formdiv,
  5268. "click": function() {
  5269. U.MD.D.I.openApplication(str, obj, info);
  5270. }
  5271. }
  5272. break;
  5273. case "doc":
  5274. aTool = 6;
  5275. _iframe = $$("iframe", {
  5276. "frameborder": "no",
  5277. "border": "0",
  5278. "scrolling ": "no",
  5279. "style": {
  5280. "cssText": "border:0;width:100%;height:100%"
  5281. },
  5282. "src": "/Office/Word/WordEditArea.htm"
  5283. })
  5284. _box.appendChild(_iframe);
  5285. _box.appendChild(_jie);
  5286. _formdiv = new U.UF.UI.form(
  5287. "协同文档-" + _username,
  5288. _box, {
  5289. "id": "doc" + cid + stage + task + tool + _userid,
  5290. "style": {
  5291. "width": "90%",
  5292. "height": "90%",
  5293. "overflow": 'hidden'
  5294. },
  5295. "onresize": function() {}
  5296. }, {
  5297. closecallback: function() {}
  5298. }, {
  5299. "style": {
  5300. "height": "36px"
  5301. }
  5302. }).form; //创建窗体
  5303. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5304. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5305. })
  5306. _taskbar = {
  5307. "id": str + _formdiv.id,
  5308. "style": {
  5309. "backgroundImage": "url(/img/icon/doc.png)"
  5310. },
  5311. "name": "协同文档",
  5312. "forms": _formdiv,
  5313. "click": function() {
  5314. U.MD.D.I.openApplication(str, obj, info);
  5315. }
  5316. }
  5317. break;
  5318. case "mindNetwork": //好友打开
  5319. aTool = 7;
  5320. _iframe = $$("iframe", {
  5321. "webkitallowfullscreen": "",
  5322. "mozallowfullscreen": "",
  5323. "allowfullscreen": "",
  5324. "frameborder": "no",
  5325. "border": "0",
  5326. "scrolling ": "no",
  5327. "style": {
  5328. "cssText": "border:0; width:100%; height:100%;"
  5329. },
  5330. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5331. })
  5332. _box.appendChild(_iframe);
  5333. _box.appendChild(_jie);
  5334. _formdiv = new U.UF.UI.form(
  5335. "思维网格-" + _username,
  5336. _box, {
  5337. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5338. "style": {
  5339. "width": "90%",
  5340. "height": "90%",
  5341. "overflow": 'hidden'
  5342. },
  5343. "onresize": function() {}
  5344. }, {
  5345. closecallback: function() {}
  5346. }, {
  5347. "style": {
  5348. "height": "36px"
  5349. }
  5350. }).form; //创建窗体
  5351. _taskbar = {
  5352. "id": str + _formdiv.id,
  5353. "style": {
  5354. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5355. },
  5356. "name": "思维网格",
  5357. "forms": _formdiv,
  5358. "click": function() {
  5359. U.MD.D.I.openApplication(str, obj, info);
  5360. }
  5361. }
  5362. break;
  5363. case "courseDesign":
  5364. _iframe = $$("iframe", {
  5365. "webkitallowfullscreen": "",
  5366. "mozallowfullscreen": "",
  5367. "allowfullscreen": "",
  5368. "frameborder": "no",
  5369. "border": "0",
  5370. "scrolling ": "no",
  5371. "style": {
  5372. "cssText": "border:0; width:100%; height:100%;"
  5373. },
  5374. "src": "/course-design-vue"
  5375. })
  5376. _box.appendChild(_iframe);
  5377. _box.appendChild(_jie);
  5378. _formdiv = new U.UF.UI.form(
  5379. "项目设计-" + _username,
  5380. _box, {
  5381. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5382. "style": {
  5383. "width": "90%",
  5384. "height": "90%",
  5385. "overflow": 'hidden'
  5386. },
  5387. "onresize": function() {}
  5388. }, {
  5389. closecallback: function() {}
  5390. }, {
  5391. "style": {
  5392. "height": "36px"
  5393. }
  5394. }).form; //创建窗体
  5395. _taskbar = {
  5396. "id": str + _formdiv.id,
  5397. "style": {
  5398. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5399. },
  5400. "name": "项目设计",
  5401. "forms": _formdiv,
  5402. "click": function() {
  5403. U.MD.D.I.openApplication(str, obj, info);
  5404. }
  5405. }
  5406. break;
  5407. }
  5408. const script1 = document.createElement("script");
  5409. script1.type = "text/javascript";
  5410. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5411. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5412. const script2 = document.createElement("script");
  5413. script2.type = "text/javascript";
  5414. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5415. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5416. const script3 = document.createElement("script");
  5417. script3.type = "text/javascript";
  5418. script3.charset = "UTF-8";
  5419. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5420. const script4 = document.createElement("script");
  5421. script4.type = "text/javascript";
  5422. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5423. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5424. if (_iframe) {
  5425. if (str == 'doc') {
  5426. _iframe = _formdiv.querySelector('iframe')
  5427. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5428. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5429. _iframe.contentWindow.document.body.appendChild(script1);
  5430. _iframe.contentWindow.document.body.appendChild(script2);
  5431. // _iframe.contentWindow.document.body.appendChild(script3);
  5432. _iframe.contentWindow.document.body.appendChild(script4);
  5433. })
  5434. if (onloadListener) {
  5435. _iframe.contentDocument.location.reload()
  5436. } else {
  5437. _iframe.contentDocument.location.reload()
  5438. }
  5439. } else if (str == 'courseDesign') {
  5440. U.UF.DL.iframeLoad(_iframe, function() {
  5441. // _iframe.contentWindow.U.MD.O.W.load();
  5442. // _iframe.contentWindow.document.body.appendChild(script1);
  5443. _iframe.contentWindow.document.body.appendChild(script2);
  5444. _iframe.contentWindow.document.body.appendChild(script4);
  5445. })
  5446. } else if (str == 'mind') {
  5447. _iframe = _formdiv.querySelector('iframe')
  5448. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5449. //
  5450. _iframe.contentWindow.document.body.appendChild(script1);
  5451. _iframe.contentWindow.document.body.appendChild(script2);
  5452. _iframe.contentWindow.document.body.appendChild(script4);
  5453. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5454. })
  5455. if (onloadListener) {
  5456. _iframe.contentDocument.location.reload()
  5457. } else {
  5458. _iframe.contentDocument.location.reload()
  5459. }
  5460. } else if (str == 'whiteboard') {
  5461. _iframe = _formdiv.querySelector('iframe')
  5462. let onloadListener = _iframe.onload = () => {
  5463. _iframe.contentWindow.document.body.appendChild(script1);
  5464. _iframe.contentWindow.document.body.appendChild(script2);
  5465. _iframe.contentWindow.document.body.appendChild(script4);
  5466. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5467. };
  5468. if (onloadListener) {
  5469. _iframe.contentDocument.location.reload()
  5470. } else {
  5471. _iframe.contentDocument.location.reload()
  5472. }
  5473. } else {
  5474. _iframe.onload = () => {
  5475. _iframe.contentWindow.document.body.appendChild(script1);
  5476. _iframe.contentWindow.document.body.appendChild(script2);
  5477. // _iframe.contentWindow.document.body.appendChild(script3);
  5478. _iframe.contentWindow.document.body.appendChild(script4);
  5479. };
  5480. }
  5481. _jie.onclick = async() => {
  5482. let text = ''
  5483. if (aTool == 1) {
  5484. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5485. } else if (aTool == 6) {
  5486. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5487. } else if (aTool == 3) {
  5488. text = await U.MD.D.I.getEditorContent(_iframe);
  5489. }
  5490. _loading.style.display = 'flex'
  5491. console.log(_loading);
  5492. var _ajs = _iframe.contentWindow.document.createElement("script");
  5493. _ajs.type = "text/javascript";
  5494. _ajs.innerHTML =
  5495. // 'console.log(' + _loading + ');\n' +
  5496. 'var _js = document.createElement("script");\n' +
  5497. '_js.type="text/javascript";\n' +
  5498. '_js.charset="UTF-8";\n' +
  5499. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5500. "_js.onload = function(){\n" +
  5501. ' var a = document.getElementsByTagName("img")\n' +
  5502. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5503. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5504. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5505. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5506. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5507. "beforeUpload_shishi(file," +
  5508. "'" +
  5509. _userid +
  5510. "'" +
  5511. ", " +
  5512. "'" +
  5513. _cid +
  5514. "'" +
  5515. ", " +
  5516. "'" +
  5517. _stage +
  5518. "'" +
  5519. ", " +
  5520. "'" +
  5521. _task +
  5522. "'" +
  5523. ", " +
  5524. "'" +
  5525. _tool +
  5526. "'" +
  5527. ", " +
  5528. "'" +
  5529. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5530. "'" +
  5531. ", " +
  5532. "'" +
  5533. aTool +
  5534. "'" +
  5535. ", " +
  5536. "`" +
  5537. text +
  5538. "`" +
  5539. ")\n" +
  5540. " });\n" +
  5541. "}\n" +
  5542. "document.head.appendChild(_js);\n";
  5543. _iframe.contentWindow.document.head.appendChild(_ajs);
  5544. }
  5545. }
  5546. }
  5547. U.MD.D.I.openApplicationJieTeacherE = function(str, cid, stage, task, tool, student) {
  5548. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5549. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5550. _userid = student.userid, //登录用户id
  5551. _username = student.student //用户名字
  5552. let _iframe;
  5553. let _cid = cid,
  5554. _stage = stage,
  5555. _task = task,
  5556. _tool = tool;
  5557. var _jie = $$("div", {
  5558. "style": {
  5559. "position": "absolute",
  5560. "bottom": "50px",
  5561. "right": "50px",
  5562. "zIndex": "9999",
  5563. "backgroundColor": "#2268bc",
  5564. "color": "#fff",
  5565. "padding": "12px 20px",
  5566. "cursor": "pointer",
  5567. "borderRadius": "4px",
  5568. },
  5569. "innerHTML": "提交作业"
  5570. })
  5571. let aTool = ''
  5572. let _loading = document.createElement('div')
  5573. _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;"
  5574. // _loading.id = "";
  5575. let _lchild = document.createElement('div')
  5576. let _limg = document.createElement('img')
  5577. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5578. _limg.style = "width: 26px;margin-right: 10px;"
  5579. _lchild.appendChild(_limg)
  5580. let _lspan = document.createElement('span')
  5581. _lspan.innerHTML = "上传中..."
  5582. _lchild.appendChild(_lspan)
  5583. _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%);"
  5584. _loading.appendChild(_lchild)
  5585. var _box = $$('div', {
  5586. "style": {
  5587. "position": "relative",
  5588. "width": "100%",
  5589. "height": "100%",
  5590. },
  5591. })
  5592. _box.appendChild(_loading)
  5593. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5594. switch (str) {
  5595. case "whiteboard":
  5596. aTool = 1;
  5597. _iframe = $$("iframe", {
  5598. "frameborder": "no",
  5599. "border": "0",
  5600. "scrolling ": "no",
  5601. "style": {
  5602. "cssText": "border:0;width:100%;height:100%"
  5603. },
  5604. "src": "https://iwb.cocorobo.cn/"
  5605. })
  5606. _box.appendChild(_iframe);
  5607. _box.appendChild(_jie);
  5608. _formdiv = new U.UF.UI.form(
  5609. "电子白板-" + _username,
  5610. _box, {
  5611. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5612. "style": {
  5613. "width": "90%",
  5614. "height": "90%",
  5615. "overflow": 'hidden'
  5616. },
  5617. "onresize": function() {}
  5618. }, {
  5619. closecallback: function() {}
  5620. }, {
  5621. "style": {
  5622. "height": "36px"
  5623. }
  5624. }).form; //创建窗体
  5625. _taskbar = {
  5626. "id": str + _formdiv.id,
  5627. "style": {
  5628. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5629. },
  5630. "name": "电子白板",
  5631. "forms": _formdiv,
  5632. "click": function() {
  5633. U.MD.D.I.openApplication(str, obj, info);
  5634. }
  5635. }
  5636. break;
  5637. case "mind":
  5638. aTool = 3;
  5639. _iframe = $$("iframe", {
  5640. "frameborder": "no",
  5641. "border": "0",
  5642. "scrolling ": "no",
  5643. "style": {
  5644. "cssText": "border:0;width:100%;height:100%"
  5645. },
  5646. "src": "/kityminder-editor/dist/index.html"
  5647. })
  5648. _box.appendChild(_iframe);
  5649. _box.appendChild(_jie);
  5650. _formdiv = new U.UF.UI.form(
  5651. "思维导图-" + _username,
  5652. _box, { //"/jsmind/example/demo.html"
  5653. "id": "mind" + cid + stage + task + tool + _userid,
  5654. "style": {
  5655. "width": "90%",
  5656. "height": "90%",
  5657. "overflow": 'hidden'
  5658. },
  5659. "onresize": function() {}
  5660. }, {
  5661. closecallback: function() {}
  5662. }, {
  5663. "style": {
  5664. "height": "36px"
  5665. }
  5666. }).form; //创建窗体
  5667. _taskbar = {
  5668. "id": str + _formdiv.id,
  5669. "style": {
  5670. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5671. },
  5672. "name": "思维导图",
  5673. "forms": _formdiv,
  5674. "click": function() {
  5675. U.MD.D.I.openApplication(str, obj, info);
  5676. }
  5677. }
  5678. break;
  5679. case "MindMap":
  5680. aTool = 3;
  5681. _iframe = $$("iframe", {
  5682. "frameborder": "no",
  5683. "border": "0",
  5684. "scrolling ": "no",
  5685. "style": {
  5686. "cssText": "border:0;width:100%;height:100%"
  5687. },
  5688. "src": "//cloud.cocorobo.cn/mind/"
  5689. })
  5690. _box.appendChild(_iframe);
  5691. _box.appendChild(_jie);
  5692. _formdiv = new U.UF.UI.form(
  5693. "思维导图-" + _username,
  5694. _box, { //"/jsmind/example/demo.html"
  5695. "id": "mind" + cid + stage + task + tool + _userid,
  5696. "style": {
  5697. "width": "90%",
  5698. "height": "90%",
  5699. "overflow": 'hidden'
  5700. },
  5701. "onresize": function() {}
  5702. }, {
  5703. closecallback: function() {}
  5704. }, {
  5705. "style": {
  5706. "height": "36px"
  5707. }
  5708. }).form; //创建窗体
  5709. _taskbar = {
  5710. "id": str + _formdiv.id,
  5711. "style": {
  5712. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5713. },
  5714. "name": "思维导图",
  5715. "forms": _formdiv,
  5716. "click": function() {
  5717. U.MD.D.I.openApplication(str, obj, info);
  5718. }
  5719. }
  5720. break;
  5721. case "doc":
  5722. aTool = 6;
  5723. _iframe = $$("iframe", {
  5724. "frameborder": "no",
  5725. "border": "0",
  5726. "scrolling ": "no",
  5727. "style": {
  5728. "cssText": "border:0;width:100%;height:100%"
  5729. },
  5730. "src": "/Office/Word/WordEditArea.htm"
  5731. })
  5732. _box.appendChild(_iframe);
  5733. _box.appendChild(_jie);
  5734. _formdiv = new U.UF.UI.form(
  5735. "协同文档-" + _username,
  5736. _box, {
  5737. "id": "doc" + cid + stage + task + tool + _userid,
  5738. "style": {
  5739. "width": "90%",
  5740. "height": "90%",
  5741. "overflow": 'hidden'
  5742. },
  5743. "onresize": function() {}
  5744. }, {
  5745. closecallback: function() {}
  5746. }, {
  5747. "style": {
  5748. "height": "36px"
  5749. }
  5750. }).form; //创建窗体
  5751. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5752. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5753. })
  5754. _taskbar = {
  5755. "id": str + _formdiv.id,
  5756. "style": {
  5757. "backgroundImage": "url(/img/icon/doc.png)"
  5758. },
  5759. "name": "协同文档",
  5760. "forms": _formdiv,
  5761. "click": function() {
  5762. U.MD.D.I.openApplication(str, obj, info);
  5763. }
  5764. }
  5765. break;
  5766. case "mindNetwork": //好友打开
  5767. aTool = 7;
  5768. _iframe = $$("iframe", {
  5769. "webkitallowfullscreen": "",
  5770. "mozallowfullscreen": "",
  5771. "allowfullscreen": "",
  5772. "frameborder": "no",
  5773. "border": "0",
  5774. "scrolling ": "no",
  5775. "style": {
  5776. "cssText": "border:0; width:100%; height:100%;"
  5777. },
  5778. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5779. })
  5780. _box.appendChild(_iframe);
  5781. _box.appendChild(_jie);
  5782. _formdiv = new U.UF.UI.form(
  5783. "思维网格-" + _username,
  5784. _box, {
  5785. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5786. "style": {
  5787. "width": "90%",
  5788. "height": "90%",
  5789. "overflow": 'hidden'
  5790. },
  5791. "onresize": function() {}
  5792. }, {
  5793. closecallback: function() {}
  5794. }, {
  5795. "style": {
  5796. "height": "36px"
  5797. }
  5798. }).form; //创建窗体
  5799. _taskbar = {
  5800. "id": str + _formdiv.id,
  5801. "style": {
  5802. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5803. },
  5804. "name": "思维网格",
  5805. "forms": _formdiv,
  5806. "click": function() {
  5807. U.MD.D.I.openApplication(str, obj, info);
  5808. }
  5809. }
  5810. break;
  5811. case "courseDesign":
  5812. _iframe = $$("iframe", {
  5813. "webkitallowfullscreen": "",
  5814. "mozallowfullscreen": "",
  5815. "allowfullscreen": "",
  5816. "frameborder": "no",
  5817. "border": "0",
  5818. "scrolling ": "no",
  5819. "style": {
  5820. "cssText": "border:0; width:100%; height:100%;"
  5821. },
  5822. "src": "/course-design-vue"
  5823. })
  5824. _box.appendChild(_iframe);
  5825. _box.appendChild(_jie);
  5826. _formdiv = new U.UF.UI.form(
  5827. "项目设计-" + _username,
  5828. _box, {
  5829. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5830. "style": {
  5831. "width": "90%",
  5832. "height": "90%",
  5833. "overflow": 'hidden'
  5834. },
  5835. "onresize": function() {}
  5836. }, {
  5837. closecallback: function() {}
  5838. }, {
  5839. "style": {
  5840. "height": "36px"
  5841. }
  5842. }).form; //创建窗体
  5843. _taskbar = {
  5844. "id": str + _formdiv.id,
  5845. "style": {
  5846. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5847. },
  5848. "name": "项目设计",
  5849. "forms": _formdiv,
  5850. "click": function() {
  5851. U.MD.D.I.openApplication(str, obj, info);
  5852. }
  5853. }
  5854. break;
  5855. }
  5856. const script1 = document.createElement("script");
  5857. script1.type = "text/javascript";
  5858. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5859. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5860. const script2 = document.createElement("script");
  5861. script2.type = "text/javascript";
  5862. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5863. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5864. const script3 = document.createElement("script");
  5865. script3.type = "text/javascript";
  5866. script3.charset = "UTF-8";
  5867. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5868. const script4 = document.createElement("script");
  5869. script4.type = "text/javascript";
  5870. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5871. script4.src = window.origin + "/js/Common/jietu2E.js";
  5872. if (_iframe) {
  5873. if (str == 'doc') {
  5874. _iframe = _formdiv.querySelector('iframe')
  5875. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5876. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5877. _iframe.contentWindow.document.body.appendChild(script1);
  5878. _iframe.contentWindow.document.body.appendChild(script2);
  5879. // _iframe.contentWindow.document.body.appendChild(script3);
  5880. _iframe.contentWindow.document.body.appendChild(script4);
  5881. })
  5882. if (onloadListener) {
  5883. _iframe.contentDocument.location.reload()
  5884. } else {
  5885. _iframe.contentDocument.location.reload()
  5886. }
  5887. } else if (str == 'courseDesign') {
  5888. U.UF.DL.iframeLoad(_iframe, function() {
  5889. // _iframe.contentWindow.U.MD.O.W.load();
  5890. // _iframe.contentWindow.document.body.appendChild(script1);
  5891. _iframe.contentWindow.document.body.appendChild(script2);
  5892. _iframe.contentWindow.document.body.appendChild(script4);
  5893. })
  5894. } else if (str == 'mind') {
  5895. _iframe = _formdiv.querySelector('iframe')
  5896. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5897. //
  5898. _iframe.contentWindow.document.body.appendChild(script1);
  5899. _iframe.contentWindow.document.body.appendChild(script2);
  5900. _iframe.contentWindow.document.body.appendChild(script4);
  5901. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5902. })
  5903. if (onloadListener) {
  5904. _iframe.contentDocument.location.reload()
  5905. } else {
  5906. _iframe.contentDocument.location.reload()
  5907. }
  5908. } else if (str == 'whiteboard') {
  5909. _iframe = _formdiv.querySelector('iframe')
  5910. let onloadListener = _iframe.onload = () => {
  5911. _iframe.contentWindow.document.body.appendChild(script1);
  5912. _iframe.contentWindow.document.body.appendChild(script2);
  5913. _iframe.contentWindow.document.body.appendChild(script4);
  5914. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5915. };
  5916. if (onloadListener) {
  5917. _iframe.contentDocument.location.reload()
  5918. } else {
  5919. _iframe.contentDocument.location.reload()
  5920. }
  5921. } else {
  5922. _iframe.onload = () => {
  5923. _iframe.contentWindow.document.body.appendChild(script1);
  5924. _iframe.contentWindow.document.body.appendChild(script2);
  5925. // _iframe.contentWindow.document.body.appendChild(script3);
  5926. _iframe.contentWindow.document.body.appendChild(script4);
  5927. };
  5928. }
  5929. _jie.onclick = async() => {
  5930. let text = ''
  5931. if (aTool == 1) {
  5932. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5933. } else if (aTool == 6) {
  5934. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5935. } else if (aTool == 3) {
  5936. text = await U.MD.D.I.getEditorContent(_iframe);
  5937. }
  5938. _loading.style.display = 'flex'
  5939. console.log(_loading);
  5940. var _ajs = _iframe.contentWindow.document.createElement("script");
  5941. _ajs.type = "text/javascript";
  5942. _ajs.innerHTML =
  5943. // 'console.log(' + _loading + ');\n' +
  5944. 'var _js = document.createElement("script");\n' +
  5945. '_js.type="text/javascript";\n' +
  5946. '_js.charset="UTF-8";\n' +
  5947. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5948. "_js.onload = function(){\n" +
  5949. ' var a = document.getElementsByTagName("img")\n' +
  5950. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5951. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5952. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5953. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5954. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5955. "beforeUpload_shishi(file," +
  5956. "'" +
  5957. _userid +
  5958. "'" +
  5959. ", " +
  5960. "'" +
  5961. _cid +
  5962. "'" +
  5963. ", " +
  5964. "'" +
  5965. _stage +
  5966. "'" +
  5967. ", " +
  5968. "'" +
  5969. _task +
  5970. "'" +
  5971. ", " +
  5972. "'" +
  5973. _tool +
  5974. "'" +
  5975. ", " +
  5976. "'" +
  5977. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  5978. "'" +
  5979. ", " +
  5980. "'" +
  5981. aTool +
  5982. "'" +
  5983. ", " +
  5984. "`" +
  5985. text +
  5986. "`" +
  5987. ")\n" +
  5988. " });\n" +
  5989. "}\n" +
  5990. "document.head.appendChild(_js);\n";
  5991. _iframe.contentWindow.document.head.appendChild(_ajs);
  5992. }
  5993. }
  5994. }
  5995. U.MD.D.I.getEditorContent = function(iframe) {
  5996. return new Promise((resolve, reject) => {
  5997. iframe.contentWindow.editor.minder.exportData('json').then(function(content) {
  5998. console.log(content);
  5999. resolve(content)
  6000. });
  6001. });
  6002. }
  6003. U.MD.D.I.getContent = function(cid, s, task, t, uid, type, iframe) {
  6004. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6005. // if (res.value[0].length > 0) {
  6006. // // resolve(res.value[0][0].text);
  6007. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6008. // $(fileInput).val('');
  6009. // });
  6010. // }
  6011. // }, [], { "type": "GET", "withCredentials": true });
  6012. var xmlhttp;
  6013. var Mac, Sn, DeviceId
  6014. if (window.XMLHttpRequest) {
  6015. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6016. xmlhttp = new XMLHttpRequest();
  6017. } else {
  6018. // IE6, IE5 浏览器执行代码
  6019. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6020. }
  6021. xmlhttp.onreadystatechange = function() {
  6022. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6023. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6024. // resolve(res.value[0][0].text);
  6025. if (type == '2') {
  6026. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6027. } else if (type == '3') {
  6028. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6029. }
  6030. } else {
  6031. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6032. }
  6033. }
  6034. }
  6035. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6036. xmlhttp.send();
  6037. }
  6038. U.MD.D.I.openApplicationJieS = function(str, cid, stage, task, tool) {
  6039. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6040. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6041. _userinfo = US.userInfo, //登录用户信息
  6042. _userid = US.userInfo.userid //登录用户id
  6043. let _iframe;
  6044. let _cid = cid,
  6045. _stage = stage,
  6046. _task = task,
  6047. _tool = tool;
  6048. var _jie = $$("div", {
  6049. "style": {
  6050. "position": "absolute",
  6051. "bottom": "50px",
  6052. "right": "50px",
  6053. "zIndex": "9999",
  6054. "backgroundColor": "#2268bc",
  6055. "color": "#fff",
  6056. "padding": "12px 20px",
  6057. "cursor": "pointer",
  6058. "borderRadius": "4px",
  6059. },
  6060. "innerHTML": "确认并提交"
  6061. })
  6062. let aTool = ''
  6063. let _loading = document.createElement('div')
  6064. _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;"
  6065. // _loading.id = "";
  6066. let _lchild = document.createElement('div')
  6067. let _limg = document.createElement('img')
  6068. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6069. _limg.style = "width: 26px;margin-right: 10px;"
  6070. _lchild.appendChild(_limg)
  6071. let _lspan = document.createElement('span')
  6072. _lspan.innerHTML = "上传中..."
  6073. _lchild.appendChild(_lspan)
  6074. _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%);"
  6075. _loading.appendChild(_lchild)
  6076. var _box = $$('div', {
  6077. "style": {
  6078. "position": "relative",
  6079. "width": "100%",
  6080. "height": "100%",
  6081. },
  6082. })
  6083. _box.appendChild(_loading)
  6084. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6085. switch (str) {
  6086. case "whiteboard":
  6087. aTool = 1;
  6088. _iframe = $$("iframe", {
  6089. "frameborder": "no",
  6090. "border": "0",
  6091. "scrolling ": "no",
  6092. "style": {
  6093. "cssText": "border:0;width:100%;height:100%"
  6094. },
  6095. "src": "https://iwb.cocorobo.cn/"
  6096. })
  6097. _box.appendChild(_iframe);
  6098. _box.appendChild(_jie);
  6099. _formdiv = new U.UF.UI.form(
  6100. "电子白板",
  6101. _box, {
  6102. "id": "whiteboards" + cid + stage + task + tool,
  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/whiteBoard.png)"
  6120. },
  6121. "name": "电子白板",
  6122. "forms": _formdiv,
  6123. "click": function() {
  6124. U.MD.D.I.openApplication(str, obj, info);
  6125. }
  6126. }
  6127. break;
  6128. case "mind":
  6129. aTool = 3;
  6130. _iframe = $$("iframe", {
  6131. "frameborder": "no",
  6132. "border": "0",
  6133. "scrolling ": "no",
  6134. "style": {
  6135. "cssText": "border:0;width:100%;height:100%"
  6136. },
  6137. "src": "/kityminder-editor/dist/index.html"
  6138. });
  6139. _box.appendChild(_iframe);
  6140. _box.appendChild(_jie);
  6141. _formdiv = new U.UF.UI.form(
  6142. "思维导图",
  6143. _box, { //"/jsmind/example/demo.html"
  6144. "id": "minds" + cid + stage + task + tool,
  6145. "style": {
  6146. "width": "90%",
  6147. "height": "90%",
  6148. "overflow": 'hidden'
  6149. },
  6150. "onresize": function() {}
  6151. }, {
  6152. closecallback: function() {}
  6153. }, {
  6154. "style": {
  6155. "height": "36px"
  6156. }
  6157. }).form; //创建窗体
  6158. _taskbar = {
  6159. "id": str + _formdiv.id,
  6160. "style": {
  6161. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6162. },
  6163. "name": "思维导图",
  6164. "forms": _formdiv,
  6165. "click": function() {
  6166. U.MD.D.I.openApplication(str, obj, info);
  6167. }
  6168. }
  6169. break;
  6170. case "doc":
  6171. aTool = 6;
  6172. _iframe = $$("iframe", {
  6173. "frameborder": "no",
  6174. "border": "0",
  6175. "scrolling ": "no",
  6176. "style": {
  6177. "cssText": "border:0;width:100%;height:100%"
  6178. },
  6179. "src": "/Office/Word/WordEditArea.htm"
  6180. })
  6181. _box.appendChild(_iframe);
  6182. _box.appendChild(_jie);
  6183. _formdiv = new U.UF.UI.form(
  6184. "协同文档",
  6185. _box, {
  6186. "id": "docs" + cid + stage + task + tool,
  6187. "style": {
  6188. "width": "90%",
  6189. "height": "90%",
  6190. "overflow": 'hidden'
  6191. },
  6192. "onresize": function() {}
  6193. }, {
  6194. closecallback: function() {}
  6195. }, {
  6196. "style": {
  6197. "height": "36px"
  6198. }
  6199. }).form; //创建窗体
  6200. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6201. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6202. })
  6203. _taskbar = {
  6204. "id": str + _formdiv.id,
  6205. "style": {
  6206. "backgroundImage": "url(/img/icon/doc.png)"
  6207. },
  6208. "name": "协同文档",
  6209. "forms": _formdiv,
  6210. "click": function() {
  6211. U.MD.D.I.openApplication(str, obj, info);
  6212. }
  6213. }
  6214. break;
  6215. }
  6216. const script1 = document.createElement("script");
  6217. script1.type = "text/javascript";
  6218. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6219. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6220. const script2 = document.createElement("script");
  6221. script2.type = "text/javascript";
  6222. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6223. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6224. const script3 = document.createElement("script");
  6225. script3.type = "text/javascript";
  6226. script3.charset = "UTF-8";
  6227. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6228. const script4 = document.createElement("script");
  6229. script4.type = "text/javascript";
  6230. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6231. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6232. if (_iframe) {
  6233. if (str == 'doc') {
  6234. _iframe = _formdiv.querySelector('iframe')
  6235. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6236. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6237. _iframe.contentWindow.document.body.appendChild(script1);
  6238. _iframe.contentWindow.document.body.appendChild(script2);
  6239. // _iframe.contentWindow.document.body.appendChild(script3);
  6240. _iframe.contentWindow.document.body.appendChild(script4);
  6241. })
  6242. if (onloadListener) {
  6243. _iframe.contentDocument.location.reload()
  6244. } else {
  6245. _iframe.contentDocument.location.reload()
  6246. }
  6247. } else if (str == 'mind') {
  6248. _iframe = _formdiv.querySelector('iframe')
  6249. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6250. _iframe.contentWindow.document.body.appendChild(script1);
  6251. _iframe.contentWindow.document.body.appendChild(script2);
  6252. _iframe.contentWindow.document.body.appendChild(script4);
  6253. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6254. })
  6255. if (onloadListener) {
  6256. _iframe.contentDocument.location.reload()
  6257. } else {
  6258. _iframe.contentDocument.location.reload()
  6259. }
  6260. } else {
  6261. _iframe.onload = () => {
  6262. _iframe.contentWindow.document.body.appendChild(script1);
  6263. _iframe.contentWindow.document.body.appendChild(script2);
  6264. // _iframe.contentWindow.document.body.appendChild(script3);
  6265. _iframe.contentWindow.document.body.appendChild(script4);
  6266. };
  6267. }
  6268. _jie.onclick = async() => {
  6269. let text = ''
  6270. if (aTool == 6) {
  6271. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6272. } else if (aTool == 3) {
  6273. text = await U.MD.D.I.getEditorContent(_iframe);
  6274. }
  6275. _loading.style.display = 'flex'
  6276. console.log(_loading);
  6277. var _ajs = _iframe.contentWindow.document.createElement("script");
  6278. _ajs.type = "text/javascript";
  6279. _ajs.innerHTML =
  6280. // 'console.log(' + _loading + ');\n' +
  6281. 'var _js = document.createElement("script");\n' +
  6282. '_js.type="text/javascript";\n' +
  6283. '_js.charset="UTF-8";\n' +
  6284. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6285. "_js.onload = function(){\n" +
  6286. ' var a = document.getElementsByTagName("img")\n' +
  6287. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6288. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6289. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6290. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6291. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6292. "beforeUpload_shishi(file," +
  6293. "'" +
  6294. _userid +
  6295. "'" +
  6296. ", " +
  6297. "'" +
  6298. _cid +
  6299. "'" +
  6300. ", " +
  6301. "'" +
  6302. _stage +
  6303. "'" +
  6304. ", " +
  6305. "'" +
  6306. _task +
  6307. "'" +
  6308. ", " +
  6309. "'" +
  6310. _tool +
  6311. "'" +
  6312. ", " +
  6313. "'" +
  6314. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6315. "'" +
  6316. ", " +
  6317. "'" +
  6318. aTool +
  6319. "'" +
  6320. ", " +
  6321. "`" +
  6322. text +
  6323. "`" +
  6324. ")\n" +
  6325. " });\n" +
  6326. "}\n" +
  6327. "document.head.appendChild(_js);\n";
  6328. _iframe.contentWindow.document.head.appendChild(_ajs);
  6329. }
  6330. }
  6331. //U.MD.D.I.openClick(str);
  6332. //如果有任务栏信息
  6333. // if (_taskbar) {
  6334. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6335. // }
  6336. }
  6337. U.MD.D.I.openApplicationJieStudio = function(str, cid, stage, task, tool) {
  6338. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6339. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6340. _userinfo = US.userInfo, //登录用户信息
  6341. _userid = US.userInfo.userid //登录用户id
  6342. let _iframe;
  6343. let _cid = cid,
  6344. _stage = stage,
  6345. _task = task,
  6346. _tool = tool;
  6347. var _jie = $$("div", {
  6348. "style": {
  6349. "position": "absolute",
  6350. "bottom": "50px",
  6351. "right": "50px",
  6352. "zIndex": "9999",
  6353. "backgroundColor": "#2268bc",
  6354. "color": "#fff",
  6355. "padding": "12px 20px",
  6356. "cursor": "pointer",
  6357. "borderRadius": "4px",
  6358. },
  6359. "innerHTML": "确认并提交"
  6360. })
  6361. let aTool = ''
  6362. let _loading = document.createElement('div')
  6363. _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;"
  6364. // _loading.id = "";
  6365. let _lchild = document.createElement('div')
  6366. let _limg = document.createElement('img')
  6367. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6368. _limg.style = "width: 26px;margin-right: 10px;"
  6369. _lchild.appendChild(_limg)
  6370. let _lspan = document.createElement('span')
  6371. _lspan.innerHTML = "上传中..."
  6372. _lchild.appendChild(_lspan)
  6373. _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%);"
  6374. _loading.appendChild(_lchild)
  6375. var _box = $$('div', {
  6376. "style": {
  6377. "position": "relative",
  6378. "width": "100%",
  6379. "height": "100%",
  6380. },
  6381. })
  6382. _box.appendChild(_loading)
  6383. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6384. switch (str) {
  6385. case "whiteboard":
  6386. aTool = 1;
  6387. _iframe = $$("iframe", {
  6388. "frameborder": "no",
  6389. "border": "0",
  6390. "scrolling ": "no",
  6391. "style": {
  6392. "cssText": "border:0;width:100%;height:100%"
  6393. },
  6394. "src": "https://iwb.cocorobo.cn/"
  6395. })
  6396. _box.appendChild(_iframe);
  6397. _box.appendChild(_jie);
  6398. _formdiv = new U.UF.UI.form(
  6399. "电子白板",
  6400. _box, {
  6401. "id": "whiteboards" + cid + stage + task + tool,
  6402. "style": {
  6403. "width": "90%",
  6404. "height": "90%",
  6405. "overflow": 'hidden'
  6406. },
  6407. "onresize": function() {}
  6408. }, {
  6409. closecallback: function() {}
  6410. }, {
  6411. "style": {
  6412. "height": "36px"
  6413. }
  6414. }).form; //创建窗体
  6415. _taskbar = {
  6416. "id": str + _formdiv.id,
  6417. "style": {
  6418. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6419. },
  6420. "name": "电子白板",
  6421. "forms": _formdiv,
  6422. "click": function() {
  6423. U.MD.D.I.openApplication(str, obj, info);
  6424. }
  6425. }
  6426. break;
  6427. case "mind":
  6428. aTool = 3;
  6429. _iframe = $$("iframe", {
  6430. "frameborder": "no",
  6431. "border": "0",
  6432. "scrolling ": "no",
  6433. "style": {
  6434. "cssText": "border:0;width:100%;height:100%"
  6435. },
  6436. "src": "/kityminder-editor/dist/index.html"
  6437. });
  6438. _box.appendChild(_iframe);
  6439. _box.appendChild(_jie);
  6440. _formdiv = new U.UF.UI.form(
  6441. "思维导图",
  6442. _box, { //"/jsmind/example/demo.html"
  6443. "id": "minds" + cid + stage + task + tool,
  6444. "style": {
  6445. "width": "90%",
  6446. "height": "90%",
  6447. "overflow": 'hidden'
  6448. },
  6449. "onresize": function() {}
  6450. }, {
  6451. closecallback: function() {}
  6452. }, {
  6453. "style": {
  6454. "height": "36px"
  6455. }
  6456. }).form; //创建窗体
  6457. _taskbar = {
  6458. "id": str + _formdiv.id,
  6459. "style": {
  6460. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6461. },
  6462. "name": "思维导图",
  6463. "forms": _formdiv,
  6464. "click": function() {
  6465. U.MD.D.I.openApplication(str, obj, info);
  6466. }
  6467. }
  6468. break;
  6469. case "doc":
  6470. aTool = 6;
  6471. _iframe = $$("iframe", {
  6472. "frameborder": "no",
  6473. "border": "0",
  6474. "scrolling ": "no",
  6475. "style": {
  6476. "cssText": "border:0;width:100%;height:100%"
  6477. },
  6478. "src": "/Office/Word/WordEditArea.htm"
  6479. })
  6480. _box.appendChild(_iframe);
  6481. _box.appendChild(_jie);
  6482. _formdiv = new U.UF.UI.form(
  6483. "协同文档",
  6484. _box, {
  6485. "id": "docs" + cid + stage + task + tool,
  6486. "style": {
  6487. "width": "90%",
  6488. "height": "90%",
  6489. "overflow": 'hidden'
  6490. },
  6491. "onresize": function() {}
  6492. }, {
  6493. closecallback: function() {}
  6494. }, {
  6495. "style": {
  6496. "height": "36px"
  6497. }
  6498. }).form; //创建窗体
  6499. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6500. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6501. })
  6502. _taskbar = {
  6503. "id": str + _formdiv.id,
  6504. "style": {
  6505. "backgroundImage": "url(/img/icon/doc.png)"
  6506. },
  6507. "name": "协同文档",
  6508. "forms": _formdiv,
  6509. "click": function() {
  6510. U.MD.D.I.openApplication(str, obj, info);
  6511. }
  6512. }
  6513. break;
  6514. }
  6515. const script1 = document.createElement("script");
  6516. script1.type = "text/javascript";
  6517. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6518. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6519. const script2 = document.createElement("script");
  6520. script2.type = "text/javascript";
  6521. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6522. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6523. const script3 = document.createElement("script");
  6524. script3.type = "text/javascript";
  6525. script3.charset = "UTF-8";
  6526. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6527. const script4 = document.createElement("script");
  6528. script4.type = "text/javascript";
  6529. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6530. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6531. if (_iframe) {
  6532. if (str == 'doc') {
  6533. _iframe = _formdiv.querySelector('iframe')
  6534. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6535. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6536. _iframe.contentWindow.document.body.appendChild(script1);
  6537. _iframe.contentWindow.document.body.appendChild(script2);
  6538. // _iframe.contentWindow.document.body.appendChild(script3);
  6539. _iframe.contentWindow.document.body.appendChild(script4);
  6540. })
  6541. if (onloadListener) {
  6542. _iframe.contentDocument.location.reload()
  6543. } else {
  6544. _iframe.contentDocument.location.reload()
  6545. }
  6546. } else if (str == 'mind') {
  6547. _iframe = _formdiv.querySelector('iframe')
  6548. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6549. _iframe.contentWindow.document.body.appendChild(script1);
  6550. _iframe.contentWindow.document.body.appendChild(script2);
  6551. _iframe.contentWindow.document.body.appendChild(script4);
  6552. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6553. })
  6554. if (onloadListener) {
  6555. _iframe.contentDocument.location.reload()
  6556. } else {
  6557. _iframe.contentDocument.location.reload()
  6558. }
  6559. } else {
  6560. _iframe.onload = () => {
  6561. _iframe.contentWindow.document.body.appendChild(script1);
  6562. _iframe.contentWindow.document.body.appendChild(script2);
  6563. // _iframe.contentWindow.document.body.appendChild(script3);
  6564. _iframe.contentWindow.document.body.appendChild(script4);
  6565. };
  6566. }
  6567. _jie.onclick = async() => {
  6568. let text = ''
  6569. if (aTool == 6) {
  6570. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6571. } else if (aTool == 3) {
  6572. text = await U.MD.D.I.getEditorContent(_iframe);
  6573. }
  6574. _loading.style.display = 'flex'
  6575. console.log(_loading);
  6576. var _ajs = _iframe.contentWindow.document.createElement("script");
  6577. _ajs.type = "text/javascript";
  6578. _ajs.innerHTML =
  6579. // 'console.log(' + _loading + ');\n' +
  6580. 'var _js = document.createElement("script");\n' +
  6581. '_js.type="text/javascript";\n' +
  6582. '_js.charset="UTF-8";\n' +
  6583. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6584. "_js.onload = function(){\n" +
  6585. ' var a = document.getElementsByTagName("img")\n' +
  6586. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6587. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6588. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6589. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6590. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6591. "beforeUpload_shishi(file," +
  6592. "'" +
  6593. _userid +
  6594. "'" +
  6595. ", " +
  6596. "'" +
  6597. _cid +
  6598. "'" +
  6599. ", " +
  6600. "'" +
  6601. _stage +
  6602. "'" +
  6603. ", " +
  6604. "'" +
  6605. _task +
  6606. "'" +
  6607. ", " +
  6608. "'" +
  6609. _tool +
  6610. "'" +
  6611. ", " +
  6612. "'" +
  6613. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6614. "'" +
  6615. ", " +
  6616. "'" +
  6617. aTool +
  6618. "'" +
  6619. ", " +
  6620. "`" +
  6621. text +
  6622. "`" +
  6623. ")\n" +
  6624. " });\n" +
  6625. "}\n" +
  6626. "document.head.appendChild(_js);\n";
  6627. _iframe.contentWindow.document.head.appendChild(_ajs);
  6628. }
  6629. }
  6630. //U.MD.D.I.openClick(str);
  6631. //如果有任务栏信息
  6632. // if (_taskbar) {
  6633. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6634. // }
  6635. }
  6636. U.MD.D.I.openApplicationYu = function(str, cid, stage, task, tool) {
  6637. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6638. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6639. _userinfo = US.userInfo, //登录用户信息
  6640. _userid = US.userInfo.userid //登录用户id
  6641. let _iframe;
  6642. let _cid = cid,
  6643. _stage = stage,
  6644. _task = task,
  6645. _tool = tool;
  6646. var _jie = $$("div", {
  6647. "style": {
  6648. "position": "absolute",
  6649. "bottom": "50px",
  6650. "right": "50px",
  6651. "zIndex": "9999",
  6652. "backgroundColor": "#2268bc",
  6653. "color": "#fff",
  6654. "padding": "12px 20px",
  6655. "cursor": "pointer",
  6656. "borderRadius": "4px",
  6657. },
  6658. "innerHTML": "上传模板"
  6659. })
  6660. let aTool = ''
  6661. let _loading = document.createElement('div')
  6662. _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;"
  6663. // _loading.id = "";
  6664. let _lchild = document.createElement('div')
  6665. let _limg = document.createElement('img')
  6666. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6667. _limg.style = "width: 26px;margin-right: 10px;"
  6668. _lchild.appendChild(_limg)
  6669. let _lspan = document.createElement('span')
  6670. _lspan.innerHTML = "上传中..."
  6671. _lchild.appendChild(_lspan)
  6672. _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%);"
  6673. _loading.appendChild(_lchild)
  6674. var _box = $$('div', {
  6675. "style": {
  6676. "position": "relative",
  6677. "width": "100%",
  6678. "height": "100%",
  6679. },
  6680. })
  6681. _box.appendChild(_loading)
  6682. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  6683. switch (str) {
  6684. case "whiteboard":
  6685. aTool = 1;
  6686. _iframe = $$("iframe", {
  6687. "frameborder": "no",
  6688. "border": "0",
  6689. "scrolling ": "no",
  6690. "style": {
  6691. "cssText": "border:0;width:100%;height:100%"
  6692. },
  6693. "src": "https://iwb.cocorobo.cn/"
  6694. })
  6695. _box.appendChild(_iframe);
  6696. _box.appendChild(_jie);
  6697. _formdiv = new U.UF.UI.form(
  6698. "电子白板",
  6699. _box, {
  6700. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6701. "style": {
  6702. "width": "90%",
  6703. "height": "90%",
  6704. "overflow": 'hidden'
  6705. },
  6706. "onresize": function() {}
  6707. }, {
  6708. closecallback: function() {}
  6709. }, {
  6710. "style": {
  6711. "height": "36px"
  6712. }
  6713. }).form; //创建窗体
  6714. _taskbar = {
  6715. "id": str + _formdiv.id,
  6716. "style": {
  6717. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6718. },
  6719. "name": "电子白板",
  6720. "forms": _formdiv,
  6721. "click": function() {
  6722. U.MD.D.I.openApplication(str, obj, info);
  6723. }
  6724. }
  6725. break;
  6726. case "mind":
  6727. aTool = 3;
  6728. _iframe = $$("iframe", {
  6729. "frameborder": "no",
  6730. "border": "0",
  6731. "scrolling ": "no",
  6732. "style": {
  6733. "cssText": "border:0;width:100%;height:100%"
  6734. },
  6735. "src": "/kityminder-editor/dist/index.html"
  6736. });
  6737. _box.appendChild(_iframe);
  6738. _box.appendChild(_jie);
  6739. _formdiv = new U.UF.UI.form(
  6740. "思维导图",
  6741. _box, { //"/jsmind/example/demo.html"
  6742. "id": "minds_Yu" + cid + stage + task + tool,
  6743. "style": {
  6744. "width": "90%",
  6745. "height": "90%",
  6746. "overflow": 'hidden'
  6747. },
  6748. "onresize": function() {}
  6749. }, {
  6750. closecallback: function() {}
  6751. }, {
  6752. "style": {
  6753. "height": "36px"
  6754. }
  6755. }).form; //创建窗体
  6756. _taskbar = {
  6757. "id": str + _formdiv.id,
  6758. "style": {
  6759. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6760. },
  6761. "name": "思维导图",
  6762. "forms": _formdiv,
  6763. "click": function() {
  6764. U.MD.D.I.openApplication(str, obj, info);
  6765. }
  6766. }
  6767. break;
  6768. case "doc":
  6769. aTool = 6;
  6770. _iframe = $$("iframe", {
  6771. "frameborder": "no",
  6772. "border": "0",
  6773. "scrolling ": "no",
  6774. "style": {
  6775. "cssText": "border:0;width:100%;height:100%"
  6776. },
  6777. "src": "/Office/Word/WordEditArea.htm"
  6778. })
  6779. _box.appendChild(_iframe);
  6780. _box.appendChild(_jie);
  6781. _formdiv = new U.UF.UI.form(
  6782. "协同文档",
  6783. _box, {
  6784. "id": "docs_Yu" + cid + stage + task + tool,
  6785. "style": {
  6786. "width": "90%",
  6787. "height": "90%",
  6788. "overflow": 'hidden'
  6789. },
  6790. "onresize": function() {}
  6791. }, {
  6792. closecallback: function() {}
  6793. }, {
  6794. "style": {
  6795. "height": "36px"
  6796. }
  6797. }).form; //创建窗体
  6798. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6799. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6800. })
  6801. _taskbar = {
  6802. "id": str + _formdiv.id,
  6803. "style": {
  6804. "backgroundImage": "url(/img/icon/doc.png)"
  6805. },
  6806. "name": "协同文档",
  6807. "forms": _formdiv,
  6808. "click": function() {
  6809. U.MD.D.I.openApplication(str, obj, info);
  6810. }
  6811. }
  6812. break;
  6813. case "CocoPi":
  6814. aTool = 57;
  6815. _iframe = $$("iframe", {
  6816. "allowpaymentrequest": "allowpaymentrequest",
  6817. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6818. "webkitallowfullscreen": "",
  6819. "mozallowfullscreen": "",
  6820. "frameborder": "no",
  6821. "border": "0",
  6822. "scrolling ": "no",
  6823. "style": {
  6824. "cssText": "border:0;width:100%;height:100%"
  6825. },
  6826. "src": "https://pi.cocorobo.cn/"
  6827. })
  6828. _box.appendChild(_iframe);
  6829. _box.appendChild(_jie);
  6830. _formdiv = new U.UF.UI.form(
  6831. "CocoPi",
  6832. _box, {
  6833. "id": "CocoPi_Yu" + cid + stage + task + tool,
  6834. "style": {
  6835. "width": "90%",
  6836. "height": "90%",
  6837. "overflow": 'hidden'
  6838. },
  6839. "onresize": function() {}
  6840. }, {
  6841. closecallback: function() {}
  6842. }, {
  6843. "style": {
  6844. "height": "36px"
  6845. }
  6846. }).form; //创建窗体
  6847. _taskbar = {
  6848. "id": str + _formdiv.id,
  6849. "style": {
  6850. "backgroundImage": "url(/img/icon/cocopi.png)"
  6851. },
  6852. "name": "CocoPi",
  6853. "forms": _formdiv,
  6854. "click": function() {
  6855. U.MD.D.I.openApplication(str, obj, info);
  6856. }
  6857. }
  6858. break;
  6859. }
  6860. if (_iframe) {
  6861. if (str == 'doc') {
  6862. _iframe = _formdiv.querySelector('iframe')
  6863. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6864. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6865. })
  6866. if (onloadListener) {
  6867. _iframe.contentDocument.location.reload()
  6868. } else {
  6869. _iframe.contentDocument.location.reload()
  6870. }
  6871. } else if (str == 'mind') {
  6872. _iframe = _formdiv.querySelector('iframe')
  6873. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6874. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  6875. })
  6876. if (onloadListener) {
  6877. _iframe.contentDocument.location.reload()
  6878. } else {
  6879. _iframe.contentDocument.location.reload()
  6880. }
  6881. } else if (str == 'whiteboard') {
  6882. _iframe = _formdiv.querySelector('iframe')
  6883. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6884. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  6885. })
  6886. if (onloadListener) {
  6887. _iframe.contentDocument.location.reload()
  6888. } else {
  6889. _iframe.contentDocument.location.reload()
  6890. }
  6891. } else if (str == 'CocoPi') {
  6892. _iframe = _formdiv.querySelector('iframe')
  6893. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6894. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  6895. })
  6896. if (onloadListener) {
  6897. _iframe.contentDocument.location.reload()
  6898. } else {
  6899. _iframe.contentDocument.location.reload()
  6900. }
  6901. } else {
  6902. _iframe.onload = () => {};
  6903. }
  6904. _jie.onclick = async() => {
  6905. let text = ''
  6906. let type = '2'
  6907. if (aTool == 1) {
  6908. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6909. type = '3'
  6910. } else if (aTool == 6) {
  6911. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6912. type = '1'
  6913. } else if (aTool == 3) {
  6914. text = await U.MD.D.I.getEditorContent(_iframe);
  6915. type = '2'
  6916. } else if (aTool == 57) {
  6917. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  6918. type = '4'
  6919. }
  6920. _loading.style.display = 'flex'
  6921. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  6922. }
  6923. }
  6924. //U.MD.D.I.openClick(str);
  6925. //如果有任务栏信息
  6926. // if (_taskbar) {
  6927. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6928. // }
  6929. }
  6930. U.MD.D.I.getContents = function(cid, s, task, t, uid, type, iframe) {
  6931. var xmlhttp;
  6932. var Mac, Sn, DeviceId
  6933. if (window.XMLHttpRequest) {
  6934. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6935. xmlhttp = new XMLHttpRequest();
  6936. } else {
  6937. // IE6, IE5 浏览器执行代码
  6938. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6939. }
  6940. xmlhttp.onreadystatechange = function() {
  6941. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6942. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6943. // resolve(res.value[0][0].text);
  6944. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6945. }
  6946. }
  6947. }
  6948. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6949. xmlhttp.send();
  6950. }
  6951. U.MD.D.I.getContents2 = function(cid, s, task, t, uid, type, iframe) {
  6952. var xmlhttp;
  6953. var Mac, Sn, DeviceId
  6954. if (window.XMLHttpRequest) {
  6955. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6956. xmlhttp = new XMLHttpRequest();
  6957. } else {
  6958. // IE6, IE5 浏览器执行代码
  6959. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6960. }
  6961. xmlhttp.onreadystatechange = function() {
  6962. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6963. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6964. // resolve(res.value[0][0].text);
  6965. if (type == '2') {
  6966. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6967. } else if (type == '3') {
  6968. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6969. } else if (type == '4') {
  6970. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  6971. }
  6972. } else {
  6973. if (type == '2') {
  6974. iframe.contentWindow.editor.minder.importData('json', '')
  6975. } else if (type == '3') {
  6976. iframe.contentWindow.h.app.updateScene({ elements: [] })
  6977. } else if (type == '4') {
  6978. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  6979. }
  6980. }
  6981. }
  6982. }
  6983. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6984. xmlhttp.send();
  6985. }
  6986. U.MD.D.I.setContents = function(cid, s, task, t, uid, type, text, loading, span) {
  6987. var xmlhttp;
  6988. var Mac, Sn, DeviceId
  6989. if (window.XMLHttpRequest) {
  6990. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6991. xmlhttp = new XMLHttpRequest();
  6992. } else {
  6993. // IE6, IE5 浏览器执行代码
  6994. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6995. }
  6996. xmlhttp.onreadystatechange = function() {
  6997. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6998. if (xmlhttp.response) {
  6999. // resolve(res.value[0][0].text);
  7000. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7001. // $(fileInput).val('');
  7002. // });
  7003. span.innerHTML = '上传成功'
  7004. setTimeout(() => {
  7005. loading.style.display = 'none'
  7006. }, 1000);
  7007. }
  7008. }
  7009. }
  7010. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7011. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7012. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7013. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7014. // 设置请求头,表示请求体的编码格式
  7015. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7016. // 设置请求体,使用url-encoded格式的数据
  7017. }
  7018. U.MD.D.I.openApplicationUpload = function(str, cid, stage, task, tool) {
  7019. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7020. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7021. _userinfo = US.userInfo, //登录用户信息
  7022. _userid = US.userInfo.userid //登录用户id
  7023. let _iframe;
  7024. let _cid = cid,
  7025. _stage = stage,
  7026. _task = task,
  7027. _tool = tool;
  7028. var _jie = $$("div", {
  7029. "style": {
  7030. "position": "absolute",
  7031. "bottom": "50px",
  7032. "right": "50px",
  7033. "zIndex": "9999",
  7034. "backgroundColor": "#2268bc",
  7035. "color": "#fff",
  7036. "padding": "12px 20px",
  7037. "cursor": "pointer",
  7038. "borderRadius": "4px",
  7039. },
  7040. "innerHTML": "提交作业"
  7041. })
  7042. let aTool = ''
  7043. let _loading = document.createElement('div')
  7044. _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;"
  7045. // _loading.id = "";
  7046. let _lchild = document.createElement('div')
  7047. let _limg = document.createElement('img')
  7048. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7049. _limg.style = "width: 26px;margin-right: 10px;"
  7050. _lchild.appendChild(_limg)
  7051. let _lspan = document.createElement('span')
  7052. _lspan.innerHTML = "上传中..."
  7053. _lchild.appendChild(_lspan)
  7054. _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%);"
  7055. _loading.appendChild(_lchild)
  7056. var _box = $$('div', {
  7057. "style": {
  7058. "position": "relative",
  7059. "width": "100%",
  7060. "height": "100%",
  7061. },
  7062. })
  7063. _box.appendChild(_loading)
  7064. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7065. switch (str) {
  7066. case "CocoPi":
  7067. aTool = 57;
  7068. _iframe = $$("iframe", {
  7069. "allowpaymentrequest": "allowpaymentrequest",
  7070. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7071. "webkitallowfullscreen": "",
  7072. "mozallowfullscreen": "",
  7073. "frameborder": "no",
  7074. "border": "0",
  7075. "scrolling ": "no",
  7076. "style": {
  7077. "cssText": "border:0;width:100%;height:100%"
  7078. },
  7079. "src": "https://pi.cocorobo.cn/"
  7080. })
  7081. _box.appendChild(_iframe);
  7082. _box.appendChild(_jie);
  7083. _formdiv = new U.UF.UI.form(
  7084. "CocoPi",
  7085. _box, {
  7086. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7087. "style": {
  7088. "width": "90%",
  7089. "height": "90%",
  7090. "overflow": 'hidden'
  7091. },
  7092. "onresize": function() {}
  7093. }, {
  7094. closecallback: function() {}
  7095. }, {
  7096. "style": {
  7097. "height": "36px"
  7098. }
  7099. }).form; //创建窗体
  7100. _taskbar = {
  7101. "id": str + _formdiv.id,
  7102. "style": {
  7103. "backgroundImage": "url(/img/icon/cocopi.png)"
  7104. },
  7105. "name": "CocoPi",
  7106. "forms": _formdiv,
  7107. "click": function() {
  7108. U.MD.D.I.openApplication(str, obj, info);
  7109. }
  7110. }
  7111. break;
  7112. }
  7113. if (_iframe) {
  7114. if (str == 'CocoPi') {
  7115. _iframe = _formdiv.querySelector('iframe')
  7116. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7117. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7118. })
  7119. if (onloadListener) {
  7120. _iframe.contentDocument.location.reload()
  7121. } else {
  7122. _iframe.contentDocument.location.reload()
  7123. }
  7124. }
  7125. _jie.onclick = async() => {
  7126. let text = ''
  7127. if (aTool == 57) {
  7128. text = _iframe.contentWindow.getLoadXmlStr()
  7129. }
  7130. _loading.style.display = 'flex'
  7131. console.log(_loading);
  7132. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7133. _loading.style.display = 'none'
  7134. let _div = document.createElement('div')
  7135. _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;"
  7136. let _inner = document.createElement('div')
  7137. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7138. _inner.innerHTML = "上传成功"
  7139. _div.appendChild(_inner)
  7140. _iframe.contentWindow.window.document.body.appendChild(_div)
  7141. _div.onclick = () => {
  7142. _iframe.contentWindow.window.document.body.removeChild(_div)
  7143. }
  7144. setTimeout(() => {
  7145. _iframe.contentWindow.window.document.body.removeChild(_div)
  7146. }, 1000);
  7147. }, [], { "type": "POST", "withCredentials": true });
  7148. }
  7149. }
  7150. }
  7151. U.MD.D.I.openApplicationTeacherUpload = function(str, cid, stage, task, tool, student) {
  7152. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7153. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7154. _userid = student.userid, //登录用户id
  7155. _username = student.student //用户名字
  7156. let _iframe;
  7157. let _cid = cid,
  7158. _stage = stage,
  7159. _task = task,
  7160. _tool = tool;
  7161. var _jie = $$("div", {
  7162. "style": {
  7163. "position": "absolute",
  7164. "bottom": "50px",
  7165. "right": "50px",
  7166. "zIndex": "9999",
  7167. "backgroundColor": "#2268bc",
  7168. "color": "#fff",
  7169. "padding": "12px 20px",
  7170. "cursor": "pointer",
  7171. "borderRadius": "4px",
  7172. },
  7173. "innerHTML": "提交作业"
  7174. })
  7175. let aTool = ''
  7176. let _loading = document.createElement('div')
  7177. _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;"
  7178. // _loading.id = "";
  7179. let _lchild = document.createElement('div')
  7180. let _limg = document.createElement('img')
  7181. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7182. _limg.style = "width: 26px;margin-right: 10px;"
  7183. _lchild.appendChild(_limg)
  7184. let _lspan = document.createElement('span')
  7185. _lspan.innerHTML = "上传中..."
  7186. _lchild.appendChild(_lspan)
  7187. _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%);"
  7188. _loading.appendChild(_lchild)
  7189. var _box = $$('div', {
  7190. "style": {
  7191. "position": "relative",
  7192. "width": "100%",
  7193. "height": "100%",
  7194. },
  7195. })
  7196. _box.appendChild(_loading)
  7197. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7198. switch (str) {
  7199. case "CocoPi":
  7200. aTool = 57;
  7201. _iframe = $$("iframe", {
  7202. "allowpaymentrequest": "allowpaymentrequest",
  7203. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7204. "webkitallowfullscreen": "",
  7205. "mozallowfullscreen": "",
  7206. "frameborder": "no",
  7207. "border": "0",
  7208. "scrolling ": "no",
  7209. "style": {
  7210. "cssText": "border:0;width:100%;height:100%"
  7211. },
  7212. "src": "https://pi.cocorobo.cn/"
  7213. })
  7214. _box.appendChild(_iframe);
  7215. _box.appendChild(_jie);
  7216. _formdiv = new U.UF.UI.form(
  7217. "CocoPi-" + _username,
  7218. _box, {
  7219. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7220. "style": {
  7221. "width": "90%",
  7222. "height": "90%",
  7223. "overflow": 'hidden'
  7224. },
  7225. "onresize": function() {}
  7226. }, {
  7227. closecallback: function() {}
  7228. }, {
  7229. "style": {
  7230. "height": "36px"
  7231. }
  7232. }).form; //创建窗体
  7233. _taskbar = {
  7234. "id": str + _formdiv.id,
  7235. "style": {
  7236. "backgroundImage": "url(/img/icon/cocopi.png)"
  7237. },
  7238. "name": "CocoPi",
  7239. "forms": _formdiv,
  7240. "click": function() {
  7241. U.MD.D.I.openApplication(str, obj, info);
  7242. }
  7243. }
  7244. break;
  7245. }
  7246. if (_iframe) {
  7247. if (str == 'CocoPi') {
  7248. _iframe = _formdiv.querySelector('iframe')
  7249. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7250. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7251. })
  7252. if (onloadListener) {
  7253. _iframe.contentDocument.location.reload()
  7254. } else {
  7255. _iframe.contentDocument.location.reload()
  7256. }
  7257. }
  7258. _jie.onclick = async() => {
  7259. let text = ''
  7260. if (aTool == 57) {
  7261. text = _iframe.contentWindow.getLoadXmlStr()
  7262. }
  7263. _loading.style.display = 'flex'
  7264. console.log(_loading);
  7265. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7266. _loading.style.display = 'none'
  7267. let _div = document.createElement('div')
  7268. _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;"
  7269. let _inner = document.createElement('div')
  7270. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7271. _inner.innerHTML = "上传成功"
  7272. _div.appendChild(_inner)
  7273. _iframe.contentWindow.window.document.body.appendChild(_div)
  7274. _div.onclick = () => {
  7275. _iframe.contentWindow.window.document.body.removeChild(_div)
  7276. }
  7277. setTimeout(() => {
  7278. _iframe.contentWindow.window.document.body.removeChild(_div)
  7279. }, 1000);
  7280. }, [], { "type": "POST", "withCredentials": true });
  7281. }
  7282. }
  7283. }
  7284. U.MD.D.I.getUploadContent = function(cid, s, task, t, uid, atool, type, iframe) {
  7285. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function(res) {
  7286. if (res.value[0].length > 0) {
  7287. if (atool == 57) {
  7288. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7289. }
  7290. } else {
  7291. if (atool == 57) {
  7292. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7293. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7294. }
  7295. }
  7296. }, [], { "type": "POST", "withCredentials": true });
  7297. }