DeskTop.js 447 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. ];
  51. //极简模式
  52. U.MD.D.I.easyDeskIcon = [
  53. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  54. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  55. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  57. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  58. ];
  59. //教师桌面图标的全局变量
  60. U.MD.D.I.teacherDeskIcon2 = [
  61. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  62. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  63. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  64. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  65. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  66. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  67. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  68. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  69. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  70. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  71. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  72. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  73. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  74. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  75. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  76. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  77. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  78. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  79. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  80. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  81. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  82. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  83. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  84. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  85. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  86. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  87. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  88. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  89. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  90. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  91. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  92. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  93. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  94. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  95. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  96. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  97. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  98. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  99. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  100. ];
  101. U.MD.D.I.studentDeskIcon = [
  102. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  103. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  104. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  105. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  106. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  107. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  108. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  109. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  110. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  111. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  112. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  113. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  114. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  115. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  116. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  117. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  118. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  119. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  120. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  121. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  122. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  123. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  124. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  125. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  126. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  127. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  128. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  129. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  130. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  131. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  132. ];
  133. U.MD.D.I.studentDeskIcon2 = [
  134. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  135. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  136. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  137. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  138. ]
  139. U.MD.D.I.studentDeskIcon3 = [
  140. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  141. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  142. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  143. ]
  144. U.MD.D.I.schoolDeskIcon = [
  145. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  146. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  147. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  148. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  149. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  150. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  151. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  152. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  153. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  154. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  155. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  156. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  157. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  158. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  159. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  160. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  161. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  162. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  163. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  164. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  165. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  166. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  167. ];
  168. U.MD.D.I.orgDeskIcon = [
  169. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  170. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  171. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  172. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  173. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  174. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  175. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  176. ];
  177. U.MD.D.I.orgStemDeskIcon = [
  178. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  179. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  180. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  181. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  182. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  183. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  184. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  185. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  186. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  187. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  188. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  189. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  190. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  191. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  192. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  193. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  194. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  195. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  196. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  197. ];
  198. U.MD.D.I.szulsDeskIcon = [
  199. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  200. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  201. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  202. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  203. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  204. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  205. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  206. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  207. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  208. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  209. ];
  210. U.MD.D.I.hanDeskIcon = [
  211. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  212. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  213. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  214. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  215. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  216. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  217. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  218. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  219. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  220. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  221. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  222. ];
  223. U.MD.D.I.GMteacherDeskIcon = [
  224. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  225. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  226. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  227. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  228. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  229. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  230. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  231. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  232. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  233. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  234. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  235. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  236. ];
  237. U.MD.D.I.GMstudentDeskIcon = [
  238. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  239. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  240. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  241. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  242. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  243. ];
  244. //北师大
  245. U.MD.D.I.BSDNSteacherDeskIcon = [
  246. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  247. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  248. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  249. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  250. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  251. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  252. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  253. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  254. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  255. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  256. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  257. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  258. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  259. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  260. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  261. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  262. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  263. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  264. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  265. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  266. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  267. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  268. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  269. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  270. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  271. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  272. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  273. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  274. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  275. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  276. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  277. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  278. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  279. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  280. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  281. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  282. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  283. ];
  284. //松山湖
  285. U.MD.D.I.SONGteacherDeskIcon = [
  286. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  287. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  288. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  289. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  290. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  291. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  292. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  293. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  294. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  295. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  296. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  297. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  298. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  299. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  300. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  301. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  302. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  303. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  304. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  305. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  306. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  307. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  308. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  309. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  310. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  311. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  312. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  313. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  314. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  315. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  316. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  317. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  318. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  319. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  320. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  321. ];
  322. U.MD.D.I.tcStudentDeskIcon = [
  323. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  324. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  325. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  326. ];
  327. U.MD.D.I.tcTeacherDeskIcon = [
  328. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  329. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  330. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  331. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  332. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  333. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  334. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  335. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  336. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  337. ];
  338. U.MD.D.I.tcOrganizerDeskIcon = [
  339. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  340. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  341. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  342. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  343. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  344. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  345. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  346. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  347. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  348. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  349. ];
  350. U.MD.D.I.szscStudentDeskIcon = [
  351. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  352. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  353. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  354. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  355. ];
  356. U.MD.D.I.szscTeacherDeskIcon = [
  357. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  358. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  359. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  360. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  361. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  362. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  363. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  364. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  365. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  366. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  367. ];
  368. U.MD.D.I.szscOrganizerDeskIcon = [
  369. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  370. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  371. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  372. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  373. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  374. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  375. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  376. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  377. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  378. ];
  379. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  380. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  381. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  382. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  383. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  384. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  385. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  386. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  387. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  388. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  389. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  390. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  391. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  392. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  393. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  394. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  395. ];
  396. U.MD.D.I.wankeAdminDeskIcon = [
  397. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  398. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  399. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  400. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  401. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  402. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  403. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  404. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  405. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  406. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  407. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  408. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  409. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  410. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  411. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  412. ];
  413. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  414. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  415. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  416. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  417. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  418. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  419. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  420. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  421. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  422. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  423. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  424. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  425. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  426. ];
  427. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  428. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  429. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  430. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  431. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  432. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  433. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  434. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  435. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  436. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  437. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  438. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  439. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  440. ];
  441. //明德教师桌面图标的全局变量
  442. U.MD.D.I.MingdeTeacherDeskIcon = [
  443. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  444. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  445. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  446. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  447. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  448. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  449. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  450. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  451. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  452. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  453. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  454. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  455. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  456. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  457. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  458. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  459. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  460. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  461. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  462. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  463. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  464. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  465. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  466. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  467. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  468. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  469. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  470. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  471. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  472. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  473. ];
  474. //97c4ee8b-d010-4042-986d-e9d3c217264f
  475. //教师桌面图标的全局变量
  476. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  477. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  478. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  479. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  480. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  481. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  482. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  483. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  484. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  485. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  486. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  487. ];
  488. //福田
  489. U.MD.D.I.futianTeacherDeskIcon = [
  490. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  491. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  492. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  493. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  494. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  495. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  496. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  497. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  498. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  499. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  500. ];
  501. //福田
  502. U.MD.D.I.futianAdminDeskIcon = [
  503. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  504. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  505. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  506. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  507. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  508. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  509. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  510. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  511. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  512. ];
  513. //lotech
  514. U.MD.D.I.lotechTeacherDeskIcon = [
  515. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  516. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  517. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  518. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  519. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  520. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  521. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  522. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  523. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  524. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  525. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  526. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  527. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  528. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  529. ];
  530. //龙华中心小学教师桌面图标的全局变量
  531. U.MD.D.I.longhuateacherDeskIcon = [
  532. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  533. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  534. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  535. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  536. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  537. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  538. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  539. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  540. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  541. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  542. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  543. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  544. ];
  545. //教科院实小教师桌面图标的全局变量
  546. U.MD.D.I.siesteacherDeskIcon = [
  547. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  548. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  549. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  550. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  551. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  552. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  553. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  554. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  555. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  556. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  557. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  558. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  559. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  560. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  561. ];
  562. //教科院实小教师桌面图标的全局变量
  563. U.MD.D.I.siesStudentDeskIcon = [
  564. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  565. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  566. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  567. ];
  568. //福田
  569. U.MD.D.I.gdjgTeacherDeskIcon = [
  570. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  571. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  572. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  573. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  574. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  575. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  576. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  577. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  578. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  579. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  580. ];
  581. //gdjg
  582. U.MD.D.I.gdjgAdminDeskIcon = [
  583. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  584. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  585. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  586. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  587. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  588. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  589. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  590. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  591. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  592. ];
  593. //hk
  594. U.MD.D.I.hkteacherDeskIcon = [
  595. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  596. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  597. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  598. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  599. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  600. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  601. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  602. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  603. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  604. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  605. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  606. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  607. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  608. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  609. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  610. ];
  611. //hk
  612. U.MD.D.I.hkStudentDeskIcon = [
  613. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  614. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  615. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  616. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  617. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  618. ];
  619. //香海正覺蓮社佛教正覺中學
  620. U.MD.D.I.hkZJLSteacherDeskIcon = [
  621. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  622. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  623. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  624. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  625. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  626. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  627. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  628. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  629. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  630. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  631. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  632. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  633. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  634. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  635. ];
  636. //香海正覺蓮社佛教正覺中學
  637. U.MD.D.I.hkZJLSStudentDeskIcon = [
  638. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  639. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  640. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  641. ];
  642. //云海
  643. U.MD.D.I.yunhaiTeacherDeskIcon = [
  644. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  645. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  646. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  647. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  648. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  649. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  650. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  651. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  652. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  653. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  654. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  655. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  656. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  657. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  658. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  659. ];
  660. //福田
  661. U.MD.D.I.heyuanTeacherDeskIcon = [
  662. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  663. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  664. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  665. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  666. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  667. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  668. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  669. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  670. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  671. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  672. ];
  673. //福田
  674. U.MD.D.I.heyuanAdminDeskIcon = [
  675. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  676. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  677. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  678. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  679. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  680. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  681. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  682. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  683. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  684. ];
  685. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  686. U.MD.D.I.szherTeacherDeskIcon = [
  687. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  688. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  689. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  690. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  691. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  692. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  693. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  694. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  695. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  696. ];
  697. //dsei
  698. U.MD.D.I.dseiTeacherDeskIcon = [
  699. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  700. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  701. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  702. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  703. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  704. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  705. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  706. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  707. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  708. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  709. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  710. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  711. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  712. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  713. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  714. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  715. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  716. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  717. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  718. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  719. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  720. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  721. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  722. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  723. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  724. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  725. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  726. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  727. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  728. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  729. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  730. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  731. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  732. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  733. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  734. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  735. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  736. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  737. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  738. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  739. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  740. ];
  741. //dsei
  742. U.MD.D.I.dseiAdminDeskIcon = [
  743. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  744. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  745. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  746. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  747. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  748. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  749. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  750. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  751. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  752. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  753. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  754. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  755. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  756. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  757. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  758. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  759. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  760. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  761. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  762. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  763. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  764. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  765. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  766. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  767. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  768. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  769. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  770. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  771. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  772. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  773. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  774. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  775. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  776. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  777. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  778. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  779. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  780. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  781. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  782. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  783. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  784. ];
  785. //dsei
  786. U.MD.D.I.dseiStudentDeskIcon = [
  787. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  788. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  789. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  790. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  791. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  792. ];
  793. //未来教育基地
  794. U.MD.D.I.szjkyTeacherDeskIcon = [
  795. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  796. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  797. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  798. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  799. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  800. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  801. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  802. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  803. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  804. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  805. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  806. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  807. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  808. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  809. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  810. ];
  811. //未来教育基地
  812. U.MD.D.I.szjkyAdminDeskIcon = [
  813. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  814. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  815. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  816. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  817. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  818. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  819. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  820. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  821. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  822. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  823. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  824. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  825. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  826. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  827. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  828. ];
  829. //未来教育基地
  830. U.MD.D.I.szjkyStudentDeskIcon = [
  831. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  832. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  833. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  834. ];
  835. //成华教育局
  836. U.MD.D.I.chjyjTeacherDeskIcon = [
  837. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  838. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  839. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  840. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  841. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  842. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  843. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  844. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  845. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  846. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  847. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  848. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  849. ];
  850. //成华教育局chjyj
  851. U.MD.D.I.chjyjAdminDeskIcon = [
  852. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  853. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  854. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  855. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  856. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  857. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  858. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  859. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  860. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  861. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  862. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  863. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  864. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  865. ];
  866. //成华教育局chjyj
  867. U.MD.D.I.chjyjStudentDeskIcon = [
  868. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  869. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  870. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  871. ];
  872. //#region 桌面初始化a
  873. /**
  874. * 初始化桌面的起始函数
  875. *
  876. */
  877. U.MD.D.I.init = function() {
  878. if ($("#U_MD_D_K")[0]) {
  879. //初始化桌面图标
  880. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  881. // var clickUrl = ':12588/requestIp.php';
  882. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  883. // U.MD.D.I.Ip = data;
  884. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  885. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  886. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  887. // })
  888. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  889. // })
  890. }
  891. }
  892. /**
  893. * 模式切换
  894. *
  895. */
  896. U.MD.D.I.ModeCheck = function(type) {
  897. if (US.Config.type == type) {
  898. return
  899. }
  900. US.Config.type = type
  901. $('.U_PBL_Check .active')[0].className = ''
  902. if (type == 1) {
  903. $('.U_PBL_Check div')[0].className = 'active'
  904. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  905. } else {
  906. $('.U_PBL_Check div')[1].className = 'active'
  907. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  908. }
  909. //初始化桌面图标
  910. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  911. if (type == 2) {
  912. U.MD.D.I.openApplication("project")
  913. }
  914. }
  915. /**
  916. * 隐藏任务栏
  917. *
  918. * @param {element} 桌面元素
  919. */
  920. U.MD.D.I.hiddenTaskbar = function(el) {
  921. //任务栏位置变小
  922. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  923. //桌面的位置变大
  924. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  925. }
  926. /**
  927. * 隐藏任务栏
  928. *
  929. * @param {element} 桌面元素
  930. */
  931. U.MD.D.I.hiddenTaskbarout = function(el) {
  932. //任务栏位置变小
  933. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  934. //任务栏位置变化
  935. U.selectEl(el).css({ "bottom": "-60px" });
  936. //桌面的位置变大
  937. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  938. }
  939. }
  940. /**
  941. * 初始化打印桌面图标
  942. *
  943. * @param {element} 桌面元素
  944. */
  945. U.MD.D.I.initDesktopIcons = function(el, type) {
  946. var i, //用于循环
  947. _content, //桌面图标元素
  948. _iconcontent, //桌面图标元素
  949. _frag = $$("frag"), //定义一个碎片元素
  950. _type = US.userInfo.type,
  951. _org = US.userInfo.org,
  952. _oid = US.userInfo.organizeid,
  953. _role = US.userInfo.role,
  954. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  955. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  956. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  957. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  958. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  959. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  960. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  961. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  962. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  963. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  964. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  965. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  966. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  967. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  968. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  969. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  970. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  971. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  972. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  973. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  974. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  975. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  976. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  977. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  978. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  979. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  980. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  981. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  982. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  983. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  984. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  985. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  986. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  987. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  988. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  989. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  990. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  991. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  992. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  993. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  994. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  995. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  996. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  997. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  998. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  999. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1000. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1001. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1002. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1003. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1004. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1005. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1006. 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'];
  1007. 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'];
  1008. //清楚桌面图标
  1009. el.innerHTML = "";
  1010. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1011. _teacherDesktopIconInfo.push(
  1012. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1013. { "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)" } },
  1014. )
  1015. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1016. }
  1017. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1018. _teacherDesktopIconInfo.push(
  1019. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1020. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1021. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1022. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1023. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1024. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1025. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1026. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1027. )
  1028. }
  1029. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1030. _teacherDesktopIconInfo.push(
  1031. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1032. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1033. )
  1034. _studentDesktopIconInfo.push(
  1035. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1036. )
  1037. }
  1038. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1039. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1040. if (el.Name == '项目管理') {
  1041. el.Name = 'PBL项目'
  1042. }
  1043. return el
  1044. })
  1045. }
  1046. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1047. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1048. return el.Name != '魔盒识字' && el.Name != '24点'
  1049. })
  1050. }
  1051. 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) {
  1052. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, )
  1053. }
  1054. //循环创建桌面图标
  1055. if (type == 1) {
  1056. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1057. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1058. _content = $$("div", {
  1059. className: "U_MD_D_KO",
  1060. "onmousedown": U.UF.C.closure(function(obj) {
  1061. //防止拖动图标即打开了桌面应用
  1062. U.MD.D.click(this, obj);
  1063. }, [_studentDesktopIconInfo[i]]),
  1064. "onclick": U.UF.C.closure(function(obj) {
  1065. //防止拖动图标即打开了桌面应用
  1066. U.MD.D.click(this, obj);
  1067. }, [_studentDesktopIconInfo[i]])
  1068. }, _frag); //
  1069. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1070. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1071. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1072. }
  1073. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1074. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1075. _content = $$("div", {
  1076. className: "U_MD_D_KO",
  1077. "onmousedown": U.UF.C.closure(function(obj) {
  1078. //防止拖动图标即打开了桌面应用
  1079. U.MD.D.click(this, obj);
  1080. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1081. "onclick": U.UF.C.closure(function(obj) {
  1082. //防止拖动图标即打开了桌面应用
  1083. U.MD.D.click(this, obj);
  1084. }, [_hkZJLSStudentDeskIconInfo[i]])
  1085. }, _frag); //
  1086. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1087. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1088. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1089. } //
  1090. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1091. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1092. _content = $$("div", {
  1093. className: "U_MD_D_KO",
  1094. "onmousedown": U.UF.C.closure(function(obj) {
  1095. //防止拖动图标即打开了桌面应用
  1096. U.MD.D.click(this, obj);
  1097. }, [_chjyjStudentDeskIconInfo[i]]),
  1098. "onclick": U.UF.C.closure(function(obj) {
  1099. //防止拖动图标即打开了桌面应用
  1100. U.MD.D.click(this, obj);
  1101. }, [_chjyjStudentDeskIconInfo[i]])
  1102. }, _frag); //
  1103. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1104. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1105. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1106. }
  1107. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1108. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1109. _content = $$("div", {
  1110. className: "U_MD_D_KO",
  1111. "onmousedown": U.UF.C.closure(function(obj) {
  1112. //防止拖动图标即打开了桌面应用
  1113. U.MD.D.click(this, obj);
  1114. }, [_szjkyStudentDeskIconInfo[i]]),
  1115. "onclick": U.UF.C.closure(function(obj) {
  1116. //防止拖动图标即打开了桌面应用
  1117. U.MD.D.click(this, obj);
  1118. }, [_szjkyStudentDeskIconInfo[i]])
  1119. }, _frag); //
  1120. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1121. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1122. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1123. }
  1124. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1125. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1126. _content = $$("div", {
  1127. className: "U_MD_D_KO",
  1128. "onmousedown": U.UF.C.closure(function(obj) {
  1129. //防止拖动图标即打开了桌面应用
  1130. U.MD.D.click(this, obj);
  1131. }, [_dseiStudentDeskIconInfo[i]]),
  1132. "onclick": U.UF.C.closure(function(obj) {
  1133. //防止拖动图标即打开了桌面应用
  1134. U.MD.D.click(this, obj);
  1135. }, [_dseiStudentDeskIconInfo[i]])
  1136. }, _frag); //
  1137. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1138. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1139. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1140. }
  1141. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1142. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1143. _content = $$("div", {
  1144. className: "U_MD_D_KO",
  1145. "onmousedown": U.UF.C.closure(function(obj) {
  1146. //防止拖动图标即打开了桌面应用
  1147. U.MD.D.click(this, obj);
  1148. }, [_siesStudentDeskIconInfo[i]]),
  1149. "onclick": U.UF.C.closure(function(obj) {
  1150. //防止拖动图标即打开了桌面应用
  1151. U.MD.D.click(this, obj);
  1152. }, [_siesStudentDeskIconInfo[i]])
  1153. }, _frag); //
  1154. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1155. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1156. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1157. }
  1158. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1159. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1160. _content = $$("div", {
  1161. className: "U_MD_D_KO",
  1162. "onmousedown": U.UF.C.closure(function(obj) {
  1163. //防止拖动图标即打开了桌面应用
  1164. U.MD.D.click(this, obj);
  1165. }, [_hkStudentDeskIconInfo[i]]),
  1166. "onclick": U.UF.C.closure(function(obj) {
  1167. //防止拖动图标即打开了桌面应用
  1168. U.MD.D.click(this, obj);
  1169. }, [_hkStudentDeskIconInfo[i]])
  1170. }, _frag); //
  1171. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1172. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1173. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1174. }
  1175. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1176. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1177. _content = $$("div", {
  1178. className: "U_MD_D_KO",
  1179. "onmousedown": U.UF.C.closure(function(obj) {
  1180. //防止拖动图标即打开了桌面应用
  1181. U.MD.D.click(this, obj);
  1182. }, [_studentDesktopIconInfo[i]]),
  1183. "onclick": U.UF.C.closure(function(obj) {
  1184. //防止拖动图标即打开了桌面应用
  1185. U.MD.D.click(this, obj);
  1186. }, [_studentDesktopIconInfo[i]])
  1187. }, _frag); //
  1188. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1189. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1190. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1191. }
  1192. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1193. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1194. _content = $$("div", {
  1195. className: "U_MD_D_KO",
  1196. "onmousedown": U.UF.C.closure(function(obj) {
  1197. //防止拖动图标即打开了桌面应用
  1198. U.MD.D.click(this, obj);
  1199. }, [_tcStudentDeskIconInfo[i]]),
  1200. "onclick": U.UF.C.closure(function(obj) {
  1201. //防止拖动图标即打开了桌面应用
  1202. U.MD.D.click(this, obj);
  1203. }, [_tcStudentDeskIconInfo[i]])
  1204. }, _frag); //
  1205. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1206. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1207. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1208. }
  1209. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1210. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1211. _content = $$("div", {
  1212. className: "U_MD_D_KO",
  1213. "onmousedown": U.UF.C.closure(function(obj) {
  1214. //防止拖动图标即打开了桌面应用
  1215. U.MD.D.click(this, obj);
  1216. }, [_szscStudentDeskIconInfo[i]]),
  1217. "onclick": U.UF.C.closure(function(obj) {
  1218. //防止拖动图标即打开了桌面应用
  1219. U.MD.D.click(this, obj);
  1220. }, [_szscStudentDeskIconInfo[i]])
  1221. }, _frag); //
  1222. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1223. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1224. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1225. }
  1226. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1227. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1228. _content = $$("div", {
  1229. className: "U_MD_D_KO",
  1230. "onmousedown": U.UF.C.closure(function(obj) {
  1231. //防止拖动图标即打开了桌面应用
  1232. U.MD.D.click(this, obj);
  1233. }, [_studentDesktopIconInfo3[i]]),
  1234. "onclick": U.UF.C.closure(function(obj) {
  1235. //防止拖动图标即打开了桌面应用
  1236. U.MD.D.click(this, obj);
  1237. }, [_studentDesktopIconInfo3[i]])
  1238. }, _frag); //
  1239. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1240. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1241. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1242. }
  1243. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1244. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1245. _content = $$("div", {
  1246. className: "U_MD_D_KO",
  1247. "onmousedown": U.UF.C.closure(function(obj) {
  1248. //防止拖动图标即打开了桌面应用
  1249. U.MD.D.click(this, obj);
  1250. }, [_studentDesktopIconInfo2[i]]),
  1251. "onclick": U.UF.C.closure(function(obj) {
  1252. //防止拖动图标即打开了桌面应用
  1253. U.MD.D.click(this, obj);
  1254. }, [_studentDesktopIconInfo2[i]])
  1255. }, _frag); //
  1256. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1257. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1258. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1259. }
  1260. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1261. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1262. _content = $$("div", {
  1263. className: "U_MD_D_KO",
  1264. "onmousedown": U.UF.C.closure(function(obj) {
  1265. //防止拖动图标即打开了桌面应用
  1266. U.MD.D.click(this, obj);
  1267. }, [_wanketeacherDesktopIconInfo[i]]),
  1268. "onclick": U.UF.C.closure(function(obj) {
  1269. //防止拖动图标即打开了桌面应用
  1270. U.MD.D.click(this, obj);
  1271. }, [_wanketeacherDesktopIconInfo[i]])
  1272. }, _frag); //
  1273. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1274. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1275. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1276. }
  1277. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1278. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1279. _content = $$("div", {
  1280. className: "U_MD_D_KO",
  1281. "onmousedown": U.UF.C.closure(function(obj) {
  1282. //防止拖动图标即打开了桌面应用
  1283. U.MD.D.click(this, obj);
  1284. }, [_wankeAdminDesktopIconInfo[i]]),
  1285. "onclick": U.UF.C.closure(function(obj) {
  1286. //防止拖动图标即打开了桌面应用
  1287. U.MD.D.click(this, obj);
  1288. }, [_wankeAdminDesktopIconInfo[i]])
  1289. }, _frag); //
  1290. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1291. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1292. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1293. }
  1294. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1295. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1296. _content = $$("div", {
  1297. className: "U_MD_D_KO",
  1298. "onmousedown": U.UF.C.closure(function(obj) {
  1299. //防止拖动图标即打开了桌面应用
  1300. U.MD.D.click(this, obj);
  1301. }, [_teacherDesktopIconInfo2[i]]),
  1302. "onclick": U.UF.C.closure(function(obj) {
  1303. //防止拖动图标即打开了桌面应用
  1304. U.MD.D.click(this, obj);
  1305. }, [_teacherDesktopIconInfo2[i]])
  1306. }, _frag); //
  1307. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1308. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1309. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1310. }
  1311. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1312. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1313. _content = $$("div", {
  1314. className: "U_MD_D_KO",
  1315. "onmousedown": U.UF.C.closure(function(obj) {
  1316. //防止拖动图标即打开了桌面应用
  1317. U.MD.D.click(this, obj);
  1318. }, [_lotechTeacherDeskIconInfo[i]]),
  1319. "onclick": U.UF.C.closure(function(obj) {
  1320. //防止拖动图标即打开了桌面应用
  1321. U.MD.D.click(this, obj);
  1322. }, [_lotechTeacherDeskIconInfo[i]])
  1323. }, _frag); //
  1324. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1325. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1326. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1327. }//
  1328. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1329. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1330. _content = $$("div", {
  1331. className: "U_MD_D_KO",
  1332. "onmousedown": U.UF.C.closure(function(obj) {
  1333. //防止拖动图标即打开了桌面应用
  1334. U.MD.D.click(this, obj);
  1335. }, [_siesTeacherDeskIconInfo[i]]),
  1336. "onclick": U.UF.C.closure(function(obj) {
  1337. //防止拖动图标即打开了桌面应用
  1338. U.MD.D.click(this, obj);
  1339. }, [_siesTeacherDeskIconInfo[i]])
  1340. }, _frag); //
  1341. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1342. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1343. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1344. }
  1345. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1346. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1347. _content = $$("div", {
  1348. className: "U_MD_D_KO",
  1349. "onmousedown": U.UF.C.closure(function(obj) {
  1350. //防止拖动图标即打开了桌面应用
  1351. U.MD.D.click(this, obj);
  1352. }, [_longhuaTeacherDeskIconInfo[i]]),
  1353. "onclick": U.UF.C.closure(function(obj) {
  1354. //防止拖动图标即打开了桌面应用
  1355. U.MD.D.click(this, obj);
  1356. }, [_longhuaTeacherDeskIconInfo[i]])
  1357. }, _frag); //
  1358. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1359. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1360. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1361. }
  1362. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1363. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1364. _content = $$("div", {
  1365. className: "U_MD_D_KO",
  1366. "onmousedown": U.UF.C.closure(function(obj) {
  1367. //防止拖动图标即打开了桌面应用
  1368. U.MD.D.click(this, obj);
  1369. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1370. "onclick": U.UF.C.closure(function(obj) {
  1371. //防止拖动图标即打开了桌面应用
  1372. U.MD.D.click(this, obj);
  1373. }, [_yunhaiTeacherDeskIconInfo[i]])
  1374. }, _frag); //
  1375. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1376. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1377. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1378. } //_hkStudentDeskIconInfo
  1379. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1380. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1381. _content = $$("div", {
  1382. className: "U_MD_D_KO",
  1383. "onmousedown": U.UF.C.closure(function(obj) {
  1384. //防止拖动图标即打开了桌面应用
  1385. U.MD.D.click(this, obj);
  1386. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1387. "onclick": U.UF.C.closure(function(obj) {
  1388. //防止拖动图标即打开了桌面应用
  1389. U.MD.D.click(this, obj);
  1390. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1391. }, _frag); //
  1392. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1393. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1394. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1395. }
  1396. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1397. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1398. _content = $$("div", {
  1399. className: "U_MD_D_KO",
  1400. "onmousedown": U.UF.C.closure(function(obj) {
  1401. //防止拖动图标即打开了桌面应用
  1402. U.MD.D.click(this, obj);
  1403. }, [_hkTeacherDeskIconInfo[i]]),
  1404. "onclick": U.UF.C.closure(function(obj) {
  1405. //防止拖动图标即打开了桌面应用
  1406. U.MD.D.click(this, obj);
  1407. }, [_hkTeacherDeskIconInfo[i]])
  1408. }, _frag); //
  1409. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1410. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1411. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1412. }
  1413. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1414. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1415. _content = $$("div", {
  1416. className: "U_MD_D_KO",
  1417. "onmousedown": U.UF.C.closure(function(obj) {
  1418. //防止拖动图标即打开了桌面应用
  1419. U.MD.D.click(this, obj);
  1420. }, [_gdjgAdminDeskIconInfo[i]]),
  1421. "onclick": U.UF.C.closure(function(obj) {
  1422. //防止拖动图标即打开了桌面应用
  1423. U.MD.D.click(this, obj);
  1424. }, [_gdjgAdminDeskIconInfo[i]])
  1425. }, _frag); //
  1426. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1427. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1428. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1429. }
  1430. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1431. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1432. _content = $$("div", {
  1433. className: "U_MD_D_KO",
  1434. "onmousedown": U.UF.C.closure(function(obj) {
  1435. //防止拖动图标即打开了桌面应用
  1436. U.MD.D.click(this, obj);
  1437. }, [_gdjgTeacherDeskIconInfo[i]]),
  1438. "onclick": U.UF.C.closure(function(obj) {
  1439. //防止拖动图标即打开了桌面应用
  1440. U.MD.D.click(this, obj);
  1441. }, [_gdjgTeacherDeskIconInfo[i]])
  1442. }, _frag); //
  1443. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1444. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1445. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1446. }
  1447. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1448. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1449. _content = $$("div", {
  1450. className: "U_MD_D_KO",
  1451. "onmousedown": U.UF.C.closure(function(obj) {
  1452. //防止拖动图标即打开了桌面应用
  1453. U.MD.D.click(this, obj);
  1454. }, [_szherTeacherDeskIconInfo[i]]),
  1455. "onclick": U.UF.C.closure(function(obj) {
  1456. //防止拖动图标即打开了桌面应用
  1457. U.MD.D.click(this, obj);
  1458. }, [_szherTeacherDeskIconInfo[i]])
  1459. }, _frag); //
  1460. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1461. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1462. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1463. }
  1464. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1465. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1466. _content = $$("div", {
  1467. className: "U_MD_D_KO",
  1468. "onmousedown": U.UF.C.closure(function(obj) {
  1469. //防止拖动图标即打开了桌面应用
  1470. U.MD.D.click(this, obj);
  1471. }, [_heyuannAdminDeskIconInfo[i]]),
  1472. "onclick": U.UF.C.closure(function(obj) {
  1473. //防止拖动图标即打开了桌面应用
  1474. U.MD.D.click(this, obj);
  1475. }, [_heyuannAdminDeskIconInfo[i]])
  1476. }, _frag); //
  1477. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1478. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1479. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1480. }
  1481. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1482. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1483. _content = $$("div", {
  1484. className: "U_MD_D_KO",
  1485. "onmousedown": U.UF.C.closure(function(obj) {
  1486. //防止拖动图标即打开了桌面应用
  1487. U.MD.D.click(this, obj);
  1488. }, [_heyuanTeacherDeskIconInfo[i]]),
  1489. "onclick": U.UF.C.closure(function(obj) {
  1490. //防止拖动图标即打开了桌面应用
  1491. U.MD.D.click(this, obj);
  1492. }, [_heyuanTeacherDeskIconInfo[i]])
  1493. }, _frag); //
  1494. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1495. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1496. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1497. } //
  1498. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1499. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1500. _content = $$("div", {
  1501. className: "U_MD_D_KO",
  1502. "onmousedown": U.UF.C.closure(function(obj) {
  1503. //防止拖动图标即打开了桌面应用
  1504. U.MD.D.click(this, obj);
  1505. }, [_dseiAdminDeskIconInfo[i]]),
  1506. "onclick": U.UF.C.closure(function(obj) {
  1507. //防止拖动图标即打开了桌面应用
  1508. U.MD.D.click(this, obj);
  1509. }, [_dseiAdminDeskIconInfo[i]])
  1510. }, _frag); //
  1511. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1512. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1513. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1514. }
  1515. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1516. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1517. _content = $$("div", {
  1518. className: "U_MD_D_KO",
  1519. "onmousedown": U.UF.C.closure(function(obj) {
  1520. //防止拖动图标即打开了桌面应用
  1521. U.MD.D.click(this, obj);
  1522. }, [_dseiTeacherDeskIconInfo[i]]),
  1523. "onclick": U.UF.C.closure(function(obj) {
  1524. //防止拖动图标即打开了桌面应用
  1525. U.MD.D.click(this, obj);
  1526. }, [_dseiTeacherDeskIconInfo[i]])
  1527. }, _frag); //
  1528. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1529. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1530. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1531. } //
  1532. }else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1533. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1534. _content = $$("div", {
  1535. className: "U_MD_D_KO",
  1536. "onmousedown": U.UF.C.closure(function(obj) {
  1537. //防止拖动图标即打开了桌面应用
  1538. U.MD.D.click(this, obj);
  1539. }, [_chjyjAdminDeskIconInfo[i]]),
  1540. "onclick": U.UF.C.closure(function(obj) {
  1541. //防止拖动图标即打开了桌面应用
  1542. U.MD.D.click(this, obj);
  1543. }, [_chjyjAdminDeskIconInfo[i]])
  1544. }, _frag); //
  1545. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1546. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1547. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1548. }//
  1549. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1550. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1551. _content = $$("div", {
  1552. className: "U_MD_D_KO",
  1553. "onmousedown": U.UF.C.closure(function(obj) {
  1554. //防止拖动图标即打开了桌面应用
  1555. U.MD.D.click(this, obj);
  1556. }, [_chjyjTeacherDeskIconInfo[i]]),
  1557. "onclick": U.UF.C.closure(function(obj) {
  1558. //防止拖动图标即打开了桌面应用
  1559. U.MD.D.click(this, obj);
  1560. }, [_chjyjTeacherDeskIconInfo[i]])
  1561. }, _frag); //
  1562. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1563. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1564. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1565. }
  1566. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1567. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1568. _content = $$("div", {
  1569. className: "U_MD_D_KO",
  1570. "onmousedown": U.UF.C.closure(function(obj) {
  1571. //防止拖动图标即打开了桌面应用
  1572. U.MD.D.click(this, obj);
  1573. }, [_szjkyAdminDeskIconInfo[i]]),
  1574. "onclick": U.UF.C.closure(function(obj) {
  1575. //防止拖动图标即打开了桌面应用
  1576. U.MD.D.click(this, obj);
  1577. }, [_szjkyAdminDeskIconInfo[i]])
  1578. }, _frag); //
  1579. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1580. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1581. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1582. }//
  1583. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1584. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1585. _content = $$("div", {
  1586. className: "U_MD_D_KO",
  1587. "onmousedown": U.UF.C.closure(function(obj) {
  1588. //防止拖动图标即打开了桌面应用
  1589. U.MD.D.click(this, obj);
  1590. }, [_szjkyTeacherDeskIconInfo[i]]),
  1591. "onclick": U.UF.C.closure(function(obj) {
  1592. //防止拖动图标即打开了桌面应用
  1593. U.MD.D.click(this, obj);
  1594. }, [_szjkyTeacherDeskIconInfo[i]])
  1595. }, _frag); //
  1596. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1597. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1598. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1599. }
  1600. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1601. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1602. _content = $$("div", {
  1603. className: "U_MD_D_KO",
  1604. "onmousedown": U.UF.C.closure(function(obj) {
  1605. //防止拖动图标即打开了桌面应用
  1606. U.MD.D.click(this, obj);
  1607. }, [_futianAdminDeskIconInfo[i]]),
  1608. "onclick": U.UF.C.closure(function(obj) {
  1609. //防止拖动图标即打开了桌面应用
  1610. U.MD.D.click(this, obj);
  1611. }, [_futianAdminDeskIconInfo[i]])
  1612. }, _frag); //
  1613. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1614. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1615. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1616. }
  1617. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1618. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1619. _content = $$("div", {
  1620. className: "U_MD_D_KO",
  1621. "onmousedown": U.UF.C.closure(function(obj) {
  1622. //防止拖动图标即打开了桌面应用
  1623. U.MD.D.click(this, obj);
  1624. }, [_futianTeacherDeskIconInfo[i]]),
  1625. "onclick": U.UF.C.closure(function(obj) {
  1626. //防止拖动图标即打开了桌面应用
  1627. U.MD.D.click(this, obj);
  1628. }, [_futianTeacherDeskIconInfo[i]])
  1629. }, _frag); //
  1630. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1631. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1632. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1633. }
  1634. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1635. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1636. _content = $$("div", {
  1637. className: "U_MD_D_KO",
  1638. "onmousedown": U.UF.C.closure(function(obj) {
  1639. //防止拖动图标即打开了桌面应用
  1640. U.MD.D.click(this, obj);
  1641. }, [_MingdeTeacherDeskIcon[i]]),
  1642. "onclick": U.UF.C.closure(function(obj) {
  1643. //防止拖动图标即打开了桌面应用
  1644. U.MD.D.click(this, obj);
  1645. }, [_MingdeTeacherDeskIcon[i]])
  1646. }, _frag); //
  1647. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1648. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1649. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1650. }
  1651. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1652. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1653. _content = $$("div", {
  1654. className: "U_MD_D_KO",
  1655. "onmousedown": U.UF.C.closure(function(obj) {
  1656. //防止拖动图标即打开了桌面应用
  1657. U.MD.D.click(this, obj);
  1658. }, [_lhsAdminDesktopIconInfo[i]]),
  1659. "onclick": U.UF.C.closure(function(obj) {
  1660. //防止拖动图标即打开了桌面应用
  1661. U.MD.D.click(this, obj);
  1662. }, [_lhsAdminDesktopIconInfo[i]])
  1663. }, _frag); //
  1664. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1665. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1666. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1667. }
  1668. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1669. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1670. _content = $$("div", {
  1671. className: "U_MD_D_KO",
  1672. "onmousedown": U.UF.C.closure(function(obj) {
  1673. //防止拖动图标即打开了桌面应用
  1674. U.MD.D.click(this, obj);
  1675. }, [_lhsteacherDesktopIconInfo[i]]),
  1676. "onclick": U.UF.C.closure(function(obj) {
  1677. //防止拖动图标即打开了桌面应用
  1678. U.MD.D.click(this, obj);
  1679. }, [_lhsteacherDesktopIconInfo[i]])
  1680. }, _frag); //
  1681. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1682. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1683. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1684. }
  1685. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1686. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1687. _content = $$("div", {
  1688. className: "U_MD_D_KO",
  1689. "onmousedown": U.UF.C.closure(function(obj) {
  1690. //防止拖动图标即打开了桌面应用
  1691. U.MD.D.click(this, obj);
  1692. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1693. "onclick": U.UF.C.closure(function(obj) {
  1694. //防止拖动图标即打开了桌面应用
  1695. U.MD.D.click(this, obj);
  1696. }, [_zhoujiateacherDesktopIconInfo[i]])
  1697. }, _frag); //
  1698. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1699. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1700. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1701. }
  1702. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1703. for (i = 0; i < _hanDeskIcon.length; i++) {
  1704. _content = $$("div", {
  1705. className: "U_MD_D_KO",
  1706. "onmousedown": U.UF.C.closure(function(obj) {
  1707. //防止拖动图标即打开了桌面应用
  1708. U.MD.D.click(this, obj);
  1709. }, [_hanDeskIcon[i]]),
  1710. "onclick": U.UF.C.closure(function(obj) {
  1711. //防止拖动图标即打开了桌面应用
  1712. U.MD.D.click(this, obj);
  1713. }, [_hanDeskIcon[i]])
  1714. }, _frag); //
  1715. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1716. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1717. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1718. }
  1719. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1720. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1721. _content = $$("div", {
  1722. className: "U_MD_D_KO",
  1723. "onmousedown": U.UF.C.closure(function(obj) {
  1724. //防止拖动图标即打开了桌面应用
  1725. U.MD.D.click(this, obj);
  1726. }, [_orgStemDeskIcon[i]]),
  1727. "onclick": U.UF.C.closure(function(obj) {
  1728. //防止拖动图标即打开了桌面应用
  1729. U.MD.D.click(this, obj);
  1730. }, [_orgStemDeskIcon[i]])
  1731. }, _frag); //
  1732. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1733. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1734. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1735. }
  1736. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1737. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1738. _content = $$("div", {
  1739. className: "U_MD_D_KO",
  1740. "onmousedown": U.UF.C.closure(function(obj) {
  1741. //防止拖动图标即打开了桌面应用
  1742. U.MD.D.click(this, obj);
  1743. }, [_szulsDeskIcon[i]]),
  1744. "onclick": U.UF.C.closure(function(obj) {
  1745. //防止拖动图标即打开了桌面应用
  1746. U.MD.D.click(this, obj);
  1747. }, [_szulsDeskIcon[i]])
  1748. }, _frag); //
  1749. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1750. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1751. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1752. }
  1753. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1754. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1755. _content = $$("div", {
  1756. className: "U_MD_D_KO",
  1757. "onmousedown": U.UF.C.closure(function(obj) {
  1758. //防止拖动图标即打开了桌面应用
  1759. U.MD.D.click(this, obj);
  1760. }, [_orgDesktopIconInfo[i]]),
  1761. "onclick": U.UF.C.closure(function(obj) {
  1762. //防止拖动图标即打开了桌面应用
  1763. U.MD.D.click(this, obj);
  1764. }, [_orgDesktopIconInfo[i]])
  1765. }, _frag); //
  1766. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1767. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1768. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1769. }
  1770. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1771. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1772. _content = $$("div", {
  1773. className: "U_MD_D_KO",
  1774. "onmousedown": U.UF.C.closure(function(obj) {
  1775. //防止拖动图标即打开了桌面应用
  1776. U.MD.D.click(this, obj);
  1777. }, [_schoolDesktopIconInfo[i]]),
  1778. "onclick": U.UF.C.closure(function(obj) {
  1779. //防止拖动图标即打开了桌面应用
  1780. U.MD.D.click(this, obj);
  1781. }, [_schoolDesktopIconInfo[i]])
  1782. }, _frag); //
  1783. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1784. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1785. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1786. }
  1787. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1788. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1789. _content = $$("div", {
  1790. className: "U_MD_D_KO",
  1791. "onmousedown": U.UF.C.closure(function(obj) {
  1792. //防止拖动图标即打开了桌面应用
  1793. U.MD.D.click(this, obj);
  1794. }, [_GMteacherDesktopIconInfo[i]]),
  1795. "onclick": U.UF.C.closure(function(obj) {
  1796. //防止拖动图标即打开了桌面应用
  1797. U.MD.D.click(this, obj);
  1798. }, [_GMteacherDesktopIconInfo[i]])
  1799. }, _frag); //
  1800. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1801. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1802. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1803. }
  1804. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1805. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1806. _content = $$("div", {
  1807. className: "U_MD_D_KO",
  1808. "onmousedown": U.UF.C.closure(function(obj) {
  1809. //防止拖动图标即打开了桌面应用
  1810. U.MD.D.click(this, obj);
  1811. }, [_SONGteacherDesktopIconInfo[i]]),
  1812. "onclick": U.UF.C.closure(function(obj) {
  1813. //防止拖动图标即打开了桌面应用
  1814. U.MD.D.click(this, obj);
  1815. }, [_SONGteacherDesktopIconInfo[i]])
  1816. }, _frag); //
  1817. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1818. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1819. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1820. }
  1821. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1822. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1823. _content = $$("div", {
  1824. className: "U_MD_D_KO",
  1825. "onmousedown": U.UF.C.closure(function(obj) {
  1826. //防止拖动图标即打开了桌面应用
  1827. U.MD.D.click(this, obj);
  1828. }, [_GMstudentDesktopIconInfo[i]]),
  1829. "onclick": U.UF.C.closure(function(obj) {
  1830. //防止拖动图标即打开了桌面应用
  1831. U.MD.D.click(this, obj);
  1832. }, [_GMstudentDesktopIconInfo[i]])
  1833. }, _frag); //
  1834. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1835. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1836. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1837. }
  1838. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1839. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1840. _content = $$("div", {
  1841. className: "U_MD_D_KO",
  1842. "onmousedown": U.UF.C.closure(function(obj) {
  1843. //防止拖动图标即打开了桌面应用
  1844. U.MD.D.click(this, obj);
  1845. }, [_tcTeacherDeskIconInfo[i]]),
  1846. "onclick": U.UF.C.closure(function(obj) {
  1847. //防止拖动图标即打开了桌面应用
  1848. U.MD.D.click(this, obj);
  1849. }, [_tcTeacherDeskIconInfo[i]])
  1850. }, _frag); //
  1851. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1852. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1853. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1854. }
  1855. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1856. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1857. _content = $$("div", {
  1858. className: "U_MD_D_KO",
  1859. "onmousedown": U.UF.C.closure(function(obj) {
  1860. //防止拖动图标即打开了桌面应用
  1861. U.MD.D.click(this, obj);
  1862. }, [_tcOrganizerDeskIconInfo[i]]),
  1863. "onclick": U.UF.C.closure(function(obj) {
  1864. //防止拖动图标即打开了桌面应用
  1865. U.MD.D.click(this, obj);
  1866. }, [_tcOrganizerDeskIconInfo[i]])
  1867. }, _frag); //
  1868. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1869. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1870. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1871. }
  1872. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  1873. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  1874. _content = $$("div", {
  1875. className: "U_MD_D_KO",
  1876. "onmousedown": U.UF.C.closure(function(obj) {
  1877. //防止拖动图标即打开了桌面应用
  1878. U.MD.D.click(this, obj);
  1879. }, [_szscTeacherDeskIconInfo[i]]),
  1880. "onclick": U.UF.C.closure(function(obj) {
  1881. //防止拖动图标即打开了桌面应用
  1882. U.MD.D.click(this, obj);
  1883. }, [_szscTeacherDeskIconInfo[i]])
  1884. }, _frag); //
  1885. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1886. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  1887. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  1888. }
  1889. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  1890. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  1891. _content = $$("div", {
  1892. className: "U_MD_D_KO",
  1893. "onmousedown": U.UF.C.closure(function(obj) {
  1894. //防止拖动图标即打开了桌面应用
  1895. U.MD.D.click(this, obj);
  1896. }, [_szscOrganizerDeskIconInfo[i]]),
  1897. "onclick": U.UF.C.closure(function(obj) {
  1898. //防止拖动图标即打开了桌面应用
  1899. U.MD.D.click(this, obj);
  1900. }, [_szscOrganizerDeskIconInfo[i]])
  1901. }, _frag); //
  1902. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1903. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  1904. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1905. }
  1906. } else {
  1907. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  1908. _content = $$("div", {
  1909. className: "U_MD_D_KO",
  1910. "onmousedown": U.UF.C.closure(function(obj) {
  1911. //防止拖动图标即打开了桌面应用
  1912. U.MD.D.click(this, obj);
  1913. }, [_teacherDesktopIconInfo[i]]),
  1914. "onclick": U.UF.C.closure(function(obj) {
  1915. //防止拖动图标即打开了桌面应用
  1916. U.MD.D.click(this, obj);
  1917. }, [_teacherDesktopIconInfo[i]])
  1918. }, _frag); //
  1919. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1920. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  1921. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  1922. }
  1923. }
  1924. } else {
  1925. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  1926. _content = $$("div", {
  1927. className: "U_MD_D_KO",
  1928. style: { 'width': '124px', 'height': '145px' },
  1929. "onmousedown": U.UF.C.closure(function(obj) {
  1930. //防止拖动图标即打开了桌面应用
  1931. U.MD.D.click(this, obj);
  1932. }, [_easyDesktopIconInfo[i]]),
  1933. "onclick": U.UF.C.closure(function(obj) {
  1934. //防止拖动图标即打开了桌面应用
  1935. U.MD.D.click(this, obj);
  1936. }, [_easyDesktopIconInfo[i]])
  1937. }, _frag); //
  1938. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  1939. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  1940. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  1941. }
  1942. }
  1943. if (type == 1) {
  1944. //加载好后给图标定位
  1945. U.MD.D.iconPostion($(_frag).Child());
  1946. } else {
  1947. //加载好后给图标定位
  1948. U.MD.D.iconPostion2($(_frag).Child());
  1949. }
  1950. //把图标加载到页面
  1951. el.appendChild(_frag);
  1952. }
  1953. /**
  1954. * 显示任务栏
  1955. *
  1956. * @param {element} 桌面元素
  1957. */
  1958. U.MD.D.I.displayTaskbar = function(el) {
  1959. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  1960. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  1961. //任务栏位置变化
  1962. U.selectEl(el).css({ "bottom": "0px" });
  1963. //桌面位置变话
  1964. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  1965. }
  1966. }
  1967. //#region 桌面图标拖动逻辑
  1968. /**
  1969. * 桌面排列图标
  1970. *
  1971. * @param {element} 桌面元素
  1972. * @param {object} 上下相距的距离
  1973. * @param {object} 左右相距的距离
  1974. * @return {object} 命名空间
  1975. */
  1976. U.MD.D.iconPostion = function(childs, top, left) {
  1977. var i; //用于循环处理
  1978. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  1979. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  1980. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1981. for (i = 0; i < childs.length; i++) {
  1982. //如果竖排top超过了范围处理
  1983. if (top + 95 > US.height - 10) {
  1984. //left超过了页面范围处理,则向上重叠打印处理
  1985. if ((left + 180) > US.width) {
  1986. top -= 110;
  1987. left -= 90;
  1988. }
  1989. //没有超过范围,那么left+90添加到下一个竖排打印
  1990. else {
  1991. left += 90;
  1992. top = 15;
  1993. };
  1994. }
  1995. //给图标的位置赋值
  1996. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  1997. if (i < childs.length - 1) {
  1998. //页面图标每次向下加95
  1999. top += 95;
  2000. }
  2001. }
  2002. //返回最后调用的图标的位置
  2003. return [top, left];
  2004. }
  2005. /**
  2006. * 桌面排列图标
  2007. *
  2008. * @param {element} 桌面元素
  2009. * @param {object} 上下相距的距离
  2010. * @param {object} 左右相距的距离
  2011. * @return {object} 命名空间
  2012. */
  2013. U.MD.D.iconPostion2 = function(childs, top, left) {
  2014. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2015. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2016. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2017. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2018. for (i = 0; i < childs.length; i++) {
  2019. //如果竖排top超过了范围处理
  2020. if (left + 150 > US.width - 10) {
  2021. //left超过了页面范围处理,则向上重叠打印处理
  2022. if ((top + 180) > US.Height) {
  2023. top -= 150;
  2024. left -= 150;
  2025. }
  2026. //没有超过范围,那么left+90添加到下一个竖排打印
  2027. else {
  2028. top += 150;
  2029. left = ol;
  2030. };
  2031. }
  2032. //给图标的位置赋值
  2033. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2034. if (i < childs.length - 1) {
  2035. //页面图标每次向下加95
  2036. left += 150;
  2037. }
  2038. }
  2039. //返回最后调用的图标的位置
  2040. return [top, left];
  2041. }
  2042. /**
  2043. * 桌面点击事件逻辑
  2044. *
  2045. * @param {element} 桌面元素
  2046. * @param {object} 上下相距的距离
  2047. * @param {object} 左右相距的距离
  2048. * @return {object} 命名空间
  2049. */
  2050. U.MD.D.click = function(el, obj) {
  2051. var _buttonnumber = event.button; //点击的按钮的事件值
  2052. var _userinfo = US.userInfo;
  2053. U.UF.EV.stopBubble(); //阻止向上冒泡
  2054. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2055. if (_buttonnumber < 2) {
  2056. //如果是click事件的处理
  2057. if (event.type == "click") {
  2058. //如果元素在mousemove事件中没有移动则出发click事件
  2059. if (!U.MD.D.I.IsDrag) {
  2060. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2061. U.alert("请先登录您的账号!");
  2062. setTimeout(() => {
  2063. U.MD.U.L.login();
  2064. }, 2000);
  2065. } else {
  2066. //打开应用处理
  2067. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2068. }
  2069. }
  2070. }
  2071. //如果是mouse事件的处理
  2072. else {
  2073. if (US.Config.type == '1') {
  2074. //拖动处理,添加拖动和拖动结束事件
  2075. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2076. }
  2077. }
  2078. U.MD.D.I.IsDrag = false;
  2079. }
  2080. }
  2081. /**
  2082. * 拖动的处理
  2083. *
  2084. */
  2085. U.MD.D.iconMove = function() {
  2086. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2087. U.MD.D.I.IsDrag = true;
  2088. }
  2089. /**
  2090. * 拖动结束后,这里是定位处理,以网状的形式定位
  2091. *
  2092. * @param {element} 拖动的元素
  2093. * @return {object} 命名空间
  2094. */
  2095. U.MD.D.iconUp = function(el) {
  2096. var _top = 15,
  2097. _left = 20,
  2098. _margin,
  2099. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2100. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2101. if (_positioninfo["OT"] > 15) {
  2102. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2103. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2104. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2105. }
  2106. if (_positioninfo["OL"] > 20) {
  2107. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2108. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2109. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2110. }
  2111. //while循环判断么一个重叠的元素
  2112. do {
  2113. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2114. _top = _positioninfo[0] + 95; //得到定位后的top
  2115. _left = _positioninfo[1]; //得到定位后的left
  2116. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2117. }
  2118. /**
  2119. * 判断拖动后图标是否重叠
  2120. *
  2121. * @param {element} 拖动的元素
  2122. * @param {element} 桌面所有的元素
  2123. * @param {array} 拖动元素的位置
  2124. ----------[0] 上 top
  2125. ----------[1] 左 left
  2126. * @return {object} 命名空间
  2127. */
  2128. U.MD.D.isOverlap = function(el, childs, postionarray) {
  2129. //循环所有的图标
  2130. for (var i = 0; i < childs.length; i++) {
  2131. //判断有没有和该图标诶子重叠的元素
  2132. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2133. return childs[i]; //如果有返回
  2134. }
  2135. }
  2136. }
  2137. //#endregion
  2138. //#endregion
  2139. //#region 桌面应用
  2140. /**
  2141. * 打开应用
  2142. *
  2143. * @param {string} 类型
  2144. -----------------Disk 网盘系统
  2145. -----------------PDisk 学习系统网盘
  2146. -----------------Poto 图片
  2147. -----------------Video 视频
  2148. -----------------Music 音乐
  2149. -----------------Word word
  2150. -----------------Excel excel
  2151. -----------------Txt 记事本
  2152. -----------------PB 学习系统
  2153. -----------------Blog 朋友圈系统
  2154. -----------------FTP ftp系统
  2155. -----------------Group 好友群
  2156. -----------------SY 首页系统
  2157. -----------------Set 个人设置
  2158. -----------------XSet 系统设置
  2159. -----------------App 我们所有的app
  2160. -----------------BC c.1473.cn 平台
  2161. -----------------CWeb d.1473.cn 变成平台
  2162. -----------------其他的外联系统 我们统一用iframe打开
  2163. * @param {array} 类型
  2164. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2165. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2166. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2167. 如果第一个参数为其他,则无第二个参数
  2168. * @returns {array}
  2169. */
  2170. window.addEventListener('message', function(e) { // 监听 message 事件
  2171. // alert(e.data.type);
  2172. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2173. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2174. //3是展示全部阶段 2学生 1老师 4专家
  2175. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2176. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2177. //3是展示全部阶段 2学生 1老师 4专家
  2178. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2179. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2180. //3是展示全部阶段 2学生 1老师 4专家
  2181. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2182. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2183. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2184. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2185. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2186. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2187. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2188. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2189. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2190. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2191. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2192. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2193. //3是展示全部阶段 2学生 1老师 4专家
  2194. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2195. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2196. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2197. U.MD.D.I.selectUser();
  2198. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2199. var _formel = document.getElementById("study");
  2200. U.UF.F.windowZooming(_formel);
  2201. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2202. var _formel = document.getElementById("studyDetail");
  2203. U.UF.F.windowZooming(_formel);
  2204. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2205. var _formel = document.getElementById("studyDetail");
  2206. U.UF.F.windowZooming(_formel);
  2207. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2208. var _formel = document.getElementById("studentStudy");
  2209. U.UF.F.windowZooming(_formel);
  2210. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2211. // var _formel = document.getElementById("study");
  2212. //如果最大化了,那么就把他缩小
  2213. // if (_formel.ismaximize) {
  2214. // return;
  2215. // }
  2216. // U.UF.F.windowZooming(_formel);
  2217. // U.UF.F.topWindow(_formel);
  2218. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2219. // var _formel = document.getElementById("studyDetail");
  2220. //如果最大化了,那么就把他缩小
  2221. // if (_formel.ismaximize) {
  2222. // return;
  2223. // }
  2224. // U.UF.F.windowZooming(_formel);
  2225. // U.UF.F.topWindow(_formel);
  2226. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2227. // var _formel = document.getElementById("studentStudy");
  2228. // if (_formel.ismaximize) {
  2229. // return;
  2230. // }
  2231. // U.UF.F.windowZooming(_formel);
  2232. // U.UF.F.topWindow(_formel);
  2233. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2234. var _formel = document.getElementById("study");
  2235. // if (_formel.ismaximize) {
  2236. // return;
  2237. // }
  2238. // U.UF.F.windowZooming(_formel);
  2239. U.UF.F.topWindow(_formel);
  2240. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2241. var _formel = document.getElementById("studentIndex");
  2242. U.UF.F.windowZooming(_formel);
  2243. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2244. var _formel = document.getElementById("studyDetailS");
  2245. U.UF.F.windowZooming(_formel);
  2246. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2247. var _formel = document.getElementById("studioIndex");
  2248. U.UF.F.windowZooming(_formel);
  2249. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2250. var _formel = document.getElementById("studyDetailStudio");
  2251. U.UF.F.windowZooming(_formel);
  2252. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2253. var _formel = document.getElementById("studyDetailStudio");
  2254. U.UF.F.windowZooming(_formel);
  2255. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2256. var _formel = document.getElementById("studyDetailNT");
  2257. U.UF.F.windowZooming(_formel);
  2258. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2259. var _formel = document.getElementById("studyDetailS");
  2260. U.UF.F.windowZooming(_formel);
  2261. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2262. var _formel = document.getElementById("studyDetailS");
  2263. U.UF.F.topWindow(_formel);
  2264. } else if (e.data.tools && e.data.tools == "1") {
  2265. // U.MD.D.I.openApplication("whiteboard")
  2266. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2267. } else if (e.data.tools && e.data.tools == "2") {
  2268. U.MD.D.I.openApplication("note")
  2269. } else if (e.data.tools && e.data.tools == "3") {
  2270. // U.MD.D.I.openApplication("mind")
  2271. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2272. } else if (e.data.tools && e.data.tools == "4") {
  2273. U.MD.D.I.openApplication("investigation")
  2274. } else if (e.data.tools && e.data.tools == "6") {
  2275. // U.MD.D.I.openApplication("doc")
  2276. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2277. } else if (e.data.tools && e.data.tools == "7") {
  2278. // U.MD.D.I.openApplication("mindNetwork")
  2279. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2280. } else if (e.data.tools && e.data.tools == "8") {
  2281. U.MD.D.I.openApplication("library")
  2282. } else if (e.data.tools && e.data.tools == "17") {
  2283. U.MD.D.I.openApplication("stuLibrary")
  2284. } else if (e.data.tools && e.data.tools == "18") {
  2285. U.MD.D.I.openApplication("train")
  2286. } else if (e.data.tools && e.data.tools == "21") {
  2287. U.MD.D.I.openApplication("program")
  2288. } else if (e.data.tools && e.data.tools == "22") {
  2289. U.MD.D.I.openApplication("AIprogram2")
  2290. } else if (e.data.tools && e.data.tools == "23") {
  2291. U.MD.D.I.openApplication("Pythonprogram")
  2292. } else if (e.data.tools && e.data.tools == "24") {
  2293. U.MD.D.I.openApplication("AIprogram")
  2294. } else if (e.data.tools && e.data.tools == "25") {
  2295. U.MD.D.I.openApplication("sys")
  2296. } else if (e.data.tools && e.data.tools == "26") {
  2297. // U.MD.D.I.openApplication("courseDesign")
  2298. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2299. } else if (e.data.tools && e.data.tools == "31") {
  2300. U.MD.D.I.openApplication("netWorkPanel")
  2301. } else if (e.data.tools && e.data.tools == "32") {
  2302. U.MD.D.I.openApplication("codeEdit")
  2303. } else if (e.data.tools && e.data.tools == "57") {
  2304. U.MD.D.I.openApplication("CocoPi")
  2305. } else if (e.data.tools && e.data.tools == "63") {
  2306. U.MD.D.I.openApplication("Wood")
  2307. } else if (e.data.tools && e.data.tools == "58") {
  2308. U.MD.D.I.openApplication("car")
  2309. } else if (e.data.tools && e.data.tools == "59") {
  2310. U.MD.D.I.openApplication("lineSearch")
  2311. } else if (e.data.tools && e.data.tools == "60") {
  2312. U.MD.D.I.openApplication("deepLearning")
  2313. } else if (e.data.tools && e.data.tools == "61") {
  2314. U.MD.D.I.openApplication("allHistory")
  2315. } else if (e.data.tools && e.data.tools == "28") {
  2316. U.MD.D.I.openApplication("translation")
  2317. } else if (e.data.tools && e.data.tools == "37") {
  2318. U.MD.D.I.openApplication("mohe")
  2319. } else if (e.data.tools && e.data.tools == "38") {
  2320. U.MD.D.I.openApplication("24game")
  2321. } else if (e.data.tools && e.data.tools == "39") {
  2322. U.MD.D.I.openApplication("GeoGebra")
  2323. } else if (e.data.tools && e.data.tools == "43") {
  2324. U.MD.D.I.openApplication("studentEvaluate")
  2325. } else if (e.data.tools && e.data.tools == "44") {
  2326. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2327. } else if (e.data.tools && e.data.tools == "46") {
  2328. U.MD.D.I.openApplication("project")
  2329. } else if (e.data.tools && e.data.tools == "1s") {
  2330. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2331. } else if (e.data.tools && e.data.tools == "3s") {
  2332. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2333. } else if (e.data.tools && e.data.tools == "6s") {
  2334. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2335. } else if (e.data.tools && e.data.tools == "1studio") {
  2336. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2337. } else if (e.data.tools && e.data.tools == "3studio") {
  2338. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2339. } else if (e.data.tools && e.data.tools == "6studio") {
  2340. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2341. } else if (e.data.tools && e.data.tools == "3y") {
  2342. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2343. } else if (e.data.tools && e.data.tools == "1y") {
  2344. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2345. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2346. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2347. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2348. U.MD.D.I.openApplication("AIAnalyse")
  2349. } else if (e.data.tools && e.data.tools == "1teacher") {
  2350. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2351. } else if (e.data.tools && e.data.tools == "3teacher") {
  2352. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2353. } else if (e.data.tools && e.data.tools == "7teacher") {
  2354. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2355. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2356. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2357. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2358. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2359. } else if (e.data.tools && e.data.tools == "1E") {
  2360. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2361. } else if (e.data.tools && e.data.tools == "3E") {
  2362. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2363. } else if (e.data.tools && e.data.tools == "57y") {
  2364. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2365. } else if (e.data.tools && e.data.tools == "57u") {
  2366. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2367. } else if (e.data.tools && e.data.tools == "57teacher") {
  2368. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2369. } else if (e.data.tools && e.data.tools == "64") {
  2370. U.MD.D.I.openApplication("AIChat")
  2371. } else if (e.data.tools && e.data.tools == "66") {
  2372. U.MD.D.I.openApplication("formulaEdi")
  2373. } else if (e.data.tools && e.data.tools == "67") {
  2374. U.MD.D.I.openApplication("molStr")
  2375. } else if (e.data.tools && e.data.tools == "68") {
  2376. U.MD.D.I.openApplication("timeAxis")
  2377. } else if (e.data.tools && e.data.tools == "openCourse") {
  2378. let _data = {
  2379. typea:e.data.typea || '',
  2380. typeb:e.data.typeb || '',
  2381. typed:e.data.typed || '',
  2382. }
  2383. U.MD.D.I.openInApplication("index", _data)
  2384. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2385. let _data = {
  2386. classid:e.data.classid || '',
  2387. }
  2388. U.MD.D.I.openInApplication("dataClass", _data)
  2389. }
  2390. });
  2391. U.MD.D.I.selectUser = function() {
  2392. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid
  2393. if (res.value[0].length > 0) {
  2394. US.userInfo = res.value[0][0];
  2395. $(".userName")[0].innerHTML = US.userInfo.username;
  2396. }
  2397. }, [], { "type": "GET", "withCredentials": true });
  2398. }
  2399. U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
  2400. var _userinfo = US.userInfo, //登录用户信息
  2401. _userid = US.userInfo.userid, //登录用户id
  2402. _oid = _userinfo.organizeid,
  2403. _type = US.userInfo.type,
  2404. _org = US.userInfo.org,
  2405. _role = US.userInfo.role,
  2406. _classId = US.userInfo.classid;
  2407. if (_type == 4) {
  2408. tType = 4
  2409. }
  2410. switch (str) {
  2411. case "studyDetailNT": //无终端模式
  2412. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2413. setTimeout(() => {
  2414. U.MD.U.L.login();
  2415. }, 2000);
  2416. } else {
  2417. _formdiv = new U.UF.UI.form(
  2418. "课程详情",
  2419. $$("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 }), {
  2420. "id": "studyDetailNT",
  2421. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2422. "onresize": function() {}
  2423. }, {
  2424. closecallback: function() {}
  2425. }, { "style": { "height": "36px" } }).form; //创建窗体
  2426. _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); } }
  2427. break;
  2428. }
  2429. case "studyDetail":
  2430. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2431. setTimeout(() => {
  2432. U.MD.U.L.login();
  2433. }, 2000);
  2434. } else {
  2435. _formdiv = new U.UF.UI.form(
  2436. "课程详情",
  2437. $$("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 }), {
  2438. "id": "studyDetail",
  2439. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2440. "onresize": function() {}
  2441. }, {
  2442. closecallback: function() {}
  2443. }, { "style": { "height": "36px" } }).form; //创建窗体
  2444. _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); } }
  2445. break;
  2446. }
  2447. case "studyDetailS":
  2448. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2449. setTimeout(() => {
  2450. U.MD.U.L.login();
  2451. }, 2000);
  2452. } else {
  2453. _formdiv = new U.UF.UI.form(
  2454. "项目详情",
  2455. $$("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 }), {
  2456. "id": "studyDetailS",
  2457. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2458. "onresize": function() {}
  2459. }, {
  2460. closecallback: function() {}
  2461. }, { "style": { "height": "36px" } }).form; //创建窗体
  2462. _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); } }
  2463. break;
  2464. }
  2465. case "studyDetailStudio":
  2466. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2467. setTimeout(() => {
  2468. U.MD.U.L.login();
  2469. }, 2000);
  2470. } else {
  2471. _formdiv = new U.UF.UI.form(
  2472. "工作详情",
  2473. $$("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 }), {
  2474. "id": "studyDetailStudio",
  2475. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2476. "onresize": function() {}
  2477. }, {
  2478. closecallback: function() {}
  2479. }, { "style": { "height": "36px" } }).form; //创建窗体
  2480. _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); } }
  2481. break;
  2482. }
  2483. case "studyDetailS5":
  2484. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2485. setTimeout(() => {
  2486. U.MD.U.L.login();
  2487. }, 2000);
  2488. } else {
  2489. _formdiv = new U.UF.UI.form(
  2490. "项目详情",
  2491. $$("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 }), {
  2492. "id": "studyDetailS",
  2493. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2494. "onresize": function() {}
  2495. }, {
  2496. closecallback: function() {}
  2497. }, { "style": { "height": "36px" } }).form; //创建窗体
  2498. _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); } }
  2499. break;
  2500. }
  2501. case "studyDetailGM":
  2502. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2503. setTimeout(() => {
  2504. U.MD.U.L.login();
  2505. }, 2000);
  2506. } else {
  2507. _formdiv = new U.UF.UI.form(
  2508. "课程详情",
  2509. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2510. "id": "studyDetail",
  2511. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2512. "onresize": function() {}
  2513. }, {
  2514. closecallback: function() {}
  2515. }, { "style": { "height": "36px" } }).form; //创建窗体
  2516. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2517. break;
  2518. }
  2519. case "hanUrl":
  2520. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2521. setTimeout(() => {
  2522. U.MD.U.L.login();
  2523. }, 2000);
  2524. } else {
  2525. _formdiv = new U.UF.UI.form(
  2526. "汉字宫",
  2527. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//school.hanzigon.cn/?appid=734714090237947#/material/video?grade_id=62&lesson_code=621&id=2432" }), {
  2528. "id": "hanUrl",
  2529. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2530. "onresize": function() {}
  2531. }, {
  2532. closecallback: function() {}
  2533. }, { "style": { "height": "36px" } }).form; //创建窗体
  2534. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2535. break;
  2536. }
  2537. case "index":
  2538. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2539. setTimeout(() => {
  2540. U.MD.U.L.login();
  2541. }, 2000);
  2542. } else {
  2543. _formdiv = new U.UF.UI.form(
  2544. "课程中心",
  2545. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=2" + "&typea="+ data.typea+ "&typeb=" + data.typeb + "&typed=" + data.typed }), {
  2546. "id": "study",
  2547. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2548. "onresize": function() {}
  2549. }, {
  2550. closecallback: function() {}
  2551. }, { "style": { "height": "36px" } }).form; //创建窗体
  2552. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2553. break;
  2554. }
  2555. case "dataClass":
  2556. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2557. setTimeout(() => {
  2558. U.MD.U.L.login();
  2559. }, 2000);
  2560. } else {
  2561. _formdiv = new U.UF.UI.form(
  2562. "数据报告",
  2563. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&cid=" + _classId + "&checkid="+ data.classid }), {
  2564. "id": "dataClass",
  2565. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2566. "onresize": function() {}
  2567. }, {
  2568. closecallback: function() {}
  2569. }, { "style": { "height": "36px" } }).form; //创建窗体
  2570. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "数据报告", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2571. break;
  2572. }
  2573. }
  2574. }
  2575. U.MD.D.I.openApplication = function(str, obj, info) {
  2576. obj = obj || {};
  2577. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2578. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2579. _userinfo = US.userInfo, //登录用户信息
  2580. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2581. _oid = obj.organizeid || _userinfo.organizeid,
  2582. _type = US.userInfo.type,
  2583. _org = US.userInfo.org,
  2584. _role = US.userInfo.role,
  2585. _classId = US.userInfo.classid,
  2586. _TscreenType = 1
  2587. _screenType = 2,
  2588. _SscreenType = 3;
  2589. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2590. return;
  2591. }
  2592. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2593. switch (str) {
  2594. case "studnetProject": //好友打开
  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-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  2598. "id": "studnetProject",
  2599. "style": { "width": "70%", "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/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2605. break;
  2606. case "studentEvaluate": //好友打开
  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 + "/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2610. "id": "studentEvaluate",
  2611. "style": { "width": "70%", "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/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2617. break;
  2618. case "my":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  2622. "id": "my",
  2623. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2629. break;
  2630. case "program":
  2631. _formdiv = new U.UF.UI.form(
  2632. "编程平台",
  2633. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2634. "id": "program",
  2635. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2636. "onresize": function() {}
  2637. }, {
  2638. closecallback: function() {}
  2639. }, { "style": { "height": "36px" } }).form; //创建窗体
  2640. _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); } }
  2641. break;
  2642. case "library":
  2643. _formdiv = new U.UF.UI.form(
  2644. "素材库",
  2645. $$("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 }), {
  2646. "id": "library",
  2647. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2648. "onresize": function() {}
  2649. }, {
  2650. closecallback: function() {}
  2651. }, { "style": { "height": "36px" } }).form; //创建窗体
  2652. _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); } }
  2653. break;
  2654. case "whiteboard":
  2655. _formdiv = new U.UF.UI.form(
  2656. "电子白板",
  2657. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2658. "id": "whiteboard",
  2659. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2660. "onresize": function() {}
  2661. }, {
  2662. closecallback: function() {}
  2663. }, { "style": { "height": "36px" } }).form; //创建窗体
  2664. _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); } }
  2665. break;
  2666. case "investigation":
  2667. _formdiv = new U.UF.UI.form(
  2668. "问卷调查",
  2669. $$("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 }), {
  2670. "id": "investigation",
  2671. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2672. "onresize": function() {}
  2673. }, {
  2674. closecallback: function() {}
  2675. }, { "style": { "height": "36px" } }).form; //创建窗体
  2676. _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); } }
  2677. break;
  2678. case "note":
  2679. _formdiv = new U.UF.UI.form(
  2680. "便签分类",
  2681. $$("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 }), {
  2682. "id": "note",
  2683. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2684. "onresize": function() {}
  2685. }, {
  2686. closecallback: function() {}
  2687. }, { "style": { "height": "36px" } }).form; //创建窗体
  2688. _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); } }
  2689. break;
  2690. // case "score":
  2691. // _formdiv = new U.UF.UI.form(
  2692. // "量规评分",
  2693. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2694. // "id": "score",
  2695. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2696. // "onresize": function() {}
  2697. // }, {
  2698. // closecallback: function() {}
  2699. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2700. // _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); } }
  2701. // break;
  2702. case "mind":
  2703. _formdiv = new U.UF.UI.form(
  2704. "思维导图",
  2705. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  2706. "id": "mind",
  2707. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2708. "onresize": function() {}
  2709. }, {
  2710. closecallback: function() {}
  2711. }, { "style": { "height": "36px" } }).form; //创建窗体
  2712. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2713. break;
  2714. case "doc":
  2715. // U.MD.D.I.isRoom();
  2716. _formdiv = new U.UF.UI.form(
  2717. "协同文档",
  2718. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2719. "id": "doc",
  2720. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2721. "onresize": function() {}
  2722. }, {
  2723. closecallback: function() {}
  2724. }, { "style": { "height": "36px" } }).form; //创建窗体
  2725. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2726. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2727. // })
  2728. _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); } }
  2729. break;
  2730. case "studentStudy":
  2731. _formdiv = new U.UF.UI.form(
  2732. "课程中心",
  2733. $$("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
  2734. "id": "studentStudy",
  2735. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2736. "onresize": function() {}
  2737. }, {
  2738. closecallback: function() {}
  2739. }, { "style": { "height": "36px" } }).form; //创建窗体
  2740. _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); } }
  2741. break;
  2742. case "train": //好友打开
  2743. _formdiv = new U.UF.UI.form(
  2744. "训练平台",
  2745. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2746. "id": "train",
  2747. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2748. "onresize": function() {}
  2749. }, {
  2750. closecallback: function() {}
  2751. }, { "style": { "height": "36px" } }).form; //创建窗体
  2752. _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); } }
  2753. break;
  2754. case "mindNetwork": //好友打开
  2755. _formdiv = new U.UF.UI.form(
  2756. "思维网格",
  2757. $$("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 }), {
  2758. "id": "mindNetwork",
  2759. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2760. "onresize": function() {}
  2761. }, {
  2762. closecallback: function() {}
  2763. }, { "style": { "height": "36px" } }).form; //创建窗体
  2764. _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); } }
  2765. break;
  2766. case "studentClassRoom": //好友打开
  2767. _formdiv = new U.UF.UI.form(
  2768. "实时课堂",
  2769. $$("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 }), {
  2770. "id": "studentClassRoom",
  2771. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2772. "onresize": function() {}
  2773. }, {
  2774. closecallback: function() {}
  2775. }, { "style": { "height": "36px" } }).form; //创建窗体
  2776. _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); } }
  2777. setTimeout(() => {
  2778. U.UF.F.windowZooming(_formdiv)
  2779. }, 0);
  2780. break;
  2781. }
  2782. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2783. switch (str) {
  2784. case "studnetProject": //好友打开
  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-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  2788. "id": "studnetProject",
  2789. "style": { "width": "70%", "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/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2795. break;
  2796. case "studentEvaluate": //好友打开
  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 + "/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2800. "id": "studentEvaluate",
  2801. "style": { "width": "70%", "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/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2807. break;
  2808. case "my":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  2812. "id": "my",
  2813. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2819. break;
  2820. case "program":
  2821. _formdiv = new U.UF.UI.form(
  2822. "编程平台",
  2823. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2824. "id": "program",
  2825. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2826. "onresize": function() {}
  2827. }, {
  2828. closecallback: function() {}
  2829. }, { "style": { "height": "36px" } }).form; //创建窗体
  2830. _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); } }
  2831. break;
  2832. case "library":
  2833. _formdiv = new U.UF.UI.form(
  2834. "素材库",
  2835. $$("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 }), {
  2836. "id": "library",
  2837. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2838. "onresize": function() {}
  2839. }, {
  2840. closecallback: function() {}
  2841. }, { "style": { "height": "36px" } }).form; //创建窗体
  2842. _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); } }
  2843. break;
  2844. case "whiteboard":
  2845. _formdiv = new U.UF.UI.form(
  2846. "电子白板",
  2847. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2848. "id": "whiteboard",
  2849. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2850. "onresize": function() {}
  2851. }, {
  2852. closecallback: function() {}
  2853. }, { "style": { "height": "36px" } }).form; //创建窗体
  2854. _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); } }
  2855. break;
  2856. case "investigation":
  2857. _formdiv = new U.UF.UI.form(
  2858. "问卷调查",
  2859. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  2860. "id": "investigation",
  2861. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2862. "onresize": function() {}
  2863. }, {
  2864. closecallback: function() {}
  2865. }, { "style": { "height": "36px" } }).form; //创建窗体
  2866. _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); } }
  2867. break;
  2868. case "note":
  2869. _formdiv = new U.UF.UI.form(
  2870. "便签分类",
  2871. $$("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 }), {
  2872. "id": "note",
  2873. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2874. "onresize": function() {}
  2875. }, {
  2876. closecallback: function() {}
  2877. }, { "style": { "height": "36px" } }).form; //创建窗体
  2878. _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); } }
  2879. break;
  2880. // case "score":
  2881. // _formdiv = new U.UF.UI.form(
  2882. // "量规评分",
  2883. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2884. // "id": "score",
  2885. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2886. // "onresize": function() {}
  2887. // }, {
  2888. // closecallback: function() {}
  2889. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2890. // _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); } }
  2891. // break;
  2892. case "mind":
  2893. _formdiv = new U.UF.UI.form(
  2894. "思维导图",
  2895. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  2896. "id": "mind",
  2897. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2898. "onresize": function() {}
  2899. }, {
  2900. closecallback: function() {}
  2901. }, { "style": { "height": "36px" } }).form; //创建窗体
  2902. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2903. break;
  2904. case "doc":
  2905. // U.MD.D.I.isRoom();
  2906. _formdiv = new U.UF.UI.form(
  2907. "协同文档",
  2908. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  2909. "id": "doc",
  2910. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2911. "onresize": function() {}
  2912. }, {
  2913. closecallback: function() {}
  2914. }, { "style": { "height": "36px" } }).form; //创建窗体
  2915. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  2916. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2917. })
  2918. _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); } }
  2919. break;
  2920. case "train": //好友打开
  2921. _formdiv = new U.UF.UI.form(
  2922. "训练平台",
  2923. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2924. "id": "train",
  2925. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2926. "onresize": function() {}
  2927. }, {
  2928. closecallback: function() {}
  2929. }, { "style": { "height": "36px" } }).form; //创建窗体
  2930. _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); } }
  2931. break;
  2932. case "studentStudy":
  2933. _formdiv = new U.UF.UI.form(
  2934. "课程中心",
  2935. $$("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
  2936. "id": "studentStudy",
  2937. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2938. "onresize": function() {}
  2939. }, {
  2940. closecallback: function() {}
  2941. }, { "style": { "height": "36px" } }).form; //创建窗体
  2942. _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); } }
  2943. break;
  2944. case "mindNetwork": //好友打开
  2945. _formdiv = new U.UF.UI.form(
  2946. "思维网格",
  2947. $$("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 }), {
  2948. "id": "mindNetwork",
  2949. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2950. "onresize": function() {}
  2951. }, {
  2952. closecallback: function() {}
  2953. }, { "style": { "height": "36px" } }).form; //创建窗体
  2954. _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); } }
  2955. break;
  2956. case "studentClassRoom": //好友打开
  2957. _formdiv = new U.UF.UI.form(
  2958. "实时课堂",
  2959. $$("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 }), {
  2960. "id": "studentClassRoom",
  2961. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2962. "onresize": function() {}
  2963. }, {
  2964. closecallback: function() {}
  2965. }, { "style": { "height": "36px" } }).form; //创建窗体
  2966. _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); } }
  2967. setTimeout(() => {
  2968. U.UF.F.windowZooming(_formdiv)
  2969. }, 0);
  2970. break;
  2971. }
  2972. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2973. //选择应用处理
  2974. switch (str) {
  2975. case "project": //好友打开
  2976. _formdiv = new U.UF.UI.form(
  2977. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  2978. $$("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 }), {
  2979. "id": "project",
  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/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2986. break;
  2987. case "student":
  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/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org }), {
  2991. "id": "student",
  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/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2998. break;
  2999. case "evaluate":
  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/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3003. "id": "evaluate",
  3004. "style": { "width": "90%", "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/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3010. break;
  3011. case "sys":
  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/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3015. "id": "sys",
  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/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3022. break;
  3023. case "courseDesign":
  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": "/course-design-vue" }), {
  3027. "id": "courseDesign",
  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/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3034. break;
  3035. case "program":
  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://x.cocorobo.cn" }), {
  3039. "id": "program",
  3040. "style": { "width": "70%", "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/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3046. break;
  3047. case "class":
  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/#/class?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3051. "id": "class",
  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/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3058. break;
  3059. case "Grade":
  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/#/grade?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3063. "id": "Grade",
  3064. "style": { "width": "90%", "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/Grade.png)" }, "name": "年级管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3070. break;
  3071. case "teacherOffice":
  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 + "/pbl-teacher-table/dist/#/teacherOffice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3075. "id": "teacherOffice",
  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/teacherOffice.png)" }, "name": "教研室", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3082. break;
  3083. case "my":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3087. "id": "my",
  3088. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3094. break;
  3095. case "notice":
  3096. _formdiv = new U.UF.UI.form(
  3097. "通知公告",
  3098. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  3099. "id": "notice",
  3100. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3101. "onresize": function() {}
  3102. }, {
  3103. closecallback: function() {}
  3104. }, { "style": { "height": "36px" } }).form; //创建窗体
  3105. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3106. break;
  3107. case "library":
  3108. _formdiv = new U.UF.UI.form(
  3109. "素材库",
  3110. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  3111. "id": "library",
  3112. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3113. "onresize": function() {}
  3114. }, {
  3115. closecallback: function() {}
  3116. }, { "style": { "height": "36px" } }).form; //创建窗体
  3117. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3118. break;
  3119. case "whiteboard":
  3120. _formdiv = new U.UF.UI.form(
  3121. "电子白板",
  3122. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3123. "id": "whiteboard",
  3124. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3125. "onresize": function() {}
  3126. }, {
  3127. closecallback: function() {}
  3128. }, { "style": { "height": "36px" } }).form; //创建窗体
  3129. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3130. break;
  3131. case "investigation":
  3132. _formdiv = new U.UF.UI.form(
  3133. "问卷调查",
  3134. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3135. "id": "investigation",
  3136. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3137. "onresize": function() {}
  3138. }, {
  3139. closecallback: function() {}
  3140. }, { "style": { "height": "36px" } }).form; //创建窗体
  3141. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3142. break;
  3143. case "note":
  3144. _formdiv = new U.UF.UI.form(
  3145. "便签分类",
  3146. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3147. "id": "note",
  3148. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3149. "onresize": function() {}
  3150. }, {
  3151. closecallback: function() {}
  3152. }, { "style": { "height": "36px" } }).form; //创建窗体
  3153. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3154. break;
  3155. // case "score":
  3156. // _formdiv = new U.UF.UI.form(
  3157. // "量规评分",
  3158. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3159. // "id": "score",
  3160. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3161. // "onresize": function() {}
  3162. // }, {
  3163. // closecallback: function() {}
  3164. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3165. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3166. // break;
  3167. case "mind":
  3168. _formdiv = new U.UF.UI.form(
  3169. "思维导图",
  3170. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3171. "id": "mind",
  3172. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3173. "onresize": function() {}
  3174. }, {
  3175. closecallback: function() {}
  3176. }, { "style": { "height": "36px" } }).form; //创建窗体
  3177. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3178. break;
  3179. case "doc":
  3180. // U.MD.D.I.isRoom();
  3181. _formdiv = new U.UF.UI.form(
  3182. "协同文档",
  3183. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3184. "id": "doc",
  3185. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3186. "onresize": function() {}
  3187. }, {
  3188. closecallback: function() {}
  3189. }, { "style": { "height": "36px" } }).form; //创建窗体
  3190. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3191. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3192. })
  3193. _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); } }
  3194. break;
  3195. case "study":
  3196. _formdiv = new U.UF.UI.form(
  3197. "课程中心",
  3198. $$("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
  3199. "id": "study",
  3200. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3201. "onresize": function() {}
  3202. }, {
  3203. closecallback: function() {}
  3204. }, { "style": { "height": "36px" } }).form; //创建窗体
  3205. _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); } }
  3206. break;
  3207. case "mindNetwork": //好友打开
  3208. _formdiv = new U.UF.UI.form(
  3209. "思维网格",
  3210. $$("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 }), {
  3211. "id": "mindNetwork",
  3212. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3213. "onresize": function() {}
  3214. }, {
  3215. closecallback: function() {}
  3216. }, { "style": { "height": "36px" } }).form; //创建窗体
  3217. _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); } }
  3218. break;
  3219. case "train": //好友打开
  3220. _formdiv = new U.UF.UI.form(
  3221. "训练平台",
  3222. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3223. "id": "mindNetwork",
  3224. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3225. "onresize": function() {}
  3226. }, {
  3227. closecallback: function() {}
  3228. }, { "style": { "height": "36px" } }).form; //创建窗体
  3229. _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); } }
  3230. break;
  3231. case "teacherClassRoom": //好友打开
  3232. _formdiv = new U.UF.UI.form(
  3233. "实时课堂",
  3234. $$("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 }), {
  3235. "id": "teacherClassRoom",
  3236. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3237. "onresize": function() {}
  3238. }, {
  3239. closecallback: function() {}
  3240. }, { "style": { "height": "36px" } }).form; //创建窗体
  3241. _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); } }
  3242. setTimeout(() => {
  3243. U.UF.F.windowZooming(_formdiv)
  3244. }, 0);
  3245. break;
  3246. }
  3247. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3248. switch (str) {
  3249. case "project": //好友打开
  3250. _formdiv = new U.UF.UI.form(
  3251. "课程管理",
  3252. $$("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 }), {
  3253. "id": "project",
  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/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3260. break;
  3261. case "evaluate":
  3262. _formdiv = new U.UF.UI.form(
  3263. "学生评价",
  3264. $$("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 }), {
  3265. "id": "evaluate",
  3266. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3267. "onresize": function() {}
  3268. }, {
  3269. closecallback: function() {}
  3270. }, { "style": { "height": "36px" } }).form; //创建窗体
  3271. _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); } }
  3272. break;
  3273. case "notice":
  3274. _formdiv = new U.UF.UI.form(
  3275. "通知公告",
  3276. $$("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 }), {
  3277. "id": "notice",
  3278. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3279. "onresize": function() {}
  3280. }, {
  3281. closecallback: function() {}
  3282. }, { "style": { "height": "36px" } }).form; //创建窗体
  3283. _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); } }
  3284. break;
  3285. case "stuLibrary":
  3286. _formdiv = new U.UF.UI.form(
  3287. "学习资料",
  3288. $$("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 }), {
  3289. "id": "stuLibrary",
  3290. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3291. "onresize": function() {}
  3292. }, {
  3293. closecallback: function() {}
  3294. }, { "style": { "height": "36px" } }).form; //创建窗体
  3295. _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); } }
  3296. break;
  3297. case "program":
  3298. _formdiv = new U.UF.UI.form(
  3299. "编程平台",
  3300. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3301. "id": "program",
  3302. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3303. "onresize": function() {}
  3304. }, {
  3305. closecallback: function() {}
  3306. }, { "style": { "height": "36px" } }).form; //创建窗体
  3307. _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); } }
  3308. break;
  3309. case "whiteboard":
  3310. _formdiv = new U.UF.UI.form(
  3311. "电子白板",
  3312. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3313. "id": "whiteboard",
  3314. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3315. "onresize": function() {}
  3316. }, {
  3317. closecallback: function() {}
  3318. }, { "style": { "height": "36px" } }).form; //创建窗体
  3319. _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); } }
  3320. break;
  3321. case "investigation":
  3322. _formdiv = new U.UF.UI.form(
  3323. "问卷调查",
  3324. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3325. "id": "investigation",
  3326. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3327. "onresize": function() {}
  3328. }, {
  3329. closecallback: function() {}
  3330. }, { "style": { "height": "36px" } }).form; //创建窗体
  3331. _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); } }
  3332. break;
  3333. case "mind":
  3334. _formdiv = new U.UF.UI.form(
  3335. "思维导图",
  3336. $$("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"
  3337. "id": "mind",
  3338. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3339. "onresize": function() {}
  3340. }, {
  3341. closecallback: function() {}
  3342. }, { "style": { "height": "36px" } }).form; //创建窗体
  3343. _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); } }
  3344. break;
  3345. case "doc":
  3346. // U.MD.D.I.isRoom();
  3347. _formdiv = new U.UF.UI.form(
  3348. "协同文档",
  3349. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3350. "id": "doc",
  3351. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3352. "onresize": function() {}
  3353. }, {
  3354. closecallback: function() {}
  3355. }, { "style": { "height": "36px" } }).form; //创建窗体
  3356. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3357. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3358. })
  3359. _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); } }
  3360. break;
  3361. case "study":
  3362. _formdiv = new U.UF.UI.form(
  3363. "课程中心",
  3364. $$("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
  3365. "id": "study",
  3366. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3367. "onresize": function() {}
  3368. }, {
  3369. closecallback: function() {}
  3370. }, { "style": { "height": "36px" } }).form; //创建窗体
  3371. _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); } }
  3372. break;
  3373. case "mindNetwork": //好友打开
  3374. _formdiv = new U.UF.UI.form(
  3375. "思维网格",
  3376. $$("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 }), {
  3377. "id": "mindNetwork",
  3378. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3379. "onresize": function() {}
  3380. }, {
  3381. closecallback: function() {}
  3382. }, { "style": { "height": "36px" } }).form; //创建窗体
  3383. _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); } }
  3384. break;
  3385. case "train": //好友打开
  3386. _formdiv = new U.UF.UI.form(
  3387. "训练平台",
  3388. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3389. "id": "train",
  3390. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3391. "onresize": function() {}
  3392. }, {
  3393. closecallback: function() {}
  3394. }, { "style": { "height": "36px" } }).form; //创建窗体
  3395. _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); } }
  3396. break;
  3397. case "sys":
  3398. _formdiv = new U.UF.UI.form(
  3399. "目标管理",
  3400. $$("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 }), {
  3401. "id": "sys",
  3402. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3403. "onresize": function() {}
  3404. }, {
  3405. closecallback: function() {}
  3406. }, { "style": { "height": "36px" } }).form; //创建窗体
  3407. _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); } }
  3408. break;
  3409. case "courseDesign":
  3410. _formdiv = new U.UF.UI.form(
  3411. "项目设计",
  3412. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3413. "id": "courseDesign",
  3414. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3415. "onresize": function() {}
  3416. }, {
  3417. closecallback: function() {}
  3418. }, { "style": { "height": "36px" } }).form; //创建窗体
  3419. _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); } }
  3420. break;
  3421. }
  3422. } else if (!_type) {
  3423. switch (str) {
  3424. case "my":
  3425. _formdiv = new U.UF.UI.form(
  3426. "我的资料",
  3427. $$("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 }), {
  3428. "id": "my",
  3429. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3430. "onresize": function() {}
  3431. }, {
  3432. closecallback: function() {}
  3433. }, { "style": { "height": "36px" } }).form; //创建窗体
  3434. _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); } }
  3435. break;
  3436. }
  3437. }
  3438. switch (str) {
  3439. // AIprogram2 AI体验 aihub.cocorobo.cn
  3440. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3441. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3442. case "formulaEdi": //公式编辑
  3443. _formdiv = new U.UF.UI.form(
  3444. "公式编辑",
  3445. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3446. "id": "formulaEdi",
  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/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3453. break;
  3454. case "molStr": //分子结构
  3455. _formdiv = new U.UF.UI.form(
  3456. "分子结构",
  3457. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3458. "id": "molStr",
  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/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3465. break;
  3466. case "timeAxis": //时间轴
  3467. _formdiv = new U.UF.UI.form(
  3468. "时间轴",
  3469. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3470. "id": "timeAxis",
  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/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3477. break;
  3478. case "AIprogram2": //AI体验
  3479. _formdiv = new U.UF.UI.form(
  3480. "AI体验",
  3481. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3482. "id": "AIprogram2",
  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/AIprogram2.png)" }, "name": "AI体验", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3489. break;
  3490. case "Pythonprogram": //python编程
  3491. _formdiv = new U.UF.UI.form(
  3492. "Python编程",
  3493. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3494. "id": "Pythonprogram",
  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/Pythonprogram.png)" }, "name": "Python编程", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3501. break;
  3502. case "AIprogram": //ai编程
  3503. _formdiv = new U.UF.UI.form(
  3504. "AI编程平台",
  3505. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3506. "id": "AIprogram",
  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/AIprogram.png)" }, "name": "AI编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3513. break;
  3514. case "CocoPi": //CocoPi
  3515. _formdiv = new U.UF.UI.form(
  3516. "CocoPi",
  3517. $$("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" }), {
  3518. "id": "CocoPi",
  3519. "style": { "width": "70%", "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/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3525. break;
  3526. case "Wood": //Wood
  3527. _formdiv = new U.UF.UI.form(
  3528. "海龟编程",
  3529. $$("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/" }), {
  3530. "id": "Wood",
  3531. "style": { "width": "70%", "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/Wood.png)" }, "name": "海龟编程", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3537. break;
  3538. case "car": //模拟驾驶
  3539. _formdiv = new U.UF.UI.form(
  3540. "模拟驾驶",
  3541. $$("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/" }), {
  3542. "id": "car",
  3543. "style": { "width": "70%", "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/car.png)" }, "name": "模拟驾驶", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3549. break;
  3550. case "lineSearch": //路径搜索
  3551. _formdiv = new U.UF.UI.form(
  3552. "路径搜索",
  3553. $$("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/" }), {
  3554. "id": "lineSearch",
  3555. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3556. "onresize": function() {}
  3557. }, {
  3558. closecallback: function() {}
  3559. }, { "style": { "height": "36px" } }).form; //创建窗体
  3560. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/lineSearch.png)" }, "name": "路径搜索", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3561. break;
  3562. case "deepLearning": //深度学习
  3563. _formdiv = new U.UF.UI.form(
  3564. "深度学习",
  3565. $$("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/#" }), {
  3566. "id": "deepLearning",
  3567. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3568. "onresize": function() {}
  3569. }, {
  3570. closecallback: function() {}
  3571. }, { "style": { "height": "36px" } }).form; //创建窗体
  3572. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/deepLearning.png)" }, "name": "深度学习", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3573. break;
  3574. case "allHistory": //深度学习
  3575. _formdiv = new U.UF.UI.form(
  3576. "全历史",
  3577. $$("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/" }), {
  3578. "id": "allHistory",
  3579. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3580. "onresize": function() {}
  3581. }, {
  3582. closecallback: function() {}
  3583. }, { "style": { "height": "36px" } }).form; //创建窗体
  3584. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/allHistory.png)" }, "name": "全历史", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3585. break;
  3586. case "chatPDF": //ai编程
  3587. _formdiv = new U.UF.UI.form(
  3588. "chatPDF",
  3589. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3590. "id": "chatPDF",
  3591. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3592. "onresize": function() {}
  3593. }, {
  3594. closecallback: function() {}
  3595. }, { "style": { "height": "36px" } }).form; //创建窗体
  3596. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3597. break;
  3598. case "resources": //国家教育
  3599. _formdiv = new U.UF.UI.form(
  3600. "国家教育",
  3601. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3602. "id": "resources",
  3603. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3604. "onresize": function() {}
  3605. }, {
  3606. closecallback: function() {}
  3607. }, { "style": { "height": "36px" } }).form; //创建窗体
  3608. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/resources.png)" }, "name": "国家教育", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3609. break;
  3610. case "codeEdit": //源码编辑
  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": "https://kitten.codemao.cn/" }), {
  3614. "id": "codeEdit",
  3615. "style": { "width": "80%", "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/code.png)" }, "name": "源码编辑", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3621. break; //
  3622. case "MindMap": //MindMap
  3623. _formdiv = new U.UF.UI.form(
  3624. "MindMap",
  3625. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3626. "id": "MindMap",
  3627. "style": { "width": "80%", "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/MIndMap.png)" }, "name": "MindMap", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3633. break;
  3634. case "netWorkPanel": //netWorkPanel
  3635. _formdiv = new U.UF.UI.form(
  3636. "netWorkPanel",
  3637. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3638. "id": "netWorkPanel",
  3639. "style": { "width": "80%", "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/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3645. break;
  3646. case "GeoGebra": //GeoGebra
  3647. _formdiv = new U.UF.UI.form(
  3648. "GeoGebra",
  3649. $$("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" }), {
  3650. "id": "GeoGebra",
  3651. "style": { "width": "80%", "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/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3657. break;
  3658. case "translation": //翻译
  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": "//dict.youdao.com/" }), {
  3662. "id": "translation",
  3663. "style": { "width": "80%", "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/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3669. break;
  3670. case "mohe": //魔盒
  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": "//games.cocorobo.cn/view/index.html#/" }), {
  3674. "id": "mohe",
  3675. "style": { "width": "375px", "height": "667px", "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/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3681. break;
  3682. case "24game": //24点
  3683. _formdiv = new U.UF.UI.form(
  3684. "24点",
  3685. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3686. "id": "24game",
  3687. "style": { "width": "375px", "height": "667px", "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/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3693. break;
  3694. case "case":
  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/#/CaseDesign?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3698. "id": "case",
  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/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3705. break;
  3706. case "snf":
  3707. _formdiv = new U.UF.UI.form(
  3708. "赛诺梵",
  3709. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//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" }), {
  3710. "id": "snf",
  3711. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3712. "onresize": function() {}
  3713. }, {
  3714. closecallback: function() {}
  3715. }, { "style": { "height": "36px" } }).form; //创建窗体
  3716. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3717. break;
  3718. case "hanFamily":
  3719. _formdiv = new U.UF.UI.form(
  3720. "汉字家族",
  3721. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3722. "id": "hanFamily",
  3723. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3724. "onresize": function() {}
  3725. }, {
  3726. closecallback: function() {}
  3727. }, { "style": { "height": "36px" } }).form; //创建窗体
  3728. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3729. break;
  3730. case "hanClassics":
  3731. _formdiv = new U.UF.UI.form(
  3732. "国学经典",
  3733. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3734. "id": "hanClassics",
  3735. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3736. "onresize": function() {}
  3737. }, {
  3738. closecallback: function() {}
  3739. }, { "style": { "height": "36px" } }).form; //创建窗体
  3740. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3741. break;
  3742. case "hanTraining":
  3743. _formdiv = new U.UF.UI.form(
  3744. "笔画训练",
  3745. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3746. "id": "hanTraining",
  3747. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3748. "onresize": function() {}
  3749. }, {
  3750. closecallback: function() {}
  3751. }, { "style": { "height": "36px" } }).form; //创建窗体
  3752. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3753. break;
  3754. case "hanClass":
  3755. _formdiv = new U.UF.UI.form(
  3756. "书法课堂",
  3757. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3758. "id": "hanClass",
  3759. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3760. "onresize": function() {}
  3761. }, {
  3762. closecallback: function() {}
  3763. }, { "style": { "height": "36px" } }).form; //创建窗体
  3764. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3765. break;
  3766. case "han":
  3767. _formdiv = new U.UF.UI.form(
  3768. "汉字宫",
  3769. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3770. "id": "han",
  3771. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3772. "onresize": function() {}
  3773. }, {
  3774. closecallback: function() {}
  3775. }, { "style": { "height": "36px" } }).form; //创建窗体
  3776. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3777. break;
  3778. case "projectGM": //课程管理
  3779. _formdiv = new U.UF.UI.form(
  3780. "课程管理",
  3781. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/courseGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3782. "id": "projectGM",
  3783. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3784. "onresize": function() {}
  3785. }, {
  3786. closecallback: function() {}
  3787. }, { "style": { "height": "36px" } }).form; //创建窗体
  3788. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "课程管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3789. break;
  3790. case "studyGM": //课程中心
  3791. _formdiv = new U.UF.UI.form(
  3792. "课程中心",
  3793. $$("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
  3794. "id": "study",
  3795. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3796. "onresize": function() {}
  3797. }, {
  3798. closecallback: function() {}
  3799. }, { "style": { "height": "36px" } }).form; //创建窗体
  3800. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3801. break;
  3802. // studentGM
  3803. case "studentGM": //学生管理
  3804. _formdiv = new U.UF.UI.form(
  3805. "学生管理",
  3806. $$("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 }), {
  3807. "id": "studentGM",
  3808. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3809. "onresize": function() {}
  3810. }, {
  3811. closecallback: function() {}
  3812. }, { "style": { "height": "36px" } }).form; //创建窗体
  3813. _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); } }
  3814. break;
  3815. case "evaluateGM": //学生评价
  3816. _formdiv = new U.UF.UI.form(
  3817. "学生评价",
  3818. $$("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 }), {
  3819. "id": "evaluateGM",
  3820. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3821. "onresize": function() {}
  3822. }, {
  3823. closecallback: function() {}
  3824. }, { "style": { "height": "36px" } }).form; //创建窗体
  3825. _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); } }
  3826. break;
  3827. // classGM
  3828. case "classGM": //班级管理
  3829. _formdiv = new U.UF.UI.form(
  3830. "班级管理",
  3831. $$("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 }), {
  3832. "id": "classGM",
  3833. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3834. "onresize": function() {}
  3835. }, {
  3836. closecallback: function() {}
  3837. }, { "style": { "height": "36px" } }).form; //创建窗体
  3838. _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); } }
  3839. break;
  3840. // dataGM
  3841. case "dataGM":
  3842. _formdiv = new U.UF.UI.form(
  3843. "我的资料",
  3844. $$("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 }), {
  3845. "id": "dataGM",
  3846. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3847. "onresize": function() {}
  3848. }, {
  3849. closecallback: function() {}
  3850. }, { "style": { "height": "36px" } }).form; //创建窗体
  3851. _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); } }
  3852. break;
  3853. // caseGM
  3854. case "caseGM": //课程进展
  3855. _formdiv = new U.UF.UI.form(
  3856. "课程进展",
  3857. $$("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 }), {
  3858. "id": "caseGM",
  3859. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3860. "onresize": function() {}
  3861. }, {
  3862. closecallback: function() {}
  3863. }, { "style": { "height": "36px" } }).form; //创建窗体
  3864. _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); } }
  3865. break;
  3866. // meterialGM
  3867. case "meterialGM": //素材库
  3868. _formdiv = new U.UF.UI.form(
  3869. "素材库",
  3870. $$("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 }), {
  3871. "id": "meterialGM",
  3872. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3873. "onresize": function() {}
  3874. }, {
  3875. closecallback: function() {}
  3876. }, { "style": { "height": "36px" } }).form; //创建窗体
  3877. _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); } }
  3878. break;
  3879. // evaluateSGM
  3880. case "evaluateSGM": //我的评价
  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-student-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3884. "id": "evaluateSGM",
  3885. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3886. "onresize": function() {}
  3887. }, {
  3888. closecallback: function() {}
  3889. }, { "style": { "height": "36px" } }).form; //创建窗体
  3890. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3891. break;
  3892. case "jupyter": //jupyter
  3893. _formdiv = new U.UF.UI.form(
  3894. "jupyter",
  3895. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  3896. "id": "jupyter",
  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/jupyter.png)" }, "name": "jupyter", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3903. break;
  3904. case "number": //数字实验室
  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": "https://cocorobo.cn/cloud/iot/events" }), {
  3908. "id": "number",
  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/number.png)" }, "name": "数字实验室", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3915. break;
  3916. case "studentCourse": //项目管理 学生
  3917. _formdiv = new U.UF.UI.form(
  3918. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3919. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3920. "id": "studentCourse",
  3921. "style": { "width": "90%", "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/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3927. break;
  3928. case "studentCourseS": //项目管理 老师
  3929. _formdiv = new U.UF.UI.form(
  3930. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3931. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/scourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3932. "id": "studentCourseS",
  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/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3939. break;
  3940. case "studentIndex": //项目中心
  3941. _formdiv = new U.UF.UI.form(
  3942. "项目中心",
  3943. $$("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 }), {
  3944. "id": "studentIndex",
  3945. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3946. "onresize": function() {}
  3947. }, {
  3948. closecallback: function() {}
  3949. }, { "style": { "height": "36px" } }).form; //创建窗体
  3950. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "项目管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3951. break;
  3952. case "CaseDesignS":
  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/#/CaseDesignS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3956. "id": "case",
  3957. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3958. "onresize": function() {}
  3959. }, {
  3960. closecallback: function() {}
  3961. }, { "style": { "height": "36px" } }).form; //创建窗体
  3962. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/CaseDesignS.png)" }, "name": "项目进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3963. break;
  3964. case "tcStudent": //腾讯学生管理
  3965. _formdiv = new U.UF.UI.form(
  3966. "学生管理",
  3967. $$("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 }), {
  3968. "id": "tcStudent",
  3969. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3970. "onresize": function() {}
  3971. }, {
  3972. closecallback: function() {}
  3973. }, { "style": { "height": "36px" } }).form; //创建窗体
  3974. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3975. break;
  3976. case "tcSchool": //腾讯学校管理
  3977. _formdiv = new U.UF.UI.form(
  3978. "学校管理",
  3979. $$("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 }), {
  3980. "id": "tcSchool",
  3981. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3982. "onresize": function() {}
  3983. }, {
  3984. closecallback: function() {}
  3985. }, { "style": { "height": "36px" } }).form; //创建窗体
  3986. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/school.png)" }, "name": "学校管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3987. break;
  3988. case "tcTeacher": //腾讯学校管理
  3989. _formdiv = new U.UF.UI.form(
  3990. "教师管理",
  3991. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcTeacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3992. "id": "tcTeacher",
  3993. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3994. "onresize": function() {}
  3995. }, {
  3996. closecallback: function() {}
  3997. }, { "style": { "height": "36px" } }).form; //创建窗体
  3998. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacher.png)" }, "name": "教师管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3999. break;
  4000. case "tcData": //腾讯我的资料
  4001. _formdiv = new U.UF.UI.form(
  4002. "我的资料",
  4003. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcData?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4004. "id": "tcData",
  4005. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4006. "onresize": function() {}
  4007. }, {
  4008. closecallback: function() {}
  4009. }, { "style": { "height": "36px" } }).form; //创建窗体
  4010. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4011. break;
  4012. case "tcNotice": //腾讯消息通知
  4013. _formdiv = new U.UF.UI.form(
  4014. "消息通知",
  4015. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcNotice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4016. "id": "tcNotice",
  4017. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4018. "onresize": function() {}
  4019. }, {
  4020. closecallback: function() {}
  4021. }, { "style": { "height": "36px" } }).form; //创建窗体
  4022. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "消息通知", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4023. break;
  4024. case "myReport": //好友打开
  4025. _formdiv = new U.UF.UI.form(
  4026. "我的评价",
  4027. $$("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 }), {
  4028. "id": "myReport",
  4029. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4030. "onresize": function() {}
  4031. }, {
  4032. closecallback: function() {}
  4033. }, { "style": { "height": "36px" } }).form; //创建窗体
  4034. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4035. break;
  4036. case "learnAna": //好友打开
  4037. _formdiv = new U.UF.UI.form(
  4038. "学习分析",
  4039. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/learnAna?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4040. "id": "learnAna",
  4041. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4042. "onresize": function() {}
  4043. }, {
  4044. closecallback: function() {}
  4045. }, { "style": { "height": "36px" } }).form; //创建窗体
  4046. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "学习分析", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4047. break;
  4048. case "AIChat": //AI共创
  4049. _formdiv = new U.UF.UI.form(
  4050. "AI共创",
  4051. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4052. "id": "AIChat",
  4053. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4054. "onresize": function() {}
  4055. }, {
  4056. istop: true,
  4057. closecallback: function() { $("#aichat_icon").remove(); },
  4058. narrowcallback: function() {
  4059. if (!$("#aichat_icon")[0]) {
  4060. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function() { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4061. }
  4062. },
  4063. }, { "style": { "height": "36px" } }).form; //创建窗体
  4064. _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); } }
  4065. break;
  4066. case "ainew": //AI共创
  4067. _formdiv = new U.UF.UI.form(
  4068. "AI协同",
  4069. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4070. "id": "ainew",
  4071. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4072. "onresize": function() {}
  4073. }, {
  4074. closecallback: function() {}
  4075. }, { "style": { "height": "36px" } }).form; //创建窗体
  4076. _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); } }
  4077. break;
  4078. case "futureClass": //AI共创
  4079. _formdiv = new U.UF.UI.form(
  4080. "知识建构",
  4081. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn" }), {
  4082. "id": "futureClass",
  4083. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4084. "onresize": function() {}
  4085. }, {
  4086. closecallback: function() {}
  4087. }, { "style": { "height": "36px" } }).form; //创建窗体
  4088. _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); } }
  4089. break;
  4090. case "dataBoard": //数据看板
  4091. _formdiv = new U.UF.UI.form(
  4092. "数据看板",
  4093. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoard?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4094. "id": "dataBoard",
  4095. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4096. "onresize": function() {}
  4097. }, {
  4098. closecallback: function() {}
  4099. }, { "style": { "height": "36px" } }).form; //创建窗体
  4100. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoard.png)" }, "name": "数据看板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4101. break;
  4102. case "AIAnalyse": //AI共创
  4103. _formdiv = new U.UF.UI.form(
  4104. "AI分析",
  4105. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4106. "id": "AIAnalyse",
  4107. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4108. "onresize": function() {}
  4109. }, {
  4110. closecallback: function() {}
  4111. }, { "style": { "height": "36px" } }).form; //创建窗体
  4112. _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); } }
  4113. break;
  4114. case "studioCourse": //AI共创
  4115. _formdiv = new U.UF.UI.form(
  4116. "工作管理",
  4117. $$("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 }), {
  4118. "id": "studioCourse",
  4119. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4120. "onresize": function() {}
  4121. }, {
  4122. closecallback: function() {}
  4123. }, { "style": { "height": "36px" } }).form; //创建窗体
  4124. _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); } }
  4125. break;
  4126. case "studioIndex": //AI共创
  4127. _formdiv = new U.UF.UI.form(
  4128. "工作中心",
  4129. $$("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 }), {
  4130. "id": "studioIndex",
  4131. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4132. "onresize": function() {}
  4133. }, {
  4134. closecallback: function() {}
  4135. }, { "style": { "height": "36px" } }).form; //创建窗体
  4136. _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); } }
  4137. break;
  4138. case "source":
  4139. _formdiv = new U.UF.UI.form(
  4140. "教学资源",
  4141. $$("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 }), {
  4142. "id": "source",
  4143. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4144. "onresize": function() {}
  4145. }, {
  4146. closecallback: function() {}
  4147. }, { "style": { "height": "36px" } }).form; //创建窗体
  4148. _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); } }
  4149. break;
  4150. }
  4151. //U.MD.D.I.openClick(str);
  4152. //如果有任务栏信息
  4153. if (_taskbar) {
  4154. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4155. }
  4156. }
  4157. // U.MD.D.I.openClick = function(str){
  4158. // var click = '';
  4159. // switch(str){
  4160. // case 'friend':
  4161. // click = '我的好友';
  4162. // break;
  4163. // case 'domain':
  4164. // click = '域名管理';
  4165. // break;
  4166. // case 'disk':
  4167. // click = '我的云盘';
  4168. // break;
  4169. // case 'word':
  4170. // click = 'Word';
  4171. // break;
  4172. // case 'excel':
  4173. // click = 'Execl';
  4174. // break;
  4175. // case 'txt':
  4176. // click = '文本文件';
  4177. // break;
  4178. // case 'lookupFriend':
  4179. // click = '查找好友';
  4180. // break;
  4181. // case 'ftp':
  4182. // click = 'FTP';
  4183. // break;
  4184. // case 'group':
  4185. // click = '群组';
  4186. // break;
  4187. // case 'set':
  4188. // click = '我的设置';
  4189. // break;
  4190. // case 'systemSet':
  4191. // click = '系统设置';
  4192. // break;
  4193. // case 'boomYun':
  4194. // click = '互联办公';
  4195. // break;
  4196. // case 'xz':
  4197. // click = '云端下载';
  4198. // break;
  4199. // case 'client':
  4200. // click = '有思浏览器';
  4201. // break;
  4202. // case 'backEndProgramming':
  4203. // click = '在线后台编程';
  4204. // break;
  4205. // case 'frontEndProgramming':
  4206. // click = '在线前端编程';
  4207. // break;
  4208. // default: break;
  4209. // }
  4210. // if(U.MD.D.I.Ip && click){
  4211. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4212. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4213. // })
  4214. // }
  4215. // }
  4216. /**
  4217. *函数作用:ajax简易函数,使用post格式
  4218. *@param url {data} 后台地址
  4219. *@param data {data} 参数json
  4220. *@param fn {data} 回调函数
  4221. *
  4222. */
  4223. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4224. // var xhr = new XMLHttpRequest();
  4225. // xhr.open("GET",url,true);
  4226. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4227. // xhr.onreadystatechange = function(){
  4228. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4229. // fn.call(this,xhr.responseText);
  4230. // }
  4231. // };
  4232. // xhr.send();
  4233. // }
  4234. /*判断是否是内网IP*/
  4235. // U.MD.D.I.isInnerIPFn = function(str){
  4236. // var curPageUrl = str;
  4237. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4238. // curPageUrl =curPageUrl.replace(reg1,'');
  4239. // // console.log('curPageUrl-1 '+curPageUrl);
  4240. // var reg2 = /\:+/g;//替换冒号为一点
  4241. // curPageUrl =curPageUrl.replace(reg2,'.');
  4242. // // console.log('curPageUrl-2 '+curPageUrl);
  4243. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4244. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4245. // if(curPageUrl[2] != '16'){
  4246. // return ipAddress;
  4247. // }else{
  4248. // return false;
  4249. // }
  4250. // }
  4251. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4252. // //compatibility for firefox and chrome
  4253. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4254. // var pc = new myPeerConnection({
  4255. // iceServers: []
  4256. // }),
  4257. // noop = function() {},
  4258. // localIPs = {},
  4259. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4260. // key;
  4261. // function iterateIP(ip) {
  4262. // if (!localIPs[ip]) onNewIP(ip);
  4263. // localIPs[ip] = true;
  4264. // }
  4265. // //create a bogus data channel
  4266. // pc.createDataChannel("");
  4267. // // create offer and set local description
  4268. // pc.createOffer().then(function(sdp) {
  4269. // sdp.sdp.split('\n').forEach(function(line) {
  4270. // if (line.indexOf('candidate') < 0) return;
  4271. // line.match(ipRegex).forEach(iterateIP);
  4272. // });
  4273. // pc.setLocalDescription(sdp, noop, noop);
  4274. // }).catch(function(reason) {
  4275. // // An error occurred, so handle the failure to connect
  4276. // });
  4277. // //sten for candidate events
  4278. // pc.onicecandidate = function(ice) {
  4279. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4280. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4281. // };
  4282. // }
  4283. // U.MD.D.I.getUserIpBool = function(callback){
  4284. // U.MD.D.I.getUserIP(function(ip){
  4285. // alert("Got IP! :" + ip);
  4286. // });
  4287. //}
  4288. //#endregion
  4289. U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
  4290. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4291. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4292. _userinfo = US.userInfo, //登录用户信息
  4293. _userid = US.userInfo.userid //登录用户id
  4294. let _iframe;
  4295. let _cid = cid,
  4296. _stage = stage,
  4297. _task = task,
  4298. _tool = tool;
  4299. var _jie = $$("div", {
  4300. "style": {
  4301. "position": "absolute",
  4302. "bottom": "50px",
  4303. "right": "50px",
  4304. "zIndex": "9999",
  4305. "backgroundColor": "#2268bc",
  4306. "color": "#fff",
  4307. "padding": "12px 20px",
  4308. "cursor": "pointer",
  4309. "borderRadius": "4px",
  4310. },
  4311. "innerHTML": "提交作业"
  4312. })
  4313. let aTool = ''
  4314. let _loading = document.createElement('div')
  4315. _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;"
  4316. // _loading.id = "";
  4317. let _lchild = document.createElement('div')
  4318. let _limg = document.createElement('img')
  4319. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4320. _limg.style = "width: 26px;margin-right: 10px;"
  4321. _lchild.appendChild(_limg)
  4322. let _lspan = document.createElement('span')
  4323. _lspan.innerHTML = "上传中..."
  4324. _lchild.appendChild(_lspan)
  4325. _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%);"
  4326. _loading.appendChild(_lchild)
  4327. var _box = $$('div', {
  4328. "style": {
  4329. "position": "relative",
  4330. "width": "100%",
  4331. "height": "100%",
  4332. },
  4333. })
  4334. _box.appendChild(_loading)
  4335. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4336. switch (str) {
  4337. case "whiteboard":
  4338. aTool = 1;
  4339. _iframe = $$("iframe", {
  4340. "frameborder": "no",
  4341. "border": "0",
  4342. "scrolling ": "no",
  4343. "style": {
  4344. "cssText": "border:0;width:100%;height:100%"
  4345. },
  4346. "src": "https://iwb.cocorobo.cn/"
  4347. })
  4348. _box.appendChild(_iframe);
  4349. _box.appendChild(_jie);
  4350. _formdiv = new U.UF.UI.form(
  4351. "电子白板",
  4352. _box, {
  4353. "id": "whiteboard" + cid + stage + task + tool,
  4354. "style": {
  4355. "width": "90%",
  4356. "height": "90%",
  4357. "overflow": 'hidden'
  4358. },
  4359. "onresize": function() {}
  4360. }, {
  4361. closecallback: function() {}
  4362. }, {
  4363. "style": {
  4364. "height": "36px"
  4365. }
  4366. }).form; //创建窗体
  4367. _taskbar = {
  4368. "id": str + _formdiv.id,
  4369. "style": {
  4370. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4371. },
  4372. "name": "电子白板",
  4373. "forms": _formdiv,
  4374. "click": function() {
  4375. U.MD.D.I.openApplication(str, obj, info);
  4376. }
  4377. }
  4378. break;
  4379. case "mind":
  4380. aTool = 3;
  4381. _iframe = $$("iframe", {
  4382. "frameborder": "no",
  4383. "border": "0",
  4384. "scrolling ": "no",
  4385. "style": {
  4386. "cssText": "border:0;width:100%;height:100%"
  4387. },
  4388. "src": "/kityminder-editor/dist/index.html"
  4389. })
  4390. _box.appendChild(_iframe);
  4391. _box.appendChild(_jie);
  4392. _formdiv = new U.UF.UI.form(
  4393. "思维导图",
  4394. _box, { //"/jsmind/example/demo.html"
  4395. "id": "mind" + cid + stage + task + tool,
  4396. "style": {
  4397. "width": "90%",
  4398. "height": "90%",
  4399. "overflow": 'hidden'
  4400. },
  4401. "onresize": function() {}
  4402. }, {
  4403. closecallback: function() {}
  4404. }, {
  4405. "style": {
  4406. "height": "36px"
  4407. }
  4408. }).form; //创建窗体
  4409. _taskbar = {
  4410. "id": str + _formdiv.id,
  4411. "style": {
  4412. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4413. },
  4414. "name": "思维导图",
  4415. "forms": _formdiv,
  4416. "click": function() {
  4417. U.MD.D.I.openApplication(str, obj, info);
  4418. }
  4419. }
  4420. break;
  4421. case "MindMap":
  4422. aTool = 3;
  4423. _iframe = $$("iframe", {
  4424. "frameborder": "no",
  4425. "border": "0",
  4426. "scrolling ": "no",
  4427. "style": {
  4428. "cssText": "border:0;width:100%;height:100%"
  4429. },
  4430. "src": "//cloud.cocorobo.cn/mind/"
  4431. })
  4432. _box.appendChild(_iframe);
  4433. _box.appendChild(_jie);
  4434. _formdiv = new U.UF.UI.form(
  4435. "思维导图",
  4436. _box, { //"/jsmind/example/demo.html"
  4437. "id": "mind" + cid + stage + task + tool,
  4438. "style": {
  4439. "width": "90%",
  4440. "height": "90%",
  4441. "overflow": 'hidden'
  4442. },
  4443. "onresize": function() {}
  4444. }, {
  4445. closecallback: function() {}
  4446. }, {
  4447. "style": {
  4448. "height": "36px"
  4449. }
  4450. }).form; //创建窗体
  4451. _taskbar = {
  4452. "id": str + _formdiv.id,
  4453. "style": {
  4454. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4455. },
  4456. "name": "思维导图",
  4457. "forms": _formdiv,
  4458. "click": function() {
  4459. U.MD.D.I.openApplication(str, obj, info);
  4460. }
  4461. }
  4462. break;
  4463. case "doc":
  4464. aTool = 6;
  4465. _iframe = $$("iframe", {
  4466. "frameborder": "no",
  4467. "border": "0",
  4468. "scrolling ": "no",
  4469. "style": {
  4470. "cssText": "border:0;width:100%;height:100%"
  4471. },
  4472. "src": "/Office/Word/WordEditArea.htm"
  4473. })
  4474. _box.appendChild(_iframe);
  4475. _box.appendChild(_jie);
  4476. _formdiv = new U.UF.UI.form(
  4477. "协同文档",
  4478. _box, {
  4479. "id": "doc" + cid + stage + task + tool,
  4480. "style": {
  4481. "width": "90%",
  4482. "height": "90%",
  4483. "overflow": 'hidden'
  4484. },
  4485. "onresize": function() {}
  4486. }, {
  4487. closecallback: function() {}
  4488. }, {
  4489. "style": {
  4490. "height": "36px"
  4491. }
  4492. }).form; //创建窗体
  4493. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4494. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4495. })
  4496. _taskbar = {
  4497. "id": str + _formdiv.id,
  4498. "style": {
  4499. "backgroundImage": "url(/img/icon/doc.png)"
  4500. },
  4501. "name": "协同文档",
  4502. "forms": _formdiv,
  4503. "click": function() {
  4504. U.MD.D.I.openApplication(str, obj, info);
  4505. }
  4506. }
  4507. break;
  4508. case "mindNetwork": //好友打开
  4509. aTool = 7;
  4510. _iframe = $$("iframe", {
  4511. "webkitallowfullscreen": "",
  4512. "mozallowfullscreen": "",
  4513. "allowfullscreen": "",
  4514. "frameborder": "no",
  4515. "border": "0",
  4516. "scrolling ": "no",
  4517. "style": {
  4518. "cssText": "border:0; width:100%; height:100%;"
  4519. },
  4520. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4521. })
  4522. _box.appendChild(_iframe);
  4523. _box.appendChild(_jie);
  4524. _formdiv = new U.UF.UI.form(
  4525. "思维网格",
  4526. _box, {
  4527. "id": "mindNetwork" + cid + stage + task + tool,
  4528. "style": {
  4529. "width": "90%",
  4530. "height": "90%",
  4531. "overflow": 'hidden'
  4532. },
  4533. "onresize": function() {}
  4534. }, {
  4535. closecallback: function() {}
  4536. }, {
  4537. "style": {
  4538. "height": "36px"
  4539. }
  4540. }).form; //创建窗体
  4541. _taskbar = {
  4542. "id": str + _formdiv.id,
  4543. "style": {
  4544. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4545. },
  4546. "name": "思维网格",
  4547. "forms": _formdiv,
  4548. "click": function() {
  4549. U.MD.D.I.openApplication(str, obj, info);
  4550. }
  4551. }
  4552. break;
  4553. case "courseDesign":
  4554. _iframe = $$("iframe", {
  4555. "webkitallowfullscreen": "",
  4556. "mozallowfullscreen": "",
  4557. "allowfullscreen": "",
  4558. "frameborder": "no",
  4559. "border": "0",
  4560. "scrolling ": "no",
  4561. "style": {
  4562. "cssText": "border:0; width:100%; height:100%;"
  4563. },
  4564. "src": "/course-design-vue"
  4565. })
  4566. _box.appendChild(_iframe);
  4567. _box.appendChild(_jie);
  4568. _formdiv = new U.UF.UI.form(
  4569. "项目设计",
  4570. _box, {
  4571. "id": "courseDesign" + cid + stage + task + tool,
  4572. "style": {
  4573. "width": "90%",
  4574. "height": "90%",
  4575. "overflow": 'hidden'
  4576. },
  4577. "onresize": function() {}
  4578. }, {
  4579. closecallback: function() {}
  4580. }, {
  4581. "style": {
  4582. "height": "36px"
  4583. }
  4584. }).form; //创建窗体
  4585. _taskbar = {
  4586. "id": str + _formdiv.id,
  4587. "style": {
  4588. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4589. },
  4590. "name": "项目设计",
  4591. "forms": _formdiv,
  4592. "click": function() {
  4593. U.MD.D.I.openApplication(str, obj, info);
  4594. }
  4595. }
  4596. break;
  4597. }
  4598. const script1 = document.createElement("script");
  4599. script1.type = "text/javascript";
  4600. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4601. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4602. const script2 = document.createElement("script");
  4603. script2.type = "text/javascript";
  4604. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4605. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4606. const script3 = document.createElement("script");
  4607. script3.type = "text/javascript";
  4608. script3.charset = "UTF-8";
  4609. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4610. const script4 = document.createElement("script");
  4611. script4.type = "text/javascript";
  4612. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4613. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4614. if (_iframe) {
  4615. if (str == 'doc') {
  4616. _iframe = _formdiv.querySelector('iframe')
  4617. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4618. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4619. _iframe.contentWindow.document.body.appendChild(script1);
  4620. _iframe.contentWindow.document.body.appendChild(script2);
  4621. // _iframe.contentWindow.document.body.appendChild(script3);
  4622. _iframe.contentWindow.document.body.appendChild(script4);
  4623. })
  4624. if (onloadListener) {
  4625. _iframe.contentDocument.location.reload()
  4626. } else {
  4627. _iframe.contentDocument.location.reload()
  4628. }
  4629. } else if (str == 'courseDesign') {
  4630. U.UF.DL.iframeLoad(_iframe, function() {
  4631. // _iframe.contentWindow.U.MD.O.W.load();
  4632. // _iframe.contentWindow.document.body.appendChild(script1);
  4633. _iframe.contentWindow.document.body.appendChild(script2);
  4634. _iframe.contentWindow.document.body.appendChild(script4);
  4635. })
  4636. } else if (str == 'mind') {
  4637. _iframe = _formdiv.querySelector('iframe')
  4638. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4639. //
  4640. _iframe.contentWindow.document.body.appendChild(script1);
  4641. _iframe.contentWindow.document.body.appendChild(script2);
  4642. _iframe.contentWindow.document.body.appendChild(script4);
  4643. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4644. })
  4645. if (onloadListener) {
  4646. _iframe.contentDocument.location.reload()
  4647. } else {
  4648. _iframe.contentDocument.location.reload()
  4649. }
  4650. } else if (str == 'whiteboard') {
  4651. _iframe = _formdiv.querySelector('iframe')
  4652. let onloadListener = _iframe.onload = () => {
  4653. _iframe.contentWindow.document.body.appendChild(script1);
  4654. _iframe.contentWindow.document.body.appendChild(script2);
  4655. _iframe.contentWindow.document.body.appendChild(script4);
  4656. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4657. };
  4658. if (onloadListener) {
  4659. _iframe.contentDocument.location.reload()
  4660. } else {
  4661. _iframe.contentDocument.location.reload()
  4662. }
  4663. } else {
  4664. _iframe.onload = () => {
  4665. _iframe.contentWindow.document.body.appendChild(script1);
  4666. _iframe.contentWindow.document.body.appendChild(script2);
  4667. // _iframe.contentWindow.document.body.appendChild(script3);
  4668. _iframe.contentWindow.document.body.appendChild(script4);
  4669. };
  4670. }
  4671. _jie.onclick = async() => {
  4672. let text = ''
  4673. if (aTool == 1) {
  4674. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4675. } else if (aTool == 6) {
  4676. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4677. } else if (aTool == 3) {
  4678. text = await U.MD.D.I.getEditorContent(_iframe);
  4679. }
  4680. _loading.style.display = 'flex'
  4681. console.log(_loading);
  4682. var _ajs = _iframe.contentWindow.document.createElement("script");
  4683. _ajs.type = "text/javascript";
  4684. _ajs.innerHTML =
  4685. // 'console.log(' + _loading + ');\n' +
  4686. 'var _js = document.createElement("script");\n' +
  4687. '_js.type="text/javascript";\n' +
  4688. '_js.charset="UTF-8";\n' +
  4689. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4690. "_js.onload = function(){\n" +
  4691. ' var a = document.getElementsByTagName("img")\n' +
  4692. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4693. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4694. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4695. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4696. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4697. "beforeUpload_shishi(file," +
  4698. "'" +
  4699. _userid +
  4700. "'" +
  4701. ", " +
  4702. "'" +
  4703. _cid +
  4704. "'" +
  4705. ", " +
  4706. "'" +
  4707. _stage +
  4708. "'" +
  4709. ", " +
  4710. "'" +
  4711. _task +
  4712. "'" +
  4713. ", " +
  4714. "'" +
  4715. _tool +
  4716. "'" +
  4717. ", " +
  4718. "'" +
  4719. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  4720. "'" +
  4721. ", " +
  4722. "'" +
  4723. aTool +
  4724. "'" +
  4725. ", " +
  4726. "`" +
  4727. text +
  4728. "`" +
  4729. ")\n" +
  4730. " });\n" +
  4731. "}\n" +
  4732. "document.head.appendChild(_js);\n";
  4733. _iframe.contentWindow.document.head.appendChild(_ajs);
  4734. }
  4735. }
  4736. //U.MD.D.I.openClick(str);
  4737. //如果有任务栏信息
  4738. // if (_taskbar) {
  4739. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4740. // }
  4741. }
  4742. U.MD.D.I.openApplicationJieE = function(str, cid, stage, task, tool) {
  4743. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4744. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4745. _userinfo = US.userInfo, //登录用户信息
  4746. _userid = US.userInfo.userid //登录用户id
  4747. let _iframe;
  4748. let _cid = cid,
  4749. _stage = stage,
  4750. _task = task,
  4751. _tool = tool;
  4752. var _jie = $$("div", {
  4753. "style": {
  4754. "position": "absolute",
  4755. "bottom": "50px",
  4756. "right": "50px",
  4757. "zIndex": "9999",
  4758. "backgroundColor": "#2268bc",
  4759. "color": "#fff",
  4760. "padding": "12px 20px",
  4761. "cursor": "pointer",
  4762. "borderRadius": "4px",
  4763. },
  4764. "innerHTML": "提交作业"
  4765. })
  4766. let aTool = ''
  4767. let _loading = document.createElement('div')
  4768. _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;"
  4769. // _loading.id = "";
  4770. let _lchild = document.createElement('div')
  4771. let _limg = document.createElement('img')
  4772. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4773. _limg.style = "width: 26px;margin-right: 10px;"
  4774. _lchild.appendChild(_limg)
  4775. let _lspan = document.createElement('span')
  4776. _lspan.innerHTML = "上传中..."
  4777. _lchild.appendChild(_lspan)
  4778. _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%);"
  4779. _loading.appendChild(_lchild)
  4780. var _box = $$('div', {
  4781. "style": {
  4782. "position": "relative",
  4783. "width": "100%",
  4784. "height": "100%",
  4785. },
  4786. })
  4787. _box.appendChild(_loading)
  4788. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  4789. switch (str) {
  4790. case "whiteboard":
  4791. aTool = 1;
  4792. _iframe = $$("iframe", {
  4793. "frameborder": "no",
  4794. "border": "0",
  4795. "scrolling ": "no",
  4796. "style": {
  4797. "cssText": "border:0;width:100%;height:100%"
  4798. },
  4799. "src": "https://iwb.cocorobo.cn/"
  4800. })
  4801. _box.appendChild(_iframe);
  4802. _box.appendChild(_jie);
  4803. _formdiv = new U.UF.UI.form(
  4804. "电子白板",
  4805. _box, {
  4806. "id": "whiteboard" + cid + stage + task + tool,
  4807. "style": {
  4808. "width": "90%",
  4809. "height": "90%",
  4810. "overflow": 'hidden'
  4811. },
  4812. "onresize": function() {}
  4813. }, {
  4814. closecallback: function() {}
  4815. }, {
  4816. "style": {
  4817. "height": "36px"
  4818. }
  4819. }).form; //创建窗体
  4820. _taskbar = {
  4821. "id": str + _formdiv.id,
  4822. "style": {
  4823. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4824. },
  4825. "name": "电子白板",
  4826. "forms": _formdiv,
  4827. "click": function() {
  4828. U.MD.D.I.openApplication(str, obj, info);
  4829. }
  4830. }
  4831. break;
  4832. case "mind":
  4833. aTool = 3;
  4834. _iframe = $$("iframe", {
  4835. "frameborder": "no",
  4836. "border": "0",
  4837. "scrolling ": "no",
  4838. "style": {
  4839. "cssText": "border:0;width:100%;height:100%"
  4840. },
  4841. "src": "/kityminder-editor/dist/index.html"
  4842. })
  4843. _box.appendChild(_iframe);
  4844. _box.appendChild(_jie);
  4845. _formdiv = new U.UF.UI.form(
  4846. "思维导图",
  4847. _box, { //"/jsmind/example/demo.html"
  4848. "id": "mind" + cid + stage + task + tool,
  4849. "style": {
  4850. "width": "90%",
  4851. "height": "90%",
  4852. "overflow": 'hidden'
  4853. },
  4854. "onresize": function() {}
  4855. }, {
  4856. closecallback: function() {}
  4857. }, {
  4858. "style": {
  4859. "height": "36px"
  4860. }
  4861. }).form; //创建窗体
  4862. _taskbar = {
  4863. "id": str + _formdiv.id,
  4864. "style": {
  4865. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4866. },
  4867. "name": "思维导图",
  4868. "forms": _formdiv,
  4869. "click": function() {
  4870. U.MD.D.I.openApplication(str, obj, info);
  4871. }
  4872. }
  4873. break;
  4874. case "MindMap":
  4875. aTool = 3;
  4876. _iframe = $$("iframe", {
  4877. "frameborder": "no",
  4878. "border": "0",
  4879. "scrolling ": "no",
  4880. "style": {
  4881. "cssText": "border:0;width:100%;height:100%"
  4882. },
  4883. "src": "//cloud.cocorobo.cn/mind/"
  4884. })
  4885. _box.appendChild(_iframe);
  4886. _box.appendChild(_jie);
  4887. _formdiv = new U.UF.UI.form(
  4888. "思维导图",
  4889. _box, { //"/jsmind/example/demo.html"
  4890. "id": "mind" + cid + stage + task + tool,
  4891. "style": {
  4892. "width": "90%",
  4893. "height": "90%",
  4894. "overflow": 'hidden'
  4895. },
  4896. "onresize": function() {}
  4897. }, {
  4898. closecallback: function() {}
  4899. }, {
  4900. "style": {
  4901. "height": "36px"
  4902. }
  4903. }).form; //创建窗体
  4904. _taskbar = {
  4905. "id": str + _formdiv.id,
  4906. "style": {
  4907. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4908. },
  4909. "name": "思维导图",
  4910. "forms": _formdiv,
  4911. "click": function() {
  4912. U.MD.D.I.openApplication(str, obj, info);
  4913. }
  4914. }
  4915. break;
  4916. case "doc":
  4917. aTool = 6;
  4918. _iframe = $$("iframe", {
  4919. "frameborder": "no",
  4920. "border": "0",
  4921. "scrolling ": "no",
  4922. "style": {
  4923. "cssText": "border:0;width:100%;height:100%"
  4924. },
  4925. "src": "/Office/Word/WordEditArea.htm"
  4926. })
  4927. _box.appendChild(_iframe);
  4928. _box.appendChild(_jie);
  4929. _formdiv = new U.UF.UI.form(
  4930. "协同文档",
  4931. _box, {
  4932. "id": "doc" + cid + stage + task + tool,
  4933. "style": {
  4934. "width": "90%",
  4935. "height": "90%",
  4936. "overflow": 'hidden'
  4937. },
  4938. "onresize": function() {}
  4939. }, {
  4940. closecallback: function() {}
  4941. }, {
  4942. "style": {
  4943. "height": "36px"
  4944. }
  4945. }).form; //创建窗体
  4946. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4947. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4948. })
  4949. _taskbar = {
  4950. "id": str + _formdiv.id,
  4951. "style": {
  4952. "backgroundImage": "url(/img/icon/doc.png)"
  4953. },
  4954. "name": "协同文档",
  4955. "forms": _formdiv,
  4956. "click": function() {
  4957. U.MD.D.I.openApplication(str, obj, info);
  4958. }
  4959. }
  4960. break;
  4961. case "mindNetwork": //好友打开
  4962. aTool = 7;
  4963. _iframe = $$("iframe", {
  4964. "webkitallowfullscreen": "",
  4965. "mozallowfullscreen": "",
  4966. "allowfullscreen": "",
  4967. "frameborder": "no",
  4968. "border": "0",
  4969. "scrolling ": "no",
  4970. "style": {
  4971. "cssText": "border:0; width:100%; height:100%;"
  4972. },
  4973. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4974. })
  4975. _box.appendChild(_iframe);
  4976. _box.appendChild(_jie);
  4977. _formdiv = new U.UF.UI.form(
  4978. "思维网格",
  4979. _box, {
  4980. "id": "mindNetwork" + cid + stage + task + tool,
  4981. "style": {
  4982. "width": "90%",
  4983. "height": "90%",
  4984. "overflow": 'hidden'
  4985. },
  4986. "onresize": function() {}
  4987. }, {
  4988. closecallback: function() {}
  4989. }, {
  4990. "style": {
  4991. "height": "36px"
  4992. }
  4993. }).form; //创建窗体
  4994. _taskbar = {
  4995. "id": str + _formdiv.id,
  4996. "style": {
  4997. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4998. },
  4999. "name": "思维网格",
  5000. "forms": _formdiv,
  5001. "click": function() {
  5002. U.MD.D.I.openApplication(str, obj, info);
  5003. }
  5004. }
  5005. break;
  5006. case "courseDesign":
  5007. _iframe = $$("iframe", {
  5008. "webkitallowfullscreen": "",
  5009. "mozallowfullscreen": "",
  5010. "allowfullscreen": "",
  5011. "frameborder": "no",
  5012. "border": "0",
  5013. "scrolling ": "no",
  5014. "style": {
  5015. "cssText": "border:0; width:100%; height:100%;"
  5016. },
  5017. "src": "/course-design-vue"
  5018. })
  5019. _box.appendChild(_iframe);
  5020. _box.appendChild(_jie);
  5021. _formdiv = new U.UF.UI.form(
  5022. "项目设计",
  5023. _box, {
  5024. "id": "courseDesign" + cid + stage + task + tool,
  5025. "style": {
  5026. "width": "90%",
  5027. "height": "90%",
  5028. "overflow": 'hidden'
  5029. },
  5030. "onresize": function() {}
  5031. }, {
  5032. closecallback: function() {}
  5033. }, {
  5034. "style": {
  5035. "height": "36px"
  5036. }
  5037. }).form; //创建窗体
  5038. _taskbar = {
  5039. "id": str + _formdiv.id,
  5040. "style": {
  5041. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5042. },
  5043. "name": "项目设计",
  5044. "forms": _formdiv,
  5045. "click": function() {
  5046. U.MD.D.I.openApplication(str, obj, info);
  5047. }
  5048. }
  5049. break;
  5050. }
  5051. const script1 = document.createElement("script");
  5052. script1.type = "text/javascript";
  5053. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5054. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5055. const script2 = document.createElement("script");
  5056. script2.type = "text/javascript";
  5057. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5058. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5059. const script3 = document.createElement("script");
  5060. script3.type = "text/javascript";
  5061. script3.charset = "UTF-8";
  5062. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5063. const script4 = document.createElement("script");
  5064. script4.type = "text/javascript";
  5065. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5066. script4.src = window.origin + "/js/Common/jietu2E.js";
  5067. if (_iframe) {
  5068. if (str == 'doc') {
  5069. _iframe = _formdiv.querySelector('iframe')
  5070. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5071. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5072. _iframe.contentWindow.document.body.appendChild(script1);
  5073. _iframe.contentWindow.document.body.appendChild(script2);
  5074. // _iframe.contentWindow.document.body.appendChild(script3);
  5075. _iframe.contentWindow.document.body.appendChild(script4);
  5076. })
  5077. if (onloadListener) {
  5078. _iframe.contentDocument.location.reload()
  5079. } else {
  5080. _iframe.contentDocument.location.reload()
  5081. }
  5082. } else if (str == 'courseDesign') {
  5083. U.UF.DL.iframeLoad(_iframe, function() {
  5084. // _iframe.contentWindow.U.MD.O.W.load();
  5085. // _iframe.contentWindow.document.body.appendChild(script1);
  5086. _iframe.contentWindow.document.body.appendChild(script2);
  5087. _iframe.contentWindow.document.body.appendChild(script4);
  5088. })
  5089. } else if (str == 'mind') {
  5090. _iframe = _formdiv.querySelector('iframe')
  5091. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5092. //
  5093. _iframe.contentWindow.document.body.appendChild(script1);
  5094. _iframe.contentWindow.document.body.appendChild(script2);
  5095. _iframe.contentWindow.document.body.appendChild(script4);
  5096. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5097. })
  5098. if (onloadListener) {
  5099. _iframe.contentDocument.location.reload()
  5100. } else {
  5101. _iframe.contentDocument.location.reload()
  5102. }
  5103. } else if (str == 'whiteboard') {
  5104. _iframe = _formdiv.querySelector('iframe')
  5105. let onloadListener = _iframe.onload = () => {
  5106. _iframe.contentWindow.document.body.appendChild(script1);
  5107. _iframe.contentWindow.document.body.appendChild(script2);
  5108. _iframe.contentWindow.document.body.appendChild(script4);
  5109. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5110. };
  5111. if (onloadListener) {
  5112. _iframe.contentDocument.location.reload()
  5113. } else {
  5114. _iframe.contentDocument.location.reload()
  5115. }
  5116. } else {
  5117. _iframe.onload = () => {
  5118. _iframe.contentWindow.document.body.appendChild(script1);
  5119. _iframe.contentWindow.document.body.appendChild(script2);
  5120. // _iframe.contentWindow.document.body.appendChild(script3);
  5121. _iframe.contentWindow.document.body.appendChild(script4);
  5122. };
  5123. }
  5124. _jie.onclick = async() => {
  5125. let text = ''
  5126. if (aTool == 1) {
  5127. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5128. } else if (aTool == 6) {
  5129. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5130. } else if (aTool == 3) {
  5131. text = await U.MD.D.I.getEditorContent(_iframe);
  5132. }
  5133. _loading.style.display = 'flex'
  5134. console.log(_loading);
  5135. var _ajs = _iframe.contentWindow.document.createElement("script");
  5136. _ajs.type = "text/javascript";
  5137. _ajs.innerHTML =
  5138. // 'console.log(' + _loading + ');\n' +
  5139. 'var _js = document.createElement("script");\n' +
  5140. '_js.type="text/javascript";\n' +
  5141. '_js.charset="UTF-8";\n' +
  5142. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5143. "_js.onload = function(){\n" +
  5144. ' var a = document.getElementsByTagName("img")\n' +
  5145. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5146. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5147. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5148. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5149. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5150. "beforeUpload_shishi(file," +
  5151. "'" +
  5152. _userid +
  5153. "'" +
  5154. ", " +
  5155. "'" +
  5156. _cid +
  5157. "'" +
  5158. ", " +
  5159. "'" +
  5160. _stage +
  5161. "'" +
  5162. ", " +
  5163. "'" +
  5164. _task +
  5165. "'" +
  5166. ", " +
  5167. "'" +
  5168. _tool +
  5169. "'" +
  5170. ", " +
  5171. "'" +
  5172. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5173. "'" +
  5174. ", " +
  5175. "'" +
  5176. aTool +
  5177. "'" +
  5178. ", " +
  5179. "`" +
  5180. text +
  5181. "`" +
  5182. ")\n" +
  5183. " });\n" +
  5184. "}\n" +
  5185. "document.head.appendChild(_js);\n";
  5186. _iframe.contentWindow.document.head.appendChild(_ajs);
  5187. }
  5188. }
  5189. //U.MD.D.I.openClick(str);
  5190. //如果有任务栏信息
  5191. // if (_taskbar) {
  5192. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5193. // }
  5194. }
  5195. U.MD.D.I.openApplicationJieTeacher = function(str, cid, stage, task, tool, student) {
  5196. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5197. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5198. _userid = student.userid, //登录用户id
  5199. _username = student.student //用户名字
  5200. let _iframe;
  5201. let _cid = cid,
  5202. _stage = stage,
  5203. _task = task,
  5204. _tool = tool;
  5205. var _jie = $$("div", {
  5206. "style": {
  5207. "position": "absolute",
  5208. "bottom": "50px",
  5209. "right": "50px",
  5210. "zIndex": "9999",
  5211. "backgroundColor": "#2268bc",
  5212. "color": "#fff",
  5213. "padding": "12px 20px",
  5214. "cursor": "pointer",
  5215. "borderRadius": "4px",
  5216. },
  5217. "innerHTML": "提交作业"
  5218. })
  5219. let aTool = ''
  5220. let _loading = document.createElement('div')
  5221. _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;"
  5222. // _loading.id = "";
  5223. let _lchild = document.createElement('div')
  5224. let _limg = document.createElement('img')
  5225. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5226. _limg.style = "width: 26px;margin-right: 10px;"
  5227. _lchild.appendChild(_limg)
  5228. let _lspan = document.createElement('span')
  5229. _lspan.innerHTML = "上传中..."
  5230. _lchild.appendChild(_lspan)
  5231. _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%);"
  5232. _loading.appendChild(_lchild)
  5233. var _box = $$('div', {
  5234. "style": {
  5235. "position": "relative",
  5236. "width": "100%",
  5237. "height": "100%",
  5238. },
  5239. })
  5240. _box.appendChild(_loading)
  5241. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5242. switch (str) {
  5243. case "whiteboard":
  5244. aTool = 1;
  5245. _iframe = $$("iframe", {
  5246. "frameborder": "no",
  5247. "border": "0",
  5248. "scrolling ": "no",
  5249. "style": {
  5250. "cssText": "border:0;width:100%;height:100%"
  5251. },
  5252. "src": "https://iwb.cocorobo.cn/"
  5253. })
  5254. _box.appendChild(_iframe);
  5255. _box.appendChild(_jie);
  5256. _formdiv = new U.UF.UI.form(
  5257. "电子白板-" + _username,
  5258. _box, {
  5259. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5260. "style": {
  5261. "width": "90%",
  5262. "height": "90%",
  5263. "overflow": 'hidden'
  5264. },
  5265. "onresize": function() {}
  5266. }, {
  5267. closecallback: function() {}
  5268. }, {
  5269. "style": {
  5270. "height": "36px"
  5271. }
  5272. }).form; //创建窗体
  5273. _taskbar = {
  5274. "id": str + _formdiv.id,
  5275. "style": {
  5276. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5277. },
  5278. "name": "电子白板",
  5279. "forms": _formdiv,
  5280. "click": function() {
  5281. U.MD.D.I.openApplication(str, obj, info);
  5282. }
  5283. }
  5284. break;
  5285. case "mind":
  5286. aTool = 3;
  5287. _iframe = $$("iframe", {
  5288. "frameborder": "no",
  5289. "border": "0",
  5290. "scrolling ": "no",
  5291. "style": {
  5292. "cssText": "border:0;width:100%;height:100%"
  5293. },
  5294. "src": "/kityminder-editor/dist/index.html"
  5295. })
  5296. _box.appendChild(_iframe);
  5297. _box.appendChild(_jie);
  5298. _formdiv = new U.UF.UI.form(
  5299. "思维导图-" + _username,
  5300. _box, { //"/jsmind/example/demo.html"
  5301. "id": "mind" + cid + stage + task + tool + _userid,
  5302. "style": {
  5303. "width": "90%",
  5304. "height": "90%",
  5305. "overflow": 'hidden'
  5306. },
  5307. "onresize": function() {}
  5308. }, {
  5309. closecallback: function() {}
  5310. }, {
  5311. "style": {
  5312. "height": "36px"
  5313. }
  5314. }).form; //创建窗体
  5315. _taskbar = {
  5316. "id": str + _formdiv.id,
  5317. "style": {
  5318. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5319. },
  5320. "name": "思维导图",
  5321. "forms": _formdiv,
  5322. "click": function() {
  5323. U.MD.D.I.openApplication(str, obj, info);
  5324. }
  5325. }
  5326. break;
  5327. case "MindMap":
  5328. aTool = 3;
  5329. _iframe = $$("iframe", {
  5330. "frameborder": "no",
  5331. "border": "0",
  5332. "scrolling ": "no",
  5333. "style": {
  5334. "cssText": "border:0;width:100%;height:100%"
  5335. },
  5336. "src": "//cloud.cocorobo.cn/mind/"
  5337. })
  5338. _box.appendChild(_iframe);
  5339. _box.appendChild(_jie);
  5340. _formdiv = new U.UF.UI.form(
  5341. "思维导图-" + _username,
  5342. _box, { //"/jsmind/example/demo.html"
  5343. "id": "mind" + cid + stage + task + tool + _userid,
  5344. "style": {
  5345. "width": "90%",
  5346. "height": "90%",
  5347. "overflow": 'hidden'
  5348. },
  5349. "onresize": function() {}
  5350. }, {
  5351. closecallback: function() {}
  5352. }, {
  5353. "style": {
  5354. "height": "36px"
  5355. }
  5356. }).form; //创建窗体
  5357. _taskbar = {
  5358. "id": str + _formdiv.id,
  5359. "style": {
  5360. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5361. },
  5362. "name": "思维导图",
  5363. "forms": _formdiv,
  5364. "click": function() {
  5365. U.MD.D.I.openApplication(str, obj, info);
  5366. }
  5367. }
  5368. break;
  5369. case "doc":
  5370. aTool = 6;
  5371. _iframe = $$("iframe", {
  5372. "frameborder": "no",
  5373. "border": "0",
  5374. "scrolling ": "no",
  5375. "style": {
  5376. "cssText": "border:0;width:100%;height:100%"
  5377. },
  5378. "src": "/Office/Word/WordEditArea.htm"
  5379. })
  5380. _box.appendChild(_iframe);
  5381. _box.appendChild(_jie);
  5382. _formdiv = new U.UF.UI.form(
  5383. "协同文档-" + _username,
  5384. _box, {
  5385. "id": "doc" + cid + stage + task + tool + _userid,
  5386. "style": {
  5387. "width": "90%",
  5388. "height": "90%",
  5389. "overflow": 'hidden'
  5390. },
  5391. "onresize": function() {}
  5392. }, {
  5393. closecallback: function() {}
  5394. }, {
  5395. "style": {
  5396. "height": "36px"
  5397. }
  5398. }).form; //创建窗体
  5399. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5400. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5401. })
  5402. _taskbar = {
  5403. "id": str + _formdiv.id,
  5404. "style": {
  5405. "backgroundImage": "url(/img/icon/doc.png)"
  5406. },
  5407. "name": "协同文档",
  5408. "forms": _formdiv,
  5409. "click": function() {
  5410. U.MD.D.I.openApplication(str, obj, info);
  5411. }
  5412. }
  5413. break;
  5414. case "mindNetwork": //好友打开
  5415. aTool = 7;
  5416. _iframe = $$("iframe", {
  5417. "webkitallowfullscreen": "",
  5418. "mozallowfullscreen": "",
  5419. "allowfullscreen": "",
  5420. "frameborder": "no",
  5421. "border": "0",
  5422. "scrolling ": "no",
  5423. "style": {
  5424. "cssText": "border:0; width:100%; height:100%;"
  5425. },
  5426. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5427. })
  5428. _box.appendChild(_iframe);
  5429. _box.appendChild(_jie);
  5430. _formdiv = new U.UF.UI.form(
  5431. "思维网格-" + _username,
  5432. _box, {
  5433. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5434. "style": {
  5435. "width": "90%",
  5436. "height": "90%",
  5437. "overflow": 'hidden'
  5438. },
  5439. "onresize": function() {}
  5440. }, {
  5441. closecallback: function() {}
  5442. }, {
  5443. "style": {
  5444. "height": "36px"
  5445. }
  5446. }).form; //创建窗体
  5447. _taskbar = {
  5448. "id": str + _formdiv.id,
  5449. "style": {
  5450. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5451. },
  5452. "name": "思维网格",
  5453. "forms": _formdiv,
  5454. "click": function() {
  5455. U.MD.D.I.openApplication(str, obj, info);
  5456. }
  5457. }
  5458. break;
  5459. case "courseDesign":
  5460. _iframe = $$("iframe", {
  5461. "webkitallowfullscreen": "",
  5462. "mozallowfullscreen": "",
  5463. "allowfullscreen": "",
  5464. "frameborder": "no",
  5465. "border": "0",
  5466. "scrolling ": "no",
  5467. "style": {
  5468. "cssText": "border:0; width:100%; height:100%;"
  5469. },
  5470. "src": "/course-design-vue"
  5471. })
  5472. _box.appendChild(_iframe);
  5473. _box.appendChild(_jie);
  5474. _formdiv = new U.UF.UI.form(
  5475. "项目设计-" + _username,
  5476. _box, {
  5477. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5478. "style": {
  5479. "width": "90%",
  5480. "height": "90%",
  5481. "overflow": 'hidden'
  5482. },
  5483. "onresize": function() {}
  5484. }, {
  5485. closecallback: function() {}
  5486. }, {
  5487. "style": {
  5488. "height": "36px"
  5489. }
  5490. }).form; //创建窗体
  5491. _taskbar = {
  5492. "id": str + _formdiv.id,
  5493. "style": {
  5494. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5495. },
  5496. "name": "项目设计",
  5497. "forms": _formdiv,
  5498. "click": function() {
  5499. U.MD.D.I.openApplication(str, obj, info);
  5500. }
  5501. }
  5502. break;
  5503. }
  5504. const script1 = document.createElement("script");
  5505. script1.type = "text/javascript";
  5506. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5507. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5508. const script2 = document.createElement("script");
  5509. script2.type = "text/javascript";
  5510. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5511. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5512. const script3 = document.createElement("script");
  5513. script3.type = "text/javascript";
  5514. script3.charset = "UTF-8";
  5515. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5516. const script4 = document.createElement("script");
  5517. script4.type = "text/javascript";
  5518. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5519. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5520. if (_iframe) {
  5521. if (str == 'doc') {
  5522. _iframe = _formdiv.querySelector('iframe')
  5523. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5524. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5525. _iframe.contentWindow.document.body.appendChild(script1);
  5526. _iframe.contentWindow.document.body.appendChild(script2);
  5527. // _iframe.contentWindow.document.body.appendChild(script3);
  5528. _iframe.contentWindow.document.body.appendChild(script4);
  5529. })
  5530. if (onloadListener) {
  5531. _iframe.contentDocument.location.reload()
  5532. } else {
  5533. _iframe.contentDocument.location.reload()
  5534. }
  5535. } else if (str == 'courseDesign') {
  5536. U.UF.DL.iframeLoad(_iframe, function() {
  5537. // _iframe.contentWindow.U.MD.O.W.load();
  5538. // _iframe.contentWindow.document.body.appendChild(script1);
  5539. _iframe.contentWindow.document.body.appendChild(script2);
  5540. _iframe.contentWindow.document.body.appendChild(script4);
  5541. })
  5542. } else if (str == 'mind') {
  5543. _iframe = _formdiv.querySelector('iframe')
  5544. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5545. //
  5546. _iframe.contentWindow.document.body.appendChild(script1);
  5547. _iframe.contentWindow.document.body.appendChild(script2);
  5548. _iframe.contentWindow.document.body.appendChild(script4);
  5549. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5550. })
  5551. if (onloadListener) {
  5552. _iframe.contentDocument.location.reload()
  5553. } else {
  5554. _iframe.contentDocument.location.reload()
  5555. }
  5556. } else if (str == 'whiteboard') {
  5557. _iframe = _formdiv.querySelector('iframe')
  5558. let onloadListener = _iframe.onload = () => {
  5559. _iframe.contentWindow.document.body.appendChild(script1);
  5560. _iframe.contentWindow.document.body.appendChild(script2);
  5561. _iframe.contentWindow.document.body.appendChild(script4);
  5562. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5563. };
  5564. if (onloadListener) {
  5565. _iframe.contentDocument.location.reload()
  5566. } else {
  5567. _iframe.contentDocument.location.reload()
  5568. }
  5569. } else {
  5570. _iframe.onload = () => {
  5571. _iframe.contentWindow.document.body.appendChild(script1);
  5572. _iframe.contentWindow.document.body.appendChild(script2);
  5573. // _iframe.contentWindow.document.body.appendChild(script3);
  5574. _iframe.contentWindow.document.body.appendChild(script4);
  5575. };
  5576. }
  5577. _jie.onclick = async() => {
  5578. let text = ''
  5579. if (aTool == 1) {
  5580. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5581. } else if (aTool == 6) {
  5582. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5583. } else if (aTool == 3) {
  5584. text = await U.MD.D.I.getEditorContent(_iframe);
  5585. }
  5586. _loading.style.display = 'flex'
  5587. console.log(_loading);
  5588. var _ajs = _iframe.contentWindow.document.createElement("script");
  5589. _ajs.type = "text/javascript";
  5590. _ajs.innerHTML =
  5591. // 'console.log(' + _loading + ');\n' +
  5592. 'var _js = document.createElement("script");\n' +
  5593. '_js.type="text/javascript";\n' +
  5594. '_js.charset="UTF-8";\n' +
  5595. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5596. "_js.onload = function(){\n" +
  5597. ' var a = document.getElementsByTagName("img")\n' +
  5598. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5599. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5600. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5601. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5602. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5603. "beforeUpload_shishi(file," +
  5604. "'" +
  5605. _userid +
  5606. "'" +
  5607. ", " +
  5608. "'" +
  5609. _cid +
  5610. "'" +
  5611. ", " +
  5612. "'" +
  5613. _stage +
  5614. "'" +
  5615. ", " +
  5616. "'" +
  5617. _task +
  5618. "'" +
  5619. ", " +
  5620. "'" +
  5621. _tool +
  5622. "'" +
  5623. ", " +
  5624. "'" +
  5625. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5626. "'" +
  5627. ", " +
  5628. "'" +
  5629. aTool +
  5630. "'" +
  5631. ", " +
  5632. "`" +
  5633. text +
  5634. "`" +
  5635. ")\n" +
  5636. " });\n" +
  5637. "}\n" +
  5638. "document.head.appendChild(_js);\n";
  5639. _iframe.contentWindow.document.head.appendChild(_ajs);
  5640. }
  5641. }
  5642. }
  5643. U.MD.D.I.openApplicationJieTeacherE = function(str, cid, stage, task, tool, student) {
  5644. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5645. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5646. _userid = student.userid, //登录用户id
  5647. _username = student.student //用户名字
  5648. let _iframe;
  5649. let _cid = cid,
  5650. _stage = stage,
  5651. _task = task,
  5652. _tool = tool;
  5653. var _jie = $$("div", {
  5654. "style": {
  5655. "position": "absolute",
  5656. "bottom": "50px",
  5657. "right": "50px",
  5658. "zIndex": "9999",
  5659. "backgroundColor": "#2268bc",
  5660. "color": "#fff",
  5661. "padding": "12px 20px",
  5662. "cursor": "pointer",
  5663. "borderRadius": "4px",
  5664. },
  5665. "innerHTML": "提交作业"
  5666. })
  5667. let aTool = ''
  5668. let _loading = document.createElement('div')
  5669. _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;"
  5670. // _loading.id = "";
  5671. let _lchild = document.createElement('div')
  5672. let _limg = document.createElement('img')
  5673. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5674. _limg.style = "width: 26px;margin-right: 10px;"
  5675. _lchild.appendChild(_limg)
  5676. let _lspan = document.createElement('span')
  5677. _lspan.innerHTML = "上传中..."
  5678. _lchild.appendChild(_lspan)
  5679. _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%);"
  5680. _loading.appendChild(_lchild)
  5681. var _box = $$('div', {
  5682. "style": {
  5683. "position": "relative",
  5684. "width": "100%",
  5685. "height": "100%",
  5686. },
  5687. })
  5688. _box.appendChild(_loading)
  5689. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5690. switch (str) {
  5691. case "whiteboard":
  5692. aTool = 1;
  5693. _iframe = $$("iframe", {
  5694. "frameborder": "no",
  5695. "border": "0",
  5696. "scrolling ": "no",
  5697. "style": {
  5698. "cssText": "border:0;width:100%;height:100%"
  5699. },
  5700. "src": "https://iwb.cocorobo.cn/"
  5701. })
  5702. _box.appendChild(_iframe);
  5703. _box.appendChild(_jie);
  5704. _formdiv = new U.UF.UI.form(
  5705. "电子白板-" + _username,
  5706. _box, {
  5707. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5708. "style": {
  5709. "width": "90%",
  5710. "height": "90%",
  5711. "overflow": 'hidden'
  5712. },
  5713. "onresize": function() {}
  5714. }, {
  5715. closecallback: function() {}
  5716. }, {
  5717. "style": {
  5718. "height": "36px"
  5719. }
  5720. }).form; //创建窗体
  5721. _taskbar = {
  5722. "id": str + _formdiv.id,
  5723. "style": {
  5724. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5725. },
  5726. "name": "电子白板",
  5727. "forms": _formdiv,
  5728. "click": function() {
  5729. U.MD.D.I.openApplication(str, obj, info);
  5730. }
  5731. }
  5732. break;
  5733. case "mind":
  5734. aTool = 3;
  5735. _iframe = $$("iframe", {
  5736. "frameborder": "no",
  5737. "border": "0",
  5738. "scrolling ": "no",
  5739. "style": {
  5740. "cssText": "border:0;width:100%;height:100%"
  5741. },
  5742. "src": "/kityminder-editor/dist/index.html"
  5743. })
  5744. _box.appendChild(_iframe);
  5745. _box.appendChild(_jie);
  5746. _formdiv = new U.UF.UI.form(
  5747. "思维导图-" + _username,
  5748. _box, { //"/jsmind/example/demo.html"
  5749. "id": "mind" + cid + stage + task + tool + _userid,
  5750. "style": {
  5751. "width": "90%",
  5752. "height": "90%",
  5753. "overflow": 'hidden'
  5754. },
  5755. "onresize": function() {}
  5756. }, {
  5757. closecallback: function() {}
  5758. }, {
  5759. "style": {
  5760. "height": "36px"
  5761. }
  5762. }).form; //创建窗体
  5763. _taskbar = {
  5764. "id": str + _formdiv.id,
  5765. "style": {
  5766. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5767. },
  5768. "name": "思维导图",
  5769. "forms": _formdiv,
  5770. "click": function() {
  5771. U.MD.D.I.openApplication(str, obj, info);
  5772. }
  5773. }
  5774. break;
  5775. case "MindMap":
  5776. aTool = 3;
  5777. _iframe = $$("iframe", {
  5778. "frameborder": "no",
  5779. "border": "0",
  5780. "scrolling ": "no",
  5781. "style": {
  5782. "cssText": "border:0;width:100%;height:100%"
  5783. },
  5784. "src": "//cloud.cocorobo.cn/mind/"
  5785. })
  5786. _box.appendChild(_iframe);
  5787. _box.appendChild(_jie);
  5788. _formdiv = new U.UF.UI.form(
  5789. "思维导图-" + _username,
  5790. _box, { //"/jsmind/example/demo.html"
  5791. "id": "mind" + cid + stage + task + tool + _userid,
  5792. "style": {
  5793. "width": "90%",
  5794. "height": "90%",
  5795. "overflow": 'hidden'
  5796. },
  5797. "onresize": function() {}
  5798. }, {
  5799. closecallback: function() {}
  5800. }, {
  5801. "style": {
  5802. "height": "36px"
  5803. }
  5804. }).form; //创建窗体
  5805. _taskbar = {
  5806. "id": str + _formdiv.id,
  5807. "style": {
  5808. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5809. },
  5810. "name": "思维导图",
  5811. "forms": _formdiv,
  5812. "click": function() {
  5813. U.MD.D.I.openApplication(str, obj, info);
  5814. }
  5815. }
  5816. break;
  5817. case "doc":
  5818. aTool = 6;
  5819. _iframe = $$("iframe", {
  5820. "frameborder": "no",
  5821. "border": "0",
  5822. "scrolling ": "no",
  5823. "style": {
  5824. "cssText": "border:0;width:100%;height:100%"
  5825. },
  5826. "src": "/Office/Word/WordEditArea.htm"
  5827. })
  5828. _box.appendChild(_iframe);
  5829. _box.appendChild(_jie);
  5830. _formdiv = new U.UF.UI.form(
  5831. "协同文档-" + _username,
  5832. _box, {
  5833. "id": "doc" + cid + stage + task + tool + _userid,
  5834. "style": {
  5835. "width": "90%",
  5836. "height": "90%",
  5837. "overflow": 'hidden'
  5838. },
  5839. "onresize": function() {}
  5840. }, {
  5841. closecallback: function() {}
  5842. }, {
  5843. "style": {
  5844. "height": "36px"
  5845. }
  5846. }).form; //创建窗体
  5847. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5848. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5849. })
  5850. _taskbar = {
  5851. "id": str + _formdiv.id,
  5852. "style": {
  5853. "backgroundImage": "url(/img/icon/doc.png)"
  5854. },
  5855. "name": "协同文档",
  5856. "forms": _formdiv,
  5857. "click": function() {
  5858. U.MD.D.I.openApplication(str, obj, info);
  5859. }
  5860. }
  5861. break;
  5862. case "mindNetwork": //好友打开
  5863. aTool = 7;
  5864. _iframe = $$("iframe", {
  5865. "webkitallowfullscreen": "",
  5866. "mozallowfullscreen": "",
  5867. "allowfullscreen": "",
  5868. "frameborder": "no",
  5869. "border": "0",
  5870. "scrolling ": "no",
  5871. "style": {
  5872. "cssText": "border:0; width:100%; height:100%;"
  5873. },
  5874. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5875. })
  5876. _box.appendChild(_iframe);
  5877. _box.appendChild(_jie);
  5878. _formdiv = new U.UF.UI.form(
  5879. "思维网格-" + _username,
  5880. _box, {
  5881. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5882. "style": {
  5883. "width": "90%",
  5884. "height": "90%",
  5885. "overflow": 'hidden'
  5886. },
  5887. "onresize": function() {}
  5888. }, {
  5889. closecallback: function() {}
  5890. }, {
  5891. "style": {
  5892. "height": "36px"
  5893. }
  5894. }).form; //创建窗体
  5895. _taskbar = {
  5896. "id": str + _formdiv.id,
  5897. "style": {
  5898. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5899. },
  5900. "name": "思维网格",
  5901. "forms": _formdiv,
  5902. "click": function() {
  5903. U.MD.D.I.openApplication(str, obj, info);
  5904. }
  5905. }
  5906. break;
  5907. case "courseDesign":
  5908. _iframe = $$("iframe", {
  5909. "webkitallowfullscreen": "",
  5910. "mozallowfullscreen": "",
  5911. "allowfullscreen": "",
  5912. "frameborder": "no",
  5913. "border": "0",
  5914. "scrolling ": "no",
  5915. "style": {
  5916. "cssText": "border:0; width:100%; height:100%;"
  5917. },
  5918. "src": "/course-design-vue"
  5919. })
  5920. _box.appendChild(_iframe);
  5921. _box.appendChild(_jie);
  5922. _formdiv = new U.UF.UI.form(
  5923. "项目设计-" + _username,
  5924. _box, {
  5925. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5926. "style": {
  5927. "width": "90%",
  5928. "height": "90%",
  5929. "overflow": 'hidden'
  5930. },
  5931. "onresize": function() {}
  5932. }, {
  5933. closecallback: function() {}
  5934. }, {
  5935. "style": {
  5936. "height": "36px"
  5937. }
  5938. }).form; //创建窗体
  5939. _taskbar = {
  5940. "id": str + _formdiv.id,
  5941. "style": {
  5942. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5943. },
  5944. "name": "项目设计",
  5945. "forms": _formdiv,
  5946. "click": function() {
  5947. U.MD.D.I.openApplication(str, obj, info);
  5948. }
  5949. }
  5950. break;
  5951. }
  5952. const script1 = document.createElement("script");
  5953. script1.type = "text/javascript";
  5954. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5955. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5956. const script2 = document.createElement("script");
  5957. script2.type = "text/javascript";
  5958. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5959. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5960. const script3 = document.createElement("script");
  5961. script3.type = "text/javascript";
  5962. script3.charset = "UTF-8";
  5963. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5964. const script4 = document.createElement("script");
  5965. script4.type = "text/javascript";
  5966. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5967. script4.src = window.origin + "/js/Common/jietu2E.js";
  5968. if (_iframe) {
  5969. if (str == 'doc') {
  5970. _iframe = _formdiv.querySelector('iframe')
  5971. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5972. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5973. _iframe.contentWindow.document.body.appendChild(script1);
  5974. _iframe.contentWindow.document.body.appendChild(script2);
  5975. // _iframe.contentWindow.document.body.appendChild(script3);
  5976. _iframe.contentWindow.document.body.appendChild(script4);
  5977. })
  5978. if (onloadListener) {
  5979. _iframe.contentDocument.location.reload()
  5980. } else {
  5981. _iframe.contentDocument.location.reload()
  5982. }
  5983. } else if (str == 'courseDesign') {
  5984. U.UF.DL.iframeLoad(_iframe, function() {
  5985. // _iframe.contentWindow.U.MD.O.W.load();
  5986. // _iframe.contentWindow.document.body.appendChild(script1);
  5987. _iframe.contentWindow.document.body.appendChild(script2);
  5988. _iframe.contentWindow.document.body.appendChild(script4);
  5989. })
  5990. } else if (str == 'mind') {
  5991. _iframe = _formdiv.querySelector('iframe')
  5992. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5993. //
  5994. _iframe.contentWindow.document.body.appendChild(script1);
  5995. _iframe.contentWindow.document.body.appendChild(script2);
  5996. _iframe.contentWindow.document.body.appendChild(script4);
  5997. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5998. })
  5999. if (onloadListener) {
  6000. _iframe.contentDocument.location.reload()
  6001. } else {
  6002. _iframe.contentDocument.location.reload()
  6003. }
  6004. } else if (str == 'whiteboard') {
  6005. _iframe = _formdiv.querySelector('iframe')
  6006. let onloadListener = _iframe.onload = () => {
  6007. _iframe.contentWindow.document.body.appendChild(script1);
  6008. _iframe.contentWindow.document.body.appendChild(script2);
  6009. _iframe.contentWindow.document.body.appendChild(script4);
  6010. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6011. };
  6012. if (onloadListener) {
  6013. _iframe.contentDocument.location.reload()
  6014. } else {
  6015. _iframe.contentDocument.location.reload()
  6016. }
  6017. } else {
  6018. _iframe.onload = () => {
  6019. _iframe.contentWindow.document.body.appendChild(script1);
  6020. _iframe.contentWindow.document.body.appendChild(script2);
  6021. // _iframe.contentWindow.document.body.appendChild(script3);
  6022. _iframe.contentWindow.document.body.appendChild(script4);
  6023. };
  6024. }
  6025. _jie.onclick = async() => {
  6026. let text = ''
  6027. if (aTool == 1) {
  6028. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6029. } else if (aTool == 6) {
  6030. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6031. } else if (aTool == 3) {
  6032. text = await U.MD.D.I.getEditorContent(_iframe);
  6033. }
  6034. _loading.style.display = 'flex'
  6035. console.log(_loading);
  6036. var _ajs = _iframe.contentWindow.document.createElement("script");
  6037. _ajs.type = "text/javascript";
  6038. _ajs.innerHTML =
  6039. // 'console.log(' + _loading + ');\n' +
  6040. 'var _js = document.createElement("script");\n' +
  6041. '_js.type="text/javascript";\n' +
  6042. '_js.charset="UTF-8";\n' +
  6043. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6044. "_js.onload = function(){\n" +
  6045. ' var a = document.getElementsByTagName("img")\n' +
  6046. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6047. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6048. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6049. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6050. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6051. "beforeUpload_shishi(file," +
  6052. "'" +
  6053. _userid +
  6054. "'" +
  6055. ", " +
  6056. "'" +
  6057. _cid +
  6058. "'" +
  6059. ", " +
  6060. "'" +
  6061. _stage +
  6062. "'" +
  6063. ", " +
  6064. "'" +
  6065. _task +
  6066. "'" +
  6067. ", " +
  6068. "'" +
  6069. _tool +
  6070. "'" +
  6071. ", " +
  6072. "'" +
  6073. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6074. "'" +
  6075. ", " +
  6076. "'" +
  6077. aTool +
  6078. "'" +
  6079. ", " +
  6080. "`" +
  6081. text +
  6082. "`" +
  6083. ")\n" +
  6084. " });\n" +
  6085. "}\n" +
  6086. "document.head.appendChild(_js);\n";
  6087. _iframe.contentWindow.document.head.appendChild(_ajs);
  6088. }
  6089. }
  6090. }
  6091. U.MD.D.I.getEditorContent = function(iframe) {
  6092. return new Promise((resolve, reject) => {
  6093. iframe.contentWindow.editor.minder.exportData('json').then(function(content) {
  6094. console.log(content);
  6095. resolve(content)
  6096. });
  6097. });
  6098. }
  6099. U.MD.D.I.getContent = function(cid, s, task, t, uid, type, iframe) {
  6100. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6101. // if (res.value[0].length > 0) {
  6102. // // resolve(res.value[0][0].text);
  6103. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6104. // $(fileInput).val('');
  6105. // });
  6106. // }
  6107. // }, [], { "type": "GET", "withCredentials": true });
  6108. var xmlhttp;
  6109. var Mac, Sn, DeviceId
  6110. if (window.XMLHttpRequest) {
  6111. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6112. xmlhttp = new XMLHttpRequest();
  6113. } else {
  6114. // IE6, IE5 浏览器执行代码
  6115. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6116. }
  6117. xmlhttp.onreadystatechange = function() {
  6118. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6119. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6120. // resolve(res.value[0][0].text);
  6121. if (type == '2') {
  6122. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6123. } else if (type == '3') {
  6124. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6125. }
  6126. } else {
  6127. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6128. }
  6129. }
  6130. }
  6131. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6132. xmlhttp.send();
  6133. }
  6134. U.MD.D.I.openApplicationJieS = function(str, cid, stage, task, tool) {
  6135. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6136. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6137. _userinfo = US.userInfo, //登录用户信息
  6138. _userid = US.userInfo.userid //登录用户id
  6139. let _iframe;
  6140. let _cid = cid,
  6141. _stage = stage,
  6142. _task = task,
  6143. _tool = tool;
  6144. var _jie = $$("div", {
  6145. "style": {
  6146. "position": "absolute",
  6147. "bottom": "50px",
  6148. "right": "50px",
  6149. "zIndex": "9999",
  6150. "backgroundColor": "#2268bc",
  6151. "color": "#fff",
  6152. "padding": "12px 20px",
  6153. "cursor": "pointer",
  6154. "borderRadius": "4px",
  6155. },
  6156. "innerHTML": "确认并提交"
  6157. })
  6158. let aTool = ''
  6159. let _loading = document.createElement('div')
  6160. _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;"
  6161. // _loading.id = "";
  6162. let _lchild = document.createElement('div')
  6163. let _limg = document.createElement('img')
  6164. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6165. _limg.style = "width: 26px;margin-right: 10px;"
  6166. _lchild.appendChild(_limg)
  6167. let _lspan = document.createElement('span')
  6168. _lspan.innerHTML = "上传中..."
  6169. _lchild.appendChild(_lspan)
  6170. _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%);"
  6171. _loading.appendChild(_lchild)
  6172. var _box = $$('div', {
  6173. "style": {
  6174. "position": "relative",
  6175. "width": "100%",
  6176. "height": "100%",
  6177. },
  6178. })
  6179. _box.appendChild(_loading)
  6180. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6181. switch (str) {
  6182. case "whiteboard":
  6183. aTool = 1;
  6184. _iframe = $$("iframe", {
  6185. "frameborder": "no",
  6186. "border": "0",
  6187. "scrolling ": "no",
  6188. "style": {
  6189. "cssText": "border:0;width:100%;height:100%"
  6190. },
  6191. "src": "https://iwb.cocorobo.cn/"
  6192. })
  6193. _box.appendChild(_iframe);
  6194. _box.appendChild(_jie);
  6195. _formdiv = new U.UF.UI.form(
  6196. "电子白板",
  6197. _box, {
  6198. "id": "whiteboards" + cid + stage + task + tool,
  6199. "style": {
  6200. "width": "90%",
  6201. "height": "90%",
  6202. "overflow": 'hidden'
  6203. },
  6204. "onresize": function() {}
  6205. }, {
  6206. closecallback: function() {}
  6207. }, {
  6208. "style": {
  6209. "height": "36px"
  6210. }
  6211. }).form; //创建窗体
  6212. _taskbar = {
  6213. "id": str + _formdiv.id,
  6214. "style": {
  6215. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6216. },
  6217. "name": "电子白板",
  6218. "forms": _formdiv,
  6219. "click": function() {
  6220. U.MD.D.I.openApplication(str, obj, info);
  6221. }
  6222. }
  6223. break;
  6224. case "mind":
  6225. aTool = 3;
  6226. _iframe = $$("iframe", {
  6227. "frameborder": "no",
  6228. "border": "0",
  6229. "scrolling ": "no",
  6230. "style": {
  6231. "cssText": "border:0;width:100%;height:100%"
  6232. },
  6233. "src": "/kityminder-editor/dist/index.html"
  6234. });
  6235. _box.appendChild(_iframe);
  6236. _box.appendChild(_jie);
  6237. _formdiv = new U.UF.UI.form(
  6238. "思维导图",
  6239. _box, { //"/jsmind/example/demo.html"
  6240. "id": "minds" + cid + stage + task + tool,
  6241. "style": {
  6242. "width": "90%",
  6243. "height": "90%",
  6244. "overflow": 'hidden'
  6245. },
  6246. "onresize": function() {}
  6247. }, {
  6248. closecallback: function() {}
  6249. }, {
  6250. "style": {
  6251. "height": "36px"
  6252. }
  6253. }).form; //创建窗体
  6254. _taskbar = {
  6255. "id": str + _formdiv.id,
  6256. "style": {
  6257. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6258. },
  6259. "name": "思维导图",
  6260. "forms": _formdiv,
  6261. "click": function() {
  6262. U.MD.D.I.openApplication(str, obj, info);
  6263. }
  6264. }
  6265. break;
  6266. case "doc":
  6267. aTool = 6;
  6268. _iframe = $$("iframe", {
  6269. "frameborder": "no",
  6270. "border": "0",
  6271. "scrolling ": "no",
  6272. "style": {
  6273. "cssText": "border:0;width:100%;height:100%"
  6274. },
  6275. "src": "/Office/Word/WordEditArea.htm"
  6276. })
  6277. _box.appendChild(_iframe);
  6278. _box.appendChild(_jie);
  6279. _formdiv = new U.UF.UI.form(
  6280. "协同文档",
  6281. _box, {
  6282. "id": "docs" + cid + stage + task + tool,
  6283. "style": {
  6284. "width": "90%",
  6285. "height": "90%",
  6286. "overflow": 'hidden'
  6287. },
  6288. "onresize": function() {}
  6289. }, {
  6290. closecallback: function() {}
  6291. }, {
  6292. "style": {
  6293. "height": "36px"
  6294. }
  6295. }).form; //创建窗体
  6296. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6297. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6298. })
  6299. _taskbar = {
  6300. "id": str + _formdiv.id,
  6301. "style": {
  6302. "backgroundImage": "url(/img/icon/doc.png)"
  6303. },
  6304. "name": "协同文档",
  6305. "forms": _formdiv,
  6306. "click": function() {
  6307. U.MD.D.I.openApplication(str, obj, info);
  6308. }
  6309. }
  6310. break;
  6311. }
  6312. const script1 = document.createElement("script");
  6313. script1.type = "text/javascript";
  6314. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6315. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6316. const script2 = document.createElement("script");
  6317. script2.type = "text/javascript";
  6318. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6319. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6320. const script3 = document.createElement("script");
  6321. script3.type = "text/javascript";
  6322. script3.charset = "UTF-8";
  6323. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6324. const script4 = document.createElement("script");
  6325. script4.type = "text/javascript";
  6326. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6327. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6328. if (_iframe) {
  6329. if (str == 'doc') {
  6330. _iframe = _formdiv.querySelector('iframe')
  6331. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6332. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6333. _iframe.contentWindow.document.body.appendChild(script1);
  6334. _iframe.contentWindow.document.body.appendChild(script2);
  6335. // _iframe.contentWindow.document.body.appendChild(script3);
  6336. _iframe.contentWindow.document.body.appendChild(script4);
  6337. })
  6338. if (onloadListener) {
  6339. _iframe.contentDocument.location.reload()
  6340. } else {
  6341. _iframe.contentDocument.location.reload()
  6342. }
  6343. } else if (str == 'mind') {
  6344. _iframe = _formdiv.querySelector('iframe')
  6345. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6346. _iframe.contentWindow.document.body.appendChild(script1);
  6347. _iframe.contentWindow.document.body.appendChild(script2);
  6348. _iframe.contentWindow.document.body.appendChild(script4);
  6349. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6350. })
  6351. if (onloadListener) {
  6352. _iframe.contentDocument.location.reload()
  6353. } else {
  6354. _iframe.contentDocument.location.reload()
  6355. }
  6356. } else {
  6357. _iframe.onload = () => {
  6358. _iframe.contentWindow.document.body.appendChild(script1);
  6359. _iframe.contentWindow.document.body.appendChild(script2);
  6360. // _iframe.contentWindow.document.body.appendChild(script3);
  6361. _iframe.contentWindow.document.body.appendChild(script4);
  6362. };
  6363. }
  6364. _jie.onclick = async() => {
  6365. let text = ''
  6366. if (aTool == 6) {
  6367. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6368. } else if (aTool == 3) {
  6369. text = await U.MD.D.I.getEditorContent(_iframe);
  6370. }
  6371. _loading.style.display = 'flex'
  6372. console.log(_loading);
  6373. var _ajs = _iframe.contentWindow.document.createElement("script");
  6374. _ajs.type = "text/javascript";
  6375. _ajs.innerHTML =
  6376. // 'console.log(' + _loading + ');\n' +
  6377. 'var _js = document.createElement("script");\n' +
  6378. '_js.type="text/javascript";\n' +
  6379. '_js.charset="UTF-8";\n' +
  6380. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6381. "_js.onload = function(){\n" +
  6382. ' var a = document.getElementsByTagName("img")\n' +
  6383. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6384. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6385. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6386. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6387. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6388. "beforeUpload_shishi(file," +
  6389. "'" +
  6390. _userid +
  6391. "'" +
  6392. ", " +
  6393. "'" +
  6394. _cid +
  6395. "'" +
  6396. ", " +
  6397. "'" +
  6398. _stage +
  6399. "'" +
  6400. ", " +
  6401. "'" +
  6402. _task +
  6403. "'" +
  6404. ", " +
  6405. "'" +
  6406. _tool +
  6407. "'" +
  6408. ", " +
  6409. "'" +
  6410. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6411. "'" +
  6412. ", " +
  6413. "'" +
  6414. aTool +
  6415. "'" +
  6416. ", " +
  6417. "`" +
  6418. text +
  6419. "`" +
  6420. ")\n" +
  6421. " });\n" +
  6422. "}\n" +
  6423. "document.head.appendChild(_js);\n";
  6424. _iframe.contentWindow.document.head.appendChild(_ajs);
  6425. }
  6426. }
  6427. //U.MD.D.I.openClick(str);
  6428. //如果有任务栏信息
  6429. // if (_taskbar) {
  6430. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6431. // }
  6432. }
  6433. U.MD.D.I.openApplicationJieStudio = function(str, cid, stage, task, tool) {
  6434. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6435. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6436. _userinfo = US.userInfo, //登录用户信息
  6437. _userid = US.userInfo.userid //登录用户id
  6438. let _iframe;
  6439. let _cid = cid,
  6440. _stage = stage,
  6441. _task = task,
  6442. _tool = tool;
  6443. var _jie = $$("div", {
  6444. "style": {
  6445. "position": "absolute",
  6446. "bottom": "50px",
  6447. "right": "50px",
  6448. "zIndex": "9999",
  6449. "backgroundColor": "#2268bc",
  6450. "color": "#fff",
  6451. "padding": "12px 20px",
  6452. "cursor": "pointer",
  6453. "borderRadius": "4px",
  6454. },
  6455. "innerHTML": "确认并提交"
  6456. })
  6457. let aTool = ''
  6458. let _loading = document.createElement('div')
  6459. _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;"
  6460. // _loading.id = "";
  6461. let _lchild = document.createElement('div')
  6462. let _limg = document.createElement('img')
  6463. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6464. _limg.style = "width: 26px;margin-right: 10px;"
  6465. _lchild.appendChild(_limg)
  6466. let _lspan = document.createElement('span')
  6467. _lspan.innerHTML = "上传中..."
  6468. _lchild.appendChild(_lspan)
  6469. _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%);"
  6470. _loading.appendChild(_lchild)
  6471. var _box = $$('div', {
  6472. "style": {
  6473. "position": "relative",
  6474. "width": "100%",
  6475. "height": "100%",
  6476. },
  6477. })
  6478. _box.appendChild(_loading)
  6479. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6480. switch (str) {
  6481. case "whiteboard":
  6482. aTool = 1;
  6483. _iframe = $$("iframe", {
  6484. "frameborder": "no",
  6485. "border": "0",
  6486. "scrolling ": "no",
  6487. "style": {
  6488. "cssText": "border:0;width:100%;height:100%"
  6489. },
  6490. "src": "https://iwb.cocorobo.cn/"
  6491. })
  6492. _box.appendChild(_iframe);
  6493. _box.appendChild(_jie);
  6494. _formdiv = new U.UF.UI.form(
  6495. "电子白板",
  6496. _box, {
  6497. "id": "whiteboards" + cid + stage + task + tool,
  6498. "style": {
  6499. "width": "90%",
  6500. "height": "90%",
  6501. "overflow": 'hidden'
  6502. },
  6503. "onresize": function() {}
  6504. }, {
  6505. closecallback: function() {}
  6506. }, {
  6507. "style": {
  6508. "height": "36px"
  6509. }
  6510. }).form; //创建窗体
  6511. _taskbar = {
  6512. "id": str + _formdiv.id,
  6513. "style": {
  6514. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6515. },
  6516. "name": "电子白板",
  6517. "forms": _formdiv,
  6518. "click": function() {
  6519. U.MD.D.I.openApplication(str, obj, info);
  6520. }
  6521. }
  6522. break;
  6523. case "mind":
  6524. aTool = 3;
  6525. _iframe = $$("iframe", {
  6526. "frameborder": "no",
  6527. "border": "0",
  6528. "scrolling ": "no",
  6529. "style": {
  6530. "cssText": "border:0;width:100%;height:100%"
  6531. },
  6532. "src": "/kityminder-editor/dist/index.html"
  6533. });
  6534. _box.appendChild(_iframe);
  6535. _box.appendChild(_jie);
  6536. _formdiv = new U.UF.UI.form(
  6537. "思维导图",
  6538. _box, { //"/jsmind/example/demo.html"
  6539. "id": "minds" + cid + stage + task + tool,
  6540. "style": {
  6541. "width": "90%",
  6542. "height": "90%",
  6543. "overflow": 'hidden'
  6544. },
  6545. "onresize": function() {}
  6546. }, {
  6547. closecallback: function() {}
  6548. }, {
  6549. "style": {
  6550. "height": "36px"
  6551. }
  6552. }).form; //创建窗体
  6553. _taskbar = {
  6554. "id": str + _formdiv.id,
  6555. "style": {
  6556. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6557. },
  6558. "name": "思维导图",
  6559. "forms": _formdiv,
  6560. "click": function() {
  6561. U.MD.D.I.openApplication(str, obj, info);
  6562. }
  6563. }
  6564. break;
  6565. case "doc":
  6566. aTool = 6;
  6567. _iframe = $$("iframe", {
  6568. "frameborder": "no",
  6569. "border": "0",
  6570. "scrolling ": "no",
  6571. "style": {
  6572. "cssText": "border:0;width:100%;height:100%"
  6573. },
  6574. "src": "/Office/Word/WordEditArea.htm"
  6575. })
  6576. _box.appendChild(_iframe);
  6577. _box.appendChild(_jie);
  6578. _formdiv = new U.UF.UI.form(
  6579. "协同文档",
  6580. _box, {
  6581. "id": "docs" + cid + stage + task + tool,
  6582. "style": {
  6583. "width": "90%",
  6584. "height": "90%",
  6585. "overflow": 'hidden'
  6586. },
  6587. "onresize": function() {}
  6588. }, {
  6589. closecallback: function() {}
  6590. }, {
  6591. "style": {
  6592. "height": "36px"
  6593. }
  6594. }).form; //创建窗体
  6595. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6596. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6597. })
  6598. _taskbar = {
  6599. "id": str + _formdiv.id,
  6600. "style": {
  6601. "backgroundImage": "url(/img/icon/doc.png)"
  6602. },
  6603. "name": "协同文档",
  6604. "forms": _formdiv,
  6605. "click": function() {
  6606. U.MD.D.I.openApplication(str, obj, info);
  6607. }
  6608. }
  6609. break;
  6610. }
  6611. const script1 = document.createElement("script");
  6612. script1.type = "text/javascript";
  6613. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6614. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6615. const script2 = document.createElement("script");
  6616. script2.type = "text/javascript";
  6617. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6618. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6619. const script3 = document.createElement("script");
  6620. script3.type = "text/javascript";
  6621. script3.charset = "UTF-8";
  6622. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6623. const script4 = document.createElement("script");
  6624. script4.type = "text/javascript";
  6625. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6626. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6627. if (_iframe) {
  6628. if (str == 'doc') {
  6629. _iframe = _formdiv.querySelector('iframe')
  6630. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6631. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6632. _iframe.contentWindow.document.body.appendChild(script1);
  6633. _iframe.contentWindow.document.body.appendChild(script2);
  6634. // _iframe.contentWindow.document.body.appendChild(script3);
  6635. _iframe.contentWindow.document.body.appendChild(script4);
  6636. })
  6637. if (onloadListener) {
  6638. _iframe.contentDocument.location.reload()
  6639. } else {
  6640. _iframe.contentDocument.location.reload()
  6641. }
  6642. } else if (str == 'mind') {
  6643. _iframe = _formdiv.querySelector('iframe')
  6644. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6645. _iframe.contentWindow.document.body.appendChild(script1);
  6646. _iframe.contentWindow.document.body.appendChild(script2);
  6647. _iframe.contentWindow.document.body.appendChild(script4);
  6648. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6649. })
  6650. if (onloadListener) {
  6651. _iframe.contentDocument.location.reload()
  6652. } else {
  6653. _iframe.contentDocument.location.reload()
  6654. }
  6655. } else {
  6656. _iframe.onload = () => {
  6657. _iframe.contentWindow.document.body.appendChild(script1);
  6658. _iframe.contentWindow.document.body.appendChild(script2);
  6659. // _iframe.contentWindow.document.body.appendChild(script3);
  6660. _iframe.contentWindow.document.body.appendChild(script4);
  6661. };
  6662. }
  6663. _jie.onclick = async() => {
  6664. let text = ''
  6665. if (aTool == 6) {
  6666. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6667. } else if (aTool == 3) {
  6668. text = await U.MD.D.I.getEditorContent(_iframe);
  6669. }
  6670. _loading.style.display = 'flex'
  6671. console.log(_loading);
  6672. var _ajs = _iframe.contentWindow.document.createElement("script");
  6673. _ajs.type = "text/javascript";
  6674. _ajs.innerHTML =
  6675. // 'console.log(' + _loading + ');\n' +
  6676. 'var _js = document.createElement("script");\n' +
  6677. '_js.type="text/javascript";\n' +
  6678. '_js.charset="UTF-8";\n' +
  6679. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6680. "_js.onload = function(){\n" +
  6681. ' var a = document.getElementsByTagName("img")\n' +
  6682. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6683. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6684. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6685. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6686. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6687. "beforeUpload_shishi(file," +
  6688. "'" +
  6689. _userid +
  6690. "'" +
  6691. ", " +
  6692. "'" +
  6693. _cid +
  6694. "'" +
  6695. ", " +
  6696. "'" +
  6697. _stage +
  6698. "'" +
  6699. ", " +
  6700. "'" +
  6701. _task +
  6702. "'" +
  6703. ", " +
  6704. "'" +
  6705. _tool +
  6706. "'" +
  6707. ", " +
  6708. "'" +
  6709. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6710. "'" +
  6711. ", " +
  6712. "'" +
  6713. aTool +
  6714. "'" +
  6715. ", " +
  6716. "`" +
  6717. text +
  6718. "`" +
  6719. ")\n" +
  6720. " });\n" +
  6721. "}\n" +
  6722. "document.head.appendChild(_js);\n";
  6723. _iframe.contentWindow.document.head.appendChild(_ajs);
  6724. }
  6725. }
  6726. //U.MD.D.I.openClick(str);
  6727. //如果有任务栏信息
  6728. // if (_taskbar) {
  6729. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6730. // }
  6731. }
  6732. U.MD.D.I.openApplicationYu = function(str, cid, stage, task, tool) {
  6733. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6734. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6735. _userinfo = US.userInfo, //登录用户信息
  6736. _userid = US.userInfo.userid //登录用户id
  6737. let _iframe;
  6738. let _cid = cid,
  6739. _stage = stage,
  6740. _task = task,
  6741. _tool = tool;
  6742. var _jie = $$("div", {
  6743. "style": {
  6744. "position": "absolute",
  6745. "bottom": "50px",
  6746. "right": "50px",
  6747. "zIndex": "9999",
  6748. "backgroundColor": "#2268bc",
  6749. "color": "#fff",
  6750. "padding": "12px 20px",
  6751. "cursor": "pointer",
  6752. "borderRadius": "4px",
  6753. },
  6754. "innerHTML": "上传模板"
  6755. })
  6756. let aTool = ''
  6757. let _loading = document.createElement('div')
  6758. _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;"
  6759. // _loading.id = "";
  6760. let _lchild = document.createElement('div')
  6761. let _limg = document.createElement('img')
  6762. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6763. _limg.style = "width: 26px;margin-right: 10px;"
  6764. _lchild.appendChild(_limg)
  6765. let _lspan = document.createElement('span')
  6766. _lspan.innerHTML = "上传中..."
  6767. _lchild.appendChild(_lspan)
  6768. _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%);"
  6769. _loading.appendChild(_lchild)
  6770. var _box = $$('div', {
  6771. "style": {
  6772. "position": "relative",
  6773. "width": "100%",
  6774. "height": "100%",
  6775. },
  6776. })
  6777. _box.appendChild(_loading)
  6778. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  6779. switch (str) {
  6780. case "whiteboard":
  6781. aTool = 1;
  6782. _iframe = $$("iframe", {
  6783. "frameborder": "no",
  6784. "border": "0",
  6785. "scrolling ": "no",
  6786. "style": {
  6787. "cssText": "border:0;width:100%;height:100%"
  6788. },
  6789. "src": "https://iwb.cocorobo.cn/"
  6790. })
  6791. _box.appendChild(_iframe);
  6792. _box.appendChild(_jie);
  6793. _formdiv = new U.UF.UI.form(
  6794. "电子白板",
  6795. _box, {
  6796. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6797. "style": {
  6798. "width": "90%",
  6799. "height": "90%",
  6800. "overflow": 'hidden'
  6801. },
  6802. "onresize": function() {}
  6803. }, {
  6804. closecallback: function() {}
  6805. }, {
  6806. "style": {
  6807. "height": "36px"
  6808. }
  6809. }).form; //创建窗体
  6810. _taskbar = {
  6811. "id": str + _formdiv.id,
  6812. "style": {
  6813. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6814. },
  6815. "name": "电子白板",
  6816. "forms": _formdiv,
  6817. "click": function() {
  6818. U.MD.D.I.openApplication(str, obj, info);
  6819. }
  6820. }
  6821. break;
  6822. case "mind":
  6823. aTool = 3;
  6824. _iframe = $$("iframe", {
  6825. "frameborder": "no",
  6826. "border": "0",
  6827. "scrolling ": "no",
  6828. "style": {
  6829. "cssText": "border:0;width:100%;height:100%"
  6830. },
  6831. "src": "/kityminder-editor/dist/index.html"
  6832. });
  6833. _box.appendChild(_iframe);
  6834. _box.appendChild(_jie);
  6835. _formdiv = new U.UF.UI.form(
  6836. "思维导图",
  6837. _box, { //"/jsmind/example/demo.html"
  6838. "id": "minds_Yu" + cid + stage + task + tool,
  6839. "style": {
  6840. "width": "90%",
  6841. "height": "90%",
  6842. "overflow": 'hidden'
  6843. },
  6844. "onresize": function() {}
  6845. }, {
  6846. closecallback: function() {}
  6847. }, {
  6848. "style": {
  6849. "height": "36px"
  6850. }
  6851. }).form; //创建窗体
  6852. _taskbar = {
  6853. "id": str + _formdiv.id,
  6854. "style": {
  6855. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6856. },
  6857. "name": "思维导图",
  6858. "forms": _formdiv,
  6859. "click": function() {
  6860. U.MD.D.I.openApplication(str, obj, info);
  6861. }
  6862. }
  6863. break;
  6864. case "doc":
  6865. aTool = 6;
  6866. _iframe = $$("iframe", {
  6867. "frameborder": "no",
  6868. "border": "0",
  6869. "scrolling ": "no",
  6870. "style": {
  6871. "cssText": "border:0;width:100%;height:100%"
  6872. },
  6873. "src": "/Office/Word/WordEditArea.htm"
  6874. })
  6875. _box.appendChild(_iframe);
  6876. _box.appendChild(_jie);
  6877. _formdiv = new U.UF.UI.form(
  6878. "协同文档",
  6879. _box, {
  6880. "id": "docs_Yu" + cid + stage + task + tool,
  6881. "style": {
  6882. "width": "90%",
  6883. "height": "90%",
  6884. "overflow": 'hidden'
  6885. },
  6886. "onresize": function() {}
  6887. }, {
  6888. closecallback: function() {}
  6889. }, {
  6890. "style": {
  6891. "height": "36px"
  6892. }
  6893. }).form; //创建窗体
  6894. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6895. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6896. })
  6897. _taskbar = {
  6898. "id": str + _formdiv.id,
  6899. "style": {
  6900. "backgroundImage": "url(/img/icon/doc.png)"
  6901. },
  6902. "name": "协同文档",
  6903. "forms": _formdiv,
  6904. "click": function() {
  6905. U.MD.D.I.openApplication(str, obj, info);
  6906. }
  6907. }
  6908. break;
  6909. case "CocoPi":
  6910. aTool = 57;
  6911. _iframe = $$("iframe", {
  6912. "allowpaymentrequest": "allowpaymentrequest",
  6913. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6914. "webkitallowfullscreen": "",
  6915. "mozallowfullscreen": "",
  6916. "frameborder": "no",
  6917. "border": "0",
  6918. "scrolling ": "no",
  6919. "style": {
  6920. "cssText": "border:0;width:100%;height:100%"
  6921. },
  6922. "src": "https://pi.cocorobo.cn/"
  6923. })
  6924. _box.appendChild(_iframe);
  6925. _box.appendChild(_jie);
  6926. _formdiv = new U.UF.UI.form(
  6927. "CocoPi",
  6928. _box, {
  6929. "id": "CocoPi_Yu" + cid + stage + task + tool,
  6930. "style": {
  6931. "width": "90%",
  6932. "height": "90%",
  6933. "overflow": 'hidden'
  6934. },
  6935. "onresize": function() {}
  6936. }, {
  6937. closecallback: function() {}
  6938. }, {
  6939. "style": {
  6940. "height": "36px"
  6941. }
  6942. }).form; //创建窗体
  6943. _taskbar = {
  6944. "id": str + _formdiv.id,
  6945. "style": {
  6946. "backgroundImage": "url(/img/icon/cocopi.png)"
  6947. },
  6948. "name": "CocoPi",
  6949. "forms": _formdiv,
  6950. "click": function() {
  6951. U.MD.D.I.openApplication(str, obj, info);
  6952. }
  6953. }
  6954. break;
  6955. }
  6956. if (_iframe) {
  6957. if (str == 'doc') {
  6958. _iframe = _formdiv.querySelector('iframe')
  6959. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6960. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6961. })
  6962. if (onloadListener) {
  6963. _iframe.contentDocument.location.reload()
  6964. } else {
  6965. _iframe.contentDocument.location.reload()
  6966. }
  6967. } else if (str == 'mind') {
  6968. _iframe = _formdiv.querySelector('iframe')
  6969. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6970. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  6971. })
  6972. if (onloadListener) {
  6973. _iframe.contentDocument.location.reload()
  6974. } else {
  6975. _iframe.contentDocument.location.reload()
  6976. }
  6977. } else if (str == 'whiteboard') {
  6978. _iframe = _formdiv.querySelector('iframe')
  6979. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6980. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  6981. })
  6982. if (onloadListener) {
  6983. _iframe.contentDocument.location.reload()
  6984. } else {
  6985. _iframe.contentDocument.location.reload()
  6986. }
  6987. } else if (str == 'CocoPi') {
  6988. _iframe = _formdiv.querySelector('iframe')
  6989. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6990. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  6991. })
  6992. if (onloadListener) {
  6993. _iframe.contentDocument.location.reload()
  6994. } else {
  6995. _iframe.contentDocument.location.reload()
  6996. }
  6997. } else {
  6998. _iframe.onload = () => {};
  6999. }
  7000. _jie.onclick = async() => {
  7001. let text = ''
  7002. let type = '2'
  7003. if (aTool == 1) {
  7004. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7005. type = '3'
  7006. } else if (aTool == 6) {
  7007. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7008. type = '1'
  7009. } else if (aTool == 3) {
  7010. text = await U.MD.D.I.getEditorContent(_iframe);
  7011. type = '2'
  7012. } else if (aTool == 57) {
  7013. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7014. type = '4'
  7015. }
  7016. _loading.style.display = 'flex'
  7017. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7018. }
  7019. }
  7020. //U.MD.D.I.openClick(str);
  7021. //如果有任务栏信息
  7022. // if (_taskbar) {
  7023. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7024. // }
  7025. }
  7026. U.MD.D.I.getContents = function(cid, s, task, t, uid, type, iframe) {
  7027. var xmlhttp;
  7028. var Mac, Sn, DeviceId
  7029. if (window.XMLHttpRequest) {
  7030. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7031. xmlhttp = new XMLHttpRequest();
  7032. } else {
  7033. // IE6, IE5 浏览器执行代码
  7034. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7035. }
  7036. xmlhttp.onreadystatechange = function() {
  7037. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7038. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7039. // resolve(res.value[0][0].text);
  7040. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7041. }
  7042. }
  7043. }
  7044. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7045. xmlhttp.send();
  7046. }
  7047. U.MD.D.I.getContents2 = function(cid, s, task, t, uid, type, iframe) {
  7048. var xmlhttp;
  7049. var Mac, Sn, DeviceId
  7050. if (window.XMLHttpRequest) {
  7051. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7052. xmlhttp = new XMLHttpRequest();
  7053. } else {
  7054. // IE6, IE5 浏览器执行代码
  7055. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7056. }
  7057. xmlhttp.onreadystatechange = function() {
  7058. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7059. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7060. // resolve(res.value[0][0].text);
  7061. if (type == '2') {
  7062. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7063. } else if (type == '3') {
  7064. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7065. } else if (type == '4') {
  7066. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7067. }
  7068. } else {
  7069. if (type == '2') {
  7070. iframe.contentWindow.editor.minder.importData('json', '')
  7071. } else if (type == '3') {
  7072. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7073. } else if (type == '4') {
  7074. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7075. }
  7076. }
  7077. }
  7078. }
  7079. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7080. xmlhttp.send();
  7081. }
  7082. U.MD.D.I.setContents = function(cid, s, task, t, uid, type, text, loading, span) {
  7083. var xmlhttp;
  7084. var Mac, Sn, DeviceId
  7085. if (window.XMLHttpRequest) {
  7086. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7087. xmlhttp = new XMLHttpRequest();
  7088. } else {
  7089. // IE6, IE5 浏览器执行代码
  7090. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7091. }
  7092. xmlhttp.onreadystatechange = function() {
  7093. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7094. if (xmlhttp.response) {
  7095. // resolve(res.value[0][0].text);
  7096. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7097. // $(fileInput).val('');
  7098. // });
  7099. span.innerHTML = '上传成功'
  7100. setTimeout(() => {
  7101. loading.style.display = 'none'
  7102. }, 1000);
  7103. }
  7104. }
  7105. }
  7106. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7107. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7108. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7109. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7110. // 设置请求头,表示请求体的编码格式
  7111. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7112. // 设置请求体,使用url-encoded格式的数据
  7113. }
  7114. U.MD.D.I.openApplicationUpload = function(str, cid, stage, task, tool) {
  7115. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7116. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7117. _userinfo = US.userInfo, //登录用户信息
  7118. _userid = US.userInfo.userid //登录用户id
  7119. let _iframe;
  7120. let _cid = cid,
  7121. _stage = stage,
  7122. _task = task,
  7123. _tool = tool;
  7124. var _jie = $$("div", {
  7125. "style": {
  7126. "position": "absolute",
  7127. "bottom": "50px",
  7128. "right": "50px",
  7129. "zIndex": "9999",
  7130. "backgroundColor": "#2268bc",
  7131. "color": "#fff",
  7132. "padding": "12px 20px",
  7133. "cursor": "pointer",
  7134. "borderRadius": "4px",
  7135. },
  7136. "innerHTML": "提交作业"
  7137. })
  7138. let aTool = ''
  7139. let _loading = document.createElement('div')
  7140. _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;"
  7141. // _loading.id = "";
  7142. let _lchild = document.createElement('div')
  7143. let _limg = document.createElement('img')
  7144. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7145. _limg.style = "width: 26px;margin-right: 10px;"
  7146. _lchild.appendChild(_limg)
  7147. let _lspan = document.createElement('span')
  7148. _lspan.innerHTML = "上传中..."
  7149. _lchild.appendChild(_lspan)
  7150. _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%);"
  7151. _loading.appendChild(_lchild)
  7152. var _box = $$('div', {
  7153. "style": {
  7154. "position": "relative",
  7155. "width": "100%",
  7156. "height": "100%",
  7157. },
  7158. })
  7159. _box.appendChild(_loading)
  7160. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7161. switch (str) {
  7162. case "CocoPi":
  7163. aTool = 57;
  7164. _iframe = $$("iframe", {
  7165. "allowpaymentrequest": "allowpaymentrequest",
  7166. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7167. "webkitallowfullscreen": "",
  7168. "mozallowfullscreen": "",
  7169. "frameborder": "no",
  7170. "border": "0",
  7171. "scrolling ": "no",
  7172. "style": {
  7173. "cssText": "border:0;width:100%;height:100%"
  7174. },
  7175. "src": "https://pi.cocorobo.cn/"
  7176. })
  7177. _box.appendChild(_iframe);
  7178. _box.appendChild(_jie);
  7179. _formdiv = new U.UF.UI.form(
  7180. "CocoPi",
  7181. _box, {
  7182. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7183. "style": {
  7184. "width": "90%",
  7185. "height": "90%",
  7186. "overflow": 'hidden'
  7187. },
  7188. "onresize": function() {}
  7189. }, {
  7190. closecallback: function() {}
  7191. }, {
  7192. "style": {
  7193. "height": "36px"
  7194. }
  7195. }).form; //创建窗体
  7196. _taskbar = {
  7197. "id": str + _formdiv.id,
  7198. "style": {
  7199. "backgroundImage": "url(/img/icon/cocopi.png)"
  7200. },
  7201. "name": "CocoPi",
  7202. "forms": _formdiv,
  7203. "click": function() {
  7204. U.MD.D.I.openApplication(str, obj, info);
  7205. }
  7206. }
  7207. break;
  7208. }
  7209. if (_iframe) {
  7210. if (str == 'CocoPi') {
  7211. _iframe = _formdiv.querySelector('iframe')
  7212. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7213. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7214. })
  7215. if (onloadListener) {
  7216. _iframe.contentDocument.location.reload()
  7217. } else {
  7218. _iframe.contentDocument.location.reload()
  7219. }
  7220. }
  7221. _jie.onclick = async() => {
  7222. let text = ''
  7223. if (aTool == 57) {
  7224. text = _iframe.contentWindow.getLoadXmlStr()
  7225. }
  7226. _loading.style.display = 'flex'
  7227. console.log(_loading);
  7228. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7229. _loading.style.display = 'none'
  7230. let _div = document.createElement('div')
  7231. _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;"
  7232. let _inner = document.createElement('div')
  7233. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7234. _inner.innerHTML = "上传成功"
  7235. _div.appendChild(_inner)
  7236. _iframe.contentWindow.window.document.body.appendChild(_div)
  7237. _div.onclick = () => {
  7238. _iframe.contentWindow.window.document.body.removeChild(_div)
  7239. }
  7240. setTimeout(() => {
  7241. _iframe.contentWindow.window.document.body.removeChild(_div)
  7242. }, 1000);
  7243. }, [], { "type": "POST", "withCredentials": true });
  7244. }
  7245. }
  7246. }
  7247. U.MD.D.I.openApplicationTeacherUpload = function(str, cid, stage, task, tool, student) {
  7248. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7249. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7250. _userid = student.userid, //登录用户id
  7251. _username = student.student //用户名字
  7252. let _iframe;
  7253. let _cid = cid,
  7254. _stage = stage,
  7255. _task = task,
  7256. _tool = tool;
  7257. var _jie = $$("div", {
  7258. "style": {
  7259. "position": "absolute",
  7260. "bottom": "50px",
  7261. "right": "50px",
  7262. "zIndex": "9999",
  7263. "backgroundColor": "#2268bc",
  7264. "color": "#fff",
  7265. "padding": "12px 20px",
  7266. "cursor": "pointer",
  7267. "borderRadius": "4px",
  7268. },
  7269. "innerHTML": "提交作业"
  7270. })
  7271. let aTool = ''
  7272. let _loading = document.createElement('div')
  7273. _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;"
  7274. // _loading.id = "";
  7275. let _lchild = document.createElement('div')
  7276. let _limg = document.createElement('img')
  7277. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7278. _limg.style = "width: 26px;margin-right: 10px;"
  7279. _lchild.appendChild(_limg)
  7280. let _lspan = document.createElement('span')
  7281. _lspan.innerHTML = "上传中..."
  7282. _lchild.appendChild(_lspan)
  7283. _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%);"
  7284. _loading.appendChild(_lchild)
  7285. var _box = $$('div', {
  7286. "style": {
  7287. "position": "relative",
  7288. "width": "100%",
  7289. "height": "100%",
  7290. },
  7291. })
  7292. _box.appendChild(_loading)
  7293. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7294. switch (str) {
  7295. case "CocoPi":
  7296. aTool = 57;
  7297. _iframe = $$("iframe", {
  7298. "allowpaymentrequest": "allowpaymentrequest",
  7299. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7300. "webkitallowfullscreen": "",
  7301. "mozallowfullscreen": "",
  7302. "frameborder": "no",
  7303. "border": "0",
  7304. "scrolling ": "no",
  7305. "style": {
  7306. "cssText": "border:0;width:100%;height:100%"
  7307. },
  7308. "src": "https://pi.cocorobo.cn/"
  7309. })
  7310. _box.appendChild(_iframe);
  7311. _box.appendChild(_jie);
  7312. _formdiv = new U.UF.UI.form(
  7313. "CocoPi-" + _username,
  7314. _box, {
  7315. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7316. "style": {
  7317. "width": "90%",
  7318. "height": "90%",
  7319. "overflow": 'hidden'
  7320. },
  7321. "onresize": function() {}
  7322. }, {
  7323. closecallback: function() {}
  7324. }, {
  7325. "style": {
  7326. "height": "36px"
  7327. }
  7328. }).form; //创建窗体
  7329. _taskbar = {
  7330. "id": str + _formdiv.id,
  7331. "style": {
  7332. "backgroundImage": "url(/img/icon/cocopi.png)"
  7333. },
  7334. "name": "CocoPi",
  7335. "forms": _formdiv,
  7336. "click": function() {
  7337. U.MD.D.I.openApplication(str, obj, info);
  7338. }
  7339. }
  7340. break;
  7341. }
  7342. if (_iframe) {
  7343. if (str == 'CocoPi') {
  7344. _iframe = _formdiv.querySelector('iframe')
  7345. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7346. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7347. })
  7348. if (onloadListener) {
  7349. _iframe.contentDocument.location.reload()
  7350. } else {
  7351. _iframe.contentDocument.location.reload()
  7352. }
  7353. }
  7354. _jie.onclick = async() => {
  7355. let text = ''
  7356. if (aTool == 57) {
  7357. text = _iframe.contentWindow.getLoadXmlStr()
  7358. }
  7359. _loading.style.display = 'flex'
  7360. console.log(_loading);
  7361. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7362. _loading.style.display = 'none'
  7363. let _div = document.createElement('div')
  7364. _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;"
  7365. let _inner = document.createElement('div')
  7366. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7367. _inner.innerHTML = "上传成功"
  7368. _div.appendChild(_inner)
  7369. _iframe.contentWindow.window.document.body.appendChild(_div)
  7370. _div.onclick = () => {
  7371. _iframe.contentWindow.window.document.body.removeChild(_div)
  7372. }
  7373. setTimeout(() => {
  7374. _iframe.contentWindow.window.document.body.removeChild(_div)
  7375. }, 1000);
  7376. }, [], { "type": "POST", "withCredentials": true });
  7377. }
  7378. }
  7379. }
  7380. U.MD.D.I.getUploadContent = function(cid, s, task, t, uid, atool, type, iframe) {
  7381. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function(res) {
  7382. if (res.value[0].length > 0) {
  7383. if (atool == 57) {
  7384. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7385. }
  7386. } else {
  7387. if (atool == 57) {
  7388. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7389. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7390. }
  7391. }
  7392. }, [], { "type": "POST", "withCredentials": true });
  7393. }